@classmethod
def from_dataset(cls, dataset):
    """Create geolocation from GDAL dataset
        Parameters
        ----------
        dataset : gdal.Dataset
            input dataset to copy Geolocation metadata from
        """
    self = cls.__new__(cls)
    self.x_vrt = None
    self.y_vrt = None
    self.data = dataset.GetMetadata('GEOLOCATION')
    return self
