HowTo:  Convert flow accumulation lines from a DEM file to a polyline shapefile in ArcMap

相关信息
Article ID: 45195
Software:
ArcGIS for Desktop Advanced 10.2, 10.1, 10.2.1, 10.3, 10.3.1, 10.2.2
ArcGIS for Desktop Basic 10.2, 10.2.1, 10.3, 10.3.1, 10.2.2, 10.1
ArcGIS for Desktop Standard 10.2.1, 10.1, 10.2, 10.3.1, 10.2.2, 10.3
Platforms:
Windows Server 2008, Windows 7, Windows 8, Server 2012, Server 2008 R2, Windows 8.1, Server 2012 R2

问题描述
A digital elevation model (DEM) is a raster representation of a continuous surface in which each cell represents the elevation at a location. Raster data, such as DEMs, can be converted to vector datasets to increase analytical capabilities. The line features obtained from the raster data can be used to measure the length, for example, of a road centerline or hydrology.

The instructions provided describe how to convert the flow accumulation lines from a DEM file to a polyline shapefile in ArcMap.
已邀请:

EsriSupport

赞同来自:

解决方案

This workflow requires the Spatial Analyst extension license.

  1. Run the Fill tool. a. In the Catalog window, navigate to Toolboxes > System Toolboxes > Spatial Analyst Tools > Hydrology > Fill. b. Select the DEM data as the input by clicking the drop-down arrow. c. Specify the location of the Output flow direction raster. d. Click OK.
     The Fill tool fills sinks in a surface raster to remove small imperfections in the DEM data.
  2. Run the Flow Direction tool. a. Navigate to Spatial Analyst Tools > Hydrology > Flow Direction. b. Use the output from Step 1 as the 'Input surface raster'. c. Specify the location of the Output flow direction raster. d. Click OK. The direction of the flow out of each cell is shown as a raster in the map.
    The Flow Direction tool creates a raster of flow direction from each cell to the steepest downslope neighbor.
  3. Run the Flow Accumulation tool. a. Navigate to Spatial Analyst Tools > Hydrology > Flow Accumulation. b. Use the output from Step 2 as the 'Input flow direction raster'. c. Specify the location of the Output accumulation raster. d. Click OK. The flow accumulation lines are displayed in the map.
  4. Change the color of the accumulation lines to red. a. Right-click the layer of the output in the Table Of Contents > Properties > Symbology tab. b. Select Classified from the list on the left pane of the Layer Properties window. c. Double-click the range to change the color of the flow accumulation lines to red.
    Observe the lowest value in the ranges representing the flow accumulation lines. In this example, the value is 19,668. d.Click OK. The flow accumulation lines are red. 
  5. Run the Raster Calculator tool. a. Navigate to Spatial Analyst Tools > Map Algebra > Raster Calculator. b. Write the following expression in the text box.
    OutRas = Raster("FlowAcc") > 19668
     
    In this example, the output from Step 3 is FlowAcc and the lowest value in the ranges is 19,668.c. Click OK. This returns 1 for cells with a value greater than 19,668.
  6. Run the Raster To Polyline tool. a. Navigate to Conversion Tools > From Raster > Raster to Polyline. b. Use the output from Step 4 as the input, and save the output as a shapefile. c. Click OK. The flow accumulation lines are converted to a polyline shapefile.


其它相关参考
  1. ArcGIS Help: How Fill works
  2. ArcGIS Help: How Flow Direction works
  3. ArcGIS Help: How Flow Accumulation works
  4. ArcGIS Help: How Raster Calculator works
  5. ArcGIS Help: An overview of the Hydrology toolset
  6. ArcGIS Help: Raster to Polyline
  7. Esri Blog: Some best practices for working with DEMs


创建及修改时间
Created: 7/28/2015 Last Modified: 9/11/2015
原文链接
http://support.esri.com/en/kno ... 45195

要回复问题请先登录注册