Pedestrian route far from optimal result ?

7 posts / 0 new
Last post
Vinnythetrue
Pedestrian route far from optimal result ?

Hi,

 

I am currently trying to use MapQuest route api to get pedestrian routes in the old city center of Strasbourg France. But the result seems to be the route if you're driving acar, therefore I can't use it...

 

To try it out and see what I'm talking about, go to https://developer.mapquest.com/documentation/samples/directions/v2/route/ and try these values in the form :

* from : 48.582980,7.747671

* to : 48.58013,7.747239

* route type : pedestrian

 

You will see that the routing completely ignores small routes, and won't even use one direction lanes in their opposite direction, it results in a long detour completely senseless if you're walking (ans I'm from Strasbourg, so I know exactly what I'm talking about in this case).

 

Is there something I'm missing ?

 

Best regards,

Vinny


MQBrianCoakley
I get a FAR shorter and more
I get a FAR shorter and more direct route if routeType=pedestrian. Can you post the route request that's producing the undesirable response?

Vinnythetrue
I am not using a request, but

I am not using a request, but directly the test page which I linked in my previous message.

I fill the form like this :

And here is the route I get as a result :


Vinnythetrue
Apparently image insertions

Apparently image insertions are notworking ??

The form image url : https://tof.cx/images/2018/05/11/fda26e04ccdeb0a92833a6aa6889c483.png

The resulting route image url : https://tof.cx/images/2018/05/11/cf6d485cb1c534a365b629f7787852a2.jpg


MQBrianCoakley
It looks like there is an
It looks like there is an issue on that sample page that is ignoring the route type. Two requests go out with the route type to display in the left response display but a third is used to put the route on the map and that one is ignoring the route type. If you look at the response in the left display the distance is 0.256 mi and is far shorter than the route displayed on the map. I'm sending this over to the team to address, but the route is working as expected - just not displayed on the map correctly.

Vinnythetrue
Ow... OK so this was just me

Ow... OK so this was just me being silly :(

I checked what you're saying and it works indeed fine as the JSON data is what I needed in the first place...

 

Thanks a lot mate !


MQBrianCoakley
Well, not really. It is an
Well, not really. It is an issue with the sample that will be fixed in the near future.