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 <[email protected]> im Auftrag von Felix 
Hartmann <[email protected]>
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 
<[email protected]<mailto:[email protected]>> 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 
<[email protected]<mailto:[email protected]>>
 im Auftrag von Felix Hartmann 
<[email protected]<mailto:[email protected]>>
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 
<[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>>
 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
[email protected]<mailto:[email protected]>
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to