[gdal-dev] Source code for ogr2ogr --version

Mateusz Łoskot mateusz at loskot.net
Thu Apr 17 12:38:02 PDT 2014


On 17 April 2014 21:26, David Tran <david.tran at hsr.ch> wrote:
> Hi to everyone
>
> I compiled gdal 1.10.1 and now I want to show ogr2ogr --version with my
> library in my ide console. How do I do that with C or C++?

Use GDALVersionInfo function, see http://www.gdal.org/gdal_8h.html

Best regards,
-- 
Mateusz  Łoskot, http://mateusz.loskot.net


More information about the gdal-dev mailing list