'Initialize Feature from a pointer and its Layer object.'

def __init__(self, feat, layer):

    if (not feat):
        raise GDALException('Cannot    create    OGR    Feature,    invalid    pointer    given.')
    self.ptr = feat
    self._layer = layer
