[GRASS-dev] pj_transform() failed: failed to load datum shift file

Massimo Di Stefano massimodisasha at gmail.com
Fri Aug 17 02:55:32 PDT 2012


Hi All,

i'm trying to reproject a vector file in grass6.4.1 from a location "nad 83" to a lonlat location. 

nad83 location is using the maryland parameters :


g.proj -p datumtrans=0

PROJ_INFO-------------------------------------------------
name       : Lat/Lon
proj       : ll
datum      : nad83
ellps      : grs80
no_defs    : defined
nadgrids   : MD
-PROJ_UNITS------------------------------------------------
unit       : degree
units      : degrees
meters     : 1.0
ed
nadgrids   : MD

trying to use v.proj i had :

GRASS 6.4.1 (ll):~ > v.proj input=hydrol location=nad83 mapset=PERMANENT output=hidrol 
Reprojecting primitives: WARNING: pj_transform() failed: failed to load datum shift file
ERROR: Error in pj_do_transform

i guess it is not able to find the datum shift files, i checked on my system and i found that files here :

i'm on osx the files are :
/Library/Frameworks/PROJ.framework/Versions/4/Resources/proj

i'm on osx lion using grass6.4.1, later today i can try to do the same on a linux machine using 6.4.x | 7.0

i suppose grass is able to find them when i created the location, but v.proj instead fails to load that file.
have you any hints on how to fix this ?


thanks!

Massimo.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20120817/206a0b2a/attachment-0001.html>


More information about the grass-dev mailing list