HERE Real-Time Traffic Data

HERE Real-Time Traffic data on the platform is visualized with the dedicated GeoJSON rendering plugin. By editing the default plugin code, you can customize your visualization as needed.

The plugin for HERE Real-Time Traffic data is included in the data schema of the Flow layer:

Traffic flow data visualization with the rendering plugin
Figure 1. Traffic flow data visualization with the rendering plugin

Example App

Before you can visualize traffic flow data, you need to know the HERE Resource Name (HRN) of the layer that contains this data and the zoom level of the layer with traffic data. You can find the catalog HRN in the Data section of the portal.

To visualize HERE Real-Time Traffic Data from a catalog, follow these steps:

  1. Install the web app generator and enter your application name when prompted.

  2. When prompted What kind of data will you visualize on top of the Base map?, select the option Traffic Flow data.

  3. When prompted HRN of the Catalog you want to visualize?, enter the HRN of the catalog that has traffic data.

  4. When prompted Name of the layer you want to visualize?, enter the name of the layer that contains traffic data.

  5. When prompted On which level the data is stored?, enter the level of the layer with traffic data.

  6. Once the code is generated, you can build and serve the web app by running the following command:

    npm run start
    

    To see the web app, open http://localhost:8080 in a web browser.

    To render the base map, enter the credentials that you obtained from the platform portal.

results matching ""

    No results matching ""