I am trying to snap points (temp2.shp) to nearest line (Rail2.shp) at any of its vertex within any distance.
ArcPy code:
temp2 = "M:\\temp2.shp"
arcpy.Snap_edit(temp2, ["M:\\Rail2", "VERTEX", '10000 Feet'])
Error Message:
Failed to execute. Parameters are not valid.
ERROR 000800: The value is not a member of END | VERTEX | EDGE.
ERROR 000800: The value is not a member of END | VERTEX | EDGE.
ERROR 000800: The value is not a member of END | VERTEX | EDGE.
Failed to execute (Snap).