New answers tagged network-analyst
I can't comment on the reason your script isn't working as you haven't included any error messages. The try/except is blocking those. If you're running this from within ArcGIS Pro the reason you don't get any errors is because your script has print statements, and ArcGIS only outputs messages through arcpy. I have added an intentional error into your ...
Use the field calculator. If you have a field (like start_x), use the field calculator with the expression !SHAPE!.firstPoint.X, and for a field like end_x you would use !SHAPE!.lastPoint.X. for your Y coordinates, you would use !SHAPE!.firstPoint.Y and !SHAPE!.lastPoint.Y Check out the arcpy geometry documentation(http://desktop.arcgis.com/en/arcmap/10.3/...
You can also use the Near Geoprocessing Tool to find only the nearest point and not the 2nd or 3rd nearest point.
The detect Feature Changes works great when the geometry representations are the more or less the same with dual centerlines or single centerlines used in the same way. But the tool design is as good as it needs to be to do the process. You're attempting to do this with frankly very bad data, and garbage in garbage out continues to be an unbreakable law of ...
It's not locked. Just add a Network Dataset to the Data Frame. You can't perform any Network Analysis without one.
Top 50 recent answers are included