Unsuccessful routing with Feature layer

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
biro.daniel
Posts: 41
Joined: Tue Aug 23, 2016 8:08 am

Unsuccessful routing with Feature layer

Post by biro.daniel »

Hello guys,

Owing to solving a routing problem occurred (http://xserver.ptvgroup.com/forum/viewt ... ?f=7&t=568) we decided to use feature layer.
In that case, our special problem was solved, but considering:
1. only the Road Editor layer: by requesting route between two points, the request successfully gives back a route.
2. only the Feature layer: by requesting route between two points, the request successfully gives back a route.
3. both Road editor Layer and Feature layer: by requesting route between two points, we did not get back route.
4. both Road editor Layer and Feature layer and by allowing segment violations: the request successfully gives back a route, in the received route the RouteInfo contains HasViolation false field.

Could you please share with us the root cause of the problem?
Thank you in advance

Best regards,
Daniel

Sample request:

Code: Select all

<?xml version="1.0"?>

-<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">


-<s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">


-<calculateExtendedRoute xmlns="http://types.xroute.xserver.ptvag.com">


-<ArrayOfWaypointDesc_1>


-<WaypointDesc xmlns="http://xroute.xserver.ptvag.com" linkType="NEXT_SEGMENT" heading="153" fuzzyRadius="0">


-<wrappedCoords>


-<Point xmlns="http://common.xserver.ptvag.com">

<kml xsi:nil="true"/>

<point y="54.80509058" x="9.32874183"/>

</Point>

</wrappedCoords>

<nodeID xsi:nil="true"/>

<wrappedRoutingOptions xsi:nil="true"/>

<wrappedSegmentID xsi:nil="true"/>

<wrappedVehicleOptions xsi:nil="true"/>

<viaType xsi:nil="true"/>

</WaypointDesc>


-<WaypointDesc xmlns="http://xroute.xserver.ptvag.com" linkType="NEXT_SEGMENT" fuzzyRadius="0">


-<wrappedCoords>


-<Point xmlns="http://common.xserver.ptvag.com">

<kml xsi:nil="true"/>

<point y="54.61649" x="9.44279"/>

</Point>

</wrappedCoords>

<nodeID xsi:nil="true"/>

<wrappedRoutingOptions xsi:nil="true"/>

<wrappedSegmentID xsi:nil="true"/>

<wrappedVehicleOptions xsi:nil="true"/>

<viaType xsi:nil="true"/>

</WaypointDesc>

</ArrayOfWaypointDesc_1>


-<ArrayOfRoutingOption_2>

<RoutingOption xmlns="http://xroute.xserver.ptvag.com" value="false" parameter="IS_DESTTIME"/>

<RoutingOption xmlns="http://xroute.xserver.ptvag.com" value="false" parameter="GENERATE_EXTWAYPOINTS"/>

<RoutingOption xmlns="http://xroute.xserver.ptvag.com" value="GA" parameter="ROUTE_LANGUAGE"/>

<RoutingOption xmlns="http://xroute.xserver.ptvag.com" value="1.4.5" parameter="REQUEST_VERSION"/>

<RoutingOption xmlns="http://xroute.xserver.ptvag.com" value="true" parameter="ENABLE_ROADEDITOR"/>

<RoutingOption xmlns="http://xroute.xserver.ptvag.com" value="TruckAttributes_EUR" parameter="ROADEDITOR_LAYERNAME"/>

<RoutingOption xmlns="http://xroute.xserver.ptvag.com" value="MAX_WEIGHT=40000,MAX_HEIGHT=400,MAX_WIDTH=250,MAX_LENGTH=1750,MAX_AXLE_LOAD=1150" parameter="ROADEDITOR_ADDITIONAL_OPTIONS"/>

<RoutingOption xmlns="http://xroute.xserver.ptvag.com" value="wire_birod.restrictions.default;[CATEGORY] IN (1, 3)" parameter="GEODATASOURCE_LAYER"/>

<RoutingOption xmlns="http://xroute.xserver.ptvag.com" value="49" parameter="ROUTING_COUNTRIES"/>

</ArrayOfRoutingOption_2>

<ArrayOfExceptionPath_3 xsi:nil="true"/>


-<ResultListOptions_4 manoeuvres="false" binaryPathDesc="false" boundingRectanglesC="0" boundingRectanglesOffset="0" brunnelManoeuvres="false" detailLevel="STANDARD" dynamicInfo="false" manoeuvreAttributes="false" urbanManoeuvres="false" manoeuvreGroups="false" nodes="false" polygon="false" segmentAttributes="false" segments="false" texts="false" tollManoeuvres="false" totalRectangle="true">

<cenEmissionConfiguration xmlns="http://xroute.xserver.ptvag.com" xsi:nil="true"/>

<destDetail xmlns="http://xroute.xserver.ptvag.com" xsi:nil="true"/>

<emissions xmlns="http://xroute.xserver.ptvag.com" xsi:nil="true"/>

<hbefaType xmlns="http://xroute.xserver.ptvag.com" xsi:nil="true"/>

<startDetail xmlns="http://xroute.xserver.ptvag.com" xsi:nil="true"/>

</ResultListOptions_4>


-<CountryInfoOptions_5 detailedTollCosts="false" calculatePartTollCosts="true" allEuro="true">

<wrappedReductionIDs xmlns="http://xroute.xserver.ptvag.com" xsi:nil="true"/>

<wrappedTollScenarios xmlns="http://xroute.xserver.ptvag.com" xsi:nil="true"/>

</CountryInfoOptions_5>


-<CallerContext_6 log3="" log2="" log1="NEXOGEN">


-<wrappedProperties xmlns="http://baseservices.service.jabba.ptvag.com">

<CallerContextProperty value="OG_GEODECIMAL" key="CoordFormat"/>

<CallerContextProperty value="PLAIN" key="ResponseGeometry"/>

<CallerContextProperty value="profile_with_featurelayer" key="Profile"/>

</wrappedProperties>

</CallerContext_6>

</calculateExtendedRoute>

</s:Body>

</s:Envelope>
Profile with feature layer:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="true"?>

-<Profile xmlns:ns2="http://www.ptv.de/com/ptvag/xserver/engines/xpoidbaccess">

<Common language="de" minorVersion="0" majorVersion="1"/>


-<FeatureLayer minorVersion="0" majorVersion="1">

<GlobalSettings enableTimeDependency="True"/>


-<Themes>

<Theme priorityLevel="0" enabled="True" id="PTV_TruckAttributes"/>

<Theme priorityLevel="0" enabled="True" id="PTV_RestrictionZones"/>

</Themes>

</FeatureLayer>


-<Routing minorVersion="0" majorVersion="2">


-<Waypoint maximumDistanceToSegment="50000">


-<LinkTypeConfiguration>

<Road headingTolerance="45.0"/>

</LinkTypeConfiguration>

</Waypoint>


-<Algorithm aStarAggressiveness="1.3">

<LevellingScopeByNetworkClass searchSpace="-1"/>

<LevellingScopeByNetworkClass searchSpace="-1"/>

<LevellingScopeByNetworkClass searchSpace="-1"/>

<LevellingScopeByNetworkClass searchSpace="200"/>

<LevellingScopeByNetworkClass searchSpace="100"/>

<LevellingScopeByNetworkClass searchSpace="100"/>

<LevellingScopeByNetworkClass searchSpace="10"/>

<LevellingScopeByNetworkClass searchSpace="10"/>

</Algorithm>


-<Course distanceTimeWeighting="70">


-<BasicDataRules>


-<VehicleSpecific>

<EmergencyVehicles segmentMalus="2501"/>

<ProjectSpecificVehicles blockedSegmentMalus="2501"/>

</VehicleSpecific>


-<Network rampMalus="10">

<MalusByNetworkClass malus="-40"/>

<MalusByNetworkClass malus="0"/>

<MalusByNetworkClass malus="0"/>

<MalusByNetworkClass malus="0"/>

<MalusByNetworkClass malus="60"/>

<MalusByNetworkClass malus="82"/>

<MalusByNetworkClass malus="100"/>

<MalusByNetworkClass malus="100"/>

</Network>

<Toll vignetteMalus="55" tollMalus="55"/>

<SpecialAreas urbanMalus="50" residentialMalus="255"/>

<CombinedTransport piggybackMalus="2501" ferryMalus="2501"/>

</BasicDataRules>


-<AdditionalDataRules enabled="true">


-<Legacy>

<KeyValue enabled="true" threshold="400" key="MaxHeight"/>

<KeyValue enabled="true" threshold="40000" key="MaxWeight"/>

<KeyValue enabled="true" threshold="250" key="MaxWidth"/>

<KeyValue enabled="true" threshold="17500" key="MaxLength"/>

<KeyValue enabled="true" threshold="11500" key="MaxAxleLoad"/>

<!-- KeyValue key="MaxHeightDir" enabled="true" threshold="40"/> <KeyValue key="MaxWeightDir" enabled="true" threshold="400"/> <KeyValue key="MaxWidthDir" enabled="true" threshold="25,5"/> <KeyValue key="MaxLengthDir" enabled="true" threshold="165"/> <KeyValue key="MaxAxleLoadDir" enabled="true" threshold="80"/ -->


<KeyValue enabled="true" malus="2501" threshold="400" key="DirOptCondMalus1"/>

<KeyValue enabled="true" malus="2501" threshold="400" key="DirOptCondMalus2"/>

<KeyValue enabled="true" malus="2501" threshold="400" key="DirOptCondMalus3"/>

<KeyValue enabled="true" malus="2501" threshold="400" key="DirOptCondMalus4"/>

<KeyValue enabled="true" malus="255" threshold="400" key="DirOptCondMalus5"/>

<KeyValue enabled="true" malus="300" threshold="400" key="DirOptCondMalus6"/>

<KeyValue enabled="true" malus="2500" threshold="400" key="DirOptCondMalus7"/>

<KeyValue enabled="true" malus="-99" threshold="400" key="DirOptCondMalus8"/>

<KeyValue enabled="true" malus="-99" threshold="400" key="DirOptCondMalus9"/>

<KeyValue enabled="false" malus="2501" key="Trailer"/>

<KeyValue enabled="true" malus="2500" key="ResidentialTrucks"/>

<KeyValue enabled="true" malus="200" key="DeliveryTrucks"/>

<KeyValue enabled="true" malus="2501" key="PublicTrucks"/>

<KeyValue enabled="true" malus="-99" key="PreferredTrucks"/>

<KeyValue enabled="true" malus="-99" key="PreferredHazardousTrucks"/>

</Legacy>

<SegmentSpecific useTollForTrucksAttribute="true" useTollForCarsAttribute="true" useBlockedForTrucksAttribute="true" useBlockedForCarsAttribute="true" useSpeed="true" useRampAttribute="true" useUrbanAttribute="true" useFerryDuration="true" useFerryLength="true" useSegmentLength="true"/>

</AdditionalDataRules>


-<DynamicRouting>

<SpeedMapping mappedSpeed="1" baseSpeed="1"/>

<SpeedMapping mappedSpeed="10" baseSpeed="10"/>

<SpeedMapping mappedSpeed="20" baseSpeed="20"/>

<SpeedMapping mappedSpeed="30" baseSpeed="30"/>

<SpeedMapping mappedSpeed="40" baseSpeed="40"/>

<SpeedMapping mappedSpeed="50" baseSpeed="50"/>

<SpeedMapping mappedSpeed="56" baseSpeed="60"/>

<SpeedMapping mappedSpeed="61" baseSpeed="70"/>

<SpeedMapping mappedSpeed="66" baseSpeed="80"/>

<SpeedMapping mappedSpeed="69" baseSpeed="90"/>

<SpeedMapping mappedSpeed="72" baseSpeed="100"/>

<SpeedMapping mappedSpeed="73" baseSpeed="110"/>

<SpeedMapping mappedSpeed="74" baseSpeed="120"/>

<SpeedMapping mappedSpeed="75" baseSpeed="130"/>

<SpeedMapping mappedSpeed="75" baseSpeed="140"/>

<DynamicTimeStep size="900"/>

</DynamicRouting>

</Course>


-<Vehicle>


-<Physical>


-<Drive>

<Emissions emissionTechnology="EXHAUST_GAS_RECIRCULATION"/>

<Engine fuelConsumption="30.0" cylinderCapacity="12000"/>

</Drive>

<Weight loadWeight="25000" totalPermittedWeight="40000" emptyWeight="15000"/>

<Axle numberOfAxles="5" axleLoad="11500"/>

<Trailer emptyWeight="15000"/>

<Passenger maximumPermittedNumberOfPassengers="1"/>

<Dimension width="254" length="1800" height="400"/>

</Physical>


-<Legal>

<LegalCondition isDelivery="true" isAuthorized="true"/>

</Legal>

<Load loadType="GOODS"/>


-<Speed>

<SpeedRangeByNetworkClass maximumSpeed="80" minimumSpeed="55"/>

<SpeedRangeByNetworkClass maximumSpeed="65" minimumSpeed="30"/>

<SpeedRangeByNetworkClass maximumSpeed="55" minimumSpeed="23"/>

<SpeedRangeByNetworkClass maximumSpeed="45" minimumSpeed="20"/>

<SpeedRangeByNetworkClass maximumSpeed="40" minimumSpeed="18"/>

<SpeedRangeByNetworkClass maximumSpeed="30" minimumSpeed="15"/>

<SpeedRangeByNetworkClass maximumSpeed="30" minimumSpeed="15"/>

<SpeedRangeByNetworkClass maximumSpeed="30" minimumSpeed="15"/>

</Speed>

</Vehicle>


-<Isochrone>

<NodeBasedPolygon secondSmoothingAngle="0.0" firstSmoothingAngle="3.0" filterMode="WEAK"/>

</Isochrone>


-<RouteList>


-<Maneuvers>

<Bridges maximumDistanceBehind="1000" minimumLength="1000" maneuvers="true"/>

<Tunnels maximumDistanceBehind="1000" minimumLength="1000" maneuvers="true"/>

<Urban minimumDistanceForManeuvers="1000" minimumNetworkClassForInformation="2" information="true"/>

</Maneuvers>


-<ManeuverGroups maximumDistanceBetweenManeuvers="500">

<BoundingBox offset="1443"/>

</ManeuverGroups>

</RouteList>


-<AdditionalRules maximumAirLineDistance="4294967295">


-<ExceptionPaths>

<Binary validate="true"/>

</ExceptionPaths>

</AdditionalRules>

</Routing>

</Profile>
Profile without feature layer:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="true"?>

-<Profile xmlns:ns2="http://www.ptv.de/com/ptvag/xserver/engines/xpoidbaccess">

<Common language="de" minorVersion="0" majorVersion="1"/>


-<Routing minorVersion="0" majorVersion="2">


-<Waypoint maximumDistanceToSegment="50000">


-<LinkTypeConfiguration>

<Road headingTolerance="45.0"/>

</LinkTypeConfiguration>

</Waypoint>


-<Algorithm aStarAggressiveness="1.3">

<LevellingScopeByNetworkClass searchSpace="-1"/>

<LevellingScopeByNetworkClass searchSpace="-1"/>

<LevellingScopeByNetworkClass searchSpace="-1"/>

<LevellingScopeByNetworkClass searchSpace="200"/>

<LevellingScopeByNetworkClass searchSpace="100"/>

<LevellingScopeByNetworkClass searchSpace="100"/>

<LevellingScopeByNetworkClass searchSpace="10"/>

<LevellingScopeByNetworkClass searchSpace="10"/>

</Algorithm>


-<Course distanceTimeWeighting="70">


-<BasicDataRules>


-<VehicleSpecific>

<EmergencyVehicles segmentMalus="2501"/>

<ProjectSpecificVehicles blockedSegmentMalus="2501"/>

</VehicleSpecific>


-<Network rampMalus="10">

<MalusByNetworkClass malus="-40"/>

<MalusByNetworkClass malus="0"/>

<MalusByNetworkClass malus="0"/>

<MalusByNetworkClass malus="0"/>

<MalusByNetworkClass malus="60"/>

<MalusByNetworkClass malus="82"/>

<MalusByNetworkClass malus="100"/>

<MalusByNetworkClass malus="100"/>

</Network>

<Toll vignetteMalus="55" tollMalus="55"/>

<SpecialAreas urbanMalus="50" residentialMalus="255"/>

<CombinedTransport piggybackMalus="2501" ferryMalus="2501"/>

</BasicDataRules>


-<AdditionalDataRules>


-<Legacy>

<KeyValue threshold="400" enabled="true" key="MaxHeight"/>

<KeyValue threshold="40000" enabled="true" key="MaxWeight"/>

<KeyValue threshold="250" enabled="true" key="MaxWidth"/>

<KeyValue threshold="17500" enabled="true" key="MaxLength"/>

<KeyValue threshold="11500" enabled="true" key="MaxAxleLoad"/>

<!-- KeyValue key="MaxHeightDir" enabled="true" threshold="40"/> <KeyValue key="MaxWeightDir" enabled="true" threshold="400"/> <KeyValue key="MaxWidthDir" enabled="true" threshold="25,5"/> <KeyValue key="MaxLengthDir" enabled="true" threshold="165"/> <KeyValue key="MaxAxleLoadDir" enabled="true" threshold="80"/ -->


<KeyValue malus="2501" threshold="400" enabled="true" key="DirOptCondMalus1"/>

<KeyValue malus="2501" threshold="400" enabled="true" key="DirOptCondMalus2"/>

<KeyValue malus="2501" threshold="400" enabled="true" key="DirOptCondMalus3"/>

<KeyValue malus="2501" threshold="400" enabled="true" key="DirOptCondMalus4"/>

<KeyValue malus="255" threshold="400" enabled="true" key="DirOptCondMalus5"/>

<KeyValue malus="300" threshold="400" enabled="true" key="DirOptCondMalus6"/>

<KeyValue malus="2500" threshold="400" enabled="true" key="DirOptCondMalus7"/>

<KeyValue malus="-99" threshold="400" enabled="true" key="DirOptCondMalus8"/>

<KeyValue malus="-99" threshold="400" enabled="true" key="DirOptCondMalus9"/>

<KeyValue malus="2501" enabled="false" key="Trailer"/>

<KeyValue malus="2500" enabled="true" key="ResidentialTrucks"/>

<KeyValue malus="200" enabled="true" key="DeliveryTrucks"/>

<KeyValue malus="2501" enabled="true" key="PublicTrucks"/>

<KeyValue malus="-99" enabled="true" key="PreferredTrucks"/>

<KeyValue malus="-99" enabled="true" key="PreferredHazardousTrucks"/>

</Legacy>

<SegmentSpecific useTollForTrucksAttribute="true" useTollForCarsAttribute="true" useBlockedForTrucksAttribute="true" useBlockedForCarsAttribute="true" useSpeed="true" useRampAttribute="true" useUrbanAttribute="true" useFerryDuration="true" useFerryLength="true" useSegmentLength="true"/>

</AdditionalDataRules>


-<DynamicRouting>

<SpeedMapping mappedSpeed="1" baseSpeed="1"/>

<SpeedMapping mappedSpeed="10" baseSpeed="10"/>

<SpeedMapping mappedSpeed="20" baseSpeed="20"/>

<SpeedMapping mappedSpeed="30" baseSpeed="30"/>

<SpeedMapping mappedSpeed="40" baseSpeed="40"/>

<SpeedMapping mappedSpeed="50" baseSpeed="50"/>

<SpeedMapping mappedSpeed="56" baseSpeed="60"/>

<SpeedMapping mappedSpeed="61" baseSpeed="70"/>

<SpeedMapping mappedSpeed="66" baseSpeed="80"/>

<SpeedMapping mappedSpeed="69" baseSpeed="90"/>

<SpeedMapping mappedSpeed="72" baseSpeed="100"/>

<SpeedMapping mappedSpeed="73" baseSpeed="110"/>

<SpeedMapping mappedSpeed="74" baseSpeed="120"/>

<SpeedMapping mappedSpeed="75" baseSpeed="130"/>

<SpeedMapping mappedSpeed="75" baseSpeed="140"/>

<DynamicTimeStep size="900"/>

</DynamicRouting>

</Course>


-<Vehicle>


-<Physical>


-<Drive>

<Emissions emissionTechnology="EXHAUST_GAS_RECIRCULATION"/>

<Engine fuelConsumption="30.0" cylinderCapacity="12000"/>

</Drive>

<Weight loadWeight="25000" totalPermittedWeight="40000" emptyWeight="15000"/>

<Axle numberOfAxles="5" axleLoad="11500"/>

<Trailer emptyWeight="15000"/>

<Passenger maximumPermittedNumberOfPassengers="1"/>

<Dimension width="254" length="1800" height="400"/>

</Physical>


-<Legal>

<LegalCondition isDelivery="true" isAuthorized="true"/>

</Legal>

<Load loadType="GOODS"/>


-<Speed>

<SpeedRangeByNetworkClass maximumSpeed="80" minimumSpeed="55"/>

<SpeedRangeByNetworkClass maximumSpeed="65" minimumSpeed="30"/>

<SpeedRangeByNetworkClass maximumSpeed="55" minimumSpeed="23"/>

<SpeedRangeByNetworkClass maximumSpeed="45" minimumSpeed="20"/>

<SpeedRangeByNetworkClass maximumSpeed="40" minimumSpeed="18"/>

<SpeedRangeByNetworkClass maximumSpeed="30" minimumSpeed="15"/>

<SpeedRangeByNetworkClass maximumSpeed="30" minimumSpeed="15"/>

<SpeedRangeByNetworkClass maximumSpeed="30" minimumSpeed="15"/>

</Speed>

</Vehicle>


-<Isochrone>

<NodeBasedPolygon secondSmoothingAngle="0.0" firstSmoothingAngle="3.0" filterMode="WEAK"/>

</Isochrone>


-<RouteList>


-<Maneuvers>

<Bridges maximumDistanceBehind="1000" minimumLength="1000" maneuvers="true"/>

<Tunnels maximumDistanceBehind="1000" minimumLength="1000" maneuvers="true"/>

<Urban minimumDistanceForManeuvers="1000" minimumNetworkClassForInformation="2" information="true"/>

</Maneuvers>


-<ManeuverGroups maximumDistanceBetweenManeuvers="500">

<BoundingBox offset="1443"/>

</ManeuverGroups>

</RouteList>


-<AdditionalRules maximumAirLineDistance="4294967295">


-<ExceptionPaths>

<Binary validate="true"/>

</ExceptionPaths>

</AdditionalRules>

</Routing>

</Profile>
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Unsuccessful routing with Feature layer

Post by Bernd Welter »

Hello Daniel,

What is the error message? I assume a linking error?

Best regards
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:
biro.daniel
Posts: 41
Joined: Tue Aug 23, 2016 8:08 am

Re: Unsuccessful routing with Feature layer

Post by biro.daniel »

Hi Bernd,

this is the error message:

Code: Select all

2017-06-14 14:38:07,625;INFO;ConsoleLogger;WS calculateExtendedRoute
2017-06-14 14:38:07,981;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN;;;MESSAGE-STACK:
2017-06-14 14:38:07,981;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN;;;CODE:   ERROR (2500)
2017-06-14 14:38:07,981;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN;;;ORIGIN: XROUTEMODULE
2017-06-14 14:38:07,981;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN;;;DESCR:  cannot calculate route (concerning leg 1)
2017-06-14 14:38:07,981;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN;;;REASONS/TODO:
2017-06-14 14:38:07,981;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN;;;-
2017-06-14 14:38:07,981;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN;;;CODE:   ERROR (-3211)
2017-06-14 14:38:07,982;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN;;;ORIGIN: ROUTING:ROUTER
2017-06-14 14:38:07,982;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN;;;DESCR:  Route not found
2017-06-14 14:38:07,982;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN;;;REASONS/TODO:
2017-06-14 14:38:07,982;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN;;;(1) One of your stations (Start,Via,Dest) is located in a isolated area
2017-06-14 14:38:07,982;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN;;;(2) There is no route for the given restrictions. Please check your routing restrictions (RoutingCountries, AvoidCountries, RoutingRectangle, AvoidTollRoads, AvoidHighways, Avoid...)
2017-06-14 14:38:07,982;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN
2017-06-14 14:38:07,982;WARN;com.ptvag.xserver.module.xroute.m0012;ecc6cdac-7a2c-4750-9545-ce3e523ff098;NEXOGEN
2017-06-14 14:38:07,989;INFO;RequestTimes;ecc6cdac-7a2c-4750-9545-ce3e523ff098;128.1.5.48;unknown-http;50030;unknown-cluster;XRoute.calculateExtendedRoute;false;NEXOGEN;;;profile_1.4.0.18804;m0012;1;0;0;357;0;5;358;364;NO-TXN;;;;;;;com.ptvag.xserver.xroute.XRouteException;2500;cannot calculate route (concerning leg 1)
Best Regards,
Daniel
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Unsuccessful routing with Feature layer

Post by Bernd Welter »

That is in fact a bit weird. I can't see a situation where this behaviour seems to be valid but I forwarded the post to DEV for a statement. Maybe they see something I'm missing.

Unfortunately the request contains customized info (your geodatasource layer) and therefore I can't reproduce it.
If the case is urgent please create a regular ticket.

Best regards
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:
biro.daniel
Posts: 41
Joined: Tue Aug 23, 2016 8:08 am

Re: Unsuccessful routing with Feature layer

Post by biro.daniel »

Hi Bernd,

the problem was that in our request both of the RoadEditor Layer and the Feature Layer TruckAttributes was taken into consideration, but it turned out that using both Road editor Layer and Feature Layer is not suggested and we have to use only one of them at a time. As the PTV Support informed us the RoadEditor layer will be obsolete in the near future, so we are going to eliminate the old functions and implement the new functions of the Feature Layer TruckAttributes.

Best regards,
Daniel
Post Reply