91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

通過Python給Shape文件添加字段,需要ArcGIS 10.0 以上版本支持

資源截圖

代碼片段和文件信息

import?arcpy
import?arcpy?as?ARCPY
import?arcpy.management?as?DM
import?ErrorUtils?as?ERROR
import?SSUtilities?as?UTILS
import?SSDataobject?as?SSDO

from?arcpy?import?env
import?arcpy.cartography?as?CA
import?os

#Note:This?script?is?used?to?add?judge?fields
#if?this?script?is?runned?in?arctoolbox
#set?argis?geoprocessing?run??in?progress?window??to?make?better?performace
#otherwiseset?argis?geoprocessing?run?in?background.
#before?running?this?script?you?need?to?close?other?ArcGIS?processes
#and?close?all?related?shapefile.
#Author:luochunlinecitluo@163.com

#InputFeature?=?“D:\\aaa\\test.shp“
InputFeature?=?arcpy.GetParameterAsText(0)
#OutputFolder?=?arcpy.GetParameterAsText(1)


if?not?os.path.exists(‘d:/a‘):
????os.makedirs(‘d:/a‘)
if?not?os.path.exists(

評論

共有 條評論