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

2021-04-30 Thread Felix Hartmann
I just tried out the simplify4 patch - it gives the best results so far. Overall this is really a huge improvement now for contourlines! Strangely also at resolution 24 there have been improvements (or is it changes?). Actually I wanted to try DP at resolution 24 but removing those lines that

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

2021-04-30 Thread Gerd Petermann
Hi Felix, I can't be sure because nothing was coded yet. I like the general idea, I've already described it in the todo list years ago: https://www.mkgmap.org.uk/dev/todo Gerd Von: mkgmap-dev im Auftrag von Felix Hartmann Gesendet: Freitag, 30. April

Re: [mkgmap-dev] Request - set --reduce-point-density= for each resolution

2021-04-30 Thread Felix Hartmann
sorry - patch has some typos as i was still playing around with values. here is a working version. These values I feel are good with 1.3 at commandline. On Fri, 30 Apr 2021 at 22:44, Felix Hartmann wrote: > I hardcoded a patch - as I was not sure someone is interested in it. This > is doing the

Re: [mkgmap-dev] Request - set --reduce-point-density= for each resolution

2021-04-30 Thread Felix Hartmann
I hardcoded a patch - as I was not sure someone is interested in it. This is doing the job - but I do feel others could profit as well. And yes I now understood how I could change this for a map starting at resolution 23 as well. I'm still not sure why do we not run the DP filter on resolution 24?

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

2021-04-30 Thread Felix Hartmann
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. Even if its only 13-20 that would be a huge improvement. 21 could need some love too but not as important, while 22 is

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

2021-04-30 Thread Gerd Petermann
Hi all, attached is my proposed change based on the simplify3.patch by Andrzej and the idea to use that only for contour lines. I see no simple way to implement major improvements for the rendering of lower resolutions. Basically we need the WrongAngleFixer to work with a given resolution.

Re: [mkgmap-dev] Request - set --reduce-point-density= for each resolution

2021-04-30 Thread Gerd Petermann
Hi Felix, you are probably right, the DP filter was not adapted to work with a map with resolution 23 as highest resolution. A quick change would be to disable the filter at level 0, similar to a map with max resolution 24. The --reduce-point-density sets the error distance for the