tomalrussell / snkit

spatial networks toolkit (python)
MIT License
31 stars 10 forks source link

fix indexing error in drop_duplicate_geometries #55

Closed thomas-fred closed 2 years ago

thomas-fred commented 2 years ago

When running snkit.network.drop_duplicate_geometries on a GeoDataFrame with indicies other than standard {0, 1, 2, n-1, n}, pandas would raise an out-of-bounds indexing error. Change: fix our indexing and add a test.