PTV_TrafficIncidents categories in xServer 2

This forum covers all questions dealing with visualization of data within the native PTV xMap interface and the
PTV Developer Raster Maps API
Please remember that additional plugins such as AJAX or Leaflet may be handeled in other forums.
Post Reply
innomedio
Posts: 27
Joined: Thu Sep 03, 2020 2:26 pm

PTV_TrafficIncidents categories in xServer 2

Post 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
User avatar
Bernd Welter
Site Admin
Posts: 2690
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: PTV_TrafficIncidents categories in xServer 2

Post 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
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply