[postgis-devel] [PostGIS] #1230: _ST_BestSRID should not return negative SRID values

PostGIS trac at osgeo.org
Thu Oct 6 08:01:39 PDT 2011


#1230: _ST_BestSRID should not return negative SRID values
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 The safest fix here would be to drop _ST_BestSRID and do the geography
 magic work at the C level.
 That way we wouldn't incur in srid clamping due to serialization, nor in
 srid clamping due to ST_SetSRID call...

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1230#comment:2>
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