[postgis-users] Points and Polygons table

tommy408 tommytomorow at msn.com
Thu Jun 25 06:39:07 PDT 2009


I imported some points from a shapefile to a PostGIS table.  But I can't
insert polygons into the same table because of the constaint below.  Should
I store points in a separate table from polygons or put them together in one
table and remove the following constaint?

enforce_geotype_the_geom 	CHECK (geometrytype(the_geom) =
'MULTIPOLYGON'::text OR the_geom IS NULL)
-- 
View this message in context: http://www.nabble.com/Points-and-Polygons-table-tp24203451p24203451.html
Sent from the PostGIS - User mailing list archive at Nabble.com.




More information about the postgis-users mailing list