def get_rasterize_layer_params(src_vector, res=5):
    """Get params for rasterize_layer if you don't have a grid system. 

    Parameters
    ----------
    src_vector: Geopandas.GeoDataFrame
        The vector data to be rasterize.
    res: resolution
        The resolution (in meters) of the grid.

    Returns
    -------
    rows: int
        Target rasterized image's rows.
    cols: int
        Target rasterized image's cols.
    geo_transform: tuple
        Target rasterized image's geo_transform which is the affine parameter.
    """
    xmin, ymin, xmax, ymax = src_vector.total_bounds 
    geo_transform = (xmin, res, 0, ymax, 0, -res)
    cols = int((xmax - xmin) / res)
    rows = int((ymax - ymin) / res)
    return rows, cols, geo_transform