[postgis-devel] [PostGIS] #1580: proj4 cache corrupted by projection error ?

PostGIS trac at osgeo.org
Wed Feb 15 03:31:35 PST 2012


#1580: proj4 cache corrupted by projection error ?
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  pramsey      
     Type:  defect    |      Status:  new          
 Priority:  critical  |   Milestone:  PostGIS 2.0.0
Component:  postgis   |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------
 Look at this session:
 {{{
 strk=# select ST_Transform('SRID=4326;POINT(180 -90)'::geometry, 3857);
 ERROR:  transform: couldn't project point (180 -90 0): tolerance condition
 error (-20)
 strk=# select ST_Transform('SRID=4326;POINT(180
 -89.99999999999)'::geometry, 3857);
 ERROR:  AddToPROJ4SRSCache: couldn't parse proj4 string: '+proj=longlat
 +datum=WGS84 +no_defs ': tolerance condition error
 }}}

 The second ERROR doesn't sound right, seems to reveal a dirtiness in proj
 cache. It's critical because the cache survives multiple transactions
 making it impossible to perform future reprojections

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/1580>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list