Cloud-native vector GIS with Python
Query and serve large vector datasets straight from the cloud. The series queries Overture Maps GeoParquet with DuckDB, then publishes the results as PMTiles vector tiles and displays them in MapLibre.
- Intermediate
- 2, all published
- About 25 minutes
Start with part 1: Query Overture Maps with DuckDB spatial and GeoParquet in Python
The parts, in order
-
Query Overture Maps with DuckDB spatial and GeoParquet in Python
Pull Bristol's 144,965 buildings and 20,727 places straight from the Overture Maps GeoParquet release with DuckDB, run spatial SQL joins and H3 aggregation, load the result into GeoPandas, write GeoParquet 1.1, and time it against Shapefile, GeoPackage and FlatGeobuf.
-
PMTiles vector tiles in Python and a MapLibre GL JS web map
Turn Overture Maps GeoParquet into PMTiles vector tiles with the GDAL that ships in pyogrio, no Tippecanoe needed, measure the zoom-level and size trade-offs, and serve an interactive MapLibre GL JS map of Bristol from static hosting.