Skip to content

Subdivision assigns wrong node indices in v1.0 #287

@luukvdmeer

Description

@luukvdmeer

In the new implementation of to_spatial_subdivision() in v1.0, it seems that updating node indices in the from and to columns of the edges table is not always done correctly. Not sure yet why, but this is a serious bug that needs to be fixed soon! Reproduce by loading the Cape Town road network from the sfnetworks workshop (https://luukvdmeer.github.io/sfnetworks-workshop/hands-on.html#cape-town-datasets), converting it into a network with as_sfnetwork(), and then calling to_spatial_subdivision() on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't workinghigh priority ⏰Should be fixed soonto_spatial_subdivisionAll issues related to function `to_spatial_subdivision()`

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions