ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

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
  • 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

  • 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
[in_surfaces,...]

One or more surfaces that will be used to determine the points of intersection.

Mosaic Layer; Raster Layer; TIN Layer
out_line_feature_class

The output line features that represent the input line features split at the points of intersection with the surface.

Feature Class
out_point_feature_class
(Optional)

The optional point features that represent the input line's intersection with a surface .

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 Desktop Basic: Requires 3D Analyst
  • ArcGIS Desktop Standard: Requires 3D Analyst
  • ArcGIS 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 Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • 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 © 2017 Esri. | Privacy | Legal