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

PostGIS trac at osgeo.org
Mon Oct 3 08:18:20 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):

 Knon breakages so far seem to be all due to a mix of explicit and implicit
 unknown srid.
 One is in our testsuite (topology) and another I got a report for is in
 qgis.

 If we threat all SRID<=0 all the same way there should be much less
 problems.
 To me it's fine to map all to -1 for backward compatibility, to 0 for
 sql/mm compatibility,
 to NULL for strk-mind-compatibility.

 But we do need to threat them all the same, IMHO (translate in input to a
 common srid).

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