'Return the Spatial Reference used in this Layer.'

@property
def srs(self):

    try:
        ptr = capi.get_layer_srs(self.ptr)
        return SpatialReference(srs_api.clone_srs(ptr))
    except SRSException:
        return None
