[gdal-dev] Re: How to check version of ogr?

Hermann Peifer peifer at gmx.eu
Fri Mar 16 07:24:53 EDT 2012


On 16/03/2012 10:20, Jean-Claude Repetto wrote:
> Le 16/03/2012 09:55, Chrishelring a écrit :
>> Hi all,
>>
>> very simple question (atleast I hope so ;). I need to check the
>> version of
>> the ogr library included in my mapserver configuration, but cant seem to
>> find a way to do it. If I just enter ogr2ogr ind the shell no
>> versionnumber
>> is presented.
>
> ogr2ogr --version

This is not always reliable information. In my case, it says:
GDAL 1.9.0, released 2011/12/29

But what I am actually using is GDAL/OGR from trunk, as of today, 
revision 24121.

Hermann



More information about the gdal-dev mailing list