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
What can you suggest to fix this? The default feature interpreter is a very simple example of what's possible but it may be a good idea to get it to a point where it is as good as possible for current OSM data.
The perfect implementation however would allow for a configurable option without the need to rebuild the code.
As a simple fix I suggest interpret relation as outer if it's not marked as inner. I don't think that this is doable create configurable code for any case of OSM input data. Maybe this is good idea to create DefaultFeatureInterpreter as a pattern, that uses well realized converting methods (like, relations to multipolygon, way to line, node to POI, etc.). Any could extend such interpreter as he need.
Look at this relation: http://www.openstreetmap.org/relation/114071 and see way #33204842 into it. This relation contains inner, outer, and not specified roles (which should be interpreted as outer, regarding OSM's wiki).
This fact disallows interpret a number of administrative boundaries in most of countries. I think, members without roles should be considered as "outer" (from here: http://wiki.openstreetmap.org/wiki/Relation:multipolygon#Members)
The text was updated successfully, but these errors were encountered: