Tom, I think the PostGIS 1.3 should error out too so probably a bug in PostGIS 1.3 that was corrected in later releases. The problem is 80 13 can't be projected to any area covered in 32613 (which is utm zone 13 covering a 6 degree strip ) Just tested on my 1.5 and it errors out as well. Leo http://www.postgis.us
_____ From: [email protected] [mailto:[email protected]] On Behalf Of Tom Kessler Sent: Friday, September 17, 2010 11:16 AM To: [email protected] Subject: [postgis-users] Assistance with ST_Transform in Ver. 1.5.1returning projection error I recently upgraded from Postgis 1.3 to 1.5 and started seeing projection errors returned from pgsql triggers. I was able to reduce the problem to the behavior of this simple query: In 1.3 the following two queries work without error: Select astext(st_transform (GeomFromText('POINT( -80 13 )',4326), 32613)) Select astext(st_transform (GeomFromText('POINT( 80 13 )',4326), 32613)) In 1.5 the first query works and the second one returns a "couldn't project point - lat or long exceeded limits error." My 1.3 version is: POSTGIS="1.3.1" GEOS="3.0.0rc4-CAPI-1.3.3" PROJ="Rel. 4.5.0, 22 Oct 2006" USE_STATS My 1.5 full version is: POSTGIS="1.5.1" GEOS="3.2.2-CAPI-1.6.2" PROJ="Rel. 4.7.1, 23 September 2009" LIBXML="2.6.32" USE_STATS proj4text in both spatial_ref_sys SRID entries is identical...Is this related to need for grid-shift files? Thanks in advance. Tom
_______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
