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

PostGIS trac at osgeo.org
Fri Oct 7 08:54:30 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 "hardcoded" values currently supported by GetProj4String (and
 _BestSRID) are:

  #. 60 for UTM North
  #. 60 for UTM South
  #.  2 for North pole
  #.  2 for South pole
  #.  1 for World mercator

 We could lay them out in a reserved 999xxx space with the following
 schema:

  #. 999000 for World Mercator
  #. 999001 to 999060 for UTM North (zone: 1 to 60)
  #. 999061 for Lambert Azimuthal Equal Area North Pole
  #. 999062 for Polar Stereographic North
  #. 999101 to 999160 for UTM South (zone: 1 to 60)
  #. 999161 for Lambert Azimuthal Equal Area South Pole
  #. 999162 for Polar Stereographic South

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