[postgis-users] Polygon and Multipolygon distinguished by field type constraint - call for a generic AnyPoly type
Ben Harper
rogojin at gmail.com
Thu Jul 2 03:47:00 PDT 2009
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
More information about the postgis-users
mailing list