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 "FC-gF[0]" option is used the GeoTIFF information from the file will be installed into the output file. The "FC-eF[0] worldfile" option will override the tiepoint and scale information from the metadata file based on the contents of the ESRI worldfile.
If the "FC-gF[0]" 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:
FC % geotifcp -h F[0]
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
- FC-gF[0] file
-
install GeoTIFF metadata from file
- FC-4F[0] proj4_str
-
install GeoTIFF metadata from proj4 string
- FC-eF[0] file
-
install positioning info from ESRI Worldfile file
- FC-aF[0]
-
append to output instead of overwriting
- FC-8F[0]
-
write BigTIFF instead of default ClassicTIFF
- FC-oF[0] offset
-
set initial directory offset
- FC-pF[0] FCcontigF[0]
-
pack samples contiguously (e.g. RGBRGB...)
- FC-pF[0] FCseparateF[0]
-
store samples separately (e.g. RRR...GGG...BBB...)
- FC-sF[0]
-
write output in strips
- FC-tF[0]
-
write output in tiles
- FC-iF[0]
-
ignore read errors
- FC-dF[0]
-
truncate 8 bitspersample to 4bitspersample
- FC-rF[0] #
-
make each strip have no more than # rows
- FC-wF[0] #
-
set output tile width (pixels)
- FC-lF[0] #
-
set output tile length (pixels)
- FC-fF[0] FClsb2msbF[0]
-
force lsb-to-msb FillOrder for output
- FC-fF[0] FCmsb2lsbF[0]
-
force msb-to-lsb FillOrder for output
- FC-cF[0] lzw[:opts]
-
compress output with Lempel-Ziv & Welch encoding
- FC-cF[0] zip[:opts]
-
compress output with deflate encoding
- FC-cF[0] jpeg[:opts]
-
compress output with JPEG encoding
- FC-cF[0] packbits
-
compress output with packbits encoding
- FC-cF[0] g3[:opts]
-
compress output with CCITT Group 3 encoding
- FC-cF[0] g4
-
compress output with CCITT Group 4 encoding
- FC-cF[0] none
-
use no compression algorithm on output
Group 3 options:
- FC1dF[0]
-
use default CCITT Group 3 1D-encoding
- FC2dF[0]
-
use optional CCITT Group 3 2D-encoding
- FCfillF[0]
-
byte-align EOL codes
For example, FC-cF[0] g3:2d:fill to get G3-2D-encoded data with byte-aligned EOLs
JPEG options:
- FC#F[0]
-
set compression quality level (0-100, default 75)
- FCrF[0]
-
output color image as RGB rather than YCbCr
For example, FC-cF[0] jpeg:r:50 to get JPEG-encoded RGB data with 50% comp. quality
LZW and deflate options:
- FC#F[0]
-
set predictor value
For example, FC-cF[0] lzw:2 to get LZW-encoded data with horizontal differencing