bikehopper / graphhopper

Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.
https://www.graphhopper.com/open-source/
Apache License 2.0
3 stars 0 forks source link

GH #129: Implement USGSElevationProvider #154

Closed rsarathy closed 2 months ago

rsarathy commented 2 months ago

First convert images to a single band: gdal_translate -ot byte -scale data/n38w123_20240313.tif n38w123_sb.tif

Then, split single 32-bit band into 4-byte rgba; use single grayscale band for all 4 r,g,b bands: gdalwarp -b 1 -b 1 -b 1 -dstalpha n38w123_sb.tif n38w123_rgba.tif