spacv
spacv copied to clipboard
Fix deprecations; support geographic coordinates; add some type hinting/formatting
I've added some general updates to bring spacv a bit more into alignment with its dependencies, as well as added a few bugfixes and quality-of-life improvements.
- Fixes #4 (deprecated shapely syntax)
- Fixes deprecated numpy typing
- Fixes error when zero buffer is provided (similar to #5, and in fact I think I like their solution a bit better)
- Adds support for geographic coordinates
- Fixes semivariance indexing bug that prevented curve_fit from fitting
- Adds some black formatting for consistency
- Adds some type hinting
- Fixes deprecated geopandas
sjoinparam usage - Only calculates autocorrelation ranges for a maximum of 30,000 points to prevent memory overflows for large datasets
- Fixes pygeos install issue for python 3.12 by removing it from dependencies since pygeos was merged into Shapely.