Skip to content

MeasuredDataPublication

Current traffic data is delivered in the MeasuredDataPublication (MDP). This publication consists of all measurement sites recorded in the MeasurementSiteTablePublication. For each measurement site, an element siteMeasurements is populated with the unique identification of the measurementSite, the measured information, and the timestamp of the measurement.

If available, additional information such as the number of observations used to obtain the value and the standard deviation of the current value is also included. The MDP is a specialization of PayloadPublication. This specialization is indicated by setting the xsi:type attribute of the payload element to "MeasuredDataPublication".

The top-level structure is as follows:

image

Elements

Element Mandatory Source
publicationTime Yes PayloadPublication
publicationCreator Yes PayloadPublication
measurementSiteTableReference Yes MeasuredDataPublication
headerInformation Yes MeasuredDataPublication
siteMeasurements 1 or more MeasuredDataPublication

Sub-element measurementSiteTableReference

In the MeasuredDataPublication (MDP), the measurementSiteTable used is specified. To do this, the measurementSiteTableReference element is populated. This element consists of three mandatory attributes: id, version, and targetClass.

Attribute Type Mandatory Domain Description
id String Yes Valid id Identification of the measurementSiteTable that applies
version String Yes >=1 Version of the measurementSiteTable that applies (current or next version)
targetClass String Yes MeasurementSiteTable Fixed value naming the class being referenced
XML Example
<con:payload xmlns:com="http://datex2.eu/schema/3/common" xmlns:d2="http://datex2.eu/schema/3/d2Payload" xmlns:roa="http://datex2.eu/schema/3/roadTrafficData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:loc="http://datex2.eu/schema/3/locationReferencing" xsi:type="roa:MeasuredDataPublication" lang="en-us" modelBaseVersion="3" xsi:schemaLocation="http://datex2.eu/schema/3/d2Payload DATEXII_3_D2Payload.xsd">
    <com:publicationTime>2001-12-17T09:30:47Z</com:publicationTime>
    <com:publicationCreator>
        <com:country>nl</com:country>
        <com:nationalIdentifier>NLNDW</com:nationalIdentifier>
    </com:publicationCreator>
    <roa:measurementSiteTableReference id="NDW_MST" version="last" targetClass="MeasurementSiteTable"/>
    <roa:headerInformation>
        <com:confidentiality>noRestriction</com:confidentiality>
        <com:informationStatus>real</com:informationStatus>
    </roa:headerInformation>
    <roa:siteMeasurements>
        ...
    </roa:siteMeasurements>
</con:payload>
Go back to the previous page