[postgis-users] adding columns to the geometry_columns table

Jan Hartmann j.l.h.hartmann at uva.nl
Mon Jul 25 01:51:16 PDT 2011


Hi,

When I create a table "like" another table with  geometry columns, the 
the public.geometry_columns table is not updated. The 
"probe_geometry_columns()" and "populate_geometry_columns" functions 
don't work on the new table, because they cannot determine the srid of 
the geometry column in the new, empty table. Is there another way to 
update the geometry_columns table? Alternatively, would it make sense to 
add a "srid"-parameter to "probe_geometry_columns()" and 
"populate_geometry_columns()"?

Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110725/f2263775/attachment.html>


More information about the postgis-users mailing list