AnsweredAssumed Answered

which coordinates send?

Question asked by CloudingSoft on May 10, 2016
Latest reply on May 15, 2016 by CloudingSoft

Hi I continue with thehttp://resources.arcgis.com/en/help/arcgis-rest-api/#/Vehicle_Routing_Problem_service/02r3000000n4000000/

 

 

I am sending a url with all the data and get the jobId OK

 

 

but when I check the status of jobId always gives me "esriJobFailed"

 

 

investigation found that I am sending wrong coordinates "orders" and "depots"

 

 

& Orders = { "features": [{ "geometry": { "x": - 4283666882700000, "y": - 5094167652999600} ...

 

 

& Depots = { "features": [{ "geometry": { "x": - 4283666882700000, "y": - 5094167652999600} ...

 

 

I did a test example and you put these coordinates manually

for orders:

{ "x": - 122.4889, "y": 37.7538}

for depots:

{ "x": - 122.4739, "y": 37.7432}

 

 

and get REQUEST status "esriJobSucceeded" !!!

 

 

as I can convert my coordinates to the correct coordinates?

 

 

Thank you

Outcomes