Skip to content

JuliaGeo/AreaInterpolation.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AreaInterpolation

Stable Dev Build Status

AreaInterpolation.jl is a package to perform "areal interpolation", that is, interpolating values associated with one set of polygons, to another set of polygons that overlap the first set 1.

Similar implementations in other languages can be found in 2 (R), 3 (R), and 4 (Python).

Quick start

The main entry point is the AreaInterpolation.interpolate([alg], source, dest; extensive = (:col_a, :col_b), intensive = (:col1, :col2)). Here source should be a DataFrame with the columns in extensive and intensive, which define how to treat the variables - whether as counts or means.

Performance

AreaInterpolation.jl offers seamless multithreading support, and integrates with the rest of the Julia ecosystem as well! download-13

Related packages

  • ConservativeRegridding.jl also implements the "direct" area-weighted interpolation algorithm, but not others like the pycnophylactic or dasymetric interpolations.

References:

Footnotes

  1. GISTBOK Areal Interpolation chapter

  2. https://github.com/chris-prener/areal

  3. Area-weighted interpolation also exists in R's sf package, (see the sf documentation)

  4. Tobler, a Python package in the PySAL suite

About

Interpolation between areas (polygons) in Julia

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors