/elevation

Explore options for reading elevation data in pure Rust

Primary LanguageRustApache License 2.0Apache-2.0

elevation

Use georaster to read elevation data from GeoTIFFs in pure Rust.

This is really early work, but can already be used in A/B Street to calculate the height at intersections. This approach possibly replaces elevation_lookups, a much more flexible Python and GDAL-based solution. Those dependencies are quite heavyweight and have portability problems, even with Docker.

The approach in this repo is to stay as simple as possible, and only handle GeoTIFF files in EPSG:4326, so that no dependencies are needed for coordinate projection. In practice for A/B Street, once a DEM has been located, we have to do a bit of manual work to use it anyway, so those steps can very much include a one-time coordinate transformation.

Data sources

Right now I've used this for only two sources.