uploadPolygon: Upload a shapefile

Description Usage Arguments Value Author(s)

View source: R/uploadPolygon.R

Description

Upload a shapefile

Usage

1
2
3
uploadPolygonUI(id)

uploadPolygon(input, output, session, authStatus, userDir, studyArea)

Arguments

id

An id string that corresponds with the id used to call the module's UI function.

input

shiny server input object

output

shiny server output object

session

shiny server session object

authStatus

Logical indicating whether a user can upload files.

userDir

User-specific directory in which to store uploaded files.

studyArea

A Spatial object used as a template for postprocessing the uploaded polygon, which is cropped, reprojected, etc. to match studyArea. See postProcess.

Value

Reactive object containing the uploaded polygon.

Author(s)

Alex Chubaty


PredictiveEcology/SpaDES.shiny documentation built on Nov. 11, 2019, 7:12 p.m.