[Gdal-dev] WKB and mixed geometries

Bart van den Eijnden BEN at Syncera-ITSolutions.NL
Mon Nov 28 05:33:06 EST 2005


Hi list,

I am wondering if mixed geometries are supported in the ODBC WKB driver. I am doubting what is the best option, storing points and polygons in the same WKB table, or in separate tables. I also want to use this with Mapserver, so I also have to think of limitations in that department.

AFAIK there are 2 options for mixing:
1. use a Geometry Collection
2. use a separate record for the point and polygon, but in the same table

Does OGR support 1. and/or 2.? Is there a way to filter according to the geometry type on the fly so I can use it with Mapserver?

What would be my best bet to do in this situation?

Thanks in advance.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl




More information about the Gdal-dev mailing list