Ask me anything about your lessons or your code.
“What is a port?” · “Why is my code erroring?”
GeoPandas turns a table of shapely geometries and their attributes into one object, so a spatial filter is a single line of pandas code instead of a new tool to learn.
GeoPandas: Spatial Data as Code
GeoPandas turns a table of shapely geometries and their attributes into one object, so a spatial filter is a single line of pandas code instead of a new tool to learn.
Shapely: Building and Operating on Geometry
Shapely is the library that gives a GeoDataFrame's geometry column its shapes and its math: build a Point or Polygon by hand, then buffer, intersect, and measure it.
Coordinate Transforms with pyproj and GeoPandas
Reprojecting is one line in GeoPandas, but skipping it before measuring area or distance turns a real number into a meaningless one.
Spatial Joins, Dissolve, and Overlay in GeoPandas
GeoPandas answers which polygon each point falls in, merges features that share an attribute, and cuts one polygon layer by another, all from a script instead of a menu.
Rasters in Python with rasterio
rasterio opens a raster file and hands the pixel data back as a NumPy array, so an analyst can slice, sample, and do math on a satellite image with ordinary array code.
Scripting a Real GIS Pipeline End to End
A real GIS pipeline chains reprojection, buffering, a spatial join, and a summary into one script that reads two GeoPackages and writes a GeoPackage plus a CSV.