Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-04 Thread Felix Hartmann
Felix Hartmann > Gesendet: Dienstag, 4. Mai 2021 13:19 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution > 23 raster problems > > Wow - looks really good. The main problem I feel is now that sometimes > highways yo

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-04 Thread Gerd Petermann
Felix Hartmann Gesendet: Dienstag, 4. Mai 2021 13:19 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems Wow - looks really good. The main problem I feel is now that sometimes highways you can see both directions apart - while

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-04 Thread Felix Hartmann
_ > Von: mkgmap-dev im Auftrag von > Felix Hartmann > Gesendet: Dienstag, 4. Mai 2021 11:03 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution > 23 raster problems > > well I never go

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-04 Thread Gerd Petermann
: Dienstag, 4. Mai 2021 11:03 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems well I never got the merge-more patch actually running as together with simplify v4 it did not change anything for me. I'm waiting for updates

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-04 Thread Felix Hartmann
well I never got the merge-more patch actually running as together with simplify v4 it did not change anything for me. I'm waiting for updates on the new branch to test things. I still feel level>=1, the higher the level the less exact it needs to be. It just needs to be small and beautiful from

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-04 Thread Gerd Petermann
a NET file. Gerd Von: mkgmap-dev im Auftrag von Felix Hartmann Gesendet: Montag, 3. Mai 2021 07:59 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems I think actually for any

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-03 Thread Gerd Petermann
ev-boun...@lists.mkgmap.org.uk>>> im Auftrag von Gerd Petermann mailto:gpetermann_muenc...@hotmail.com><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com>>> Gesendet: Sonntag, 2. Mai 2021 19:15 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-de

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-02 Thread Gerd Petermann
Gesendet: Montag, 3. Mai 2021 07:27 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems Actually I think I did some mistake concerning the patch - or the patch is not working together with the simplify v4 patch. I think I made

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-02 Thread Gerd Petermann
far I never found a hint for that. Gerd Von: mkgmap-dev im Auftrag von Gerd Petermann Gesendet: Sonntag, 2. Mai 2021 19:15 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems Hi

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-02 Thread Gerd Petermann
Von: mkgmap-dev im Auftrag von Felix Hartmann Gesendet: Sonntag, 2. Mai 2021 17:50 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems yes I tried it out now without additional DP changes. Routing was identical in 18

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-02 Thread Felix Hartmann
trunk. > > Gerd > > > Von: mkgmap-dev im Auftrag von > Felix Hartmann > Gesendet: Sonntag, 2. Mai 2021 15:09 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution > 23 raster problems > > Going to test out the patch

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-02 Thread Gerd Petermann
list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems Going to test out the patch a bit more right now. Only problem for me is - I cannot set custom dp filter anymore.. But I guess you will implement that anyhow soon? compile: [javac

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-02 Thread Felix Hartmann
Felix Hartmann > Gesendet: Samstag, 1. Mai 2021 18:06 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution > 23 raster problems > > well I increased it to 0.5, and could not see any place which was actually > different. I no

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-02 Thread Gerd Petermann
ted. Gerd Von: mkgmap-dev im Auftrag von Felix Hartmann Gesendet: Samstag, 1. Mai 2021 18:06 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems well I increased it to 0.5, and co

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-01 Thread Felix Hartmann
> compilation time unless we find clever tricks to avoid that. > > Gerd > > > Von: mkgmap-dev mkgmap-dev-boun...@lists.mkgmap.org.uk>> im Auftrag von Felix Hartmann < > extremecar...@gmail.com<mailto:extremecar...@gmail.com>

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-05-01 Thread Gerd Petermann
An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems Are you sure it would be needing that much more memory? If there is a big penalty this simplification could only be done for lower resolutions, which contain much less data

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-30 Thread Felix Hartmann
_ > Von: mkgmap-dev im Auftrag von > Felix Hartmann > Gesendet: Donnerstag, 29. April 2021 14:39 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution > 23 raster problems > > here is what I mean - zig zagging lik

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-30 Thread Gerd Petermann
2021 16:42 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems Are you sure it would be needing that much more memory? If there is a big penalty this simplification could only be done for lower resolutions, which contain

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-30 Thread Felix Hartmann
he past. It's > difficult to test because the changes heavily depend on the Styte AND the > mapped objects AND the mappers preferences. For example, if landuse areas > are glued to highways or not, if landuse areas are glued to other landuse > areas or if there nodes are just very close

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-30 Thread Gerd Petermann
-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems here is what I mean - zig zagging like crazy if you look at it with lowest detail which is really helpful to see this problem. Those highways should be just straight. Oh yes - because the highways are two separate lanes

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-29 Thread Felix Hartmann
point if that would give the best result. >> >> Gerd >> >> ____ >> Von: mkgmap-dev im Auftrag von >> Gerd Petermann >> Gesendet: Mittwoch, 28. April 2021 15:21 >> An: Development list for mkgmap >> Betreff:

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-29 Thread Felix Hartmann
__ > Von: mkgmap-dev im Auftrag von > Gerd Petermann > Gesendet: Mittwoch, 28. April 2021 15:21 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution > 23 raster problems > > Hi Felix, > &

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-28 Thread Gerd Petermann
2021 15:21 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems Hi Felix, I expect (more) small missing parts of complex shapes like forests or waterway areas (those without mkgmap:skipSizeFilter=true) and more obvious

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-28 Thread Gerd Petermann
>> im Auftrag von Felix Hartmann mailto:extremecar...@gmail.com>> Gesendet: Mittwoch, 28. April 2021 04:54 An: Development list for mkgmap; Andrzej Popowski Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems forgot 1.3 value - that is good enough

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-28 Thread Felix Hartmann
04:54 > An: Development list for mkgmap; Andrzej Popowski > Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution > 23 raster problems > > forgot 1.3 value - that is good enough (and this location is not the most > difficult, but there are very few places that are

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-28 Thread Gerd Petermann
An: Development list for mkgmap; Andrzej Popowski Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems forgot 1.3 value - that is good enough (and this location is not the most difficult, but there are very few places that are worse. So I feel it's good

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-28 Thread Gerd Petermann
-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems Hi, some more experiments, see attached patch. I have tried to optimize rounding of coordinates for lowest distance to line. This is not good for polygons, because can creates gaps between adjacent polygons. -- Best regards

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-27 Thread Andrzej Popowski
Hi, some more experiments, see attached patch. I have tried to optimize rounding of coordinates for lowest distance to line. This is not good for polygons, because can creates gaps between adjacent polygons. -- Best regards, Andrzej Index: src/uk/me/parabola/mkgmap/build/MapBuilder.java

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-26 Thread Felix Hartmann
a separate program or a special >>> method in mkgmap which just treats contour lines >>> - take generated contour data as input >>> - rerender each way with resolution 23 nodes so that the line looks >>> almost like before. This means it may add nodes somewhe

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-26 Thread Felix Hartmann
gt; like before. This means it may add nodes somewhere and remove others. > - maybe re-iterate if the rerendering caused overlapping contour lines > where original lines where not overlapping > > Gerd > > > > ________ > Von: mkgmap-dev im Auftrag

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-26 Thread Gerd Petermann
__ Von: mkgmap-dev im Auftrag von Felix Hartmann Gesendet: Montag, 26. April 2021 08:55 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems Thanks Andrzej for the patch. It produces better results in

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-26 Thread Felix Hartmann
Thanks Andrzej for the patch. It produces better results in about 2/3 of cases, and worse in about 1/3 of cases for resolution 23. So overall it's an improvement, and at least for compiling contourlines I didn't notice a significant difference in compile time. I could test this more in detail also

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-25 Thread Andrzej Popowski
Hi Gerd, I don't observe any significant differences in compilation. But to make it more optimized, we can put SizeFilter before DouglasPeuckerFilter. I have attached a second patch here. There is a difference in results. See pictures with DouglasPeuckerFilter after RoundCoordsFilter and

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-25 Thread Gerd Petermann
Popowski Gesendet: Sonntag, 25. April 2021 17:47 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems Hi, maybe 10m contours are too dense for this area? Please try attached patch. I have moved D-P simplification before

Re: [mkgmap-dev] mkgmap-dev Digest, Vol 153, Issue 40 Resolution 23 raster problems

2021-04-25 Thread Andrzej Popowski
Hi, maybe 10m contours are too dense for this area? Please try attached patch. I have moved D-P simplification before rounding of coordination. This should preserve shape of the line a bit better. I'm not sure if this is a safe modification, but it seems to works. I haven't found, where is