logo separator

[mkgmap-dev] mkgmap splitter - Liechtenstein - horrible split if --polygon-file option used.

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Jun 20 17:12:01 BST 2021

Hi Felix,

it tries to reduce the area that is outside the polygon. I think for most countries there is no good reason to use a polygon.
Candidates are those which cross 180° and maybe those which have lots of unrelateed coastline inside the bounding box.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver at gmail.com>
Gesendet: Sonntag, 20. Juni 2021 15:12
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] mkgmap splitter - Liechtenstein - horrible split if --polygon-file option used.

But why is it splitting up into so many parts?
So that means you kinda have to check for every country individually if using poly or nor gives the split with less tiles? I would just prefer the split using less tiles so best I write a script to test that for every single country?

On Sun, 20 Jun 2021, 15:27 Gerd Petermann <gpetermann_muenchen at hotmail.com<mailto:gpetermann_muenchen at hotmail.com>> wrote:
Hi Felix,

the polygon-file tells splitter that you don't want the rectangular bounds given in the *.osm file.
This means you don't want the areas outside of the polygon. If you are happy with the result without polygon file just don't use it

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Felix Hartmann <extremecarver at gmail.com<mailto:extremecarver at gmail.com>>
Gesendet: Sonntag, 20. Juni 2021 10:17
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] mkgmap splitter - Liechtenstein - horrible split if --polygon-file option used.

I think this applies to all "countries" / areas that are so small that they do not need a split or would split into very few areas. Another example is Monaco (2 tiles instead of 1 tile). For "countries" that are 10 tiles or more anyhow - I did not find this problem.

On Sun, 20 Jun 2021 at 11:08, Felix Hartmann <extremecarver at gmail.com<mailto:extremecarver at gmail.com><mailto:extremecarver at gmail.com<mailto:extremecarver at gmail.com>>> wrote:
After last week looking at australia-oceania which was not splitted well without polygon-file - I now noticed that several small countries are split into way too many small tiles IF using .poly boundary file.

I guess there is some bug? This tile should not be split at all - as the node count fits into 1 tile!


Attached the splitter.log both with and without .poly file.

--
Felix Hartman - Openmtbmap.org & VeloMap.org



--
Felix Hartman - Openmtbmap.org & VeloMap.org

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list