Re: [mkgmap-dev] Performace mkgmap-3803

2017-02-15 Thread Gerd Petermann
OK, r3808 solves the performance problem in ShapeMergeFilter.




Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Gerd 
Petermann <gpetermann_muenc...@hotmail.com>
Gesendet: Mittwoch, 15. Februar 2017 09:47:59
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Performace mkgmap-3803

Hi Ticker,

the performance problem with that special style is in ShapeMergeFilter.
I think the reason is that the new code in MapSplitter etc. puts a lot more 
shapes into one sub div, esp. at low resolutions, and ShapeMergeFilter
doesn't work well in that case as it starts to do lots of seq. seaches.
I'll try to find a better solution for that.

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Ticker 
Berkin <rwb-mkg...@jagit.co.uk>
Gesendet: Dienstag, 14. Februar 2017 19:00:06
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Performace mkgmap-3803

Hi Gerd

Yes - use the patch

Still not sure why there is a change in performance here though.

Ticker

On Tue, 2017-02-14 at 17:44 +, Gerd Petermann wrote:
> Hi Arndt,
>
> your style is very special because it adds all polygons with
> resolution 10. I assume that this is the
> reason for this because other style did not show a change in
> performance.
> @Ticker: Maybe we can use the patch from this thread ?
> http://gis.19327.n8.nabble.com/Minimum-resolution-in-polygons-style-t
> c5887899.html#a5888060
>
> Gerd
> 
> Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag
> von Arndt Röhrig <ar...@speichenkarte.de>
> Gesendet: Dienstag, 14. Februar 2017 18:27:00
> An: Development list for mkgmap
> Betreff: Re: [mkgmap-dev] Performace mkgmap-3803
>
> Hi Gerd,
>
> i build 12 tiles. 3804 needs 11 minutes for that, 3796 only 5
> minutes.
>
> The style is not the default. Its the style from my
> "speichenkarte.de"
>
> Arndt
>
> Gerd Petermann <gpetermann_muenc...@hotmail.com> hat am 14. Februar
> 2017 um 17:38 geschrieben:
>
> Hi Arndt,
>
> if you use the default style please try r3804.
>
> Gerd
>
> 
> Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag
> von Arndt Röhrig <ar...@speichenkarte.de>
> Gesendet: Dienstag, 14. Februar 2017 17:33:42
> An: Development list for mkgmap
> Betreff: [mkgmap-dev] Performace mkgmap-3803
>
> Hello @all,
>
> mkgmap-3803 needs for 1 map-tile 2-3 minutes. mkgmap-3796 (or older)
> needs only 15-30 seconds.
>
> My PC is an older model.
>
> IntelCore2 Duo 3GHz 6GB RAM 64bit win10
>
> mkgmap starts with this:
>
> "java" -jar -Xmx3300M -enableassertions -jar
> ..\..\mkgmap\mkgmap\mkgmap.jar
>
> Can i anything do?
>
> (Buy a faster PC :))
>
> greets
>
> Arndt
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Performace mkgmap-3803

2017-02-15 Thread Gerd Petermann
Hi Ticker,

the performance problem with that special style is in ShapeMergeFilter.
I think the reason is that the new code in MapSplitter etc. puts a lot more 
shapes into one sub div, esp. at low resolutions, and ShapeMergeFilter
doesn't work well in that case as it starts to do lots of seq. seaches.
I'll try to find a better solution for that.

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Ticker 
Berkin <rwb-mkg...@jagit.co.uk>
Gesendet: Dienstag, 14. Februar 2017 19:00:06
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Performace mkgmap-3803

Hi Gerd

Yes - use the patch

Still not sure why there is a change in performance here though.

Ticker

