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

PostGIS trac at osgeo.org
Fri Oct 7 08:24:34 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):

 Finding appropriate "reserved" srid space would require some inquiring on
 postgis-users about their current max(srid), and then enforcing the max
 and the min trough a check on spatial_ref_sys.

 We'll have to account for:

  # Builtin values (those that we ship with spatial_ref_sys.sql, which may
 grow in time)
  # Custom user values
  # Reserved range (which can't be added to spatial_ref_sys)
  # Upper limit the serialization can hold (999999)

 Not sure we need to distinguish between the first two...

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