[Qgis-user] doubts about the azimuth value obtained

Alexandre Neto alexandre.neto at qcooperative.net
Tue Jul 18 00:48:01 PDT 2023


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.

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.

Best regards,

Alexandre Neto
User Support
www.qcooperative.net




A segunda, 17/07/2023, 20:42, Enrique Sagredo Blanco via QGIS-User <
qgis-user at lists.osgeo.org> escreveu:

> Good afternoon:
> 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.
>
> degrees( azimuth(  start_point(  $geometry ), end_point(  $geometry )))
>
> 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.
>
> Can you help me?
> Thank you very much.
>
> [image: image.png]
>
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230718/0f7443e0/attachment.htm>


More information about the QGIS-User mailing list