Here�??s the code I�??m trying in the Python command window (using ArcGIS 10): import arcpy arcpy.env.workspace = "E:/data/GIS" arcpy.GenerateSpatialWeightsMatrix_stats("counties_mainland_Project.shp","county_fip","spatial_weights_0811.swm","INVERSE_DISTANCE","EUCLIDIAN","1","1.1", 1,"ROW_STANDARDIZATION")
The first two lines run ok. Here�??s the error I get when I try the third line:
Runtime error <class 'arcgisscripting.ExecuteError'>: Failed to execute. Parameters are not valid. ERROR 000308: Invalid field type ERROR 000800: The value is not a member of EUCLIDEAN | MANHATTAN. Failed to execute (GenerateSpatialWeightsMatrix).
I�??m also not 100% sure I�??m specifying the rest of the command correctly. Any help would be much appreciated!