Zonalstats.with_output
- Zonalstats.with_output(outputdir: str = '.', output_format: str = 'ESRI Shapefile')[source]
Set up the output.
- Parameters:
outputdir (str, optional, default=".") – Output dir where to store results. If none, results are not dumped to a file.
output_format (str, optional, default="ESRI Shapefile") – Format of the output ‘ESRI Shapefile’, ‘GeoJSON’, ‘CSV’, ‘GPKG’, ‘GML’ (see supported_output_formats). If None, it is set to ESRI Shapefile
- Returns:
the current instance so that it is possible to chain the with… calls (fluent API)
- Return type: