You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "error.py", line 24, in <module>
plot(
File "/home/kamil/.local/lib/python3.8/site-packages/prettymaps/draw.py", line 226, in plot
else get_perimeter(query, by_osmid=query_mode == "osmid")
File "/home/kamil/.local/lib/python3.8/site-packages/prettymaps/fetch.py", line 80, in get_perimeter
return ox.geocode_to_gdf(
File "/home/kamil/.local/lib/python3.8/site-packages/osmnx/geocoder.py", line 110, in geocode_to_gdf
gdf = gdf.append(_geocode_query_to_gdf(q, wr, by_osmid))
File "/home/kamil/.local/lib/python3.8/site-packages/osmnx/geocoder.py", line 166, in _geocode_query_to_gdf
result = _get_first_polygon(results, query)
File "/home/kamil/.local/lib/python3.8/site-packages/osmnx/geocoder.py", line 230, in _get_first_polygon
raise ValueError(f'OSM did not return any polygonal geometries for query "{query}"')
ValueError: OSM did not return any polygonal geometries for query "Brink-Hafen, Hannover, Deutschland"
After that I´ve took a look at the relationat OSM: Brink-Hafen Relation
There is one part which is not connected to the other, could it be the cause of the issue ?
Regards
The text was updated successfully, but these errors were encountered:
Hi all,
I just wanted to plot my 'hood' and some adjacent districts, so i basically took the example from the notebook and ran it.
but it failed with the error message
After that I´ve took a look at the relationat OSM: Brink-Hafen Relation
There is one part which is not connected to the other, could it be the cause of the issue ?
Regards
The text was updated successfully, but these errors were encountered: