ERROR:shapely.geos:TopologyException: depth mismatch at at 552100 5277600
Traceback (most recent call last):
File "maps.py", line 18, in <module>
layers = plot(
File "/home/***/.local/lib/python3.8/site-packages/prettymaps/draw.py", line 189, in plot
layers = {
File "/home/***/.local/lib/python3.8/site-packages/prettymaps/draw.py", line 190, in <dictcomp>
layer: get_layer(
File "/home/***/.local/lib/python3.8/site-packages/prettymaps/fetch.py", line 146, in get_layer
return get_streets(**kwargs, layer = layer)
File "/home/***/.local/lib/python3.8/site-packages/prettymaps/fetch.py", line 109, in get_streets
streets = unary_union([
File "/home/***/.local/lib/python3.8/site-packages/prettymaps/fetch.py", line 111, in <listcomp>
MultiLineString(
File "/home/***/.local/lib/python3.8/site-packages/shapely/geometry/base.py", line 637, in buffer
return geom_factory(self.impl['buffer_with_params'](self, params, distance))
File "/home/***/.local/lib/python3.8/site-packages/shapely/geometry/base.py", line 78, in geom_factory
raise ValueError("No Shapely geometry can be created from null value")
ValueError: No Shapely geometry can be created from null value
To reproduce:
Barcelona, Spain (square plot with rounded edges)example(47.606292888654316, -122.33203340169379), radius = 5000