You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, although object.members only contains objects from which a boundary should be created object:as_multipolygon() takes into account all members, even removed ones.
The text was updated successfully, but these errors were encountered:
Yes. Changing anything in the object doesn't affect the geometry generation. In this case the behaviour is generally the "right thing", because the roles inner and outer are not always tagged correctly. And the boundary relations shouldn't have any way member objects that are not part of the boundary, if they do, that tagging is wrong in my opinion. If you want to do more specialized processing, you have to do that in the database.
As a data consumer, I want to be sure that even if the tagging is not 100% correct, I will get the data I need, so I think that the option of doing my own data filtering could be helpful.
The following code removes members from object.members that have a role other than 'inner' or 'outer'.
However, although
object.members
only contains objects from which a boundary should be createdobject:as_multipolygon()
takes into account all members, even removed ones.The text was updated successfully, but these errors were encountered: