ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Intersect 3D Line With Surface

  • Summary
  • Illustration
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Computes the geometric intersection of 3D line features and one or more surfaces to return the intersection as segmented line features and points.

Illustration

Intersect 3D Line with Surface graphic

Usage

  • Points (of intersection) and/or lines (resulting from input lines being broken at intersection points) can optionally be written to output feature classes.

  • All of the input line features will be in the output line feature class even if they do not intersect a surface.

  • The following fields are included in the output line feature class:

    • OID_ORG—The OBJECTID from the original 3D line feature.
    • SURF_FROM—The surface from which the 3D line segment began.
    • SURF_TO—The surface from where the 3D line segment was drawn to.
  • The following fields are included in the optional output point feature class:

    • OID_LINE—The OBJECTID from the original 3D line feature.
    • SURFACE—The surface name where the intersecting point is generated from.
    • DIST_ALONG—The distance from the beginning of the 3D line to the point of intersection.

Syntax

Intersect3DLineWithSurface_3d (in_line_features, in_surfaces, out_line_feature_class, {out_point_feature_class})
ParameterExplanationData Type
in_line_features

The input 3D line features.

Feature Layer
in_surfaces

Specify one or more input raster or TIN surfaces to construct the geometric intersections.

Raster Layer; TIN Layer
out_line_feature_class

The output line feature class that will contain a copy of the input lines split at the points of intersection.

Feature Class
out_point_feature_class
(Optional)

The optional point feature class that will contain the points of intersection.

Feature Class

Code sample

Intersect3DLineWithSurface example 1 (Python window)

The following sample demonstrates the use of this tool in the Python window.

import arcpy
from arcpy import env

arcpy.CheckOutExtension('3D')
env.workspace = 'C:/data'
arcpy.Intersect3DLineWithSurface_3d('lines.shp', 'dtm_tin; elev.tif', 
                                  'intersect_lines.shp', 'intersect_pts.shp')
Intersect3DLineWithSurface example 2 (stand-alone script)

The following sample demonstrates the use of this tool in a stand-alone Python script.

import arcpy
from arcpy import env

arcpy.CheckOutExtension('3D')
env.workspace = 'C:/data'
arcpy.Intersect3DLineWithSurface_3d('lines.shp', 'dtm_tin; elev.tif', 
                                  'intersect_lines.shp', 'intersect_pts.shp')

Environments

  • Current Workspace
  • Extent
  • Output Coordinate System
  • Geographic Transformations
  • XY Resolution
  • XY Tolerance
  • Z Resolution
  • Z Tolerance
  • Output CONFIG Keyword
  • Auto Commit
  • Output XY Domain
  • Output Z Domain
  • Terrain Memory Usage

Licensing information

  • ArcGIS for Desktop Basic: Requires 3D Analyst
  • ArcGIS for Desktop Standard: Requires 3D Analyst
  • ArcGIS for Desktop Advanced: Requires 3D Analyst

Related topics

  • An overview of the Functional Surface toolset
  • Fundamentals of geoprocessing with the ArcGIS 3D Analyst extension
  • Fundamentals of Surfaces
  • Understanding the shape of a surface

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal