map-network-viz
Description
This library contains functionality for visualizing street networks and making artistic maps with OpenStreetMap and Networkx. It works by wrapping around the osmnx
library to pull city network data (nodes and edges), but it is specifically designed to help end users make highly customizable, color-coded maps!
Installation
python3 -m pip install map-network-viz
Example Usage
from map_network_viz import *
PALETTE = ["#FFB7C3", "#750d37", "#F57A80", "#F6BD60", "#AAE28D", "#aadaba", "#27BACE", "#F0F2A6"]
generate_map("Portland, Oregon, USA", PALETTE)
from map_network_viz import *
PALETTE = ["#FFB7C3", "#750d37", "#F57A80", "#F6BD60", "#AAE28D", "#aadaba", "#27BACE", "#F0F2A6"]
generate_map("Tokyo, Japan", PALETTE, distance_km=5000, color_code_by='length', include_legend=True, save=False)
Map Gallery