<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
This may be a suitable approach, not specifically the ellipse axis approach, but:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Vector -> Geometry tools -> Centroid</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
may do what you want, depending on exactly how QGIS calculates the centroid...</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div></div>
<div></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment">
<div class="PlainText">Brent Wood<br>
<br>
Principal Technician, Fisheries<br>
NIWA<br>
DDI:  +64 (4) 3860529</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Qgis-user <qgis-user-bounces@lists.osgeo.org> on behalf of Azzurra Lentini <azzurralentini@gmail.com><br>
<b>Sent:</b> Wednesday, January 13, 2021 08:04<br>
<b>To:</b> qgis-user <qgis-user@lists.osgeo.org><br>
<b>Subject:</b> [Qgis-user] how to find center of polygons and/or major and minor diameters</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="x_gmail_default" style="font-family:tahoma,sans-serif"><font style="background-color:rgb(255,255,255)" color="#000000">Hi to all, any suggestion on how to quickly draw <span style="font-family:inherit; white-space:pre-wrap">the minor and major diameters
 of different polygons? I have a shapefile of polygons: some of the polygons are ellipses and others are similar to ellipses but not regular.
</span></font></div>
<div class="x_gmail_default" style="font-family:tahoma,sans-serif"><font style="background-color:rgb(255,255,255)" color="#000000"><span style="font-family:inherit; white-space:pre-wrap"><br>
</span></font></div>
<div class="x_gmail_default" style="font-family:tahoma,sans-serif"><font style="background-color:rgb(255,255,255)" color="#000000"><span style="font-family:inherit; white-space:pre-wrap">My aim is to find the center of these polygons (In this aim I was thinking
 to draw the 2 diameters and to use the intersection of these diameters as a center point of the polygon)</span></font></div>
<div class="x_gmail_default" style="font-family:tahoma,sans-serif"><font style="background-color:rgb(255,255,255)" color="#000000"><span style="font-family:inherit; white-space:pre-wrap"><br>
</span></font></div>
<div class="x_gmail_default" style="font-family:tahoma,sans-serif"><font style="background-color:rgb(255,255,255)" color="#000000"><span style="font-family:inherit; white-space:pre-wrap">Thanks, Azzurra
</span></font></div>
<div class="x_gmail_default" style="font-family:tahoma,sans-serif"><font style="background-color:rgb(255,255,255)" color="#000000"><span style="font-family:inherit; white-space:pre-wrap"><br>
</span></font></div>
<font style="background-color:rgb(255,255,255)" color="#000000">-- </font><br>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Lecturer GIS University "Roma Tre"<br>
</div>
<div dir="ltr">Consultant Environmental Risk Prevention and Hydrogeology<br>
AZZURRA LENTINI </div>
<div dir="ltr">++++++++++++++++++++++++++<br>
Italy Mobile Tel.: **(39) 338 24 40 676<br>
++++++++++++++++++++++++++<br>
SKYPE azzurrahydro<br>
++++++++++++++++++++++++++</div>
<div>
<p class="x_MsoNormal" style="margin-bottom:0.0001pt; background-image:initial; background-position:initial; background-repeat:initial; line-height:normal">
<b><u><span style="font-size:12pt; font-family:Arial,sans-serif; color:blue"><a href="mailto:azzurralentini@gmail.com" target="_blank" style="color:rgb(17,85,204)">azzurralentini@gmail.com</a></span></u></b></p>
<p class="x_MsoNormal" style="margin-bottom:0.0001pt; line-height:normal; background-image:initial; background-position:initial; background-repeat:initial">
<b><u><span style="font-size:12pt; font-family:Arial,sans-serif; color:blue"><a href="mailto:azzurra.lentini@uniroma3.it" target="_blank" style="color:rgb(17,85,204)">azzurra.lentini@uniroma3.it</a> </span></u></b><b><u><span style="font-size:12pt; font-family:Arial,sans-serif; color:blue">  </span></u></b><br>
</p>
</div>
<div dir="ltr">++++++++++++++++++++++++++<br>
*Par respect pour l'environnement,*<br>
<br>
*n'imprimez ce mail qu'en cas d'absolue nécessité*</div>
</div>
<div dir="ltr"> <br>
<br>
<br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<table style="width: 600px; font-size: 8pt; font-family: Arial" cellspacing="20">
<tbody>
<tr>
<td><a href="https://www.niwa.co.nz"><img src="https://www.niwa.co.nz/static/niwa-2018-horizontal-180.png"></a>
</td>
<td>
<table style="width: 500px">
<tbody>
<span>Brent Wood<br>
<font color="#1793d2">Principal Technician - GIS and Spatial Data Management</font><br>
<font color="#1793d2">Programme Leader - Environmental Information Delivery</font><br>
+64-4-386-0529 | <br>
National Institute of Water & Atmospheric Research Ltd (NIWA)<br>
301 Evans Bay Parade Hataitai Wellington New Zealand<br>
<b>Connect with NIWA:</b> <a href="https://www.niwa.co.nz">niwa.co.nz</a> <a href="https://www.facebook.com/nzniwa">
Facebook</a> <a href="https://www.linkedin.com/company/niwa">LinkedIn</a> <a href="https://twitter.com/niwa_nz">
Twitter</a> <a href="https://www.instagram.com/niwa_science">Instagram</a> </span>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<font face="Arial" size="1">To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third
 parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems</font>
</body>
</html>