logo separator

[mkgmap-dev] Merge areas

From spam-me at gmx-ist-cool.de spam-me at gmx-ist-cool.de on Mon Apr 25 18:17:13 BST 2011

Hi!

Did you ever think about merging areas mapped to the same garmin type when they touch?
I'm thinking about an algorithm that for each zoom level checks, if two areas touch, and when yes merge them when they have the same garmin type.

The motivation: At the moment, areas that are mapped with lots of details can completely go lost in low zoom levels. The detailed areas are removed because they are below the minimum polygon size.
At these low zoom levels, it can happen that after rounding of the coordinates the areas touch. I think the user would prefer to see the merged area in the low zoom level, when in the higher zoom level the area is almost completely covered with one type.

The algorithm shall probably be only used for landuse types. For other types (building=* for example), it would lead to undesired behaviour (mark in polygons stylefile?).

Cheers,
Daniel

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl



More information about the mkgmap-dev mailing list