How-To Guides
Concrete, step-by-step solutions for Python GIS tasks — from loading a shapefile to shipping a scheduled, tested, containerised pipeline.
Every how-to guide, A–Z
Page 21 — use the page links below, or browse by topic above.
- How to Simplify Geometry in Python with GeoPandas and Shapely
- How to Smooth Unstable Area Rates with Empirical Bayes in Python
- How to Snap and Align Geometries to Fix Slivers and Gaps in Python
- How to Snap Points to a Street Network in Python
- How to Speed Up Batch GIS Jobs with Parallel Processing in Python
- How to Split a Catchment into Sub-basins at Many Outlets
- How to Split a Large Layer into Tiles for Batch Processing
- How to Split a Track into Trips and Stops in Python
- How to Split Multipart Geometries into Single Parts in GeoPandas
- How to Standardise and Repair CRS Across a Folder of Files in Python
- How to Standardise Attribute Values Against a Controlled Vocabulary
- How to store metadata inside a GeoPackage
- How to Stream Large Query Results from a Spatial API
- How to strip GPS coordinates from photo metadata in Python
- How to Style Data-Driven Colours in a Web Map
- How to Style Layers and Export Map Layouts from PyQGIS
- How to subset an ocean model NetCDF by depth and time
- How to Sum a Population Grid by Municipality in Python
- How to Summarise Catchment Attributes: Area, Slope and Land Cover
- How to Summarise Land Cover by Polygon in Python
- How to Summarise Land Surface Temperature by Neighbourhood in Python
- How to suppress small counts in a spatial table in Python
- How to Take an Area-Weighted Mean over a Latitude–Longitude Grid
- How to Test a GIS Pipeline with pytest
- How to Test a GIS Script That Reads and Writes Files
- How to Test a Map App Without a Browser
- How to Test a Spatial API with pytest and httpx
- How to Test for Near-Repeat Burglary in Python
- How to Test Whether a Migration Flow Is Really One-Way in Python
- How to test whether a window can see a landmark