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

Shapely error #8

Closed ChocopieKewpie closed 1 year ago

ChocopieKewpie commented 1 year ago

Topology exception: input geom 0 is invalid.

Pass makevalid method within katana cut

alpha-beta-soup commented 1 year ago

Can be reproduced with this layer https://data.linz.govt.nz/layer/50328-nz-river-polygons-topo-150k/ using a --cut_threshold of ~2700 m. Increasing --cut_threshold (e.g. 5000 m) does not trigger it, suggesting it's related to cutting input geometries.