Re: [mkgmap-dev] Proof of concept for better sea in overview map

2021-06-11 Thread Gerd Petermann
Hi Felix, I don't yet understand what's going on. Please provide a link to your areas.list Gerd Von: mkgmap-dev im Auftrag von Felix Hartmann Gesendet: Freitag, 11. Juni 2021 12:14 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Proof of conc

Re: [mkgmap-dev] Proof of concept for better sea in overview map

2021-06-11 Thread Ticker Berkin
Hi Gerd Testing when two ends of a shape are close enough together on the split line that the last point can be replaced by the first to be the closing point. Ticker On Fri, 2021-06-11 at 13:48 +, Gerd Petermann wrote: > Hi Ticker, > > yes, that's what I guessed. Where does it go wrong? >

Re: [mkgmap-dev] low-res-opt branch: error message from ShapeSplitter for self-intersecting multipolygon

2021-06-11 Thread Ticker Berkin
Hi Gerd I've improved ShapeSplitter so it can cope with more cases when there are multiple lines at the same point on the cut-line. Any problems will generate a single log.error, with reasons as log.warn and more information as log.info and gpx traces if log.debugEnabled() Ticker Index: src/uk/me

Re: [mkgmap-dev] Proof of concept for better sea in overview map

2021-06-11 Thread Gerd Petermann
Hi Ticker, yes, that's what I guessed. Where does it go wrong? Gerd Von: mkgmap-dev im Auftrag von Ticker Berkin Gesendet: Freitag, 11. Juni 2021 15:47 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Proof of concept for better sea in overvie

Re: [mkgmap-dev] Proof of concept for better sea in overview map

2021-06-11 Thread Ticker Berkin
Hi Gerd I've found this problem - a very flat polygon became a line. Ticker On Fri, 2021-06-11 at 10:33 +0100, Ticker Berkin wrote: > Hi Gerd > > I'm having trouble building GB with low-res-opt (+updated > shapeSplitter), my style and options > > getting this error: > > Exception in thread "m

Re: [mkgmap-dev] Proof of concept for better sea in overview map

2021-06-11 Thread Gerd Petermann
Hi Felix, the polygon-size-limit also matters as it is used to determine which islands will not be visible. I used 2 for all levels, but I only looked at the overview map for now as the detail maps are not changed by the --improve-overview option. I suggest to experiment with a small set of til

Re: [mkgmap-dev] Proof of concept for better sea in overview map

2021-06-11 Thread Ticker Berkin
Hi Gerd I'm having trouble building GB with low-res-opt (+updated shapeSplitter), my style and options getting this error: Exception in thread "main" java.lang.AssertionError at uk.me.parabola.mkgmap.filters.ShapeMergeFilter.addWithConnectedHoles(Sh apeMergeFilter.java:352) at uk

Re: [mkgmap-dev] Proof of concept for better sea in overview map

2021-06-11 Thread Felix Hartmann
yes I was using: --x-simplify-filter-line-errors=23:2.6,22:4.2,21:5.4,20:6,19:7,18:7.5,16:8,14:9 --x-simplify-filter-polygon-errors=23:3.6,22:7,21:6,20:9 --polygon-size-limits="24:12, 23:14, 22:14, 21:20, 20:20, 19:20, 18:20, 17:20, 16:20, 15:20, 14:20, 13:20, 12:20, 11:20, 10:20" levels = 0:24, 1

Re: [mkgmap-dev] Proof of concept for better sea in overview map

2021-06-11 Thread Gerd Petermann
Hi Felix, Maybe you are using large values for the Douglas-Peucker filter at low resolutions? That's probably a bad idea with the new option. I always tested with the default 2.6 for all levels. The effect of the new option is that DP really can do its work. Gerd __

Re: [mkgmap-dev] Proof of concept for better sea in overview map

2021-06-11 Thread Felix Hartmann
--generate-sea --precomp-sea=C:\openmtbmap\maps\sea.zip --order-by-decreasing-area --allow-reverse-merge I thought using precomp-sea is fine (I did not update the precomp-sea in between) On Fri, 11 Jun 2021 at 11:10, Felix Hartmann wrote: > compilation time includes splitting, and some other st

Re: [mkgmap-dev] Proof of concept for better sea in overview map

2021-06-11 Thread Felix Hartmann
compilation time includes splitting, and some other stuff. Loads of countries (9:34 / 9:21 (sorry dumb error 9:19) for all european single countries and a few continents (but not Europe continent) in hours. On Fri, 11 Jun 2021 at 11:08, Felix Hartmann wrote: > I just compiled the australia-ocean