# Import the system modules import arcpy from arcpy.ia import * # Set the analysis environments arcpy.env.workspace = "C:/arcpyExamples/data" # Set the local variables in_dem = "elevation.tif" # Execute the Hillshade function out_hillshade_raster = Hillshade(in_dem, 180, 75, 0.3048) #...
To convert from feet to meters or vice versa, see the table below. For example, if your DEM's elevation units are feet and your mosaic dataset's units are meters, you would use a value of 0.3048 to convert your elevation units from feet to meters (1 foot = 0.3048 meters). Scaling ...
000, butmay work well at1:24,000. Conversely, a hillshade derived from a low-resolution (say 1-km) DEM will notwork for large-scale mapping (e.g
# Import the system modules import arcpy from arcpy.ia import * # Set the analysis environments arcpy.env.workspace = "C:/arcpyExamples/data" # Set the local variables in_dem = "elevation.tif" # Execute the Hillshade function out_hillshade_raster = Hillshade(in_dem, 180, 75, 0.3048) #...
ArcGIS Pro 3.3 | 其他版本| 帮助归档 摘要 通过考虑光源位置和阴影来创建表面的灰度 3D 制图表达的栅格对象。 说明 有关此函数工作原理的详细信息,请参阅山体阴影栅格函数。 栅格对象所引用的栅格数据集是临时性的。 要将其设置为永久,可以调用栅格对象的 save 方法。 语法 Hillshade (dem, {azimuth}, {altitud...
Hillshade (dem, {azimuth}, {altitude}, {z_factor}, {slope_type}, {ps_power}, {psz_factor}, {remove_edge_effect}, {hillshade_type}) 参数说明数据类型 dem The input elevation raster. Raster azimuth 方位角是太阳沿地平线的相对位置(以度为单位)。此位置由从正北方向开始按顺时针进行测量的太阳...
# Import the system modulesimportarcpyfromarcpy.iaimport*# Set the analysis environmentsarcpy.env.workspace ="C:/arcpyExamples/data"# Set the local variablesin_dem ="elevation.tif"# Execute the Hillshade functionout_hillshade_raster = Hillshade(in_dem,180,75,0.3048)# Save the outputout_hillshade...
# Import the system modules import arcpy from arcpy.ia import * # Set the analysis environments arcpy.env.workspace = "C:/arcpyExamples/data" # Set the local variables in_dem = "elevation.tif" # Execute the Hillshade function out_hillshade_raster = Hillshade(in_dem, 180, 75, 0.3048) #...
# Import the system modules import arcpy from arcpy.ia import * # Set the analysis environments arcpy.env.workspace = "C:/arcpyExamples/data" # Set the local variables in_dem = "elevation.tif" # Execute the Hillshade function out_hillshade_raster = Hillshade(in_dem, 180, 75, 0.3048) #...
# Import the system modulesimportarcpyfromarcpy.iaimport*# Set the analysis environmentsarcpy.env.workspace ="C:/arcpyExamples/data"# Set the local variablesin_dem ="elevation.tif"# Execute the Hillshade functionout_hillshade_raster = Hillshade(in_dem,180,75,0.3048)# Save the outputout_hillshade...