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.04k stars 516 forks source link

Use shapely.geometry.box for polygon from bounds #39

Closed chrieke closed 2 years ago

chrieke commented 2 years ago

Simplifies getting the Polygon from bounds coordinates, see shapely.geometry.box

Removes unused MultiPolygon import