added shortest brouter profile
add download safest profile from source repo other small edits to clean up code
This commit is contained in:
parent
39d86edb1a
commit
01a4270d2b
4 changed files with 83 additions and 448 deletions
|
@ -1,7 +1,7 @@
|
|||
getLTSForRoute <- function(i) {
|
||||
getLTSForRoute <- function(i, route_table) {
|
||||
|
||||
# Filter the routes for the current student number
|
||||
current_route <- routes %>% filter(student_number == i)
|
||||
current_route <- route_table %>% filter(student_number == i)
|
||||
|
||||
# Find intersecting OBJECTIDs
|
||||
intersecting_ids <- relevant_buffer$OBJECTID[lengths(st_intersects(relevant_buffer, current_route)) > 0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue