enzet / map-machine

Python renderer for OpenStreetMap with custom icons intended to display as many map features as possible
MIT License
503 stars 31 forks source link

Use created layers as context maps in matplotlib plots #163

Open marquesine opened 3 months ago

marquesine commented 3 months ago

Is it possible and easy to implement the use of created layers as context maps behind a plot in Python?

A common use case for GIS and Python users is to render static maps with interest data in matplotlib (usually together with geopandas or shapely).

There's a Python library, contextily, that already does this with ready-made and publicly available tile sets. However, there are two issues with it:

I really like this project and what it is able to accomplish.