Skip to content

tiffstats is a Python script for computing pixels statistics from a TIFF image over shapefile features

License

Notifications You must be signed in to change notification settings

sdufourbeausejour/tiffstats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiffstats

DOI

tiffstats is a Python script for computing pixels statistics from a TIFF image over shapefile features

Usage

import tiffstats

tiffstats.tiff_AOIs_from_shp(image_path, shapefile_path, results_dir) # writes a tiff for each feature/AOI in shapefile
tiffstats.compute_statistics(AOI_paths, results_dir, band_index, no_data_value) # computes pixel stats for each AOI tiff

Contributing

Pull requests are welcome.

License

MIT

About

tiffstats is a Python script for computing pixels statistics from a TIFF image over shapefile features

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages