A search through the XML-document found only one occurrence of the ref (391638537), which was for the member. How do I handle this? Am I working on corrupt data?
I was using the extract-functionality on the OSM webpage, by setting a bounding rectangle. I see that the relation on the OSM map has all required data, but it somehow did not get downloaded. http://www.openstreetmap.org/relation/5865323
It doesn’t crash, but the rendered result is malformed. I’ll add validation step after the initial import and download any missing nodes/ways as they appear missing. Is there an API or link that can be constructed to query specific node/ways by ID? Can Overpass do this?
It can simply be very expensive, as relations can be very large and have lots (really lots) of members (not even thinking of that you actually have to do this recursively to really get “everything”).
Imagine extracting anything that say has a bit of the US border in it, or one of those very large landuse multi-polygons.