inner role of multipolygon is handled wrong
Print specially styled OpenStreetMap maps for detail surveys
Brought to you by:
kempelen
This area has a wetland in a forest. But the wetland gets filled with green (while it's an "inner" role in the forest).
https://render.osmtippek.hu/index.php?zoom=16&lat=47.64066&lon=19.28957&box=47.63841,19.28453,47.64569,19.29577
Also this is weird in the code:
member = RelMember()
member.type = child.get('type', 'outer') # better be 'way'
if member.type == 'node':
print "Ignoring a node as member of a multipolygon!"
continue
assert member.type == 'way'
#TODO: be smarter if nonexistant!
member.role = child.get('type', 'outer')
it's either a type or a role, isn't it? To be checked!