[postgis-devel] Topology question about CreateTopology

strk strk at keybit.net
Tue Dec 28 09:11:50 PST 2010


On Tue, Dec 28, 2010 at 04:42:43PM +0100, strk wrote:
> On Tue, Dec 28, 2010 at 07:33:21AM -0500, Paragon Corporation wrote:

> > Actually srid should default to 0 too for PostGIS 2.0 and looks like you are
> > defaulting that to -1 as well.
> 
> Please file a (separate) ticket for this as well.

I gave SRID=0 a quick try and got hit by this:

 +ERROR:  AddGeometryColumns() - invalid SRID
 +PL/pgSQL function "addgeometrycolumn" line 4 at SQL statement
 +SQL statement "SELECT AddGeometryColumn('tt','node','geom','0','POINT','2')"

Is the SRID=0 thing just planned ?
Why exactly would we be changing semantic of -1 ?

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list