~/talk

Maps with Django with Paolo Melchiorre

Talkat DjangoCon US 2024 · 2024-09-22..09-27· [web-platform, databases]
slides:none on file

Builds a working web map end to end: models and admin with GeoDjango, initial SpatiaLite/SQLite database then migrated to PostGIS/PostgreSQL, vector data served as GeoJSON and fetched by the frontend. Uses Leaflet for rendering, GDAL/GEOS system libs, Django REST Framework + its geo addon with bounding‑box filtering so the map loads only visible markers. Result is an interactive map that performs fast when panning, stores geometry in PostGIS, and demos GeoDjango → Leaflet → DRF GIS.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Hiking map with Django
  3. 3:46Django project setup
  4. 5:31Empty map with Leaflet
  5. 8:02Adding markers
  6. 10:57GeoDjango and SpatiaLite
  7. 13:09Markers in map view
  8. 16:07Map performance with PostGIS
  9. 18:16GeoJSON API endpoint
  10. 21:02Final map demo
  11. 22:28Future Django maps tips
  12. 23:53Q&A
~/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.