ogxp_pad_imagery.py

DESCRIPTION

Pads source image (adds additional rows and columns) to even multiple of 2048 or 1024.

The output format is GeoTIFF.

NOTE

The source image is NOT re-sampled. It is simply merged on top and to the top left corner of an empty canvas of the correct size. Any padded pixels with appear along the bottom and right edges with RGB values of 0,0,0 (‘black’).

USAGE

1. Select source image.

2. Set tile size to either 2048 or 1024. Default=2048.
The padded image is written to the source image file directory with a name suffix of ‘_ext’.

pad1

pad2