~/talk

H3 Indexing

TalkinFrenchat PG Day France 2024 · 2024-06-11..06-12· [databases]
links:none on file
slides:none on file

Adds the H3 geospatial index to PostgreSQL/PostGIS, shows loading OpenStreetMap data using osm2pgsql inside Docker, and explains H3 internals: 64-bit indexes, 16 resolutions (0–15) with 12 pentagons per level, and cells represented as multipolygons. Demonstrates performance gains—example: a PostGIS distance_within query drops from 14 ms to 3 ms when using an H3 join at resolution 7 (~1500 m)—and shows density maps at level 10 (~120 m, 0.08 s), while warning H3 is WGS84-only, approximate, and unsuitable for exact area or coverage calculations.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09What is a spatial index
  3. 4:21H3 explained
  4. 9:00H3 Core features
  5. 11:24Installation and setup
  6. 13:10OSM data example
  7. 15:46H3 vs PostGIS
  8. 16:50Data visualization
  9. 19:02H3 limits and use cases
  10. 20:41Conclusion and Q&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.