I have a geo tiff image of a County/State consisting of useful bands data. I have a kml/geojson file consisting of many small territories' boundaries inside this State/County. I would like to clip geotiff Image at all small territories and export it as a tiff. I cant clip each small sub-territory manually as there are around few thousands of them.
How this can be accomplished in rasterio?