DATEX II Interface – Event Dutch format

This interface is a custom HTTP REST Optima interface.

The DATEX II Event Dutch format is slightly different from the standard DATEX II format.

The geolocatisation of the events is done by the Optima route matching algorithm using the shape of the events themselves. The parameter <minValidPointsThreshold> defines a threshold ratio (value between 0 and 1) for which the location will not be created and the related event will be skipped if the ratio of the valid points (i.e. not skipped by the route matching algorithm) is below this value.

All events posted at this service will update the events of the NDWNL provider already present in the Optima EVNT table. All events of the NDWNL provider that are in the database and not in the data feed will be closed.

To import the events the interface must be queried by a POST request. The the following example shows how this is done with the command line tool CURL:

Curl -X POST -H "Content-Type:application/octet-stream; Content-Encoding:gzip; Accept-Encoding: gzip, deflate" --data-binary @<event-file-name> http:// <hostname>:1800/talking-traffic-events-importer/stream?session=<session-id>

Where <event-file-name> is the file of the queried events in gzip format, <hostname> is the Optima root endpoint, and <session-id> is the Optima authentication token.

Important:  Note that the header of the POST request must be:
Content-Type:application/octet-stream; Content-Encoding:gzip; Accept-Encoding: gzip, deflate