We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to find the ways within the given polygon. Program is getting stuck.
import osmpy from shapely import wkt boundary = wkt.loads('POLYGON((37.8413 -122.2790,37.8545 -122.2790,37.8545 -122.2963,37.8413 -122.2963,37.8413 -122.2790))') query = """[out:json]; way["highway"](poly:"{boundary}"); out body geom;""" res = osmpy.get(query, boundary) print(f"{res}")
Further when I was looking at the library found the following function katana being called recursively and not exiting.
katana
The text was updated successfully, but these errors were encountered:
The coordinates are supposed to be set as longitude latitude, so katana cannot handle incorrect input. This works:
longitude latitude
boundary = wkt.loads('POLYGON((-122.2790 37.8413,-122.2790 37.8545,-122.2963 37.8545,-122.2963 37.8413,-122.2790 37.8413))') query = """[out:json]; way["highway"](poly:"{boundary}"); out body geom;""" res = osmpy.get(query, boundary)
Sorry, something went wrong.
No branches or pull requests
Description
I am trying to find the ways within the given polygon.
Program is getting stuck.
What I Did
Further when I was looking at the library found the following function
katana
being called recursively and not exiting.The text was updated successfully, but these errors were encountered: