recons_inout: Join several gepositions by means of the shortest route in a...

Description Usage Arguments Value Examples

View source: R/Recons_inout.R

Description

Join several gepositions by means of the shortest route in a road network both back and forth.

Usage

1
recons_inout(from_lng, from_lat, data, type = c("in", "out"))

Arguments

from_lng

Origin lng

from_lat

Origin lat

data

points away from the origin in a data frame with lng inthe firts columns and lat in the second one.

type

reconstructed route from poinr A to B (out) or B to A (in)

Value

sf file

Examples

1
2
3
4
x=-96.9236
y=-19.527196
data<-geospatial::georadius(x,y,radius = 1,nPoints = 100)
recons_inout(x,y,data,type="out")

FrankBaut/geospatial documentation built on Nov. 27, 2020, 12:11 p.m.