Releases: manaakiwhenua/vector2dggs
v0.12.0
What's Changed
- Optional extras by @alpha-beta-soup in #63
Important
pip install vector2dggs will no longer install any backends. Equivalent installation behaviour is now pip install vector2dggs[all].
Tip
Specific backends can now be installed selectively, e.g. pip install vector2dggs[s2,h3].
Full Changelog: v0.11.1...v0.12.0
v0.11.1
What's Changed
- Protect against SQL injection by @alpha-beta-soup in #57
- Object oriented refactor of DGGS integration scripts by @ndemaio in #56
- closes #11 by @alpha-beta-soup in #61
Full Changelog: v0.11.0...v0.11.1
v0.11.0
What's Changed
- Initial test infrastructure including smoke tests for supported indexing functions by @ndemaio in #54
- Revisions to bisection processing by @alpha-beta-soup in #55 (incidentally addresses #39)
- This change is semi-breaking because the threshold used for bisecting polygons (a preprocessing step before DGGS indexing) is now interpreted as an area (i.e. squared units) rather than a side length of a bounding box.
Full Changelog: v0.10.1...v0.11.0
v0.10.1
No longer using a patched version of a rHEALPix function (see: manaakiwhenua/rhealpixdggs-py#36) used in rhp compaction/normalisation. Consequently, adds a direct dependency on rhealpixdggs-py (minimum version 0.5.12).
Full Changelog: v0.10.0...v0.10.1
v0.10.0
Compression and compaction
Prior to this release, outputs were only available at a single resolution. Now, you can compact (AKA normalise) outputs with -co/--compact. This will apply all possible cell compaction up to the partition bounary (the parent resolution, -pr).
It also now allows the specification of a compression algorithm with -cp/--compression. The default is for Snappy, chosen as default because it is currently the only Parquet compression supported by ArcGIS Pro. Other options, and no compression, are also possible.
Together, there is a difference of several orders of magnitude in output size without any information loss.
The default behaviour is for no compaction, so this is not a breaking change in terms of the API. But, the default compression is none, whereas outputs were being compressed with zstd.
For efficiently working with cells across resolutions, rather than within the same resolution, look for the equivalent of h3-pg's rtree operators for containment and intersection:
Operator:
h3index && h3index
Returns true if the two H3 indexes intersect.Operator:
h3index @> h3index
Returns true if A contains B.Operator:
h3index <@ h3index
Returns true if A is contained by B.
What's Changed
- adds -cp/--compression option by @alpha-beta-soup in #48
- Compaction by @alpha-beta-soup in #53
Full Changelog: v0.9.1...v0.10.0
v0.9.1
Bug fix: related to geopandas/dask-geopandas#328
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- demaion/linetrace by @ndemaio in #38 🥳
- Made sure the parent resolution is of type int internally by @ndemaio in #40
- Fix geohash minimum resolution bug by @alpha-beta-soup in #42
- handles linear rings in katana.py by @alpha-beta-soup in #43 (by promoting any that may arise to Polygon)
- renames tbl/table as lyr/layer to be more generic, closes #29 by @alpha-beta-soup in #44
- Optional spatial sorting before partitioning (...before polyfilling) by @alpha-beta-soup in #45
- closes #21 by @alpha-beta-soup in #46 (Z- and M- dimensional geometries are supported, by dropping to 2D geometries)
Full Changelog: v0.8.0...v0.9.0
Nota bene two breaking changes:
- Command line arguments
-tbl/--tableare now-lyr/--layerbut the functionality is identical, it's just a rename to be more generic. - This seems very unlikely to affect any workflow, but now the pre-indexing spatial sorting is disabled by default (and can be expliclty disabled with
-s none). Former default behaviour can be restored with an explicit-s hilbert. Sorting is perhaps advantegous in some cases, but in most practical cases it adds overhead that exceeds its payoff.
v0.8.0
What's Changed
- Geohash by @alpha-beta-soup in #34
- S2 by @alpha-beta-soup in #35
- S2 : points and linestrings by @alpha-beta-soup in #36
Full Changelog: v0.7.0...v0.8.0