pysal / tobler

Spatial interpolation, Dasymetric Mapping, & Change of Support
https://pysal.org/tobler
BSD 3-Clause "New" or "Revised" License
144 stars 30 forks source link

Composite Weighting for Area Interpolation #154

Open iki77 opened 2 years ago

iki77 commented 2 years ago

I have a source df and a target df that already have population variables, and want to interpolate GRP variables. Normally area interpolation only considers the area of both source df and target df. Is it possible to add additional variables, such as population, for the weighting?

Area Weighting: Area of intersected feature/Total area of the source feature Composite Weighting: (Area of intersected feature + Pop of intersected feature)/(Total area of source feature + Total pop of source feature)

knaaptime commented 2 years ago

i think this is a duplicate of #137?

iki77 commented 2 years ago

The difference is that in #137 it only changes the weighting of intensive variables from area to other variables. What I propose is to add other variables to weighting in addition to the area for both extensive and intensive variables.

Here is an illustration for GDP interpolation:

Interpolate