[GRASS5] Re: auto-locate EPSG
Markus Neteler
neteler at itc.it
Mon May 1 04:44:11 EDT 2006
On Mon, May 01, 2006 at 03:28:31PM +1200, Hamish wrote:
> > > I have things in /usr/local/... and usually do not use any
> > > parameters for proj.
> > > Maybe /usr/local/share needs to be predefined somewhere to catch
> > > that?
>
> back to the hardcoded /usr/local/share ...
> If you are going to hardcode something, at least scan a little to cover
> the other common cases, (add osx? fink? cygwin?)
I meant (said?) predefine, not hardcode (it was hardcoded the last few years :-).
Summary of wishes:
- configure checks if users sets a share path with --with-proj-share=
- if not PROJSHARE is predefined to path derived from PROJLIB
- then configure checks if the path (be the predefined, be the user selected)
exists
- configure sets PROJSHARE accordingly
Current state:
- PROJSHARE is undefined
- if --with-proj-share is not used (which is normal) then PROJSHARE remains
undefined. Here a solution is needed, it should derive the path from the
PROJLIB setting
We "just" have to figure out how to extract the path from the PROJLIB settings,
then use this unless the user enables --with-proj-share=
Markus
More information about the grass-dev
mailing list