-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Support area as geojson #154
Comments
This should be solved on the main branch now after merging #140. Haven't tested extensively but
returns the GeoJSON (you'd have to We'll get these improvements out in the next release 0.7.1. |
Thanks a lot! |
Sorry I closed this too early. It seems the "area" information is not available. Consider: import overpass
import pprint
api = overpass.API(responseformat="geojson", debug=True)
query = "is_in(43.5391108,6.9376076);out body;>;"
pprint.print(api.get(query, verbosity="skel qt")) which seems to run the following query:
result is:
when using the same query with curl:
The id 3600007385 (area) is not included in the results provided by overpass.API. |
returns valid data (e.g.
area
) however the api just statesoverpass.errors.UnknownOverpassError: Received corrupt data from Overpass (invalid element)
.Besides that a better error message would be:
The text was updated successfully, but these errors were encountered: