[Proj] Finding PROJ_LIB from application

Frank Warmerdam warmerdam at pobox.com
Thu Jan 15 11:07:41 EST 2009


Roger Bivand wrote:
> Hi,
> 
> Is there any way to query the system for the path to lib - effectively the 
> path value in sysname in pj_open_lib.c, line 184? From inside R, I'd like 
> to be able to show which path is being used.

Roger,

No, I do not believe there is any way to to do this.  You can set the
PROJ_DEBUG environment variable (to any value) to see some debug output
to stderr when pj_open_lib() tries to open files but I don't imagine that
gives what you want.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Proj mailing list