Comments (1)
It affects how the height is encoded into RGB values.
For example Mapbox's Terrain RGB format derives the height with
height = base + ((R * 256 * 256 + G * 256 + B) * interval)
where base is -10000 and interval is 0.1.
So if you want your data compatible then you'd use those values.
Mapbox's formula means you only get 0.1 meter height precision (ie. the interval). If your application needs more precision you might decide to decrease this value but to compromises you'll get less range so won't be able to record the full range of heights on earths surface.
from rio-rgbify.
Related Issues (20)
- Is it possible to import a rio-rgbify generated mbtiles file into Mapbox Studio? HOT 1
- Upload generated terrain-rgb to mapbox HOT 6
- rgb tiles only show Corner?
- CRSError: CRS is empty or invalid: u'' HOT 8
- TIF -> MBTILES -> Mapbox Studio?
- Use Rasterio to create webp HOT 4
- Script can't quit automatically after finishing the conversion of TIFF -> mbtiles
- How to merge multiple raster .mbtiles into the single one? HOT 2
- Using rio-rgbify on windows
- Deal with bigtiff as source? HOT 1
- Error occurred over-altitude terrain RGB raster tileset in Mapbox GL JS HOT 4
- raster edge normalization
- Fix reprojection issue making plugin unusable & roll out new release HOT 2
- Remove background values HOT 1
- Fix nodata values at source edges
- rasterio._err.CPLE_AppDefinedError: densify_pts must be at least 2 if the output is geograpic HOT 12
- Custom terrain RGB/hillshade HOT 2
- Latest pre-built wheel does not match source HOT 1
- Error: RGB terrain shifted -10000 when rendered using 3d terrain (raster-dem) Maplibre GL HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rio-rgbify.