首页 > 技术文章 > arcgis python 新生成的数据设置

gisoracle 2019-08-19 08:04 原文

       try:
            # Update the spatial index(es)
            #
            r = arcpy.CalculateDefaultGridIndex_management(outFeatures)
            arcpy.AddSpatialIndex_management(outFeatures, r.getOutput(0), r.getOutput(1), r.getOutput(2))
        except:
            pass

 

推荐阅读