Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/notwoods/mapbox-elevation
A script to convert mapbox elevation tiles into grayscale heightmaps.
https://github.com/notwoods/mapbox-elevation
canvas image-manipulation map-tiles mapbox unity
Last synced: 28 days ago
JSON representation
A script to convert mapbox elevation tiles into grayscale heightmaps.
- Host: GitHub
- URL: https://github.com/notwoods/mapbox-elevation
- Owner: NotWoods
- License: mit
- Created: 2018-04-20T06:34:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-12T01:06:33.000Z (over 6 years ago)
- Last Synced: 2024-10-06T14:54:46.629Z (about 1 month ago)
- Topics: canvas, image-manipulation, map-tiles, mapbox, unity
- Language: JavaScript
- Homepage: https://notwoods.github.io/mapbox-elevation/
- Size: 6.01 MB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mapbox-elevation
A script to convert mapbox elevation tiles into grayscale heightmaps.
[Demo clip](demo.mp4)Various tools like [Blender](https://www.blender.org/) support generating meshes
from grayscale heightmaps. Mapbox provides an API to access heightmaps, but
uses a different format to encode the heights in order to allow for higher
resolution in the elevation values.When run with a local webserver, this program will take the file named
`heightmap.png` (from the Mapbox API) and create a grayscale version
using the Javascript Canvas API. The output in the Canvas can be saved
as a new image.## See also
* [Mapbox - Access elevation data](https://www.mapbox.com/help/access-elevation-data)## Licensing
This project is avaliable under the MIT License.