mod_in_file_server: in_file Server Function

View source: R/mod_in_file.R

mod_in_file_serverR Documentation

in_file Server Function

Description

in_file Server Function

Usage

mod_in_file_server(
  input,
  output,
  session,
  in_ras,
  HTboxI,
  file_path,
  clear_map,
  change_ht,
  input_box,
  feet,
  values,
  switch_fil,
  met,
  lab_sel
)

Arguments

input, output, session

Internal parameters for shiny.

in_ras

A reactiveValues that contains numerous rasters

HTboxI

A reactive that holds the change height.

file_path

A reactive that let's the function know that it can start running (e.g. after a file path has been recognized).

clear_map

This is a reactive input that will clear everything back to the beginning. Some checkboxs will not be set back to original (feet/meters) but height and aoi will.

change_ht

A reactive that initiates the button to change height.

input_box

A reactiveValues that when the app is cleared the heights will go back to the original values.

feet

A reactive that initiates the observeEvent to look at whether to use feet or meters when converting raster.

values

A reactiveValues that stores the sf information when cropping leaflet map. This makes it possible to crop but also let's the app know what metric to use (feet/meters).

switch_fil

A reactive that actually changes back/forth from feet/meters

met

A reactive that initiates the observeEvent to look at whether to use feet or meters when converting raster.

lab_sel

A reactive that initiates the option for labeling in ft or meters or z.


USFSr1GeospatialGroup/trexr documentation built on Nov. 4, 2024, 3:06 p.m.