Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: adaptive buffer as a tessellation limit #590

Merged
merged 4 commits into from
May 20, 2024

Conversation

martinfleis
Copy link
Member

Making use of Gabriel graph to determine the buffer of each building when defining the study area.

See this notebook for explanation.

It requires libpysal main to properly work...

Copy link

codecov bot commented May 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.9%. Comparing base (4037c70) to head (0b4a39f).
Report is 83 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #590     +/-   ##
=======================================
+ Coverage   97.4%   97.9%   +0.5%     
=======================================
  Files         26      37     +11     
  Lines       4328    5397   +1069     
=======================================
+ Hits        4214    5281   +1067     
- Misses       114     116      +2     
Files Coverage Δ
momepy/elements.py 97.0% <ø> (+0.1%) ⬆️
momepy/functional/_elements.py 100.0% <100.0%> (ø)
momepy/functional/tests/test_elements.py 100.0% <100.0%> (ø)

@martinfleis martinfleis marked this pull request as ready for review May 20, 2024 14:30
@martinfleis martinfleis requested review from u3ks and jGaboardi May 20, 2024 14:30
@martinfleis martinfleis merged commit a64d274 into pysal:main May 20, 2024
14 checks passed
@martinfleis martinfleis deleted the adaptive-buffer branch May 20, 2024 18:02
u3ks pushed a commit to u3ks/momepy that referenced this pull request May 31, 2024
* ENH: adaptive buffer as a tessellation limit

* pass kwargs

* version checks and tests

* fix expected
martinfleis added a commit that referenced this pull request Jun 12, 2024
* functional area_ratio

* Update momepy/functional/_intensity.py

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>

* BUG/ENH: support custom enclosure index is in tessellation and GeoDataFrame as enclosure input (#582)

* BUG: ensure custom enclosure index is supported in tessellation

* support both series and datarame as enclosures input

* tests

* typing

* ENH: adaptive buffer as a tessellation limit (#590)

* ENH: adaptive buffer as a tessellation limit

* pass kwargs

* version checks and tests

* fix expected

* pr changes

* test versioning

---------

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
@martinfleis martinfleis added enhancement New feature or request and removed refactor labels Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants