As a PTA member, I would like to make a map of the school address.
I just installed prettymaps, resolved the problem with usrlib, and try the example, but it doesn't work. I have an error
vincentm1@Vincents-MacBook-Air-M1 Development % python3
Python 3.9.6 (default, Oct 18 2022, 12:41:40)
[Clang 14.0.0 (clang-1400.0.29.202)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import prettymaps
>>> plot = prettymaps.plot('Stad van de Zon, Heerhugowaard, Netherlands')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/vincentm1/Library/Python/3.9/lib/python/site-packages/prettymaps/draw.py", line 902, in plot
gdfs = get_gdfs(query, layers, radius, dilate, -rotation)
File "/Users/vincentm1/Library/Python/3.9/lib/python/site-packages/prettymaps/fetch.py", line 215, in get_gdfs
gdfs.update({
File "/Users/vincentm1/Library/Python/3.9/lib/python/site-packages/prettymaps/fetch.py", line 216, in <dictcomp>
layer: get_gdf(layer, perimeter, **kwargs)
File "/Users/vincentm1/Library/Python/3.9/lib/python/site-packages/prettymaps/fetch.py", line 168, in get_gdf
graph = ox.graph_from_polygon(
File "/Users/vincentm1/Library/Python/3.9/lib/python/site-packages/osmnx/graph.py", line 436, in graph_from_polygon
G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional)
File "/Users/vincentm1/Library/Python/3.9/lib/python/site-packages/osmnx/graph.py", line 554, in _create_graph
raise EmptyOverpassResponse("There are no data elements in the response JSON")
osmnx._errors.EmptyOverpassResponse: There are no data elements in the response JSON
Hello,
As a PTA member, I would like to make a map of the school address.
I just installed prettymaps, resolved the problem with usrlib, and try the example, but it doesn't work. I have an error
Could you help ?