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

hexify multipolygons #124

Closed knaaptime closed 3 years ago

knaaptime commented 3 years ago

125 is resolved by first exploding the input, then handling via split-apply-combine if the resulting unary_union is a multipolygon itself

codecov-io commented 3 years ago

Codecov Report

Merging #124 (399ea20) into master (080fca1) will increase coverage by 4.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
+ Coverage   78.30%   82.32%   +4.02%     
==========================================
  Files          15       15              
  Lines         742      758      +16     
==========================================
+ Hits          581      624      +43     
+ Misses        161      134      -27     
Impacted Files Coverage Δ
tobler/tests/test_utils.py 100.00% <100.00%> (ø)
tobler/util/util.py 89.33% <100.00%> (+2.03%) :arrow_up:
tobler/area_weighted/area_interpolate.py 78.92% <0.00%> (+11.15%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 080fca1...399ea20. Read the comment docs.