A harp.gl map implementing terrain by using the Mapbox RGB terrain provider.
Elevation of vector data should be implemented in the current OmvDataSource of harp.gl instead (see that project). This is more of a demo mixing the harp suite with Mapbox RGB tiles for the moment.
git clone [email protected]:Astrak/harpbox.git
cd harpbox
yarn
yarn start
From this repo:
- Elevating vertices on a plane results in an overall diagonal pattern following the triangles orientation of the mesh.
- The terrain meshes' boundaries don't fit with their neighbours.
Compliance problems with harp.gl:
- The elevation cannot be transfered to the vector data decoded in Omv. The code in this repo should be plugged into the harp's OmvDataSource so that the height data is sampled for each vector feature, either by the team (possibly ongoing with internal non-Mapbox and non-RGB terrain) or in a forked OmvDataSource.
- The near culling plane of the camera culls the mountains at higher zoom levels.