logo separator

[mkgmap-dev] Question regarding duplicated shapes

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Jan 12 14:46:30 GMT 2014

Hi all,

while debugging the shape merger I found many duplicated
shapes in Finland, and I am not sure how mkgmap should handle them.


is tagged landuse=farm and is the role=inner member of 
multipolygon relation
which has only one role=outer way which also is
tagged landuse=farm.
Way http://www.openstreetmap.org/way/105719041
is a copy of way 105723026, but with reverse order of
points. It is tagged natural=scrub

mkgmap r2960 with the default style and --preserve-element-order
adds three shapes:
one for the outer way with type 0x4e
one for way 105719041 with type 0x4f
one for way 105723026 with type 0x4e

As a result, the natural=scrub is not shown in GPSMapEdit.
My shape merger first merges the outer way and the inner way and
then adds the natural=scrub later. Now GPSMapEdit shows
the area.

My understanding is that something goes wrong in the 
MultiPolygonRelation code. Why is way 105723026 
added with type 0x4e?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140112/909a0de9/attachment.html>

More information about the mkgmap-dev mailing list