Scroll to navigation

GEOTIFCP(1) libgeotiff Manual Pages GEOTIFCP(1)

NAME

geotifcp - Copy TIFF with updated GeoTIFF Metadata

SYNOPSIS

geotifcp [options] [-e esri_worldfile] [-g metadata] input output

DESCRIPTION

geotifcp is identical in function to the LIBTIFF program tiffcp, with the additional feature that if the "-g" option is used the GeoTIFF information from the file will be installed into the output file. The "-e worldfile" option will override the tiepoint and scale information from the metadata file based on the contents of the ESRI worldfile.

If the "-g" option is not used the geotiff information from the source file is preserved in the new output file.

"geotifcp" inherits all the other file-transformation capabilities of the tiffcp program; for help on the additional parameters give the command:

% geotifcp -h

The metadata format is the same as is described in the listgeo(1) program. Normally metadata files for use with geotifcp are generated from a similar file with listgeo, and then modified by hand as required.

OPTIONS

install GeoTIFF metadata from file
-4 proj4_str
install GeoTIFF metadata from proj4 string
install positioning info from ESRI Worldfile file
append to output instead of overwriting
-8
write BigTIFF instead of default ClassicTIFF
set initial directory offset
pack samples contiguously (e.g. RGBRGB...)
store samples separately (e.g. RRR...GGG...BBB...)
write output in strips
write output in tiles
ignore read errors
truncate 8 bitspersample to 4bitspersample
make each strip have no more than # rows
set output tile width (pixels)
set output tile length (pixels)
force lsb-to-msb FillOrder for output
force msb-to-lsb FillOrder for output
compress output with Lempel-Ziv & Welch encoding
compress output with deflate encoding
compress output with JPEG encoding
compress output with packbits encoding
compress output with CCITT Group 3 encoding
compress output with CCITT Group 4 encoding
use no compression algorithm on output

Group 3 options:

1d
use default CCITT Group 3 1D-encoding
2d
use optional CCITT Group 3 2D-encoding
byte-align EOL codes

For example, -c g3:2d:fill to get G3-2D-encoded data with byte-aligned EOLs

JPEG options:

#
set compression quality level (0-100, default 75)
output color image as RGB rather than YCbCr

For example, -c jpeg:r:50 to get JPEG-encoded RGB data with 50% comp. quality

LZW and deflate options:

#
set predictor value

For example, -c lzw:2 to get LZW-encoded data with horizontal differencing

SEE ALSO

applygeo(1) listgeo(1)

August 2016 libgeotiff 1.4.1