<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body dir="auto"><div dir="auto">Hi Alex.</div><div dir="auto"><br></div><div dir="auto">You could use the coordinate of the centrists to determine which polygon is east or north.   For example, if your coordinate system is utm.  the centroid with the highe Easton will he the most easterly, the one with the smallest northing will be the most southerly.</div><div dir="auto"><br></div><div dir="auto">Kirk Schmidt </div><div dir="auto"><br></div><div dir="auto"><br></div><div id="composer_signature" dir="auto"><div style="font-size:85%;color:#575757" dir="auto">Sent from my Galaxy</div></div><div dir="auto"><br></div><div><br></div><div align="left" dir="auto" style="font-size:100%;color:#000000"><div>-------- Original message --------</div><div>From: Alexandre Rodier via QGIS-User <qgis-user@lists.osgeo.org> </div><div>Date: 2023-02-12  1:57 p.m.  (GMT-04:00) </div><div>To: qgis-user@lists.osgeo.org </div><div>Subject: [Qgis-user] Azimuth and orientation of 2 features </div><div><br></div></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class="yahoo-style-wrap"><div data-setdir="false" dir="ltr">Dear list.</div><div data-setdir="false" dir="ltr">I have a question I am not able to resolve:</div><div data-setdir="false" dir="ltr"><br></div><div data-setdir="false" dir="ltr">I need to calculate the orientation (North, East, South or North) of a feature (Polygon, a parcel) respect of another one (Line, a road).</div><div data-setdir="false" dir="ltr">I calculated the azimuth of the two features using the centroids of each but the formulas I found don't really work, or I am doing something wrong (it's probably that :-) ).</div><div data-setdir="false" dir="ltr">I am sure that's a simple problem but I am quite blocked.</div><div data-setdir="false" dir="ltr"><br></div><div data-setdir="false" dir="ltr">Thanks in advance for your help.</div><div data-setdir="false" dir="ltr">Alex</div></div></body></html>