Hello

I'm trying to read MapInfo files by calling GDAL library from another
language.
I mostly followed the official Vector API tutorial, but now I got stuck
with no idea how to proceed.

I pass the geometry handle to OGR_G_GetGeometryType and flatten the result.
MapInfo's TABText feature geometry is an OGRPoint, so I think I should get
a wkbPoint geometry type, but TABPoint, TABFontPoint, TABCustomPoint,
TABEllipse, and TABArc features can also have OGRPoint geometry.

Using only the API, how can I tell these types apart (if that's a mandatory
step) and read their unique fields, like the text of TABText?

Kind Regards
Matt Ors
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to