Skip to content

Serves near-realtime traffic data (speed/intensity from NDW) for dutch roads in a friendly format (geoJSON, JSON, SSE)

License

Notifications You must be signed in to change notification settings

bertrik/verkeersdrukte

Repository files navigation

verkeersdrukte

Java application to serve traffic data from NDW in a friendly format

Usage in QGIS

The software presents a shape file in GeoJSON format that can be imported into QGIS. Each point in the GeoJSON represents a measurement site, and contains all properties of the original shape file, plus URLs to the static data (fixed properties), dynamic data (traffic speed and flow) and a link to Google streetview.

First, add an openstreet background layer, by clicking XYZ Tiles / OpenStreetMap QGIS Add openstreetmap

Then, add a vector layer, by opening menu Layer / Add Layer / Add Vector Layer ... QGIS Add vector layer The URL is https://stofradar.nl/traffic/static Click 'Add', then 'Close'.

You should now see all measurement sites on the map. Select a particular site using the 'Identify features' button.

QGIS Add vector layer

This shows the static information about the measurement site, including an URL to the dynamic information. For example: http://stofradar.nl:9002/traffic/dynamic/RWS01_MONIBAS_0121hrr0292ra

The URL to the SSE event stream has '/events' appended: http://stofradar.nl:9002/traffic/dynamic/RWS01_MONIBAS_0121hrr0292ra/events

About

Serves near-realtime traffic data (speed/intensity from NDW) for dutch roads in a friendly format (geoJSON, JSON, SSE)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published