Ticket #2345 (new enhancement)
Export Mitab-classes or include mitab_capi.h in OGR
| Reported by: | Geoheber | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | OGR_SF | Version: | unspecified |
| Severity: | normal | Keywords: | mitab |
| Cc: | dmorissette |
Description
There shold be one way to use MITAB-operations within OGR directly. Nearly all the code of the separate MITAB-Lib is contained within GDAL, but it cannot be used from outside the Library because it is not exported. There are 2 possibilites which would allow this: 1) Include mitab_capi.h and mitab_capi.cpp from Mitab-Lib in Gdal. Then, one can use this C-API without using MITAB.DLL (there are linker collisions if using both libraries, MITAB.DLL and GDAL15.DLL) - or/and - 2) Export the Mitab-classes like IMapInfoFile to usem them from outside. I think there is currently no possibility to use the C++ - API from outside. I have found a similar suggestion here: http://lists.osgeo.org/pipermail/gdal-dev/2005-October/006698.html
One of these enhancements would be very helpful to me because now, I have to change sourcecode of mitab.h everytime to add the exports.
