marceloprates / prettymaps

A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.
GNU Affero General Public License v3.0
11.02k stars 516 forks source link

Kernel crashes with larger radius #117

Open clstaudt opened 1 year ago

clstaudt commented 1 year ago

Pretty maps indeed! Trying to zoom out more with setting the radius parameter higher (around 4000), I have experienced frequent crashes of the Jupyter kernel. I am running this in GitHub Code Spaces, perhaps there are resource limitations involved.

Perhaps the function call can fail more gracefully when running into limitations.

plot = prettymaps.plot(
    "Vienna",
    radius=4000,
    preset='macao',
)