mattijn / topojson

Encode spatial data as topology in Python! 🌍 https://mattijn.github.io/topojson
BSD 3-Clause "New" or "Revised" License
178 stars 27 forks source link

Fix: topology for data without junctions and shared_coords=False, prequantize=False gives error #182

Closed theroggy closed 2 years ago

theroggy commented 2 years ago

Fix + test for relevant cases.

Closes #181

mattijn commented 2 years ago

Thanks for the PR! I had to manually start the GitHub Actions workflow, but it seems some tests did not pass with this change. I do not think that that is intended?

theroggy commented 2 years ago

The tests not passing was indeed not intended... fixed.

mattijn commented 2 years ago

Took me a while to figure out how this change could make all tests pass. But now I understand, thanks!