Ejemplo n.º 1
0
 def info(self):
     """
     Return information about this raster in a string format equivalent
     to the output of the gdalinfo command line utility.
     """
     if not capi.get_ds_info:
         raise ValueError('GDAL ≥ 2.1 is required for using the info property.')
     return capi.get_ds_info(self.ptr, None).decode()
Ejemplo n.º 2
0
 def info(self):
     """
     Return information about this raster in a string format equivalent
     to the output of the gdalinfo command line utility.
     """
     if not capi.get_ds_info:
         raise ValueError('GDAL ≥ 2.1 is required for using the info property.')
     return capi.get_ds_info(self.ptr, None).decode()
Ejemplo n.º 3
0
 def info(self):
     """
     Return information about this raster in a string format equivalent
     to the output of the gdalinfo command line utility.
     """
     return capi.get_ds_info(self.ptr, None).decode()