Tools to make pretty maps of areas of interest.
Assuming you have Python installed:
- Install dependencies:
pip install -r requirements.txt
- Run
make_map.py
directly (python make_map.py
), or import it into your own script. (See the__main__
block inmake_map.py
for example usage.) - Wait. It might take a few minutes (up to 10-ish) to download, cache, and draw all of the data for the region requested.
Only tested on Python 3.9 installed via Anaconda distribution on Ubuntu 20.04 via Windows Subsystem for Linux. YMMV. In particular, I have issues running on Windows due to an unhandled exception in the osmnx
package. It
can probably run in Google Colab if you're having issues.
- @marceloprates
- OpenStreetMap
- osmnx
- matplotlib
- shapely
- vsketch libraries.