Just a bit more on this -
togeo/fromgeo require input from the user.
gdt_conv_cmd does not - all the parameters are specified at the command line
(so this is the one to use).
To convert from EN to LATLONG just specify GEODETIC as the output projection
gdt_conv_cmd -a nad27 -b nutm11 -c nad27 -d geodetic
-x 480000 -y 3620000 -z 0.0
should give output of -
-117.213418 32.719307 0.000000
Here is the usage fyi...
Usage: gdt_conv_cmd [switches]
Converts a point from input datum/projection to output
datum/projection. Transformed results are printed to stdout.
as an x y z triple. Any error messages are sent to stderr.
switches:
-u Display Usage Information.
-a <datum> Input geodetic datum
-b <projection> Input geodetic projection
-c <datum> Output geodetic datum
-d <projection> Output geodetic projection
-x <double> Input x coordinate
-y <double> Input y coordinate
-z <double> Input z coordinate
Example:
gdt_conv_cmd -a nad27 -b nutm11 -c wgs84 -d nutm11
-x 480000 -y 3620000 -z 0.0
gives output of:
479920.197 3620197.254 -21.445
Hope this helps
bye
Mike
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Augenstein
> Sent: Saturday, 4 May 2002 4:30 AM
> To: [EMAIL PROTECTED]; '[EMAIL PROTECTED]'
> Subject: RE: togeo utility use in batch script
>
>
> Adam -
>
> This is easy. Just modify Lance's script to use the
> "gdt_conv_cmd.exe"
> program to
> convert the EN coords to Lat Long (in Dec Deg) within your
> script. If you
> need to convert
> the DD to DMS format, I can give you a small lib script to do that as
> well. If you want
> help on this, let me know.
>
> Eric Augenstein
> Earthstar Geographics
> Email: [EMAIL PROTECTED]
> Tel: +1 858-455-9970
>
>
> -----------------------------------------------------------
>
> To make changes to your subscription, please visit our
> website, http://www.ermapper.com/technicl/ermapperl/index.htm
>
>
-----------------------------------------------------------
To make changes to your subscription, please visit our website,
http://www.ermapper.com/technicl/ermapperl/index.htm