-2

What method works best to batch-assign line segment records falling on polygon boundaries, where one side of the street (line) is one city (polygon) value and the other side is a different value?

  • Spatial Join: Target features are my line segments, Join Features are the polygons which contain the city code values I want to transfer to my line records. – Michael Jul 25 '18 at 14:49
  • Please use the edit button beneath your question to revise it with any requested clarifications. – PolyGeo Jul 25 '18 at 20:35
1

One possibility is to use the Split tool to break your streets into sections where they cross city boundaries. This will result in multiple feature classes, one for each line segment entering a polygon boundary.

Then, use the Append tool to gather these feature classes together again as one feature class. Use one of these feature classes as the target and the rest as input datasets. After this, you will have a feature class containing your roads and their attributes separated into separate features by your polygon boundaries.

Lastly, use the Intersect tool to join the attributes of your polygons to your lines. As shown below, the result is a line feature class with both the original polygon and line attributes. In your case, Description would be your road information and Name would be your county information.

enter image description here

In the case where an intersect is performed on a polyline that is exactly coincident with two polygon sides, the results would be two new polyline features for that area. Both would contain the original polyline attribute. Their difference would be the attribute defining the two different polygons. enter image description here

  • Thanks for the suggestion, however I think there might be a misunderstanding of some specifics of the question. I'm asking about the scenario in which the polygon boundaries of two polygons are geometrically coincident with the line segment. Using example given above, that road "L" lies perfectly coincident with the polygon boundaries of, say, Alpha and Bravo. – Michael Aug 1 '18 at 16:43
  • Performing an intersect where a polyline is coincident with two polygons would result in two new polyline features for that area. Both would contain the original polyline attribute. Their difference would be the attribute defining the polygon. – reevesii Aug 3 '18 at 13:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.