which_station_in_polygon: Sub-function use to find which stations are in the polygon...

Description Usage Arguments Examples

View source: R/mapping_functions.R

Description

Sub-function use to find which stations are in the polygon the user has drawn

Usage

1
which_station_in_polygon(stations, map_selection)

Arguments

stations

It is a global variable in the Shiny App but is included here as a parameter for general use. See global.R for the data preparation

map_selection

Examples

1
2
As used in the "mapModule_polygonFeature" server module:
selected_stations_indices <- reactive(which_station_in_polygon(stations, input$map_draw_all_features$features))

NVE/Flood_forecasting documentation built on May 7, 2019, 6:04 p.m.