Hello!
I have problems with waypoints on the street at 53.699716, 10.748183:
I have a list of waypoints. The first two are positioned on this street, however during routing the second waypoint is being ignored. (Waypoints: {53.69982,10.74839}, {53.69976,10.74798}, {53.69802,10.74977},...)
When I try the "Waypoint Routing" sample (PTV xServer internet Code Sample Browser) I am unable to put any waypoints on this street.
Best regards,
Tobias Ries
Waypoints on specific street being ignored
- Bernd Welter
- Site Admin
- Posts: 2696
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Waypoints on specific street being ignored
Hello Tobias,
I don't see a reason why this coordinate should fail. What do you mean by "I am unable to put any waypoints on this street"? What happens instead?
Can you provide XML requests dealing with this?
Best regards,
Bernd
I don't see a reason why this coordinate should fail. What do you mean by "I am unable to put any waypoints on this street"? What happens instead?
Can you provide XML requests dealing with this?
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...
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...
Re: Waypoints on specific street being ignored
Hello Bernd,
"I am unable to put any waypoints on this street" concerns the sample "Waypoint Routing" at http://xserver.ptvgroup.com/en-uk/cookb ... e-browser/ :
If I click on the street at 53.699716, 10.748183, the waypoint is created on the neighboring street (B208, Bahnhofsallee).
I'm using C# and calling calculateRoute on xRoute with a WaypointDesc-Array containing the three geocoordinates.
The Soap-Envelope for the routing request looks as follows:
Best regards,
Tobias
"I am unable to put any waypoints on this street" concerns the sample "Waypoint Routing" at http://xserver.ptvgroup.com/en-uk/cookb ... e-browser/ :
If I click on the street at 53.699716, 10.748183, the waypoint is created on the neighboring street (B208, Bahnhofsallee).
I'm using C# and calling calculateRoute on xRoute with a WaypointDesc-Array containing the three geocoordinates.
The Soap-Envelope for the routing request looks as follows:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<calculateRoute xmlns="http://types.xroute.xserver.ptvag.com">
<ArrayOfWaypointDesc_1>
<WaypointDesc xmlns="http://xroute.xserver.ptvag.com" fuzzyRadius="0" linkType="NEXT_NODE">
<wrappedCoords>
<Point xmlns="http://common.xserver.ptvag.com">
<kml xsi:nil="true" />
<point x="10.74839" y="53.69982" />
</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" fuzzyRadius="0" linkType="NEXT_NODE">
<wrappedCoords>
<Point xmlns="http://common.xserver.ptvag.com">
<kml xsi:nil="true" />
<point x="10.74798" y="53.69976" />
</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" fuzzyRadius="0" linkType="NEXT_NODE">
<wrappedCoords>
<Point xmlns="http://common.xserver.ptvag.com">
<kml xsi:nil="true" />
<point x="10.74977" y="53.69802" />
</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 xsi:nil="true" />
<ArrayOfExceptionPath_3 />
<ResultListOptions_4 binaryPathDesc="false" boundingRectanglesC="0" boundingRectanglesOffset="0" brunnelManoeuvres="false" detailLevel="BORDERS" dynamicInfo="false" manoeuvreAttributes="false" manoeuvreGroups="false" manoeuvres="false" nodes="false" polygon="true" segmentAttributes="false" segments="false" texts="false" tollManoeuvres="false" totalRectangle="false" urbanManoeuvres="false">
<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>
<CallerContext_5>
<wrappedProperties xmlns="http://baseservices.service.jabba.ptvag.com">
<CallerContextProperty key="CoordFormat" value="OG_GEODECIMAL" />
</wrappedProperties>
</CallerContext_5>
</calculateRoute>
</soap:Body>
</soap:Envelope>
Tobias
- Bernd Welter
- Site Admin
- Posts: 2696
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Waypoints on specific street being ignored
From my understanding you should look at the linking types.
I assume the AUTO_LINKING provides the result you want: your input coordinates are matched via the orange line.
Right?
Best regards,
Bernd
The sample request uses NEXT_NODE and the NEXT_NODE is located on the national road B208.I assume the AUTO_LINKING provides the result you want: your input coordinates are matched via the orange line.
Right?
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...
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...
Re: Waypoints on specific street being ignored
Thanks, you are absolutely right!
Setting linktype to AUTO_LINKING worked like a charm.
Best Regards,
Tobias
Setting linktype to AUTO_LINKING worked like a charm.
Best Regards,
Tobias