<div dir="ltr"><div dir="ltr">Jon and list,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 16, 2022 at 10:57 AM Jon via Qgis-user <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</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">Hello,<br>
<br>
After creating a Bounding box layer from my shape file, whether I<br>
iterate and get multiple Bounding Box layers or not use iterate and get<br>
one, is that in my 'Attribute Table' for the 'Bounding boxes' layer<br>
that is produced adds the Width and Height to the Attribute Table but<br>
the numbers inside are not what I expect:<br>
<br>
Width           Height<br>
0.0412408       0.0457415<br>
<br>
I expect these to be in meters due to changing the Coordinate Reference<br>
System (CRS) to one that has meters at its Units under the properties.<br>
But when changing the CRS I still see the same data. I have checked the<br>
actual distance of the polygons and they are positive numbers, I should<br>
not see decimals.<br></blockquote><div><br></div><div>You should expect these to be in the units of the source data. <br></div><div><br></div><div>If you want them to be in some other CRS then you should either reproject the input layer before you calculate the bounding box(es), or reproject the output layer you already have and maybe recalculate the width and height attributes.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I change the CRS by clicking the globe in the bottom right of the QGIS<br>
GUI and also by right-clicking the layer and selecting 'Layer CRS' and<br>
setting it there as well, still same issue.<br><br></blockquote><div>Changing the project CRS usually doesn't affect the results of computations.  It's just the display / reprojection on the fly.</div><div><br></div><div>Changing the layer CRS doesn't cause the data to be reprojected.<br></div><div><br></div><div>Use the Vector > Data Management Tools > Reproject layer menu item instead.<br></div></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div></div>