Page 1 of 1

PTV_TrafficIncidents categories in xServer 2

Posted: Wed Jul 17, 2024 8:11 am
by innomedio
Hello,
For the restrictions displayed in the PTV_TrafficIncidents layer, we would like to show details about the event when clicking on the icon of the event, in text (for example, closed lane or roadworks). We would like to use the category of the displayed icon for this.
traffic.png
In the xServer 1 documentation, we found a text description for the IDs used (https://xtour-eu-n-test.cloud.ptvgroup. ... tables.htm), but we could not find it in the xServer 2 documentation.
The categories used are all the same between the two APIs, can we use these categories?


Best regards,
Benjámin

Re: PTV_TrafficIncidents categories in xServer 2

Posted: Wed Jul 17, 2024 8:48 am
by Bernd Welter
Hello Benjamin,

I hope the following URLs bring light into the topic:
  • Here's the generic definition of a response's info when it comes to a Feature - whether it is a traffic info or a truck attribute...
  • Here's the specific info of PTV_TrafficIncidents
As the second bullet mentions "category is an INT" I am looking for a mapping list of INT to proper categories. Haven't found it in the xServer2 docu so far. But as the "definition and content of a feature layer" is the same within xServer1 and xServer2 I assume that the list you mentioned is correct though I'd prefer to find a URL from the xServer 2 docu.

Bernd