# -*- coding: utf-8 -*- # --------------------------------------------------------------------------- # footprint.py # Description: # --------------------------------------------------------------------------- # Set the necessary product code import arceditor # Import arcpy module import arcpy # Local variables: v522328_tif = "D:\\spatialData\\522328.tif" footprint_shp = "D:\\spatialData\\New Folder\\footprint.shp" footprintnoz_shp = "D:\\spatialData\\New Folder\\footprintnoz.shp" FootprintNoZ = footprintnoz_shp # Set Geoprocessing environments arcpy.env.MTolerance = "" arcpy.env.outputZFlag = "Disabled" arcpy.env.outputZValue = "" arcpy.env.outputMFlag = "Disabled" arcpy.env.ZResolution = "" arcpy.env.MResolution = "" arcpy.env.ZTolerance = "" # Process: Raster Domain arcpy.RasterDomain_3d(v522328_tif, footprint_shp, "POLYGON") # Process: Copy Features arcpy.CopyFeatures_management(footprint_shp, footprintnoz_shp, "", "0", "0", "0") # Process: Generalize arcpy.Generalize_edit(footprintnoz_shp, ".0001 DecimalDegrees")
计算影像的FootPrint
猜你喜欢
转载自www.cnblogs.com/gispathfinder/p/10382842.html
今日推荐
周排行