Skip to content

Check on expected behaviour of dodgr_contract_graph and junction points #352

Description

@al-obrien

I'm a new user of this package and it has been an excellent experience so far.

I wanted to confirm if an observed behaviour of dodgr_contract_graph is expected. I understand that it will try to reduce the volume of vertices while preserving junctions. However, when plotting how a route navigates through vertices in the full vs contracted network, there are some jagged features and missing vertices that otherwise appear to be a junction. This seems to be a more obvious problem in dense neighborhood regions. Is this expected?

I have provided a side-by-side image below that shows the vertices and route shape on the full and contracted networks. I have also circled, in green, some of the "artifacts": areas that have no vertices when contracted but are junctions. I imagine this is simply how the algorithm behaves under these curvy roads? The road networks were sourced from the {osmextract} package.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions