def get_scale_factor(srs):
    """
    Extract the scale factor, k, from a spatial reference system (if present)

    Parameters
    ----------
    srs : object
          OSR spatial reference system

    Returns
    -------
        : float
          The scaling factor
    """

    return srs.GetProjParm('scale_factor', 1.0)