[Proj] datum shifting - cs2cs build or config problem?

Mark Cheyne cheynm at yahoo.com
Mon Jan 28 22:08:03 EST 2008


I'm trying to test my proj configuration.

There is an example in the FAQ
http://proj.maptools.org/faq.html:

cs2cs +proj=latlong +datum=NAD27 +to +proj=latlong
+datum=NAD83 
-117 30

producing:

117d0'2.901"W   30d0'0.407"N 0.000

But when I try it, the following is produced:

117dW   30dN 0.000

That is, the output is identical to the input.

I am using binaries I built myself on Windows from the
4.5 source. 

If I try the 4.4.6 binaries that are available from
http://proj.maptools.org/ I get even worse results:

*       * 0.000

another symptom is what happens when I try to use
nad2nad. For example:

nad2nad -i 83 -i hpgn=WI -o 83

yields:

<nad2nad>:
hp datum file: WI, failed: No such file or directory
program abnormally terminated

I'm pretty out of my element when it comes to building
the source - merely trying to follow instructions. To
do it, I used Visual Studio 2003 and the commandline
'nmake /f makefile.vc all' on the source located at
c:\proj\src, and I have c:\proj\nad containing the
*.lla grid shift files, and I also have $PROJ_LIB set
to c:\proj. When the build runs, all the binary grid
shift files get created, a good sign.

Sorry if this is old hat, but I'm not having good luck
trying to search the email list archive...

A homebrew for an explanation.  ;-)  Thanks, Mark


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


More information about the Proj mailing list