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

2021-04-25 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 new

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

2021-04-25 Thread Gerd Petermann
Hi Andrzej, at resolution 24 we only do simplification which doesn't have visual effects. Your patch might help. I tried that once and found the improvement too small compared to the increased run time. Gerd Von: mkgmap-dev im Auftrag von Andrzej Popow

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 d

Re: [mkgmap-dev] Empty rectangles in map

2021-04-25 Thread Ticker Berkin
Hi Gerd More more testing with standard style / options etc. As well as --order -by, I had some level params that confused. With GPSMapEdit at Zoom level 2, there is a wide cut from the LHS forest triangle to the holes around 54.9953,-58.2209. It seems to be the total height of the holes. Simila

Re: [mkgmap-dev] Please try branch check-precomp-sea

2021-04-25 Thread Gerd Petermann
Hi all, I fixed a major bug which made the program unusable, see https://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4677 Thanks to Arndt for testing and reporting the issue in a provate mail. I agree with Ticker that Thorsten would be the best candidate to test the PrecompSeaGene

Re: [mkgmap-dev] Empty rectangles in map

2021-04-25 Thread Gerd Petermann
Hi Ticker, yes, install the pbf plugin. Gerd Von: mkgmap-dev im Auftrag von Ticker Berkin Gesendet: Sonntag, 25. April 2021 12:20 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Empty rectangles in map Hi Gerd Is there a simple way to look

Re: [mkgmap-dev] Empty rectangles in map

2021-04-25 Thread Ticker Berkin
Hi Gerd Is there a simple way to look at an .osm.pbf file with JOSM? Ticker ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Please try branch check-precomp-sea

2021-04-25 Thread Ticker Berkin
Hi I presume this will be most use to people who generate sea-latest.zip. I use --generate-sea=..., so using the current OSM data for the area concerned, and, before loading onto a device, look at the overview map with GPSMapEdit to check the sea has worked correctly. If the country cut has prob

Re: [mkgmap-dev] Empty rectangles in map

2021-04-25 Thread Ticker Berkin
Hi Gerd Just tried this with latest trunk and my standard environment (mainly --order-by-decreasing-area and get very inconsistent results. On GPSMapEdit seems reasonable - shows forest triangle and, within, a small area with a number of holes. MapSource shows a white square, no forest colour a

[mkgmap-dev] Empty rectangles in map

2021-04-25 Thread Gerd Petermann
Hi Experts, while working on the faster-mp branch I experimented with the monster relation r9488835. I added tag landuse=forest to it so that it is actually rendered and found huge (wrong) empty rectangles in the forest. The original file is very complex but the same problem also occurs with a