[postgis-devel] [PostGIS] #738: AddGeometryColumn allow to accept srid = 0 and other unkonwn srid issues

PostGIS trac at osgeo.org
Thu Oct 6 00:28:04 PDT 2011


#738: AddGeometryColumn allow to accept srid = 0 and other unkonwn srid issues
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 We should have AddGeometryColumn threat SRID <= 0 in the same way,
 eventually warning if the actual value doesn't match the unknown srid.

 The unknown srid, at SQL level can be obtained with ST_Srid('POINT
 EMPTY').

 Next step for this ticket would be adding a regress test for
 AddGeometryColumn (currently missing).

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