harp-terrain-datasource icon indicating copy to clipboard operation
harp-terrain-datasource copied to clipboard

Render and style 3D terrain

harp.gl Terrain Datasource

Build Status

The harp.gl Terrain Datasource is a module of harp.gl to render terrain data encoded using Quantized Mesh or Mapzen Terrarium.

The image below contains terrain with partially overlaid wireframe.

Terrain with partially overlaid wireframe

About This Repository

This repository is organized in a yarn workspace.

Installation

In Node.js

The module is installable via yarn (or npm):

yarn add @here/harp-terrain-datasource
npm install @here/harp-terrain-datasource

Development

Prerequisites

  • Node.js - Please see nodejs.org for installation instructions
  • Yarn - Please see yarnpkg.com for installation instructions.

Download dependencies

Run:

yarn install

to download and install all required packages and set up the yarn workspace.

Example Application

The ./example folder contains source code of the demo application of harp.gl with Terrain Datasource. See example's README.

If you want to learn more about the applications you can create, please check the Getting Started Guide.

See Also

  • API Reference. Introduction to our API.

  • harp.gl. 3D map rendering engine based on three.js.

  • TIN Terrain. CLI tool to generate quantized mesh and OBJ tiles out of raster data.

  • Quantized Mesh Viewer. Tool for debuging quantized mesh tiles.

  • Quantized Mesh Decoder. JavaScript implementation of quantized mesh format decoding.

License

Copyright © 2017-2020 HERE Europe B.V.

See the LICENSE file in the root of this project for license details about using harp-terrain-datasource.

For other use cases not listed in the license terms, please contact us.