[gdal-dev] VRTBuilder class

Even Rouault even.rouault at mines-paris.org
Wed May 28 12:42:39 PDT 2014


Le mercredi 28 mai 2014 21:27:54, Gordon Farquharson a écrit :
> Thanks for the quick answer. Would the approach of turning GDAL utility
> code into libraries be as simple as putting the code into .h and .cpp
> files, or would you want to do it in a more globally organized way, e.g..,
> to develop a sensible class hierarchy and a consistent naming scheme?

Everything can be considered. Proposals welcome.
At the minimum, work should be done to remove global variables, avoid exit() 
calls, etc... so that it can be used as a proper library function.
And it would be good if that library'fication of utilities should allow to pass 
dataset objects instead of strings for example. 

> 
> Gordon
> 
> 
> On Wed, May 28, 2014 at 12:18 PM, Even Rouault
> <even.rouault at mines-paris.org
> 
> > wrote:
> > 
> > Le mercredi 28 mai 2014 21:03:40, Gordon Farquharson a écrit :
> > > The VRTBuilder class in the gdalbuildvrt utility source code is very
> > > useful. Is there any intention to make it part of the GDAL API?
> > > 
> > > Gordon
> > 
> > Gordon,
> > 
> > the idea of turning the code of GDAL utilities as library code reusable
> > by user code has floated around. It probably waits for contributions
> > and/or funding. In the mean time, you can "import" the code into your
> > code.
> > 
> > Even
> > 
> > --
> > Geospatial professional services
> > http://even.rouault.free.fr/services.html

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list