A small wrapper for visualizing street networks and making artistic maps with OpenStreetMap and Networkx.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file map-network-viz-0.0.10.tar.gz
.
File metadata
- Download URL: map-network-viz-0.0.10.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91052e102133f95dd0f5a8a1056d08fdba167e27cf0b9c56862be08093837d97 |
|
MD5 | 8396ecee98128de0c8f887a85dbdc9d7 |
|
BLAKE2b-256 | e0e21312d8785162b0f58189c08dd8d07efbb0fffc10981c6a25141369303bcb |
File details
Details for the file map_network_viz-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: map_network_viz-0.0.10-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 175a2ce215d2d1c367bd7011f3a6f8f6d8be522844daeec461866f4a079179ea |
|
MD5 | 79497b9c4ba187cd6a96295e0fee64da |
|
BLAKE2b-256 | 03b11e016b417f3084ceb185d6dad7812998a21beecefff174223cbff8fc9b9b |