[postgis-devel] OGIS curve and surface geometry types?
Craig Miller
craig.miller at spatialminds.com
Tue Nov 16 14:27:04 PST 2004
1. Are the OGIS curve and surface geometry types supported under PostGIS?
I didn't see them listed in section 4.2.2 of the user's guide, but wanted to
make sure. They are defined in the OGIS OleDbGis.h header file.
2. Where are the POINTM, LINESTRINGM, POLYGONM, MULTPOINTM,
MULTILINESTRINGM, MULTIPOLYGONM, GEOMETRYCOLLECTIONM types coming from? The
OGIS OleDbGis.h header doesn't list these types. Is there an inconsistency
between the two OGIS specifications?
3. Is MULTPOINT, and MULTPOINTM a typo in section 4.2.2 of the users guide?
Should it be MULTIPOINT and MULTIPOINTM instead?
For reference the OleDBGis.h heaer file contains the following OGIS_GEOMETRY
enum.
enum OGIS_GEOMETRY
{
DBGEOM_GEOMETRY = 0x1L,
DBGEOM_POINT = 0x2L,
DBGEOM_CURVE = 0x3L,
DBGEOM_LINESTRING = 0x4L,
DBGEOM_SURFACE = 0x5L,
DBGEOM_POLYGON = 0x6L,
DBGEOM_COLLECTION = 0x7L,
DBGEOM_MULTISURFACE = 0xB,
DBGEOM_MULTIPOLYGON = 0xC,
DBGEOM_MULTICURVE = 0x9L,
DBGEOM_MULTILINESTRING = 0xA,
DBGEOM_MULTIPOINT = 0x8L
};
Thanks for the help.
--Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20041116/866dd36f/attachment.html>
More information about the postgis-devel
mailing list