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.
Example:

http://www.openstreetmap.org/way/105723026

is tagged landuse=farm and is the role=inner member of 
multipolygon relation
http://www.openstreetmap.org/relation/1504949
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?

Gerd





 		 	   		  
-------------- 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