Interactive Map Layers: Data Sampling

One of the features offered by interactive map layers is data sampling. Data sampling enables clients to efficiently render an excerpt of a very large data set for visual reference and analysis, without the need to retrieve all the data.

This example includes a cadastral map to explore the trees in maintenance of the city of Amsterdam. Each of the 259,431 trees is stored as an individual map feature.

By including the parameter mode=viz the Interactive API is instructed to return the data optimized for visualization. On map zoom levels, where there are too many features, the tiles returned by Interactive API include only a sample with a geographically accurate representation of the data.

This example uses: Interactive API, HERE Maps API for Javascript

Data source: City of Amsterdam

Source code: GitHub

Sampling strength: