Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current addon manual page.

GRASS logo

NAME

i.landsat.trim - Trims the "fringe" from the borders of Landsat images, for each band separately or with the MASK where coverage exists for all bands. Optionally saves vector footprints of trimmed rasters and MASK. Works with Landsat 5, Landsat 7 (SLC-on).

KEYWORDS

imagery, landsat, raster, vector

SYNOPSIS

i.landsat.trim
i.landsat.trim help
i.landsat.trim [-mgaf] [input=string] [input_base=string] [input_prefix=string] output_prefix=string [rast_buffer=integer] [gener_thresh=integer] [--verbose] [--quiet]

Flags:

-m
Trim raster(s) with the MASK where coverage exists for all bands
-g
Trim raster(s) with the generalized footprint from all bands
-a
Process all bands
-f
Save vector footprint(s) of trimmed raster bands or coverage MASK
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

input=string
Name of input raster band(s)
Example: L5170028_02820070521_B10
input_base=string
Base name of input raster bands
Example: L5170028_02820070521
input_prefix=string
Prefix name of input raster bands
Example: 'B.' for B.1, B.2, ...
output_prefix=string [required]
Prefix for output raster maps
Example: 'trim' generates B.1.trim, B.2.trim, ...
rast_buffer=integer
Distance for raster buffering (in meters)
Default: 300
gener_thresh=integer
Threshold for generalizing of vector footprints or coverage MASK (in meters)
Default: 3000