get_weighted_translation#

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

Create overlap totals for zone systems.

Creates totals and joins back up.

Parameters:
  • zone_1 (Info on first zone system)

  • zone_2 (Info on second zone system)

  • lower_zoning (Info on lower zoning and weight data)

  • point_handling (Should point handling run.)

  • point_tolerance (see inputs.)

  • zones (dict)

  • zone_1_points (GeoDataFrame | None)

  • zone_2_points (GeoDataFrame | None)

Returns:

  • Dataframe with columns for overlap total, zone 1 total, zone 2 total

  • weights.

Return type:

DataFrame