On Tue, 2017-02-14 at 17:44 +, Gerd Petermann wrote:
> Hi Arndt,
>
> your style is very special because it adds all polygons with
> resolution 10. I assume that this is the
> reason for this because other style did not show a change in
> performance.
> @Ticker: Maybe we can use the patch from this thread ?
> http://gis.19327.n8.nabble.com/Minimum-resolution-in-polygons-style-t
> c5887899.html#a5888060
>
> Gerd
> 
> Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag
> von Arndt Röhrig <ar...@speichenkarte.de>
> Gesendet: Dienstag, 14. Februar 2017 18:27:00
> An: Development list for mkgmap
> Betreff: Re: [mkgmap-dev] Performace mkgmap-3803
>
> Hi Gerd,
>
> i build 12 tiles. 3804 needs 11 minutes for that, 3796 only 5
> minutes.
>
> The style is not the default. Its the style from my
> "speichenkarte.de"
>
> Arndt
>
> Gerd Petermann <gpetermann_muenc...@hotmail.com> hat am 14. Februar
> 2017 um 17:38 geschrieben:
>
> Hi Arndt,
>
> if you use the default style please try r3804.
>
> Gerd
>
> 
> Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag
> von Arndt Röhrig <ar...@speichenkarte.de>
> Gesendet: Dienstag, 14. Februar 2017 17:33:42
> An: Development list for mkgmap
> Betreff: [mkgmap-dev] Performace mkgmap-3803
>
> Hello @all,
>
> mkgmap-3803 needs for 1 map-tile 2-3 minutes. mkgmap-3796 (or older)
> needs only 15-30 seconds.
>
> My PC is an older model.
>
> IntelCore2 Duo 3GHz 6GB RAM 64bit win10
>
> mkgmap starts with this:
>
> "java" -jar -Xmx3300M -enableassertions -jar
> ..\..\mkgmap\mkgmap\mkgmap.jar
>
> Can i anything do?
>
> (Buy a faster PC :))
>
> greets
>
> Arndt
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Performace mkgmap-3803

2017-02-14 Thread Gerd Petermann
Hi Arndt,

good to know. The patch filter-early-v1.patch  will probably further improve 
run time for you.
I'll try this tomorrow.

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Arndt 
Röhrig <ar...@speichenkarte.de>
Gesendet: Dienstag, 14. Februar 2017 21:14:17
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Performace mkgmap-3803

Hi Gerd, thank you!!!

I change the resolution from the polygons from 10 to 17 and now mkgmap3804 runs 
as fast as 3697.

Arndt

Gerd Petermann <gpetermann_muenc...@hotmail.com> hat am 14. Februar 2017 um 
18:44 geschrieben:

Hi Arndt,

your style is very special because it adds all polygons with resolution 10. I 
assume that this is the
reason for this because other style did not show a change in performance.
@Ticker: Maybe we can use the patch from this thread ?
http://gis.19327.n8.nabble.com/Minimum-resolution-in-polygons-style-tc5887899.html#a5888060

Gerd


Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Arndt 
Röhrig <ar...@speichenkarte.de>
Gesendet: Dienstag, 14. Februar 2017 18:27:00
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Performace mkgmap-3803

Hi Gerd,

i build 12 tiles. 3804 needs 11 minutes for that, 3796 only 5 minutes.

The style is not the default. Its the style from my "speichenkarte.de"

Arndt

Gerd Petermann <gpetermann_muenc...@hotmail.com> hat am 14. Februar 2017 um 
17:38 geschrieben:

Hi Arndt,

if you use the default style please try r3804.

Gerd


Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Arndt 
Röhrig <ar...@speichenkarte.de>
Gesendet: Dienstag, 14. Februar 2017 17:33:42
An: Development list for mkgmap
Betreff: [mkgmap-dev] Performace mkgmap-3803

Hello @all,

mkgmap-3803 needs for 1 map-tile 2-3 minutes. mkgmap-3796 (or older) needs only 
15-30 seconds.

My PC is an older model.

IntelCore2 Duo 3GHz 6GB RAM 64bit win10

mkgmap starts with this:

"java" -jar -Xmx3300M -enableassertions -jar ..\..\mkgmap\mkgmap\mkgmap.jar

Can i anything do?

(Buy a faster PC :))

greets

Arndt

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Performace mkgmap-3803

