How do I build/configure PROJ.4 to support datum shifting?
After downloading and unpacking the PROJ.4 source, also download and unpack the set of datum shift files. This would be a file like ftp://ftp.remotesensing.org/pub/proj/proj-datumgrid-1.4.zip. This file should be unpacked within the proj/nad directory. Then proceed with the configuration, build and install. This will ensure that the build system knows about the grid shift files, and applies the ascii to binary preprocessing step. On Windows the extra nadshift target must be used. For instance nmake /f makefile.vc nadshift in the proj/src directory. A default build and install on Unix will normally build knowledge of the directory where the grid shift files are installed into the PROJ.4 library (usually /usr/local/share/proj). On Windows the library is normally built thinking that C:\PROJ\NAD is the installed directory for the grid shift files. If the built in concept of the PROJ.4 data directory is incorrect, the PROJ_LIB environment can be defined with the correct directory.