<div dir="auto"><div>According to documentation, the azimute function expects two point geometries and calculates the angle in radians between the segment that connect them and the North direction.<div dir="auto"><br></div><div dir="auto">It's surprising to me if it accepts something that are not points. If it does, I would assume it uses the geometries centroids, not the boundaries.</div><div dir="auto"><br></div><div dir="auto">Best regards,</div><div dir="auto"><br></div><div dir="auto">Alexandre Neto</div><div dir="auto">User Support</div><div dir="auto"><a href="http://www.qcooperative.net">www.qcooperative.net</a></div><div dir="auto"><br></div><div dir="auto"><br></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">A segunda, 17/07/2023, 20:42, Enrique Sagredo Blanco via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span style="font-family:sans-serif;font-size:12.8px">Good afternoon:</span><br style="font-family:sans-serif;font-size:12.8px"><span style="font-family:sans-serif;font-size:12.8px">I am a professor at the University of Mondragon and for the research I am carrying out I am using QGIS. I want to obtain the azimuth value of the dwellings in a certain municipality, I have created a variable and using code I have generated this function which I have attached.</span><br style="font-family:sans-serif;font-size:12.8px"><br style="font-family:sans-serif;font-size:12.8px"><span style="font-family:sans-serif;font-size:12.8px">degrees( azimuth( start_point( $geometry ), end_point( $geometry )))</span><br style="font-family:sans-serif;font-size:12.8px"><br style="font-family:sans-serif;font-size:12.8px"><span style="font-family:sans-serif;font-size:12.8px">The doubt arises when interpreting this data, since QGIS returns a value but I don't know how to obtain it. Since it is a unique value, I don't know how to interpret what it means on a map. Since the polygons analysed have four sides.</span><br style="font-family:sans-serif;font-size:12.8px"><br style="font-family:sans-serif;font-size:12.8px"><span style="font-family:sans-serif;font-size:12.8px">Can you help me?</span><br style="font-family:sans-serif;font-size:12.8px"><span style="font-family:sans-serif;font-size:12.8px">Thank you very much.</span><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><br></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><img src="https://mail.google.com/mail/?ui=2&ik=33068c87a8&attid=0.1&th=18964d875014fb3f&view=fimg&fur=ip&rm=18964d875014fb3f&sz=w1600-h1000&attbid=ANGjdJ9-KLOnAl67vTxuTTg10Qivk2ZliKJSd88gt0nLU2U-C2ELxY5B0zpR2VK-IBmZW9sh-jZMvT59T-730OEfsRMI6GMXE8GCrlik3tRi7jOvLSKxYdZySFvbUHY&disp=emb&realattid=ii_lk6yfhr20&zw" alt="image.png" style="outline:0px;margin-right:25px;max-width:303px;width:303px;height:auto"><br><div><div dir="ltr"><div dir="ltr"><table style="font-family:"times new roman";font-size:medium"><tbody><tr></tr></tbody></table></div></div></div></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><div dir="ltr"><div dir="ltr"><table style="font-family:"times new roman";font-size:medium"><tbody><tr></tr></tbody></table></div></div></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><div dir="ltr"><div dir="ltr"><table style="font-family:"times new roman";font-size:medium"><tbody><tr><td style="border-top:none;border-bottom:none;border-left:none;border-right:1pt solid rgb(166,166,166)"></td></tr></tbody></table></div></div></div><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><div dir="ltr" data-smartmail="gmail_signature"><br></div></div></div>
_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer 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 noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div></div></div>