ArcGIS banner

Convert the cost path raster to a polyline feature

Spatial Analyst

Segment 32 of 34

Top  Previous  Next

As a last step in your model, you’ll convert the raster path to a polyline for display.

To do so, in the Conversion Tools toolbox, expand the From Raster toolset. Click and drag the Raster to Polyline tool onto the ModelBuilder window. Right-click the Raster to Polyline tool element and click Open.

Click the Input raster drop-down arrow and click the Output cost path variable. Leave the default Field as VALUE.

Click the browse button next to the Output polyline features parameter and navigate to your file geodatabase C:\Spatial\Stowe.gdb. Type “new_route” for the name of the feature class and click Save. Accept the defaults for all other parameters and click OK.

Click the Auto Layout button, then click the Full Extent button to apply the current diagram properties to the elements and place them within the display window. Right-click the new_route derived data element and click Rename. Type “Output route” and click OK. Right-click the Output route derived data element and click Add To Display.

Right-click the Raster to Polyline tool element and click Run to run the process.

Examine the new_route layer that is added to your ArcMap display. The raster path has been converted to a polyline.


Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.