xmonkey

Generate Network Spatial Weights Error

Discussion created by xmonkey on May 23, 2013
Latest reply on Mar 5, 2017 by HooverGBRC
Hello,

I have a point file and road network that I am using to try and generate a spatial weights matrix (.swm) file on and I continue to get the following error when using the tool "Generate Network Spatial Weights". Any clue as to what is going on would be greatly appreciated, this is the first time I've used this tool and so I'm not sure where to begin troubleshooting.

Traceback (most recent call last):
  File "c:\program files (x86)\arcgis\desktop10.1\ArcToolbox\Scripts\Network2SWM.py", line 364, in <module>
    setupNetwork2SWM()
  File "c:\program files (x86)\arcgis\desktop10.1\ArcToolbox\Scripts\Network2SWM.py", line 88, in setupNetwork2SWM
    exponent = exponent, rowStandard = rowStandard)
  File "c:\program files (x86)\arcgis\desktop10.1\ArcToolbox\Scripts\Network2SWM.py", line 259, in network2SWM
    DM.MakeFeatureLayer(destinationLayer, destFCLayer, sqlValue)
  File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\management.py", line 5774, in MakeFeatureLayer
    raise e
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000725: Output Layer: Dataset NetSWM_Dest already exists.
Failed to execute (MakeFeatureLayer).


Failed to execute (GenerateNetworkSpatialWeights).

Outcomes