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

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

Merged
merged 5 commits into from
May 20, 2024

Conversation

martinfleis
Copy link
Member

The indexing was broken for non-default RangeIndex. Also, given we currently return enclosures as gdf, it is handy to support it out of the box.

@martinfleis martinfleis requested a review from u3ks May 20, 2024 09:49
Copy link

codecov bot commented May 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.8%. Comparing base (4037c70) to head (029d987).
Report is 22 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #582     +/-   ##
=======================================
+ Coverage   97.4%   97.8%   +0.5%     
=======================================
  Files         26      37     +11     
  Lines       4328    5362   +1034     
=======================================
+ Hits        4214    5246   +1032     
- Misses       114     116      +2     
Files Coverage Δ
momepy/functional/_elements.py 100.0% <100.0%> (ø)
momepy/functional/tests/test_elements.py 100.0% <100.0%> (ø)

@martinfleis martinfleis merged commit ee49502 into pysal:main May 20, 2024
14 checks passed
@martinfleis martinfleis deleted the encl-tess-index-issue branch May 20, 2024 11:11
u3ks pushed a commit to u3ks/momepy that referenced this pull request May 31, 2024
…aFrame as enclosure input (pysal#582)

* BUG: ensure custom enclosure index is supported in tessellation

* support both series and datarame as enclosures input

* tests

* typing
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 the bug Something isn't working label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants