konigsberg_graph: Create a road and bridge network from OSM data

Description Usage Arguments Value

View source: R/graph_construction.R

Description

Creates a base graph object with the appropriate edge and vertex attributes from OSM.

Usage

1
2

Arguments

src

An osmar or a base_konigsberg_graph object.

path_filter

A function that filters which Ways will be traversable in the graph. See way_filters.

bridge_filter

A function that marks which Ways are bridges that need to be crossed. See bridge_filters.

Value

A konigsberg_graph object.


dSHARP-CMU/konigsbergr documentation built on Sept. 11, 2019, 3:55 p.m.