Create a single line from a point using the attributes of that point

688
4
Jump to solution
04-25-2022 07:54 AM
LarisaJohnstone
New Contributor III

Hello,

Does anyone know if it is possible to create a line feature from a point using an angle and distance field defined in that point attribute data?

Basically I want a line to be drawn from the point at a specified distance and angle. The end resultant line can have the point as a centre point starting point or end point, it does not matter. Also, I have thousands of points to do this too...they all have the same length, but various angles.

Thanks

Larisa

LarisaJohnstone_0-1650898468744.png

 

0 Kudos
1 Solution

Accepted Solutions
4 Replies
RobertBorchert
Frequent Contributor III

Actually pretty simple.  Use SOH CAH TOA  to determine the O and A and add them to the original X,Y

The generate your lines from the table

0 Kudos
DanLee
by Esri Regular Contributor
Esri Regular Contributor
LarisaJohnstone
New Contributor III

Thank you DanLee 

This worked perfectly. I was not aware of this tool. Thank you for educating me! 

Larisa

0 Kudos
DanLee
by Esri Regular Contributor
Esri Regular Contributor

You are welcome. Glad it worked for you.  🙂

0 Kudos