mod_get_layers_Server: Process user uploaded GeoPackages within a Shiny app

View source: R/mod_get_layers.R

mod_get_layers_ServerR Documentation

Process user uploaded GeoPackages within a Shiny app

Description

Process files (GeoPackages) uploaded by the user. For each file uploaded, call list_layers to list all layers in the GeoPacakge and the temporary location of the GeoPackage.

Usage

mod_get_layers_Server(id)

Arguments

id

inputID to correspond to file upload UI component.

Value

field_layers tibble with three columns: layers - layer name; layer_disp_name - clean and informative layer name for select input; file_path - temporary file path to data; and file_type - file type.


livelihoods-and-landscapes/maplandscape documentation built on March 20, 2023, 5:43 a.m.