Modern GIS toolkit for Python - Simplifying geospatial workflows with built-in data sources, intelligent caching, and fluent APIs
This example demonstrates how to load and visualize TIGER/Line data, specifically roads, for a selected county using PyMapGIS.
The script tiger_line_visualization.py performs the following steps:
pymapgis library.pmg.read() to fetch road data for Los Angeles County, California, from the TIGER/Line dataset. The year, state FIPS code, and county FIPS code are specified in the URL.RTTYP), using the built-in plotting capabilities of PyMapGIS. The map includes a title and a legend.pip install pymapgis
cd examples/tiger_line_visualization
python tiger_line_visualization.py
This will display an interactive map showing the roads in the specified county.