2

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?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
lamushidi
  • 145
  • 5
  • How many are you talking about? – Midavalo Feb 18 '17 at 23:22
  • about 175 points – lamushidi Feb 19 '17 at 00: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 '17 at 00:56
  • This is near duplicate of http://gis.stackexchange.com/questions/201867/create-a-line-perpendicular-to-an-existing-line-in-arcgis/201871#201871 – FelixIP Feb 19 '17 at 01:05
  • 2
    Perhaps use combination of near and point s to line – FelixIP Feb 19 '17 at 01: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. – Clubdebambos Feb 20 '17 at 10:53
  • See http://gis.stackexchange.com/questions/182941/draw-line-from-point-to-existing-line/182954#182954 - I know this is water network, but still drawing points to lines. Doesn't need to be in a water network to run. – Midavalo Feb 21 '17 at 17:35
  • @Clubdebambos I think your comment with a link to the documentation of the two tools you mention would be fine as an answer. – PolyGeo Feb 21 '17 at 21:36

1 Answers1

3

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.

Clubdebambos
  • 1,700
  • 1
  • 12
  • 19