Skip to content

Commit

Permalink
[Raster.write] improved documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
johntruckenbrodt committed Feb 24, 2022
1 parent 9cae296 commit 15c52cd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions spatialist/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -1108,10 +1108,13 @@ def write(self, outname, dtype='default', format='GTiff', nodata='default', over
the y/row offset
array: numpy.ndarray
write different data than that associated with the Raster object
options: list or None
a list of options for creating the output dataset; see :osgeo:meth:`gdal.Driver.Create`
options: list[str] or None
a list of options for creating the output dataset via :osgeo:meth:`gdal.Driver.Create`.
For drivers `GTiff` and `COG`, TIFF tags can also be defined, which are then written to the
file using :osgeo:meth:`gdal.Dataset.SetMetadataItem`.
For example ``TIFFTAG_SOFTWARE=spatialist``.
overviews: list or None
a list of integer overview levels to be created; see :osgeo:meth:`gdal.Dataset.BuildOverviews`
a list of integer overview levels to be created; see :osgeo:meth:`gdal.Dataset.BuildOverviews`.
overview_resampling: str
the resampling to use for creating the overviews
Expand Down

0 comments on commit 15c52cd

Please sign in to comment.