Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

corrupt data from Overpass problem #122

Closed
@wendellwt

Description

@wendellwt

I noticed an issue with polygons that I don't understand, and it results in "Received corrupt data from Overpass (incomplete polygon)."

It is the Smithsonian Institution Building on the National Mall in downtown Washington DC, which is this Rel: https://www.openstreetmap.org/relation/7393969 It shows up properly when using the native OSM web page.

It is a Relation, is tagged as a Multipolygon, and is actually made up of 3 individual ways, each of which form a portion of the outline of the building.

Is this a problem with the OSM data itself? Is it ok for OSM data to be one Rel, which consists of multiple Ways that when combined together, form a complete polygon (closed way)?

It seems challenging to form the individual way (segments) into a complete proper GeoJSON Polygon structure. I don't need it to draw as a GeoJSON Polygon; individual LineStrings would work as long as the exception isn't raised.

Using "verbosity='body center'" doesn't seem to get around the problem. Is there any other query parameter that will get around this multiple-way polygon problem?

Anyway, thank you for this API.

Wendell

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions