Hello,
I have a PostGIS database with this definition (omitted irrelevant fields):
CREATE TABLE abris
(
gid serial NOT NULL,
the_geom geometry,
CONSTRAINT abris_pkey PRIMARY KEY (gid),
CONSTRAINT enforce_dims_the_geom CHECK (ndims(the_geom) = 2),
CONSTRAINT enforce_geotype_the_geom CHECK (geometrytype(the_geom) = 'MULTIPOLYGON'::text OR the_geom IS NULL),
CONSTRAINT enforce_srid_the_geom CHECK (srid(the_geom) = (-1))
)
WITH (OIDS=FALSE);
ALTER TABLE abris OWNER TO postgres;
When queried using FdoGeometricPropertyDefinition::GetSpecificGeometryTypes, it get a list of 4 allowed types: polygon, mulitpolygon, curvepolygon and multicurvepolygon. However, only the insertion of a multipolygon works (others throw an exception stating that the geometry constraint is not met.
Any suggestions on what is going on with this GetSpecificGeometryTypes problem?
Thanks!
Jörg
edit: removed a reference to GetGeometryTypes, as it was a misinterpretation on my behalf.