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.

Inner rings GeoJSONs are incomplete #163

Open
@mvexel

Description

@mvexel

Consider this query in Overpass Turbo.

Using Overpass Turbo's 'download as GeoJSON' function, we end up with this GeoJSON

As you can see, the inner rings of the polygons are defined as they are in the original OSM relation. They are not holes.

If we retrieve the same relation as GeoJSON using overpass:

import json
import overpass
api = overpass.API()
query = "rel(11038555);out;>;out;"
resp = api.get(query, responseformat="geojson")
json.dumps(resp)

...we get a polygon with holes instead.

Metadata

Metadata

Assignees

Labels

Projects

Status

In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions