addLayer: add a layer from a shapefile to CCH portal

Description Usage Arguments Details Value Examples

View source: R/addLayer.R

Description

returns url of the created layer

Usage

1
addLayer(filename, ...)

Arguments

filename

a shapefile to post

...

additional arguments passed to authenticateUser

Details

This layer is used to track WFS, WMS, and CSW pointers

Value

layer id for the new layer that was created

Examples

1
2
3
4
5
6
## Not run: 
authenticateUser('bbadger')
addLayer(system.file("extdata", "Sandy_CIDA.zip", 
   package="hazardItems"))

## End(Not run)

USGS-R/hazardItems documentation built on Aug. 15, 2020, 11:28 a.m.