[GRASS-dev] Re: [Proj] value of PROJ_LIB variable

Hamish hamish_nospam at yahoo.com
Sun May 7 19:59:22 EDT 2006


> Frank:
> > There is currently no way to find out the hardcoded location that
> > proj will search for support files.
> > 
> > >Hamish:
> > >In GRASS we'd like to auto-locate & parse the EPSG file for quickly
> > >defining new projects from the startup screen if given a valid
> > >code. Usually libproj is found in the LD search path so our
> > >./configure hasn't been told where to look. Knowing --prefix would
> > >be enough I think, but PROJ_LIB is the path we want to know.
> > 
> > Understood.  If you would like to file a request for a proj-config,
> > I will try to add it at some point, but it won't help you for quite
> > a while.
> 
Markus:
> Probably we can only loop over common directories and check
> if the epsg file is there unless a new proj-config becomes
> available and distributed?


As probably 4 values will cover 90% of users, I think this is a
practical solution. I don't plan on adding a request for proj-config,
if someone else thinks it is a good idea please add the wish.


Hamish




More information about the grass-dev mailing list