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 ...
Troubleshooting issues adding ArcGIS Online basemaps to ArcMap
Can't add data from ArcGIS online to my map
What are the licensing requirements for ArcGIS WPF control?
Loading Tile Packages (TPK Files) in Arcgis Runtime SDK for Android 100.0
ArcGIS Runtime Licensing