Design issue: VectorDataIOFactory should not be a template class
Mantis Issue 320, reported by echristophe, assigned to echristophe, created: 2011-05-29
VectorDataIOFactory is a template class which remove most of the benefits of using factories.
The design should follow the ImageIOFactory from itk.
1306744311 - julienmAnd this is the main reason why we need OGR includes in external project (call to OGR API inside template classes).
- it creates tricky issues (see http://hg.orfeo-toolbox.org/OTB/rev/e17ecfe94ff3)
1306776761 - christopgdal need for external project has been removed by http://hg.orfeo-toolbox.org/OTB/rev/be09518d0c42
OGR need (mostly through ogr_spatialref.h) does not seem to be only restricted to this factory issue.
1307293488 - christopFirst step, remove template from VectorDataIOBase:
- done in http://hg.orfeo-toolbox.org/OTB/rev/f017526b754e
- experimental looks fine: http://dash.orfeo-toolbox.org/buildSummary.php?buildid=55301
1307861507 - christopFix by: http://hg.orfeo-toolbox.org/OTB/rev/7d7df20ef787 (and commits around)