Skip to main content

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


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)

Uploaded Source

Built Distribution

clip_mosaic-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for clip_mosaic-0.1.0.tar.gz
Algorithm Hash digest
SHA256 618181ad6722ecbaeb5d4a08d4bde4a9213ad232af6783376abed14080a00812
MD5 c348df43793ddcd9510782f48fd9b4eb
BLAKE2b-256 2769cbd8ef2b6b6202dd4923ae5e080740d04c60552b8d01d7b3907fa041e1cf

See more details on using hashes here.

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

Hashes for clip_mosaic-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66a6935187db56e1ba21b41fd97075cc1727e1a797658cfe881b77a6b08ed579
MD5 6b2994eafa040ea2f7d316c4b87f8fd4
BLAKE2b-256 8d70649e84d5bc55ac01b8d84b73e420201b371527601f29812aa135c4aac39f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page