I am wondering if there is a script that will create multiple lines based on the bearing and coordinates of a point feature held in a XLS.
What I am trying to do is create slope arrows for a cruise plan map. I have a slope table (xls), with ID, Length, Bearing, Slope%, Easting, Northing. Currently I create each line using the create line => Direction, length using the xls which is fine if I have only a few. But when I have 50+ to create it is time consuming. It would be nice to run a script/tool to create my lines automatically.. is there such a thing out there? I searched online did not see anything helpful.
Any help much appreciated.
Tina
perhaps Bearing Distance To Line (Data Management)—ArcGIS Pro | Documentation
if the data are in, or can be derived, in your table
I will try that one thanks..
Did you try converting the csv to a file geodatabase table?
Can you please provide an example table (snippet) and the result you want to create?
Johannes, I have attached a snip of the final product. Essentially I need to produce lines (in this case 40m long) starting at the plot drawn in the direction of the bearing given to me, then that line is displayed with a arrow symbol and labelled with the slope of the land in the direction of the line.
Currently the only way I know how is to create each line using the draw line tool => direction/distance.
Tina
Hi Tina,
The csv screenshot seems fine, but the error message complains about OID -1. Would you be able to share the file so I can take a look? Thanks! - Dan
Hi Tina, which version of Pro are you using?