当前位置:   article > 正文

利用Arcgis批量将栅格提取至点_批量栅格转点 arcgis

批量栅格转点 arcgis
  1. # Import system modules
  2. import arcpy
  3. from arcpy import env
  4. from arcpy.sa import *
  5. # Set environment settings
  6. arcpy.env.workspace = r"E:\tuha_1990-2020\result\TuhaTem_1990-2020/" #栅格路径
  7. # Set local variables
  8. inPointFeatures = r"C:\TEM\tuha_station1\station.shp/" #shp文件路径及名称
  9. inRasterList = arcpy.ListRasters("*", "tif")
  10. # Check out the ArcGIS Spatial Analyst extension license
  11. arcpy.CheckOutExtension("RASTERVALU")
  12. # Execute ExtractValuesToPoints
  13. ExtractMultiValuesToPoints(inPointFeatures, inRasterList, "NONE")
  14. print("finish!")

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/310868?site
推荐阅读
相关标签
  

闽ICP备14008679号