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

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Split Line at Point

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

Summary

Splits line features based on intersection or proximity to point features.

Usage

  • Input Features must be lines.

  • If Search Distance (search_radius) is unspecified, a nearest point will be used to split the line feature.

Syntax

SplitLineAtPoint_management (in_features, point_features, out_feature_class, {search_radius})
ParameterExplanationData Type
in_features

The input line features to be split.

Feature Layer
point_features

The input point features whose locations will be used to split the input lines.

Feature Layer
out_feature_class

The new feature class that will be created containing the split lines.

Feature Class
search_radius
(Optional)

Used to split lines by their proximity to point features. Points within the search distance to an input line will be used to split those lines at the nearest location to the point along the line segment.

Linear unit

Code sample

SplitLineAtPoint Example(stand-alone script)

This example shows how to use a Python script to run SplitLineAtPoint.

#Name: SplitLineAtPoint_Example.py
# Description: split line features based upon near point features; Search Distance is in linear 
# unit meters

import arcpy

arcpy.env.workspace = "C:/data"
inFeatures = "streets.shp"
pointFeatures = "events.shp"
outFeatureclass = "splitline_out.shp"
searchRadius = "20 Meters"

arcpy.SplitLineAtPoint_management(inFeatures, pointFeatures, outFeatureclass, searchRadius)
SplitLineAtPoint Example (Python window)

This example shows how to run SplitLineAtPoint tool in a Python window.

import arcpy
arcpy.env.workspace="C:/data"
arcpy.SplitLineAtPoint_management("streets.shp","events.shp","splitline_out.shp","20 Meters")

Environments

  • Current Workspace
  • Extent
  • Output Coordinate System
  • XY Resolution
  • XY Tolerance
  • Output has M values
  • M Resolution
  • M Tolerance
  • Output has Z values
  • Default Output Z Value
  • Z Resolution
  • Z Tolerance
  • Output Spatial Grid 1
  • Output Spatial Grid 2
  • Output Spatial Grid 3
  • Output M Domain
  • Output Z Domain

Licensing information

  • ArcGIS for Desktop Basic: No
  • ArcGIS for Desktop Standard: No
  • ArcGIS for Desktop Advanced: Yes

Related topics

  • An overview of the Features toolset

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