English

How To: Calculate and export the latitude and longitude of an area of a DEM in ArcMap

Summary

A digital elevation model (DEM) is used to study the elevation of an area. Sometimes it is useful to export the latitude and longitude of a certain area in the DEM to a map to identify the location of a slope.

Procedure

Follow the instructions below to calculate and export the latitude and longitude of points in a certain area of a DEM in ArcMap.

  1. In ArcToolbox, double-click Conversion Tools. Click the From Raster drop-down arrow, and select the Raster to Point tool.

    Raster to Point tool
     
  2. In the Raster to Point dialog box, click the Input raster drop-down arrow. Select the DEM layer. For more information on the Raster to Point tool, refer to Raster to Point.

    Input Raster text box
     
  3. Set the Field Parameter to Value. In the Output point feature text box, set the output point feature class location. Click OK.

    Output Raster text box
     
  4. Create two new fields in the attribute table of the point feature class to add the latitude and longitude field. Use the Calculate Geometry tool to calculate the latitude and longitude of the new point features. For more detailed steps, refer to How To: Calculate latitude and longitude for point features.
  5. Select the specific points of the DEM layer to export. For more information on selecting features, refer to Selecting features interactively. The image below shows the selected feature points of the DEM layer.

    Multiple points selected using the Shift key
  6. To export the specific points, right-click the layer. Click Data > Export Data.
  7. In the Export Data dialog box:
    1. Click the Export drop-down arrow, and select Selected features.
    2. In the Export Data dialog box, set the Output feature class and click OK. A new feature class with the specific latitude and longitude is created in the Table Of Contents.

      Export Dialog box
  8. Right-click the new point feature class. Click Open Attribute Table to view the coordinates of the selected points.

    new point feature class
     
    Attribute table showing the selected points

Related Information