<div dir="ltr"><div>Hello,<br><br>I've a following area calculation:<br><br>select ST_Area(<br>ST_GeometryFromText('POLYGON ((-0.780387531 -79.736894381,<br>170.375361283 -79.736894381,<br>170.375361283 -79.692508368,<br>-0.780387531 -79.692508368,<br>-0.780387531 -79.736894381))', 4326)::geography) /1000000<br></div><div><br></div><div>which returns ~900 km^2</div><div><br></div><div>while ST_Perimeter() for the same geography is ~4600km</div><div>and If I open ST_AsGeoJson() of this geometry in google earth pro and some websites I'm getting ~ 16700 km^2.</div><div>It seems it's a correct result and ST_Area() result is wrong.</div><div><br></div><div>Is this a known problem?</div><div><br></div><div>My versions:</div><div>PostgreSQL 15.10 (Debian 15.10-astra.se1) on x86_64-pc-linux-gnu, compiled by gcc (Astra 12.2.0-14.astra3+b1) 12.2.0, 64-bit<br>POSTGIS="3.3.2 68f4434" [EXTENSION] PGSQL="150" GEOS="3.11.1-CAPI-1.17.1" PROJ="9.1.1" GDAL="GDAL 3.6.2, released 2023/01/02" LIBXML="2.9.14" LIBJSON="0.16" LIBPROTOBUF="1.4.1" WAGYU="0.5.0 (Internal)" RASTER<br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">With best regards,<br>Truf</div></div>