コード例 #1
0
ファイル: source.py プロジェクト: 070519960/Nova-Pagina
 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()
コード例 #2
0
ファイル: source.py プロジェクト: ArcTanSusan/django
 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()
コード例 #3
0
ファイル: source.py プロジェクト: ZekriSara/pfe
 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()