Splitting line features where they intersect features of another feature class.

3985
7
12-17-2014 11:46 AM
ScottRobinson
New Contributor III

Is there a way to split the line features in a feature class where they intersect the features of another feature class?  I'd like to split roads where they cross property lines.

0 Kudos
7 Replies
JamesFitzgerald
Occasional Contributor II

Hello,

One method would be to select by location and select properties that roads.shp intersects. Export the highlighted parcels into a new shapefile. Then, zoom to each parcel and split where the road intersects the parcel boundary. Another method would be to use Python code to find where the line intersects the property, create a vertex, and split the line at the vertex.

Method one can be done in an Edit Session by using the split tool. (Could be time consuming.)  Method two is the road less traveled. You will learn a great deal about Python Scripting if traveled.

I will continue to look for a solution.

Thanks

James

0 Kudos
JamesFitzgerald
Occasional Contributor II

Scott,

Here is a link Split into equal length features | ArcPy Café  This may help get an idea.

James

0 Kudos
ChrisDonohue__GISP
MVP Alum

One way to do this is to use XTools Pro, a handy third-party software that works in ArcGIS.  They have a function called "Split Polylines" that offers a multitude of ways to split a line, including by another feature class.

XToolsPro, Feature Conversions, Split Polylines.  Then choose "Split Polylines by another layer".

http://www.xtoolspro.com/

They have a trial download available so you can test it out.

Chris Donohue, GISP

MatthewAyres
New Contributor

Scott,

Have you tried the Planarize Lines tool on the advanced Editing toolbar?

Matthew

0 Kudos
JamesFitzgerald
Occasional Contributor II

Hey Scott,

Check out the Data Management Tools-Toolbox Features. There are a bunch of split lines by vertex, point, and etc. If you could figure a way to drop a point where the line intersects a polygon, then you could run these tools.

Still looking for a solution!

James

0 Kudos
JamesFitzgerald
Occasional Contributor II

Hey Scott,

You can do a Intersect using the polyline(roads) and the polygon(property). Be sure to change the output type to points. When the road intersects the property, it creates a point.

Thanks

James

0 Kudos
JamesFitzgerald
Occasional Contributor II

Hey Scott,

Could you mark this as Helpful and Correct? That is if I have answered your question.

Thanks!

James

0 Kudos