Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH #129: Implement USGSElevationProvider #154

Merged
merged 15 commits into from
Jun 16, 2024

Conversation

rsarathy
Copy link

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

@rsarathy rsarathy linked an issue Jun 12, 2024 that may be closed by this pull request
@rsarathy rsarathy changed the title [WIP] GH #129: Implement custom ElevationProvider GH #129: Implement custom ElevationProvider Jun 14, 2024
@rsarathy rsarathy changed the title GH #129: Implement custom ElevationProvider GH #129: Implement USGSElevationProvider Jun 14, 2024
@rsarathy rsarathy marked this pull request as ready for review June 15, 2024 08:46
@rsarathy rsarathy requested review from Andykmcc and graue June 15, 2024 08:51
@rsarathy rsarathy merged commit b98eff4 into master Jun 16, 2024
3 checks passed
@graue graue mentioned this pull request Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use high quality USGS elevation data
1 participant