i try to calculate the area for a geographic grid 0.25 degree but for some 
grids they touche equator i have the error in object.

"PostgreSQL 9.0.0 on x86_64-unknown-linux-gnu, compiled by GCC gcc (SUSE Linux) 
4.5.0 20100604 [gcc-4_5-branch revision 160292], 64-bit"

"POSTGIS="2.0.0SVN" GEOS="3.2.2-CAPI-1.6.2" PROJ="Rel. 4.7.1, 23 September 
2009" LIBXML="2.7.7" USE_STATS"


SELECT 161109 polygon 
,ST_AREA(GEOGRAPHY(ST_GEOMETRYFROMTEXT('POLYGON((15.8327132977611 0.25,16 
0.25,16 0,15.8566682147637 0,15.8566112518311 
0.00356000009924173,15.8485898971558 0.124770000576973,15.8327132977611 
0.25))'))) gsareageo

SELECT 161109 polygon ,ST_AREA(GEOGRAPHY(ST_GEOMETRYFROMTEXT('POLYGON((15.75 
0,15.75 0.25,16 0.25,16 0,15.75 0))'))) gsareageo;

Any idea about it ?




      
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to