seansiddens / scgt

Santa Cruz Geographical Toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SCGT

Santa Cruz Geographical Toolkit

This library provides convenience functions to read and write GeoTiff files, including iterating over their tiles.

Authors:

Basic Usage

from scgt import GeoTiff, Tile, Reader

gt_in = GeoTiff("somefile.tif")
reader = gt.get_reader(b=border_size, w=block_size, h=block_size)
with gt_in.clone_shape("outputfile.tif") as gt_out:
    for tile in reader:
        new_tile = process(tile)
        gt_out.set_tile(new_tile)

For more details, see the documentation.

About

Santa Cruz Geographical Toolkit

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 99.9%Language:Shell 0.1%