|
| band_type = None |
|
| bands = None |
|
| ct = None |
|
| filename = None |
|
| geotransform = None |
|
| lrx = None |
|
| lry = None |
|
| projection = None |
|
| ulx = None |
|
| uly = None |
|
| xsize = None |
|
| ysize = None |
|
A class holding information about a GDAL file.
◆ copy_into()
gdal_merge_max.file_info_max.copy_into |
( |
| self, |
|
|
| t_fh, |
|
|
| s_band = 1, |
|
|
| t_band = 1, |
|
|
| nodata_arg = None ) |
Copy this files image into target file.
This method will compute the overlap area of the file_info objects
file, and the target gdal.Dataset object, and copy the image data
for the common window area. It is assumed that the files are in
a compatible projection ... no checking or warping is done. However,
if the destination file is a different resolution, or different
image pixel type, the appropriate resampling and conversions will
be done (using normal GDAL promotion/demotion rules).
t_fh -- gdal.Dataset object for the file into which some or all
of this file may be copied.
Returns 1 on success (or if nothing needs to be copied), and zero one
failure.
◆ init_from_name()
gdal_merge_max.file_info_max.init_from_name |
( |
| self, |
|
|
| filename ) |
Initialize file_info from filename
filename -- Name of file to read.
Returns 1 on success or 0 if the file can't be opened.
The documentation for this class was generated from the following file:
- firestarr/src/py/firestarr/gdal_merge_max.py