:mod:`eggshell.eo.gdal_merge` ============================= .. py:module:: eggshell.eo.gdal_merge Module Contents --------------- .. data:: progress .. data:: __version__ .. data:: verbose :annotation: = 0 .. data:: quiet :annotation: = 0 .. function:: DoesDriverHandleExtension(drv, ext) .. function:: GetExtension(filename) .. function:: GetOutputDriversFor(filename) .. function:: GetOutputDriverFor(filename) .. function:: raster_copy(s_fh, s_xoff, s_yoff, s_xsize, s_ysize, s_band_n, t_fh, t_xoff, t_yoff, t_xsize, t_ysize, t_band_n, nodata=None) .. function:: raster_copy_with_nodata(s_fh, s_xoff, s_yoff, s_xsize, s_ysize, s_band_n, t_fh, t_xoff, t_yoff, t_xsize, t_ysize, t_band_n, nodata) .. function:: raster_copy_with_mask(s_fh, s_xoff, s_yoff, s_xsize, s_ysize, s_band_n, t_fh, t_xoff, t_yoff, t_xsize, t_ysize, t_band_n, m_band) .. function:: names_to_fileinfos(names) Translate a list of GDAL filenames, into file_info objects. names -- list of valid GDAL dataset names. Returns a list of file_info objects. There may be less file_info objects than names if some of the names could not be opened as GDAL files. .. py:class:: file_info A class holding information about a GDAL file. .. method:: 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. .. method:: report(self) .. method:: 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. .. function:: Usage() .. function:: main(argv=None)