manaakiwhenua / vector2dggs

DGGS indexer for vector data
https://pypi.org/project/vector2dggs/
GNU Lesser General Public License v3.0
6 stars 0 forks source link

Long linestings are dropped #28

Closed alpha-beta-soup closed 1 month ago

alpha-beta-soup commented 1 month ago

We added support for LineString input in v0.6, but the "katana cut" operation where large features are cut into smaller pieces before DGGS conversion (for memory management) still has a filter for Polygons: https://github.com/manaakiwhenua/vector2dggs/blob/main/vector2dggs/katana.py#L56

This means that any linestring geometries that are larger than the threshold are actually being dropped.