[OSRS-PROJ] installing datum-shift files on HP-UX

Duncan Agnew agnew at bilby.ucsd.edu
Tue Aug 20 16:45:58 EDT 2002


I have installed PROJ 4.4.5 on an HP-Unix system. The install had one
problem: the ASCII datum-shift files in nad were not copied to src/nad
and so were not installed in the /usr/local/share/proj area--so I
moved these files after the regular install, and ran "make install" in src/nad
with no problems. However, there seems to be a hitch in the programs'
finding the datum-shift files: cs2cs only does so on the second and later
coordinate pairs (but then gives the right answer), and nad2nad fails:

	%cs2cs +proj=latlong +datum=NAD27 +to +proj=latlong +datum=NAD27
	-117d 30d
	117dW	30dN 0.000

	%cs2cs +proj=latlong +datum=NAD27 +to +proj=latlong +datum=NAD83
	-117d 30d
	*	* 0.000
	-117d 30d
	117d0'2.901"W	30d0'0.407"N 0.000

	% nad2nad -i 27 -o 83 -r conus
	Rel. 4.3.3, 23 Sept. 1995
	datum file: conus, failed: No such file or directory
	program abnormally terminated

to demonstrate that the files are there, here is an  ls  and the line in
my .cshrc file:

	% ls -l /usr/local/share/proj/co*
	-rw-rw-r--   agnew      264392 Aug  6 21:05 /usr/local/share/proj/conus
	% fgrep PROJ ~/.cshrc
	setenv PROJ_LIB /usr/local/share/proj

I'd appreciate any suggestions.

And, three miscellaneous comments:

	1. In the (generic) INSTALL file the instruction to use ./configure
should I think be ../configure

	2. What is the third output value from cs2cs?

	3. The Oxford English Dictionary (which I can get online) does
not have gradian. As this is probably new, redundant with existing usage, and
misleading (radians are not involved) shouldn't it be deprecated?

	Thanks for producing such a useful system--I have already used it
to solve a mystery with some Arc/Info files (which claimed to contain projected
coordinates that used WGS84 but actually used Clarke 1866)--now, if I
can just get the datum shifts to work...

Duncan Agnew
Scripps Inst. of Oceanography
La Jolla CA USA
agnew at bilby.ucsd.edu

PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.

More information about the Proj mailing list