You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting a PR to rework and move the get_extent() function from @timtreis from spatialdata-plot to spatialdata. This PR is needed for some tiles generation code that @EliHei2 is working on.
Merging #318 (13da8cd) into main (14bf585) will increase coverage by 0.67%.
The diff coverage is 97.20%.
❗ Current head 13da8cd differs from pull request most recent head d6bd822. Consider uploading reports for the commit d6bd822 to get more accurate results
Actually it's completed and ready for review. Talked with @timtreis and he may add some extra functionalities/convenience parameters (used in spatialdata-plot) in a follow up PR.
@Sonja-Stockhaus thanks for the bugfix and the refactoring! Please let me know when you finish with the additions and the PR is ready for review. You can tag me here/write me in Zulip.
The reason will be displayed to describe this comment to others. Learn more.
In the PR I kept the removal of empty points, but I have removed the split of shapes and points. It can be easily restored inside the function _get_extent_of_shapes() if you want. We don't expect to need it now, but it would be still ok to have, just to make the code more future proof.
As you can see, the Python 3.9 tests fail in a0e26ba (#318), but they succeed in 184dd82 (#318). Not sure why it happens, but as a workaround @timtreis suggested to replace the | with Union, and to silence Ruff.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Starting a PR to rework and move the
get_extent()function from @timtreis fromspatialdata-plottospatialdata. This PR is needed for some tiles generation code that @EliHei2 is working on.