Some more info:

According to /usr/share/doc/proj/README.Debian, "The Debian proj 
package includes built-in datum conversion.  (It was compiled with unpacked in the nad source directory.)"

According to the proj.4 FAQ ( 
"Verify that you have the binary files (eg. 
/usr/local/share/proj/conus) installed on your system."

It seems that the package does not include /usr/local/share/proj/conus, 
according to "dpkg -L proj", though it does have some other files there.

Also from the FAQ, there's a PROJ_DEBUG environment variable.  Setting 
this I get:

$ cs2cs +proj=latlong +datum=NAD27 +to +proj=latlong +datum=NAD83
pj_open_lib(proj_def.dat): call fopen(/usr/share/proj/proj_def.dat) - succeeded
pj_open_lib(proj_def.dat): call fopen(/usr/share/proj/proj_def.dat) - succeeded
-117 30
pj_open_lib(conus): call fopen(/usr/share/proj/conus) - failed
pj_open_lib(alaska): call fopen(/usr/share/proj/alaska) - failed
pj_open_lib(ntv2_0.gsb): call fopen(/usr/share/proj/ntv2_0.gsb) - failed
pj_open_lib(ntv1_can.dat): call fopen(/usr/share/proj/ntv1_can.dat) - failed
117dW   30dN 0.000

So it does seem that it's the absence of this /usr/share/proj/conus 
file that's the problem.  Has it been accidentally omitted from the 
build, perhaps?

I also consider the fact that the program silently continues and prints 
a wrong answer when it has detected that the file is missing to be a bug.


Pkg-grass-devel mailing list

Reply via email to