Clip & Mosaic multiple TIFF Images with shapefiles.
Project description
Clip Mosaic
Clip & Mosaic multiple TIFF Images with shapefiles.
Python>=3.10
GDAL, rasterio and geopandas must be installed before using
It is recommended that all the tifs to be mosaiced have the same projection, resolution and other metadata. Otherwise, uncertain errors may occur or undesired results may be obtained.
Usage:
# testdata is the folder containing the tif images
from clip_mosaic import ClipMosaic
clipper = ClipMosaic('testdata', True)
clipper.clip_by_shp('testdata/testrange.shp', 'test_clip.tif')
Please read the source code (which is clearly written and easily understood) for more usage. :D
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clip_mosaic-0.1.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for clip_mosaic-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66a6935187db56e1ba21b41fd97075cc1727e1a797658cfe881b77a6b08ed579 |
|
MD5 | 6b2994eafa040ea2f7d316c4b87f8fd4 |
|
BLAKE2b-256 | 8d70649e84d5bc55ac01b8d84b73e420201b371527601f29812aa135c4aac39f |