Processing Kernel for remote sensing data
|
program to create mosaic geo-referenced images
pkmosaic [OPTIONS]
program to create mosaic geo-referenced images more...
-short
or --long
options (both --long=value
and --long value
are supported)-h
shows basic options only, long option --help
shows all options short | long | type | default | description |
---|---|---|---|---|
i | input | std::string | Input image file(s). If input contains multiple images, a multi-band output is created | |
o | output | std::string | Output image file | |
a_srs | a_srs | std::string | Override the spatial reference for the output file (leave blank to copy from input file, use epsg:3035 to use European projection and force to European grid | |
e | extent | std::string | get boundary from extent from polygons in vector file | |
ulx | ulx | double | 0 | Upper left x value bounding box |
uly | uly | double | 0 | Upper left y value bounding box |
lrx | lrx | double | 0 | Lower right x value bounding box |
lry | lry | double | 0 | Lower right y value bounding box |
b | band | int | band index(es) to crop (leave empty if all bands must be retained) | |
ot | otype | std::string | Data type for output image ({Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/CInt16/CInt32/CFloat32/CFloat64}). Empty string: inherit type from input image | |
of | oformat | std::string | Output image format (see also gdal_translate). Empty string: inherit from input image | |
ct | ct | std::string | color table (file with 5 columns: id R G B ALFA (0: transparent, 255: solid) | |
dx | dx | double | Output resolution in x (in meter) (empty: keep original resolution) | |
dy | dy | double | Output resolution in y (in meter) (empty: keep original resolution) | |
co | co | std::string | Creation option for output file. Multiple options can be specified. | |
dstnodata | dstnodata | double | 0 | nodata value to put in output image if not valid or out of bounds. |
r | resample | unsigned short | 0 | Resampling method (0: nearest neighbour, 1: bi-linear interpolation). |
d | description | std::string | Set image description | |
cr | crule | std::string | overwrite | Composite rule for mosaic (overwrite, maxndvi, maxband, minband, mean, mode (only for byte images), median, sum |
rb | rband | int | 0 | band index used for the rule (for ndvi, use –ruleBand=redBand –ruleBand=nirBand |
bndnodata | bndnodata | int | 0 | Bands in input image to check if pixel is valid (used for srcnodata, min and max options) |
srcnodata | srcnodata | double | 0 | invalid value for input image |
min | min | double | flag values smaller or equal to this value as invalid. | |
max | max | double | flag values larger or equal to this value as invalid. | |
file | file | bool | false | write number of observations for each pixels as additional layer in mosaic |
w | weight | short | 1 | Weights (type: short) for the mosaic, use one weight for each input file in same order as input files are provided). Use value 1 for equal weights. |
c | class | short | 0 | classes for multi-band output image: each band represents the number of observations for one specific class. Use value 0 for no multi-band output image). |
v | verbose | bool | false | verbose |
Some examples how to use pkmosaic can be found here
Frequently asked questions on pkmosaic can be found here