Hi all, I am trying to find a tool in ArcGIS 10.1 that will give the bearing of points located on both sides along a polyline. The polyline is not straight. I have used a number of tools already that give me the angles but they are not consistent since the polyline is not straight. I will like to be able to give a direction to each of the points when standing at any point on the line closest to a given point. Thanks in advance for the badly needed help.
Please use the NEAR tool. As a result, it give you an angle ("near_angle"). Later make a new field and use the following logic in field calculator (you will have to adapt it to your comfortable language, python or vb):
Hi bsriramak , Thanks a lot. I used the near tool earlier but did not figure out exactly what the angles meant. I will employ this idea now and hopefully, I should be happy with the results. Regards, Denis
Oki. You have to 'check the box' to calculate angle in the near tool. after calculation, in the attribute table you will get a field 'near_angle'. It is an angle measured from the x axis, so a bearing of 90º is 0º on 'near-angle' . So I suggested that logic. If you are successful, please mark the answer. Else ask for more :)