Response in shapePoint CMP incorrect points

3 posts / 0 new
Last post
NexusVirtual
Response in shapePoint CMP incorrect points

Good afternoon, we are testing with the following url:

http://www.mapquestapi.com/directions/v2/route?key=[KEY]&from=-12.137172...

We return an incorrect shapePoints, at the time of the decompress do not see the coordinates where it reaches the destination point, you see incorrect points which paint them on the map is more clear this inconsistency.

https://s3.amazonaws.com/resourceenterprise/mapquest/2.PNG

https://s3.amazonaws.com/resourceenterprise/mapquest/1.PNG

The correct path of the shapePoints should be the following:

https://s3.amazonaws.com/resourceenterprise/mapquest/3.PNG

They could help us if some parameter that we send is wrong or if it is a problem with the api.

Thank you.

Greetings.

 


MQBrianCoakley
I'm not getting the shape
I'm not getting the shape points shown in image 2. I get what's shown in image 3.   Are the MapQuest route results going on a competitor's map? Or is that a route and map from the competition?

NexusVirtual
solved

Good afternoon, to verify if the shapePoints is correct use the following url:

https://developers.google.com/maps/documentation/utilities/polylineutility

We were misreading the shapePoints, it is working correctly.

Thank you.