How to visualize TruckAttributes for debugging purposes?

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

How to visualize TruckAttributes for debugging purposes?

Post by Bernd Welter »

Hello together,

from time to time I'm getting asked about the number of TruckAttributes we provide with our data.
I'm using a dedicated mapping profile that visualizes the existing attributes on a level that is not meaningful for production but that is very helpful for debugging.
Maybe this profile can help you as well.

Just extract the archive into the /conf of xMap and request the profile via CallerContext:

Code: Select all

<CallerContext_6>
 <wrappedProperties xmlns="http://baseservices.service.jabba.ptvag.com">
   <CallerContextProperty key="Profile" value="tarender" />
   <CallerContextProperty />
 </wrappedProperties>
</CallerContext_6>
The result looks like this:
Output of request via xMap-Test tool
Output of request via xMap-Test tool
Best regards Bernd
PS: the trick is the MaximumScale= value that is available for a large number of attributes. You may assign it to even higher values if necessary (with impact on performance but that's ok for debugging)
tarender.zip
the TARENDER profile and it's xMap-profile
(2.53 KiB) Downloaded 509 times
Post Reply