2017-02-14 Thread Arndt Röhrig

Hi Gerd, thank you!!!I change the resolution from the polygons from 10 to 17 and now mkgmap3804 runs as fast as 3697.ArndtGerd Petermann  hat am 14. Februar 2017 um 18:44 geschrieben:Hi Arndt,your style is very special because it adds all polygons with resolution 10. I assume that this is thereason for this because other style did not show a change in performance.@Ticker: Maybe we can use the patch from this thread ?http://gis.19327.n8.nabble.com/Minimum-resolution-in-polygons-style-tc5887899.html#a5888060GerdVon: mkgmap-dev  im Auftrag von Arndt Röhrig Gesendet: Dienstag, 14. Februar 2017 18:27:00An: Development list for mkgmapBetreff: Re: [mkgmap-dev] Performace mkgmap-3803Hi Gerd,i build 12 tiles. 3804 needs 11 minutes for that, 3796 only 5 minutes.The style is not the default. Its the style from my "speichenkarte.de"ArndtGerd Petermann  hat am 14. Februar 2017 um 17:38 geschrieben:Hi Arndt,if you use the default style please try r3804.GerdVon: mkgmap-dev  im Auftrag von Arndt Röhrig Gesendet: Dienstag, 14. Februar 2017 17:33:42An: Development list for mkgmapBetreff: [mkgmap-dev] Performace mkgmap-3803Hello @all,mkgmap-3803 needs for 1 map-tile 2-3 minutes. mkgmap-3796 (or older) needs only 15-30 seconds.My PC is an older model.IntelCore2 Duo 3GHz 6GB RAM 64bit win10mkgmap starts with this:"java" -jar -Xmx3300M -enableassertions -jar ..\..\mkgmap\mkgmap\mkgmap.jarCan i anything do?(Buy a faster PC :))greetsArndt___mkgmap-dev mailing listmkgmap-dev@lists.mkgmap.org.ukhttp://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev___mkgmap-dev mailing listmkgmap-dev@lists.mkgmap.org.ukhttp://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Performace mkgmap-3803

2017-02-14 Thread Ticker Berkin
Hi Gerd

Yes - use the patch

Still not sure why there is a change in performance here though.

Ticker

On Tue, 2017-02-14 at 17:44 +, Gerd Petermann wrote:
> Hi Arndt,
> 
> your style is very special because it adds all polygons with
> resolution 10. I assume that this is the
> reason for this because other style did not show a change in
> performance.
> @Ticker: Maybe we can use the patch from this thread ?
> http://gis.19327.n8.nabble.com/Minimum-resolution-in-polygons-style-t
> c5887899.html#a5888060
> 
> Gerd
> 
> Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag
> von Arndt Röhrig <ar...@speichenkarte.de>
> Gesendet: Dienstag, 14. Februar 2017 18:27:00
> An: Development list for mkgmap
> Betreff: Re: [mkgmap-dev] Performace mkgmap-3803
> 
> Hi Gerd,
> 
> i build 12 tiles. 3804 needs 11 minutes for that, 3796 only 5
> minutes.
> 
> The style is not the default. Its the style from my
> "speichenkarte.de"
> 
> Arndt
> 
> Gerd Petermann <gpetermann_muenc...@hotmail.com> hat am 14. Februar
> 2017 um 17:38 geschrieben:
> 
> Hi Arndt,
> 
> if you use the default style please try r3804.
> 
> Gerd
> 
> 
> Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag
> von Arndt Röhrig <ar...@speichenkarte.de>
> Gesendet: Dienstag, 14. Februar 2017 17:33:42
> An: Development list for mkgmap
> Betreff: [mkgmap-dev] Performace mkgmap-3803
> 
> Hello @all,
> 
> mkgmap-3803 needs for 1 map-tile 2-3 minutes. mkgmap-3796 (or older)
> needs only 15-30 seconds.
> 
> My PC is an older model.
> 
> IntelCore2 Duo 3GHz 6GB RAM 64bit win10
> 
> mkgmap starts with this:
> 
> "java" -jar -Xmx3300M -enableassertions -jar
> ..\..\mkgmap\mkgmap\mkgmap.jar
> 
> Can i anything do?
> 
> (Buy a faster PC :))
> 
> greets
> 
> Arndt
> 
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Performace mkgmap-3803

2017-02-14 Thread Gerd Petermann
Hi Arndt,

your style is very special because it adds all polygons with resolution 10. I 
assume that this is the
reason for this because other style did not show a change in performance.
@Ticker: Maybe we can use the patch from this thread ?
http://gis.19327.n8.nabble.com/Minimum-resolution-in-polygons-style-tc5887899.html#a5888060

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Arndt 
Röhrig <ar...@speichenkarte.de>
Gesendet: Dienstag, 14. Februar 2017 18:27:00
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Performace mkgmap-3803

Hi Gerd,

i build 12 tiles. 3804 needs 11 minutes for that, 3796 only 5 minutes.

The style is not the default. Its the style from my "speichenkarte.de"

Arndt

Gerd Petermann <gpetermann_muenc...@hotmail.com> hat am 14. Februar 2017 um 
17:38 geschrieben:

Hi Arndt,

if you use the default style please try r3804.

Gerd


Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Arndt 
Röhrig <ar...@speichenkarte.de>
Gesendet: Dienstag, 14. Februar 2017 17:33:42
An: Development list for mkgmap
Betreff: [mkgmap-dev] Performace mkgmap-3803

Hello @all,

mkgmap-3803 needs for 1 map-tile 2-3 minutes. mkgmap-3796 (or older) needs only 
15-30 seconds.

My PC is an older model.

IntelCore2 Duo 3GHz 6GB RAM 64bit win10

mkgmap starts with this:

"java" -jar -Xmx3300M -enableassertions -jar ..\..\mkgmap\mkgmap\mkgmap.jar

Can i anything do?

(Buy a faster PC :))

greets

Arndt

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Performace mkgmap-3803

2017-02-14 Thread Arndt Röhrig

Hi Gerd,i build 12 tiles. 3804 needs 11 minutes for that, 3796 only 5 minutes.The style is not the default. Its the style from my "speichenkarte.de"ArndtGerd Petermann  hat am 14. Februar 2017 um 17:38 geschrieben:Hi Arndt,if you use the default style please try r3804.GerdVon: mkgmap-dev  im Auftrag von Arndt Röhrig Gesendet: Dienstag, 14. Februar 2017 17:33:42An: Development list for mkgmapBetreff: [mkgmap-dev] Performace mkgmap-3803Hello @all,mkgmap-3803 needs for 1 map-tile 2-3 minutes. mkgmap-3796 (or older) needs only 15-30 seconds.My PC is an older model.IntelCore2 Duo 3GHz 6GB RAM 64bit win10mkgmap starts with this:"java" -jar -Xmx3300M -enableassertions -jar ..\..\mkgmap\mkgmap\mkgmap.jarCan i anything do?(Buy a faster PC :))greetsArndt___mkgmap-dev mailing listmkgmap-dev@lists.mkgmap.org.ukhttp://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Performace mkgmap-3803

2017-02-14 Thread Gerd Petermann
Hi Arndt,

if you use the default style please try r3804.

Gerd

Von: mkgmap-dev  im Auftrag von Arndt 
Röhrig 
Gesendet: Dienstag, 14. Februar 2017 17:33:42
An: Development list for mkgmap
Betreff: [mkgmap-dev] Performace mkgmap-3803

Hello @all,

mkgmap-3803 needs for 1 map-tile 2-3 minutes. mkgmap-3796 (or older) needs only 
15-30 seconds.

My PC is an older model.

IntelCore2 Duo 3GHz 6GB RAM 64bit win10

mkgmap starts with this:

"java" -jar -Xmx3300M -enableassertions -jar ..\..\mkgmap\mkgmap\mkgmap.jar

Can i anything do?

(Buy a faster PC :))

greets

Arndt

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev