~/talk

Understanding geospatial data with duckdb

Talkat PyCon Italia 2025 · 2025-05-28..05-31· [databases, data-visualization]
links:none on file
slides:none on file

Shows that DuckDB can store and query vector geodata with the spatial extension and HTTPFS to load GeoJSON from URLs, run ST_Length/ST_Area/ST_Within and create 2.4 km square buffers in SQL, and join those to admin boundaries (Colombia admin0/1/2) and a 5,000-point RWI CSV. DuckDB has no native raster engine, so a Python UDF (rasterstats) computes zonal population sums over the buffered areas. Demo builds a Lambda pipeline that writes GeoJSON to S3 (Prism) and it works end to end.

AI-written summary · about

  1. 0:00Introduction to GIS
  2. 8:03Vector vs raster data
  3. 12:19DuckDB geospatial setup
  4. 17:38Creating geometries in DuckDB
  5. 21:51Loading geospatial formats
  6. 23:58Visualizing geospatial data
  7. 25:24Spatial relations and joins
  8. 27:53Projection challenges
  9. 30:07Buffer creation and analysis
  10. 31:57Raster statistics with Python
  11. 35:10WFP Prism application demo
  12. 37:18Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.