... as snapped.nodes and connected.nodes were not the same dtype (former DataFrame, latter GeoDataFrame). snap_nodes now changed to return nodes as GeoDataFrame.
Could alternatively compare the data in the test dataframes and not their types, I don't mind.
test_snap_nodes
was failing here:... as snapped.nodes and connected.nodes were not the same dtype (former DataFrame, latter GeoDataFrame).
snap_nodes
now changed to return nodes asGeoDataFrame
.Could alternatively compare the data in the test dataframes and not their types, I don't mind.