
Hi, first I'd like to say it works as intended, see http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=1694 Unfortunately WanMil is no longer active here, so I have no way to ask him why he deicded to use copies of the original ways instead of the joined way. Anyway, for ways with mkgmap:mp_created=true one should not use is_closed(), the important information is in mkgmap:stylefilter. I think the current implementation is not good because it creates lots of objects instead of a few, maybe only one. Each one is processed in the style and later the mergel-ine algo tries to put them together again. Gerd popej wrote
Hi Gerd,
are in fact copies of the original way members of the MP and those are typically not closed
I see 3 possible solutions: 1. Convert multipolygon ways to a proper, continuous outline. 2. Return is_closed() as true, when mkgmap:mp_created is true. 3. Add info to documentation, that lines with mkgmap:mp_created=true are part of a closed outline, but not necessary result in is_closed()=true.
I would suggest solution 3.
I assume that is_closed() means, that object could be a polygon, while mkgmap:mp_created=true or area=yes describe a more complex object, but essentially a kind of polygon too.
-- Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html