安装的python导入arcpy

2023-01-31 05:01:16 python 导入 安装
#!/usr/bin/env python
#coding=utf-8
import archook
archook.get_arcpy()
import arcpy
from arcpy import env
from arcpy.sa import *

# Check out the ArcGIS Spatial Analyst extension license
arcpy.CheckOutExtension("spatial")
env.workspace = "e:/aod/201401/test"
ExtractValuesToPoints("station.shp", "r20140107test.tif",
                      "outValPnts","INTERPOLATE",
                      "VALUE_ONLY")

相关文章