<div dir="ltr"><div>Simon,</div>I'm using geometry but have cast it as a geometry using ST_AREA(geom::geometry) with no real change. <div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 12, 2020 at 4:51 PM Simon Greener <<a href="mailto:simon@spatialdbadvisor.com">simon@spatialdbadvisor.com</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"><div style="zoom:0%"><div dir="auto">Are you using geometry or geography?<br><br></div>
<div dir="auto">Try the latter.<br><br></div>
<div dir="auto">Get <a href="http://www.bluemail.me/r?b=15860" target="_blank">BlueMail for Android</a> </div>
<div class="gmail_quote">On 13 Jun 2020, at 09:31, Clifford Snow <<a href="mailto:clifford@snowandsnow.us" target="_blank">clifford@snowandsnow.us</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">When I run st_area(geom) against a geom in WGS84, my understanding is that postgis returns the area in square meters. It's not. Instead it returns something much smaller. The areas I'm interested in are small bounding boxes so spherical measurements should be all that different. <div><br></div><div>I verified that the table SRID is 4326. The boxes all display correctly in both Pgadmin4 and QGIS. </div><div><br></div><div>For example, a bbox around a house returns 9.84003999925341e-09. Yet QGIS calculates it as 113.73 sqm. The QGIS calculation seems to be more accurate. </div><div><br></div><div>I know I'm doing something very wrong. Any help would be appreciated.</div><div><br></div><div>Best,</div><div>Clifford<br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>@osm_washington<br></div><div><a href="https://www.snowandsnow.us" target="_blank">www.snowandsnow.us</a></div><div>OpenStreetMap: Maps with a human touch</div></div></div></div></div></div></div></div></div>
<pre><hr><br>postgis-users mailing list<br><a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></pre></blockquote></div></div>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>@osm_washington<br></div><div><a href="https://www.snowandsnow.us" target="_blank">www.snowandsnow.us</a></div><div>OpenStreetMap: Maps with a human touch</div></div></div></div></div></div></div>