<div dir="ltr">There is a somewhat obscure feature to the <a href="https://plugins.qgis.org/plugins/shapetools/">Shape Tools plugin</a> that will calculate the distance of each segment in a line and it also calculates the azimuth as well, but you will not automatically see it as it is in the attribute table. I don't know if it will work for you or not.<div><br></div><div>Once you install the Shape Tools plugin, run this algorithm from the QGIS menu "Vector->Shape Tools->Geodesic measurement layer". Make sure "Measure total length rather than each line segment" is NOT checked then run it. It will display measurements of each segment in your lines, but if you open up the attribute table, you will see a "heading_to" attribute which is your azimuth. You could right-mouse click on your new layer and change the label to the heading_to attribute to have it displayed on the map. I probably should add a feature to that algorithm that allows you to display either the distance or azimuth.</div><div><br></div><div>Regards,</div><div><br></div><div>Calvin</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 9, 2021 at 8:22 AM carlos h <<a href="mailto:carloslda256@gmail.com">carloslda256@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello, I think I made a conceptual error, it is not a polygon, but a polyline that has "n" number of vertices.</div><div><br></div><div>
<a href="https://ibb.co/vsGF22W" target="_blank">https://ibb.co/vsGF22W</a>

</div><div><br>I think that when you see the attached image you will understand what I want, what I want is to generate the bearing in the attribute table.<br><br>Thanks<br><br>CA</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue, 8 abr 2021 a las 22:17, chris hermansen (<<a href="mailto:clhermansen@gmail.com" target="_blank">clhermansen@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>David & list,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 8, 2021, 20:02 David Strip <<a href="mailto:qgis-user@stripfamily.net" rel="noreferrer" target="_blank">qgis-user@stripfamily.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <div>On 4/8/2021 6:32 PM, chris hermansen
      wrote:<br>
    </div>
    <blockquote type="cite">Please
      correct me if I am wrong but are not the start and end points of a
      polygon the same?</blockquote>
    I believe he's referring to the start and end point of each edge.<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">As far as I know a polygon only has one edge, unless it has interior holes. That's what the $geometry would be, anyway.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
  </div>

</blockquote></div></div></div>
</blockquote></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>