GEOTIFCP

Section: libgeotiff Manual Pages (1)
Updated: August 2016
Page Index
 

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

-g file
install GeoTIFF metadata from file
-4 proj4_str
install GeoTIFF metadata from proj4 string
-e file
install positioning info from ESRI Worldfile file
-a
append to output instead of overwriting
-8
write BigTIFF instead of default ClassicTIFF
-o offset
set initial directory offset
-p contig
pack samples contiguously (e.g. RGBRGB...)
-p separate
store samples separately (e.g. RRR...GGG...BBB...)
-s
write output in strips
-t
write output in tiles
-i
ignore read errors
-d
truncate 8 bitspersample to 4bitspersample
-r #
make each strip have no more than # rows
-w #
set output tile width (pixels)
-l #
set output tile length (pixels)
-f lsb2msb
force lsb-to-msb FillOrder for output
-f msb2lsb
force msb-to-lsb FillOrder for output
-c lzw[:opts]
compress output with Lempel-Ziv & Welch encoding
-c zip[:opts]
compress output with deflate encoding
-c jpeg[:opts]
compress output with JPEG encoding
-c packbits
compress output with packbits encoding
-c g3[:opts]
compress output with CCITT Group 3 encoding
-c g4
compress output with CCITT Group 4 encoding
-c none
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
fill
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)
r
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)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO