final_weighted#

caf.space.weighted_funcs.final_weighted(zones, zone_1, zone_2, lower_zoning, *, point_handling=False, point_tolerance=1, zone_1_points=None, zone_2_points=None)[source]#

Run functions from module to produce a weighted translation.

Parameters:
  • zone_1 (Info on first zone system)

  • zone_2 (Info on second zone system)

  • lower_zoning (Info on lower zoning and weight data)

  • zones (dict)

  • point_handling (bool)

  • point_tolerance (float)

  • zone_1_points (GeoDataFrame | None)

  • zone_2_points (GeoDataFrame | None)

Returns:

  • A weighted zone translation DataFrame. This contains more column than the

  • final output and will be passed through more checks for slither and

  • rounding before being output, according to the input parameters.

Return type:

DataFrame