JacobGeoGeek / map-network-viz

A small wrapper for visualizing street networks and making artistic maps with OpenStreetMap and Networkx

Home Page:https://mapmaker.streamlit.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A small wrapper for visualizing street networks and making artistic maps with OpenStreetMap and Networkx

https://mapmaker.streamlit.app/

License:MIT License


Languages

Language:Python 100.0%