安装的python导入arcpy
#!/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")
相关文章