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

Add elevation data to rgb encoded png function #13

Closed
vincentsarago opened this issue Jan 3, 2018 · 0 comments
Closed

Add elevation data to rgb encoded png function #13

vincentsarago opened this issue Jan 3, 2018 · 0 comments
Assignees
Milestone

Comments

@vincentsarago
Copy link
Member

ref: https://github.com/vincentsarago/terrain-tiler

mapbox-gl-js (mapbox/mapbox-gl-js#5286) or mapzen-tangram support rgb encoded elevation values.

here is how to create a mapbox-gl compatible rgb values:
https://github.com/vincentsarago/terrain-tiler/blob/master/app/elevation.py#L16-L21

and for mapzen:
https://github.com/tilezen/joerd/blob/85ed04e7c2267880fe4272015ac37f396d91e864/joerd/output/terrarium.py#L31-L91

@vincentsarago vincentsarago self-assigned this Jan 3, 2018
@vincentsarago vincentsarago added this to the 1.0.0 milestone Jan 3, 2018
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

No branches or pull requests

1 participant