Hi,
I am using ST_Area() geography function for calculation of area under polygon ( specifically speaking square ) of 3 sq km having each side length of 1.732 km ( root 3 )
The sql is -
VMart=> SELECT ST_Area(ST_GeographyFromText('POLYGON((51.215265136 -179.147338754,51.215265136 -179.122500803037,51.230832300 -179.147338754,51.215265136 -179.147338754))'));
ST_Area
------------------
2390112.44985344
(1 row)
On cross verifying the area from google earth and few online tool
( http://www.daftlogic.com/projects-google-maps-area-calculator-tool.htm )
the area is found to be ~ 3 sq km as seen in the attched snapshot.
What can be the probable reason for NOT getting correct answer by using ST_AREA geography function in vertica ?
Kindly suggest/help to utillize this function reliably.
With regards,
Vijay