Ticket #248 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

AddGeometry appears to be broken

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 1.5.0
Component: postgis Version: trunk
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

Changed 2 years ago by robe

  • status changed from new to closed
  • resolution set to invalid

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

Note: See TracTickets for help on using tickets.