Standard Search Graphs (XServer Internet 2)
Posted: Mon Apr 03, 2023 12:23 pm
As you know we offer a bunch of standard search graphs in xServer Internet 2.
You can list them via the com.ptvgroup.xserver.xdata.ListHighPerformanceRoutingNetworksRequest
There are two strategies to refer to one of the standard graphs:
You can list them via the com.ptvgroup.xserver.xdata.ListHighPerformanceRoutingNetworksRequest
There are two strategies to refer to one of the standard graphs:
- Strategy #1: Refer to the graph by it's ID
- Strategy #2: Refer to the graph by specifying a set of matching routing options. This could be tricky because you need to know what properties to set. Hopefully the following info helps. The list shows the attributes that are relevant to match a graph
- storedProfile, e.g. "truck40t"
- enable TruckAttributes in the StoredProfile.FeatureLayerProfile.Themes
- set proper com.ptvgroup.xserver.routing.GeographicRestrictions based on the continental shortcuts (e.g. "ZZ-EUR")
- set a proper com.ptvgroup.xserver.routing.RoutingType, e.h. HIGH_PERFORMANCE_ROUTING or HIGH_PERFORMANCE_ROUTING_WITH_FALLBACK_CONVENTIONAL