Why does Add Field to Layer File give "ERROR 000840: The value is not a Feature Layer

المشرف العام

Administrator
طاقم الإدارة
Why does Add Field to Layer File give "ERROR 000840: The value is not a Feature Layer

I'm trying to add a field to a layer file, but it always gives an error. What I did was making a closest facility layer and save the result as a layer and after that I tried to add a field, but then it gives an error. It says it cannot add a field if it isn't a raster layer, ...

I tried to avoid this by making a shapefile (manually) and this can work, but is there a method to do this in Python? So convert a route from the closest facility layer to a shapefile using Python? It always says:

ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000840: The value is not a Feature Layer.



أكثر...
 
أعلى