Modern GIS toolkit for Python - Simplifying geospatial workflows with built-in data sources, intelligent caching, and fluent APIs
This example demonstrates how to load a local GeoJSON file, combine it with Census data (TIGER/Line county boundaries), and visualize the result using PyMapGIS.
The script local_file_interaction.py
performs the following steps:
pymapgis
library.sample_data.geojson
) using pmg.read()
with a file://
URL.The sample_data.geojson
file contains a few sample point features located within Los Angeles County.
pip install pymapgis
cd examples/local_file_interaction
python local_file_interaction.py
This will display a map showing the sample points of interest within the boundary of Los Angeles County.