logo separator

[mkgmap-dev] bugreport for new splitter

From Chris Miller chris.miller at kbcfp.com on Sun Aug 9 23:19:11 BST 2009

> How does a node get to be in more than four areas?
> 
> ..Steve

Good question, I was wondering that myself. It looks like with so few nodes 
per area, we end up with some very thin areas that for example result in 
the two areas on each side, plus two adjacent areas above, being included 
in the extended bounds/overlap if a node is in the centre of the thin area 
and close to the top.

Here's an example of a node that wants to be in 5 areas:

<node id="447665000" lat="46.0753181" lon="13.1930056" version="1" changeset="1930879" 
user="Stefano Salvador" uid="86130" visible="true" timestamp="2009-07-25T06:50:50Z"/>


And here are the areas taken from areas.list, as generated with today's europe.osm 
file and running the splitter with --max-nodes=300000 (and a default overlap 
of 2000):

63240332: 2142208,608256 to 2148352,614400
#       : 45.966797,13.051758 to 46.098633,13.183594

63240333: 2142208,614400 to 2146304,620544
#       : 45.966797,13.183594 to 46.054688,13.315430

63240334: 2146304,614400 to 2148352,620544
#       : 46.054688,13.183594 to 46.098633,13.315430

63240335: 2148352,608256 to 2154496,614400
#       : 46.098633,13.051758 to 46.230469,13.183594

63240336: 2148352,614400 to 2154496,620544
#       : 46.098633,13.183594 to 46.230469,13.315430


All the examples I've seen so far are hitting 5 areas max, but given the 
above I could imagine it's possible to get 6 or more too if there's an especially 
densely populated area on the map.

Chris






More information about the mkgmap-dev mailing list