copy_into(self,
t_fh,
s_band=1,
t_band=1,
nodata_arg=None,
verbose=0)
| source code
|
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.
|