Create a line from a single point

2366
4
06-11-2013 10:37 AM
by Anonymous User
Not applicable
Original User: Astronomic

I have a table with several points and each point are associated with a length and angle.
I need to create a line or segment from a single point from the length and angle. The coordinates of the point (X, Y) mark the center of the line.

Someone knows some tool or script to create this.

Thanks in advance

[ATTACH=CONFIG]25201[/ATTACH]
0 Kudos
4 Replies
markdenil
Regular Contributor II
Bearing Distance To Line (Data Management)
0 Kudos
by Anonymous User
Not applicable
Original User: Astronomic

Thank you mdnil,

Did not know this tool, greats!.  But de problem is that the point is not in the center of the line.
Any solution for this?
0 Kudos
markdenil
Regular Contributor II
Run the tool twice,
once with the angle you have recorded
and again with the reciprocal angle (180° different).
Merge the feature classes and dissolve the line features using
the UNSPLIT_LINES setting.
0 Kudos
JoseSolanako
New Contributor
Good idea!
But with half the length each time.

Many thanks!

All the best!
0 Kudos