Skip to contents

Converts a data.frame with road OSM id's and respective LTS levels a Java Map<Long, Integer> for use by r5r_network.

Usage

dt_to_lts_map(dt)

Arguments

dt

data.frame/data.table. Table specifying the LTS levels. The table must contain columns osm_id and lts.

Value

A speedMap (Java HashMap<Long, Integer>)

See also

Other java support functions: dt_to_speed_map(), get_java_version(), java_to_dt()