docs: def _print_geotiff(self):
          """
          Print geotiff information.  Shamelessly ripped off from gdalinfo.py
  
          Returns
          -------
          str
              String representation of the degenerate geotiff.
          """
          if self.data is None:
              return "corrupt"
          in_mem_name = '/vsimem/geo.tif'
          gdal.FileFromMemBuffer(in_mem_name, self.raw_data)
          gtif = gdal.Open(in_mem_name)
  
          # Report projection
          proj_ref = gtif.GetProjectionRef()
          sref = osr.SpatialReference()
          sref.ImportFromWkt(proj_ref)
          psz_pretty_wkt = sref.ExportToPrettyWkt(False)
  
          # report geotransform
          geo_transform = gtif.GetGeoTransform(can_return_null=True)
          fmt = ('Origin = ({origin_x:.15f},{origin_y:.15f})\n'
                 'Pixel Size = ({pixel_x:.15f},{pixel_y:.15f})')
          geotransform_str = fmt.format(origin_x=geo_transform[0],
                                        origin_y=geo_transform[3],
                                        pixel_x=geo_transform[1],
                                        pixel_y=geo_transform[5])
  
          # setup projected to lat/long transform if appropriate
          if proj_ref is not None and len(proj_ref) > 0:
              hProj = osr.SpatialReference(proj_ref)
              if hProj is not None:
                  hLatLong = hProj.CloneGeogCS()
  
              if hLatLong is not None:
                  gdal.PushErrorHandler('CPLQuietErrorHandler')
                  hTransform = osr.CoordinateTransformation(hProj, hLatLong)
                  gdal.PopErrorHandler()
                  msg = 'Unable to load PROJ.4 library'
  
          # report corners
          uleft = self.GDALInfoReportCorner(gtif, hTransform, "Upper Left", 0, 0)
          lleft = self.GDALInfoReportCorner(gtif, hTransform, "Lower Left",
                                            0, gtif.RasterYSize)
          uright = self.GDALInfoReportCorner(gtif, hTransform, "Upper Right",
                                             gtif.RasterXSize, 0)
          lright = self.GDALInfoReportCorner(gtif, hTransform, "Lower Right",
                                             gtif.RasterXSize, gtif.RasterYSize)
          center = self.GDALInfoReportCorner(gtif, hTransform, "Center",
                                             gtif.RasterXSize / 2.0,
                                             gtif.RasterYSize / 2.0)
  
          gdal.Unlink(in_mem_name)
  
          fmt = ("Coordinate System =\n"
                 "{coordinate_system}\n"
                 "{geotransform}\n"
                 "Corner Coordinates:\n"
                 "{upper_left}\n"
                 "{lower_left}\n"
                 "{upper_right}\n"
                 "{lower_right}\n"
                 "{center}")
          msg = fmt.format(coordinate_system=self._indent(psz_pretty_wkt),
                           geotransform=geotransform_str,
                           upper_left=uleft, upper_right=uright,
                           lower_left=lleft, lower_right=lright, center=center)
          return msg