[OSRS-PROJ] nad2nad command syntax
Frank Warmerdam
warmerdam at pobox.com
Mon Apr 8 06:42:44 PDT 2002
Jack Bowling wrote:
> I have installed the linux Intel binary rpms from the Proj homepage.
> Everything installed well on my redhat 7.2 box. However, when I try
> to perform some UTM conersions as per the man page, this is what I
> get:
>
> # nad2nad -i,83,UTM=10,-o,27,UTM=10 -
> Rel. 4.4.0, 21 March 2000
> <nad2nad>:
> invalid selection
> program abnormally terminated
>
> As far as I can tell from the man page and reading the mailing list
> archives, the syntax is correct. Could the problem be that the data
> for the part of Canada that I am attempting to convert is not
> compiled into the binary version?
Jack,
It looks like the nad2nad argument parsing is case sensitive, so you should
be doing:
% nad2nad -i,83,utm=10,-o,27,utm=10 -
BTW, a similar effect can be had from the cs2cs command.
% cs2cs +proj=utm +zone=10 +datum=NAD83 +to +proj=utm +zone=10 +datum=NAD27
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
----------------------------------------
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.
More information about the Proj
mailing list