Select to view content in your preferred language

Where in the ArcPy OD Cost Matrix line do I specify that I want distance in MILES

717
1
Jump to solution
07-13-2022 02:07 PM
GISLearner
Occasional Contributor

arcpy.na.MakeODCostMatrixAnalysisLayer(networkpath, "OD Cost Matrix", "Driving Distance", None, None, None, "LOCAL_TIME_AT_LOCATIONS", "NO_LINES", None, "SKIP")

 

The default unit for the OD Cost Matrix Driving Distance is kilometers - where in the above code can I change it to miles?

0 Kudos
1 Solution

Accepted Solutions
JakeSkinner
Esri Esteemed Contributor

Hi @GISLearner,

Take a look at the example here.

JakeSkinner_0-1657752327842.png

 

View solution in original post

0 Kudos
1 Reply
JakeSkinner
Esri Esteemed Contributor

Hi @GISLearner,

Take a look at the example here.

JakeSkinner_0-1657752327842.png

 

0 Kudos