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 details)
Built Distribution
File details
Details for the file clip_mosaic-0.1.0.tar.gz
.
File metadata
- Download URL: clip_mosaic-0.1.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 618181ad6722ecbaeb5d4a08d4bde4a9213ad232af6783376abed14080a00812 |
|
MD5 | c348df43793ddcd9510782f48fd9b4eb |
|
BLAKE2b-256 | 2769cbd8ef2b6b6202dd4923ae5e080740d04c60552b8d01d7b3907fa041e1cf |
File details
Details for the file clip_mosaic-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: clip_mosaic-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66a6935187db56e1ba21b41fd97075cc1727e1a797658cfe881b77a6b08ed579 |
|
MD5 | 6b2994eafa040ea2f7d316c4b87f8fd4 |
|
BLAKE2b-256 | 8d70649e84d5bc55ac01b8d84b73e420201b371527601f29812aa135c4aac39f |