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 ...
Character Point Symbol can rotate sometimes but not others (ArcMap)
Add full OGC WFS support in next version of ArcGIS Desktop (no extension use)
Can .lyrx files open ArcGIS Pro like .lyr files do for ArcGIS?
ArcGIS Pro can't detect Layer Package file