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

Creating a topology for data without junctions and shared_coords=False, prequantize=False gives error #181

Closed theroggy closed 2 years ago

theroggy commented 2 years ago

Creating a topology for data that has no junctions with shared_coords=False, prequantize=False gives the following error: AttributeError: 'LineString' object has no attribute 'tolist'

image

I already had a look and will post a PR with a fix soon...