vll2utm(1)

PROGRAM
vll2utm - Convert explicit location data from geographical coordinates to utm.

SYNTAX

vll2utm

-i  input file

-o  output file

[-s]
    Locations in seconds or degrees (1=seconds)

[-V]
    Gives the version for vll2utm

[-U]
    Gives the usage for vll2utm

[-P]
    Prompts for command line options

[-A [file1]]
    Creates the answer file called vll2utm.ans or file1

[-a [file1]]
    Uses vll2utm.ans or file1 as the answer file

DESCRIPTION
vll2utm converts explicit location data from geographical to universal transverse mercator coordinates.

        When digital elevation model data is imported using dem2viff, it is optional to write explicit location data along with the elevations. If the file input to dem2viff is a 1-degree DEM file, the explicit locations will be given in arc seconds of latitude and longitude. This program may be used to convert the coordinates in arc seconds to their equivalents in utm. This is desirable because the other geographical information programs in Khoros use locations in utm.

        The -s flag specifies whether the geographical coordinates are given in degrees or arc seconds. Dem2viff will always write geographical coordinates in arc seconds, but the degrees option has been included for possible future use.

REQUIRED ARGUMENTS

-i  type: infile
    desc: input file

-o  type: outfile
    desc: output file

OPTIONAL ARGUMENTS

-s  type: boolean
    desc: Locations in seconds or degrees (1=seconds)
    default: true

EXAMPLES
dem2viff -i dem.file -o elevation.img -l 1

vll2utm -i elevation.img -o elevation.img.utm

This sequence of commands first uses dem2viff to import a DEM data file. The -l 1 file specifies that explicit locations will be written with the elevation data. If the DEM file input to dem2viff is a 1-degree DEM, the explicit locations will be given in arc seconds of latitude and longitude. Finally, the explicit locations are converted to utm coordinates using vll2utm.

SEE ALSO
intro(1), verror(3), vgparms(3), vutils(3), lvll2utm(3) dem2viff(1)

RESTRICTIONS
vll2utm requires that the input file contains only one image and that the image must contain explicit location data.

COPYRIGHT
Copyright 1991, University of New Mexico. All rights reserved.