Global terrain data (elevation, slope, aspect) pre-computed on H3 hexagonal grids, stored as Parquet files for fast spatial queries. https://walkthru.earth/indices?section=terrain
H3-indexed terrain data from GEDTM-30m in Apache Parquet format. Ten H3 resolutions (1–10), one file per resolution, sorted by h3_index. Available in two versions: v2 (recommended) with BIGINT h3_index and no geometry columns, and v1 (legacy) with VARCHAR h3_index and native Parquet 2.11+ GEOMETRY.
For deck.gl H3HexagonLayer (needs hex string):
INSTALL spatial)Same cell counts and resolutions as v2.
Total: 10,450,894,746 cells (~10.5 billion) in ~287 GB. Compression: ZSTD level 3. Row groups: 1,000,000 rows.
geometry, lat, and lon columns are removed in v2 — derive them via the DuckDB h3 extension: h3_cell_to_lat(h3_index), h3_cell_to_lng(h3_index), h3_cell_to_boundary_wkt(h3_index).
Sample values (res 5, Everest region):
Terrain derivatives are computed from the GEDTM-30m elevation raster:
Values at H3 cell centers are obtained by bilinear interpolation from the raster grid (scipy RegularGridInterpolator).
DEM is read at different resolutions depending on H3 level:
INSTALL spatial)v2 drops the geometry column entirely. Coordinates are derivable from the BIGINT h3_index via the DuckDB h3 extension (h3_cell_to_lat, h3_cell_to_lng, h3_cell_to_boundary_wkt). This eliminates the need for INSTALL spatial and reduces file size.
v1 retains the geometry column, written with GEOPARQUET_VERSION 'BOTH', providing dual compatibility:
geo file-level metadata — backwards compatibility with older tools (QGIS, pyarrow, GeoPandas).GEDTM-30m — Global Ensemble Digital Terrain Model at 30m resolution. Cloud Optimized GeoTIFF, 1,440,010 × 600,010 px, Int32 (decimeters, scale 0.1), EPSG:4326, global land coverage 65°S–85°N.
Ho, Y., Grohmann, C. H., Lindsay, J., Reuter, H. I., Parente, L., Witjes, M., & Hengl, T. (2025). GEDTM30: global ensemble digital terrain model at 30 m and derived multiscale terrain variables. PeerJ, 13, e19673. doi:10.7717/peerj.19673
Dataset: doi:10.5281/zenodo.14900181
This dataset is licensed under CC BY 4.0 by walkthru.earth. The source GEDTM-30m is licensed under CC BY 4.0 by OpenGeoHub.
| meters |
| Terrain Ruggedness Index — mean abs. elevation diff to 8 neighbors |
tpi | FLOAT | meters | Topographic Position Index — elevation minus mean of 8 neighbors (+ridge, -valley) |