安装的python导入arcpy

发布时间:2019-09-10 08:53:01编辑:auto阅读(3271)

    #!/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")

关键字