User's Guide

LAS2TIFF

Convert a LAS file to TIFF

Function:

Converts a LAS image to a TIFF Greyscale or Palette-color image.

Parameters:

IN
Input file. The input LAS image.

OUTFILE
Output file. The output TIFF file. This file will be created in the specified directory with the specified name. If the extension is not specified an extension of ;TIF will be used. Also the OUTFILE will be used for the directory and root specification of the intermediate ;BIL file.

DELFLG(YES)
Delete flag. Delete the intermediate ;BIL file.

Example:

  1. LAS> las2tiff in=color;img outfile=bob3;tif delflg=no

    The LAS image color.img will be converted to the TIFF format file bob3.tif. The intermediate file bob3.bil will not be deleted.

  2. LAS> las2tiff in=color;img(500,500,1000,1000:1,2,4) outfile=bob3

    The LAS image color.img will be converted to the TIFF format file bob3.tif. The upper left corner of the output image will correspond to 500,500 of the input image and will have extents of 1000 by 1000. The bands used will be 1, 2 and 4 as red, green, blue repectively. The intermediate file will be deleted.

Description/algorithm

The specified input LAS image will be converted from LAS by TRANSLAS-OUT to a flat transfer file with the file name syntax of OUTFILE;bil. The transfer file will be used to create the output TIFF file.

Nonfatal Error Messages:

    None.

Fatal Error Messages:

  1. [las2tiff-bands] Invalid number of bands

    The number of bands allowed is either 1 or 3 bands. Specify the bands desired if the LAS image has a different number of bands.

  2. [las2tiff-bits] Only handle 8, 16, & 32-bit images

    The number of bits per pixel in the LAS image is not currently supported.

  3. [las2tiff-fatal] Fatal error encountered

    The error message that is displayed immediately preceding this message is the specific error that occured. Processing is terminated.

  4. [las2tiff-las] Error opening LAS image

    The input LAS image file could not be opened. Check file permissions and rerun.

  5. [las2tiff-open] Error opening output image

    The output TIFF image file could not be created. Check file permissions and rerun.

User notes:

  1. This program utilizes the SGI TIFF utility library.

  2. This program was written for NLAPS verification testing.

  3. Refer to TRANSLAS user guide for additional error messages.