Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rdcm/mapbox-terrain-dem-v1-research
Mapbox Tiles API research.
https://github.com/rdcm/mapbox-terrain-dem-v1-research
cartography gdal mapbox python tiles
Last synced: about 1 month ago
JSON representation
Mapbox Tiles API research.
- Host: GitHub
- URL: https://github.com/rdcm/mapbox-terrain-dem-v1-research
- Owner: rdcm
- Created: 2024-12-01T17:40:45.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-01T18:10:04.000Z (about 1 month ago)
- Last Synced: 2024-12-01T19:18:45.856Z (about 1 month ago)
- Topics: cartography, gdal, mapbox, python, tiles
- Language: Python
- Homepage:
- Size: 595 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About
Goal of research getting elevation data from mapbox tiles and create avalanche relief map.
## Env UP
.env - `ACCESS_TOKEN=your_access_token_here`
1. `brew install gdal`
2. `python3 -m venv .` && `source bin/activate`
3. `pip3 install -r requirements.txt`## Env Down
1. `deactivate`
## Up & Running
1. `make download`
2. `make convert`
3. `make slope`
4. `make paint`## Results
- mapbox-terrain-dem-v1-14zoom:
![mapbox-terrain-dem-v1-14zoom](img/tile_mapbox_mapbox-terrain-dem-v1_14zoom_8816_5744_8bit_geotiff_slope_painted.jpg)- mapbox_terrain-rgb-14zoom:
![mapbox_terrain-rgb-14zoom](img/tile_mapbox_terrain-rgb_14zoom_8816_5744_8bit_geotiff_slope_painted.jpg)- mapbox_terrain-rgb-15zoom:
![mapbox_terrain-rgb-15zoom](img/tile_mapbox_terrain-rgb_15zoom_17632_11488_8bit_geotiff_slope_painted.jpg)- mapbox_terrain-rgb-16zoom:
![mapbox_terrain-rgb-16zoom](img/tile_mapbox_terrain-rgb_16zoom_35264_22976_8bit_geotiff_slope_painted.jpg)## Mapbox docs
[Access elevation data](https://docs.mapbox.com/data/tilesets/guides/access-elevation-data/)
[Zoom level](https://docs.mapbox.com/help/glossary/zoom-level/)
[Mapbox Terrain-DEM v1](https://docs.mapbox.com/data/tilesets/reference/mapbox-terrain-dem-v1/#layer-reference)