Construct 3D lines for underground holes in ArcGIS Pro


ArcGIS Pro allows converting 2D points to 3D lines and viewing the lines in a 3D scene. In this article, a CSV file of underground holes (wells) containing 'from', 'to', 'X', 'Y' and 'Z' fields are used to construct 3D lines. Viewing the wells in a 3D scene highlights the surface elevation and depth of the wells so a more realistic representation is displayed.


The following steps describe how to construct 3D lines for wells from a CSV file.

  1. In ArcGIS Pro, add the CSV file to the project using the Add Data button.
  2. Right-click the CSV file and select Display XY Data to create a point feature class.
Select Display XY Data
  1. Use the XY Table To Point tool to create a new point feature class based on X, Y, and Z-values from the table:
    1. In the XY Table To Point geoprocessing pane, browse the CSV file added in step 1 for Input Table.
    2. Set a name and location for Output Feature Class.
    3. Specify the input for X Field and Y Field. For Z Field, select 'to' from the drop-down list.
    4. For Coordinate System, make sure the projection is selected from the Projected coordinate system list.
    5. Click Run.
The XY Table To Point geoprocessing pane
  1. Add a map and scene to the project. To do this, refer to ArcGIS Pro: Add maps and scenes to a project.
  2. In the Contents pane, drag the point feature class to the 3D Layers group and make sure the feature class is selected.
  3. In the Appearance tab, click Type in the Extrusion group, and select Base Height.
Select Base Height in the Appearance tab
  1. Set attribute value to extrude features by multiplying the height field to -1 to generate lines beneath the surface of the ground.
$feature.(height field)*-1
User-added image
  1. Use the Layer 3D To Feature Class tool to convert the extruded point feature class to a 3D line feature class.
To navigate below ground, refer to ArcGIS Pro: Navigate below ground.
  1. In the Layer 3D To Feature Class geoprocessing pane, browse to the input feature layer for Input Feature Layer.
  2. Set a name and location for Output Feature Class.
  3. Click Run.
The Layer 3D To Feature Class geoprocessing tool

The image below shows the constructed 3D lines for wells in ArcGIS Pro.

Article ID:000020433

  • ArcGIS Pro

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic