Could you not just use a Geometry type?

cheers

Ben


On 02/07/2009, at 5:47 PM, Ben Harper wrote:

I am looking for a way of creating a geometry field that has a
constrained type identical to the Shapefile spec.
Basically, Polygons and MultiPolygons are equals. Linestrings and
Multilinestrings are equals.
Is there a way to accomplish this with PostGIS?
If I make the field Polygon, then I can't insert Multipolygons, and vice versa.

Thanks,
Ben
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

--

Ben Madin
REMOTE INFORMATION

t : +61 8 9192 5455
f : +61 8 9192 5535
m : 0448 887 220
Broome   WA   6725

[email protected]



                                                        Out here, it pays to 
know...


_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to