delete codes to index FeatureCode field
This commit is contained in:
parent
9482f13dce
commit
cb86059c30
|
@ -0,0 +1,2 @@
|
|||
/log/
|
||||
/NEWGDB/
|
|
@ -198,8 +198,6 @@ def transform_to_feature_class(fc_name, out_location):
|
|||
out_fc = fc_name if out_fc == "" else out_fc
|
||||
try:
|
||||
add_log_info(str(fc_name) + "-->" + str(out_fc))
|
||||
# 每个图层的FeatureCode字段加索引
|
||||
arcpy.AddIndex_management(fc_name, "FEATURECODE", "FeatureCode_Index", "NON_UNIQUE", "NON_ASCENDING")
|
||||
if arcpy.Exists(os.path.join(out_location, out_fc)):
|
||||
# 先转换到内存工作空间
|
||||
# arcpy.FeatureClassToFeatureClass_conversion(fc_name, "in_memory", "buffer", expression)
|
||||
|
|
Loading…
Reference in New Issue