Skip to contents

A function to query routes for several destinations to a single origin

Usage

batch_osrmRoutes(origins, destination, osrm.profile)

Arguments

origins

sf object with origins (homes)

destination

sf object with destination (school)

osrm.profile

string with the osrm profile to be used

Value

an sf object with all the routes