[postgis-devel] [PostGIS] #248: AddGeometry appears to be broken

PostGIS trac at osgeo.org
Thu Sep 17 06:56:49 PDT 2009


#248: AddGeometry appears to be broken
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  postgis 1.5.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 I think this is as a result of incorporating geography stuff.  I tested
 against my old 1.5 build and I think this works, but running torture test
 -- its screaming.  On my new install with geography -- it gives

 ERROR:  AddGeometryColumns() - invalid SRID
 CONTEXT:  SQL statement "SELECT AddGeometryColumn('','', $1 , $2 , $3 , $4
 , $5 )"
 PL/pgSQL function "addgeometrycolumn" line 4 at SQL statement

 Here is the test

 CREATE TABLE pgis_garden (gid serial);
 SELECT AddGeometryColumn('pgis_garden','the_geom',4326,'POLYGON',3);

 Is this an intentional break?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/248>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list