[gdal-dev] report proj4 version to which gdal is linked?

Roger Bivand Roger.Bivand at nhh.no
Fri Nov 24 13:19:08 PST 2017


On Fri, 24 Nov 2017, Even Rouault wrote:

>> I would have (perhaps) hoped that
>> pj_release.c is the runtime version, but mileage may
> vary ...
>
> It is. I just missed pj_get_release()
>

Thanks, I guess you can see a resoluion. Which gdal header is the most 
logical to expose this in?

It's a bit fragile, because the string is entered manually, rather than 
coming from "above" in the build tree, but at least is there. Making sure 
programatically that proj knows itself what its version is whould simplify 
things a lot.

Roger

>

-- 
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; e-mail: Roger.Bivand at nhh.no
Editor-in-Chief of The R Journal, https://journal.r-project.org/index.html
http://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en


More information about the gdal-dev mailing list