Page 1 of 1

HINT:List FL segment information without considering it

Posted: Thu Oct 31, 2019 12:54 pm
by Bernd Welter
HI there,

here's a little hint I just discovered in the manual. Use it for analysis!
Thanks to Frank Sch. for directing me to it!

Best regards Bernd

How to list FeatureLayer segment information without considering it
For evaluation purposes, it is possible to show information about FeatureLayer segment data along a route without considering it. This can be achieved by configuring a FeatureLayer theme but disabling all its actions, rules, or countries. Additionally, featureDescriptions have to be requested in the ResultListOptions element of the routing request.

The following snippet shows an example of how to display information about preferred routes in the route list without considering them:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Profile xmlns:ns2="http://www.ptv.de/com/ptvag/xserver/engines/xpoidbaccess">
 <FeatureLayer majorVersion="1" minorVersion="0">
  <Themes>
   <Theme id="PTV_PreferredRoutes" enabled="true">
    <Country id="*"  enabled="false"/>
   </Theme>
  </Themes>
 </FeatureLayer>
 <Routing majorVersion="2" minorVersion="0">
  <Course>
   <AdditionalDataRules enabled="true"/>
  </Course>
 </Routing>
</Profile>