[postgis-devel] [PostGIS] #286: Change "no SRID" SRID to 0

PostGIS trac at osgeo.org
Mon Oct 10 02:31:28 PDT 2011


#286: Change "no SRID" SRID to 0
---------------------+------------------------------------------------------
 Reporter:  pramsey  |       Owner:  pramsey      
     Type:  task     |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 As of r7963 we do threat SRID<=0 all the same (as UNKNOWN).

 Returning UNKNOWN srid as 0 (rather than -1) may still have backward
 compatibility issues with code checking values against a literal -1 to
 mean UNKNOWN. Note that some literal -1 values may also be in dataspace
 (geometry_columns.srid, topology.topology.srid).

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