Strange Route

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
mfranzgrote
Posts: 5
Joined: Thu Feb 22, 2018 1:10 am

Strange Route

Post by mfranzgrote »

Hi I have a problem with a route that looks not quit optimal.
The RouteEditor does not show any restrictions and no blocks are provided.

I created a raw request as a sample.
Do I miss something important or what might be the problem here?

Code: Select all

{
  "waypoints": [
    {
      "$type": "WaypointDesc",
      "linkType": "NEXT_SEGMENT",
      "fuzzyRadius": 0,
      "coords": [
        {
          "$type": "Point",
          "point": {
            "$type": "PlainPoint",
            "x": 10.748556,
            "y": 53.689722
          }
        }
      ]
    },
    {
      "$type": "WaypointDesc",
      "linkType": "NEXT_SEGMENT",
      "fuzzyRadius": 0,
      "coords": [
        {
          "$type": "Point",
          "point": {
            "$type": "PlainPoint",
            "x": 10.747049,
            "y": 53.692594
          }
        }
      ]
    }
  ],
  "exceptionPaths": null,
  "details": {
    "manoeuvres": true,
    "polygon": true,
    "detailLevel": "STANDARD",
    "segments": true,
    "featureDescriptions": true
  },
  "callerContext": {
    "properties": [
      {
        "key": "CoordFormat",
        "value": "OG_GEODECIMAL"
      },
      {
        "key": "ResponseGeometry",
        "value": "WKB"
      },
      {
        "key": "Profile",
        "value": "carfast"
      }
    ]
  }
}
Attachments
Bildschirmfoto 2018-08-02 um 11.52.02.png
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Strange Route

Post by Bernd Welter »

Hello Marc,
The little street segment which is required for the "expected" route is a SPECIAL_ROAD which is blocked for cars and trucks. Therefore the hole Naturpark Lauenburgische Seen is no option for your desired path.
The little street segment which is required for the "expected" route is a SPECIAL_ROAD which is blocked for cars and trucks. Therefore the hole Naturpark Lauenburgische Seen is no option for your desired path.
The cause for the unexpected behaviour is the short street segment on the Otto-Garber-Straße which is labeled as
  • SPECIAL_ROAD
  • blocked for cars
  • blocked for trucks
By applying special flags such as those mentioned in the Delivery Profile you can use the shorter path though the Albsfelder Weg in the South would still be blocked.
Applying an Emergency profile would be too flexible because then the vehicle could also use the cycle lane.

If further checks are required please get in touch with mew 1:1 via email.

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:
mfranzgrote
Posts: 5
Joined: Thu Feb 22, 2018 1:10 am

Re: Strange Route

Post by mfranzgrote »

Thanks for your help, this explains the route if the first option (left in albsfelder weg) is not used, I will contact you via mail.

Thanks again
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Strange Route

Post by Bernd Welter »

In fact there are two critical sections. I'll forward them to DATA for a crosscheck because the alternative provider's map looks different:
tomtom based map
tomtom based map
HERE based map
HERE based map
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:
Post Reply