update_polygons: Obtain polygons

Description Usage Arguments Value

View source: R/jointrisk.R

Description

This function is used to update and return polygon table.

Usage

1
update_polygons(source, polygons = NULL, streets = NULL)

Arguments

source

A data.table used to update the polygon. Use load_risk_cgen(file) or get_cgen_risk() (require extraw).

polygons

A polygons ref to update from.

streets

A LINESTRING object of navstreets with LANE_RADIUS and geometry elements.

Value

A list with a message and a spatial feature data frame.


Boostao/jointrisk documentation built on Jan. 6, 2022, 12:28 a.m.