[postgis-users] Select polygons within polygon with PostGIS 2.0

Sandro Santilli strk at keybit.net
Thu Oct 11 00:27:50 PDT 2012


On Thu, Oct 11, 2012 at 09:02:58AM +0200, Michal Zimmermann wrote:
> Hi,
> I tried with SELECT CreateTopology('kraje_topo', 4326); and got the
> following error: ERROR: AddGeometryColumn() - invalid SRID. Is there
> something special I need to do before creating topology?

The SRID must be in spatial_ref_sys.
Did you forget to load spatial_ref_sys.sql ?

--strk;

 http://www.cartodb.com - Map, analyze and build applications with your data

                                       ~~ http://strk.keybit.net 




More information about the postgis-users mailing list