I have a bunch of points lining up on one side of the highway.

enter image description here

I would like to create line from each point that reaches to the other side of the highway. The line should be (almost) perpendicular to both sides of the roads. Or, at least it connects the shortest distance between highways. I would also like to let the newly created lines to have the same attribute fields of the points.

Can anyone give me some inputs?

  • How many are you talking about?
    – Midavalo
    Feb 18, 2017 at 23:22
  • about 175 points
    – lamushidi
    Feb 19, 2017 at 0:40
  • There is a tool in Esri's water network editing add-in that draws lines from existing points to nearby lines. It's reasonably configurable and can copy attributes as well. The reason I asked how many was that it can take a little bit to setup
    – Midavalo
    Feb 19, 2017 at 0:56
  • 2
    Perhaps use combination of near and point s to line
    – FelixIP
    Feb 19, 2017 at 1:22
  • 2
    As @FelixIP mentioned, use Generate Near Table and check Location (optional) box. This will give you FROM_X, FROM_Y, NEAR_X, and NEAR_Y fields. Then use XY to Line inputting the appropriate fields and setting the Spatial Refernence. Feb 20, 2017 at 10:53

1 Answer 1


Use Generate Near Table and check on the Location (optional box), set your points as the input and the lines as the Near features. This will produce a table with FROM_X, FROM_Y, NEAR_X, and NEAR_Y fields.

enter image description here

Then use XY To Line using the fields from the Generate Near Table

enter image description here

This will create a feature class connecting the points to the lines.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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