« Return to Thread: Points and Polygons table

Points and Polygons table

by tommy408 :: Rate this Message:

Reply to Author | View in Thread

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)

 « Return to Thread: Points and Polygons table