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

GeoJson MultiPolygon errors with duplicate IDs #129

Merged
merged 1 commit into from
Nov 3, 2020
Merged

Conversation

luftj
Copy link
Contributor

@luftj luftj commented Sep 21, 2020

sometimes duplicate IDs are returned from a query. OSM then doesn't return their geometry anymore, but only a reference to the previously transmitted element.
When choosing responseformat=geojson, this leads to the following error in line 214 and 234: UnknownOverpassError("Received corrupt data from Overpass (incomplete polygon).")

Test query: api.get('relation (52.5,8.3333333,52.75,8.8333333) [water=lake][name="Dümmer"]; out geom;', responseformat="json")

@mvexel mvexel merged commit cd544c5 into mvexel:master Nov 3, 2020
@jparta jparta mentioned this pull request May 12, 2023
@jparta
Copy link

jparta commented May 12, 2023

How does this fix the issue? The set is never accessed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants