[fdo-internals] PostGIS provider question about geometry_types in
Autodesk Map
Bruno Scott
bscott at geomapgis.com
Mon Apr 21 06:35:20 EDT 2008
I have imported a shp files into postgis
in the geometry_columns table it inserted a type of "MULTIPOLYGON"
and a constraint
enforce_geotype_the_geom CHECK (geometrytype(the_geom) =
'MULTIPOLYGON'::text OR the_geom IS NULL);
In Autodesk Map i have 2 create command available
Create Polygon
and
Create Multi-polygon
When i use the "Create MultiPolygon" it works alright
but when i use the "Create Polygon" PostGIS raised a constraint error on the
geometry types
This is normal because it is not a MULTIPOLYGON but a POLYGON
So my question is
Is it the provider responsability to modify the geometry from POLYGON to
MULTIPOLYGON on the insert command?
or
Is it Map that should not expose the "Create Polygon" as the type in
geometry_columns is set only to MULTIPOLYGON?
--
View this message in context: http://www.nabble.com/PostGIS-provider-question-about-geometry_types-in-Autodesk-Map-tp16807087s18162p16807087.html
Sent from the fdo-internals mailing list archive at Nabble.com.
More information about the fdo-internals
mailing list