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

feat(tiler-sharp): add terrain-rgb pipeline #3125

Merged
merged 2 commits into from
Feb 8, 2024
Merged

Conversation

blacha
Copy link
Member

@blacha blacha commented Feb 8, 2024

Motivation

Terrain RGB is a common format for sharing tiled elevation services,

for some rough performance numbers,

TerrainRGB encoding for common tile sizes:

256x256 - 2ms
512x512 - 5ms

Both lossless webp and png can be used, however lossless webp is much slower to compress

webp  14KB  100ms
png   28KB  5ms

Modification

adds support for float32 datasets to be converted on the fly to TerrainRGB

Checklist

If not applicable, provide explanation of why.

  • Tests updated
  • Docs updated
  • Issue linked in Title

@blacha blacha requested a review from a team as a code owner February 8, 2024 00:59
@blacha blacha added this pull request to the merge queue Feb 8, 2024
Merged via the queue into master with commit 159d064 Feb 8, 2024
11 checks passed
@blacha blacha deleted the feat/terrain-rgb-encoder branch February 8, 2024 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants