[GRASS5] [bug #3302] (grass) cs2cs with GRASS and NTv2 grid fails

Hamish hamish_nospam at yahoo.com
Wed Jun 8 08:28:15 EDT 2005


> My peferred solution would be, as long as specifying the full path to
> the gridshift file is supposed to work and isn't an undocumented
> feature of  PROJ, 

from the cs2cs man page:

      "The   environment   parameter
       PROJ_LIB establishes the default directory for a
       file reference without an absolute  path.   This
       is  also  used  for  supporting files like datum
       shift files."


I take that to mean it is intended.


> would be to change pj_get_kv() (which is called by g.proj) to prepend
> $GISBASE/etc/nad/ to the name of the gridshift file when it prepares
> the PROJ string, and to do away with pj_set_finder().

If you say so, you're the expert.



Hamish




More information about the grass-dev mailing list