Select to view content in your preferred language

Retain attribute data after splitting line file by road class

327
4
Jump to solution
03-07-2024 06:27 PM
PatrickShuman
New Contributor II

I have a ployline shapefile that I need to split by road class attributes in the table but need to retain all the original data after the split or extraction by arterial, collector, local roads, etc. I've tried to select by attribute and extract or use the extraction tool but the output is one large line and all the attributes are gone. Which would be the best way to retain all the original data, I just want to pull out all arterial roads from the file. I was thinking of editing the attribute table to delete all lines that are not arterial or try the splitting tool but not sure which process would be best. Any help or guidance would be greatly appreciated. Thanks, Patrick

0 Kudos
3 Solutions

Accepted Solutions
DanPatterson
MVP Esteemed Contributor
RhettZufelt
MVP Notable Contributor

So, what are you trying to split?  If each feature has a road class attribute, can't you just select by attributes, then Export Features (using the selected features) to new featureclass?

RhettZufelt_0-1709920412189.png

Or, if you need All road classes, looks like the Split by Attribute as @DanPatterson suggested does the same thing, but all of them at once

R_

View solution in original post

PatrickShuman
New Contributor II

This worked perfectly thank you!!

View solution in original post

0 Kudos
4 Replies
DanPatterson
MVP Esteemed Contributor

you may want to look at

Split By Attributes (Analysis)—ArcGIS Pro | Documentation


... sort of retired...
PatrickShuman
New Contributor II

This worked perfectly thank you!!

0 Kudos
RhettZufelt
MVP Notable Contributor

So, what are you trying to split?  If each feature has a road class attribute, can't you just select by attributes, then Export Features (using the selected features) to new featureclass?

RhettZufelt_0-1709920412189.png

Or, if you need All road classes, looks like the Split by Attribute as @DanPatterson suggested does the same thing, but all of them at once

R_

PatrickShuman
New Contributor II

Trying to split a line layer based on road class - arterial, collector, local, etc. This worked as well but went with the split by attributes as I needed all road classes separated. Thank you!!

0 Kudos