Origin-Destination Cost Matrix

466
2
06-20-2019 07:12 AM
YahiaChabane
New Contributor

Please, Origin-Destination Cost Matrix exist for ArcGIS Runtime SDK for Java ?

0 Kudos
2 Replies
MarkBaird
Esri Regular Contributor

You can make use of this kind of geoprocessing in 2 ways using Runtime for Java:

1.  You can publish a geoprocessing tool to a server instance and consume the service using your Runtime App.  The following pages should help introduce the subject:

https://developers.arcgis.com/java/latest/guide/geoprocessing.htm

https://developers.arcgis.com/java/latest/guide/run-a-geoprocessing-task.htm

https://developers.arcgis.com/java/latest/guide/author-and-publish-a-geoprocessing-model.htm

2.  If you can't use online services, then you can use Local Server.  This means you need to generate a geoprocessing package file from ArcGIS Desktop or Pro.  The way it works is the same, it's just that the actual processing is carried out on your local machine and can be done without a network connection.

https://developers.arcgis.com/java/latest/guide/local-server.htm

Hope this helps.

Mark

YahiaChabane
New Contributor

Thank you, I am also testing ClosestFacilityTask.solveClosestFacilityAsync()

0 Kudos