Hello,<br><br>I found a short thread on this subject from February 2011--I am now having the same problem that Marcello had, and I wonder if anyone has found a fix or workaround for this problem? Using the same example code that Marcello provided:<br>

<br>SELECT 161109 polygon ,ST_AREA(ST_GEOGFROMTEXT('POLYGON((15.8327132977611<br>0.25,16 0.25,16 0,15.8566682147637 0,15.8566112518311<br>0.00356000009924173,15.8485898971558 0.124770000576973,15.8327132977611<br>0.25))')) gsareageo;<br>

 <br>I get <br><br><pre class="error">ERROR:  ptarray_area_spheroid: cannot handle ptarray that crosses equator
CONTEXT:  SQL function "st_area" statement 1<br><br>I am using:<br><br>PostgreSQL 8.4.8 on x86_64-pc-linux-gnu, compiled by GCC gcc-4.4.real (Ubuntu 4.4.3-4ubuntu5) 4.4.3, 64-bit<br>POSTGIS="1.5.2" GEOS="3.3.0-CAPI-1.7.0" PROJ="Rel. 4.7.1, 23 September 2009" LIBXML="2.7.6" USE_STATS<br>

</pre>From the earlier thread, it sounds as if this version of postgis should run the code just fine? I saw that Marcello was able to work around the problem by changing 0 lats to being very near-0; but this of course affected the calculated areas. Can anyone guess why this is a problem, or has anyone figured out a better solution? <br>

<br>Thanks very much!<br clear="all">_________________________________<br>Sarah K Berke<br>Postdoctoral Scholar<br>Department of the Geophysical Sciences<br>University of Chicago<br>5734 S. Ellis Ave<br>Chicago, IL 60637<br>