Skip to content

extract_from_osm returns the same OSM vector data #4

@juanfonsecaLS1

Description

@juanfonsecaLS1

The current version of the function returns the same vector data that was extracted using osm_extract. Later in the process, when traffic counts are assigned to the road links, some long links with multiple junctions are assigned the same flow value, or in some cases multiple counts are valid for sections of the same OSM link.

The following is an example in Hull, the link with osm_id = 83912501 covers a long section of Beverly Road and there are multiple counts.
image

An alternative solution would be producing a new network with dodgr_to_sf after processing the OSM data within the extract_from_osm function.

graph <- dodgr::weight_streetnet(network)
network <- dodgr::dodgr_to_sf(graph)
graph <- dodgr::dodgr_contract_graph(graph)

This would require an additional step when the counts are bi-directional as in the DfT dataset.

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