Opened 15 years ago

Closed 15 years ago

#248 closed defect (invalid)

AddGeometry appears to be broken

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 1.5.0
Component: postgis Version: master
Keywords: Cc:

Description

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?

Change History (1)

comment:1 by robe, 15 years ago

Resolution: invalid
Status: newclosed

My fault. forgot to load in the spatial ref sys table. Sorry about that.

Note: See TracTickets for help on using tickets.