Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Results produced using make or convert cannot be exported to GeoJSON #743

Open
naomap opened this issue Dec 12, 2024 · 1 comment
Open

Comments

@naomap
Copy link

naomap commented Dec 12, 2024

I wrote a couple of requests that sum up the bicycle parking capacity for a number of cities. One produces polygons and uses the make statement (https://overpass-turbo.eu/s/1VAs), the other produces points and uses the convert statement (https://overpass-turbo.eu/s/1VAt). Exporting the result to GeoJSON using Turbo produces a file with no data (maybe this is an issue for Turbo rather than the API ?).

The irony is that the result is very close to the GeoJSON format. Using the clause [out:json], the geometries are output in GeoJson. The only bits missing to produce GeoJSON is to rename elements to features, wrap them up in a FeatureCollection, and rename tags to properties.

My use case is to output the result of those request in GeoJSON format, then import this data in a uMap map. That would be very handy.

@mmd-osm
Copy link
Contributor

mmd-osm commented Jan 7, 2025

That's really an overpass turbo issue, see tyrasd/osmtogeojson#94

https://olbricht.nrw/ovt/ is an inofficial overpass turbo fork that supports this format.

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

No branches or pull requests

2 participants