Menu

#22 inner role of multipolygon is handled wrong

1.0
open
nobody
None
2021-07-15
2021-07-15
Kempelen
No

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!

1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB