The Esri Community
Services & Programs
GeoNet Resource Hub
to create and rate content, and to follow, bookmark, and share content with other members.
Discussion created by
on Jan 9, 2013
on Jan 10, 2013 by pstevens-esristaff
Show 0 Likes
Can anyone please provide me some sample code snippet for the ODCostMatrix Solver using Java
Thanks in Advance
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Jan 10, 2013 7:37 AM
We don't have a code snippet in Java specifically for OD, but there is some helpful code I can point you to.
Closest Facility in Java
The CF solver is very similar to OD. Instead of Facilities and Incidents, use Origins and Destinations.
Your best bet, I think, is to look at our .NET code samples and port them over to Java for your own uses. Here is a bunch of .NET code samples:
OD solver sample
Setup, solve and save an analysis
A list of code samples and SDK doc for all things Network Analyst
OD solver interface
Show 0 Likes
Retrieving data ...
error trying to install web adaptor for portal
How to install untools on ArcGIS pro2.5 beta?
How can we record accuracies at 95% confidence when using high-accuracy GPS and collector?
Join failure - unable to add feature service definition
How to reconnect ArcGIS Server 10.7.1 to existing configuration store following network error?