Skip to main content
edited tags
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

I want to bath split analysis tool using Arcpy . I have some feature classes in a feature dataset.I want to Split All of feature classes uisng a shapefile but after split two feature classes, the runtime error raised( Runtime error <class 'arcgisscripting.ExecuteError'>: Failed to execute. Parameters are not valid. ERROR 000728: Field Province does not exist within table Failed to execute (Split)). My input feature has a province field and the result of the split is fine for a feature class but not for all of them .How

How can i solve the problem ? 

another qestion is that is there any way to change the output featureclasses? for example province name with underline featreclassfeatureclass name. thanks for advance

import arcpy 
arcpy.env.workspace = "D:/split_test.gdb/split" 
fcl = arcpy.ListFeatureClasses() 
for fc in fcl:
    arcpy.Split_analysis("province",fc,"province","D:/output_split.gdb","")

I want to bath split analysis tool using Arcpy . I have some feature classes in a feature dataset.I want to Split All of feature classes uisng a shapefile but after split two feature classes, the runtime error raised( Runtime error <class 'arcgisscripting.ExecuteError'>: Failed to execute. Parameters are not valid. ERROR 000728: Field Province does not exist within table Failed to execute (Split)). My input feature has a province field and the result of the split is fine for a feature class but not for all of them .How can i solve the problem ? another qestion is that is there any way to change the output featureclasses? for example province name with underline featreclass name. thanks for advance

import arcpy 
arcpy.env.workspace = "D:/split_test.gdb/split" 
fcl = arcpy.ListFeatureClasses() 
for fc in fcl:
    arcpy.Split_analysis("province",fc,"province","D:/output_split.gdb","")

I want to bath split analysis tool using Arcpy . I have some feature classes in a feature dataset.I want to Split All of feature classes uisng a shapefile but after split two feature classes, the runtime error raised( Runtime error <class 'arcgisscripting.ExecuteError'>: Failed to execute. Parameters are not valid. ERROR 000728: Field Province does not exist within table Failed to execute (Split)). My input feature has a province field and the result of the split is fine for a feature class but not for all of them .

How can i solve the problem ? 

another qestion is that is there any way to change the output featureclasses? for example province name with underline featureclass name.

import arcpy 
arcpy.env.workspace = "D:/split_test.gdb/split" 
fcl = arcpy.ListFeatureClasses() 
for fc in fcl:
    arcpy.Split_analysis("province",fc,"province","D:/output_split.gdb","")
added 1 characters in body
Source Link
BBG_GIS
  • 5.8k
  • 5
  • 45
  • 88

I want to bath split analysis tool using Arcpy . I have some feature classes in a feature dataset.I want to Split All of feature classes uisng a shapefile but after split two feature classes, the runtime error raised( Runtime error <class 'arcgisscripting.ExecuteError'>: Failed to execute. Parameters are not valid. ERROR 000728: Field Province does not exist within table Failed to execute (Split)). My input feature has a province field and the result of the split is fine for a feature class but not for all of them .How can i solve the problem ? another qestion is that is there any way to change the output featureclasses? for example province name with underline featreclass name. thanks for advance

import arcpy 
arcpy.env.workspace = "D:/split_test.gdb/split" 
fcl = arcpy.ListFeatureClasses() 
for fc in fcl:
    arcpy.Split_analysis("province",fc,"province","D:/output_split.gdb","")

I want to bath split analysis tool using Arcpy . I have some feature classes in a feature dataset.I want to Split All of feature classes uisng a shapefile but after split two feature classes, the runtime error raised( Runtime error <class 'arcgisscripting.ExecuteError'>: Failed to execute. Parameters are not valid. ERROR 000728: Field Province does not exist within table Failed to execute (Split)). My input feature has a province field and the result of the split is fine for a feature class but not for all of them .How can i solve the problem ? another qestion is that is there any way to change the output featureclasses? for example province name with underline featreclass name thanks for advance

import arcpy 
arcpy.env.workspace = "D:/split_test.gdb/split" 
fcl = arcpy.ListFeatureClasses() 
for fc in fcl:
    arcpy.Split_analysis("province",fc,"province","D:/output_split.gdb","")

I want to bath split analysis tool using Arcpy . I have some feature classes in a feature dataset.I want to Split All of feature classes uisng a shapefile but after split two feature classes, the runtime error raised( Runtime error <class 'arcgisscripting.ExecuteError'>: Failed to execute. Parameters are not valid. ERROR 000728: Field Province does not exist within table Failed to execute (Split)). My input feature has a province field and the result of the split is fine for a feature class but not for all of them .How can i solve the problem ? another qestion is that is there any way to change the output featureclasses? for example province name with underline featreclass name. thanks for advance

import arcpy 
arcpy.env.workspace = "D:/split_test.gdb/split" 
fcl = arcpy.ListFeatureClasses() 
for fc in fcl:
    arcpy.Split_analysis("province",fc,"province","D:/output_split.gdb","")
edited tags
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345
added 136 characters in body
Source Link
BBG_GIS
  • 5.8k
  • 5
  • 45
  • 88
Loading
Source Link
BBG_GIS
  • 5.8k
  • 5
  • 45
  • 88
Loading