npn_get_layer_details: Get Geospatial Data Layer Details

View source: R/npn_geoserver.R

npn_get_layer_detailsR Documentation

Get Geospatial Data Layer Details

Description

This function will return information about the various data layers available via the NPN's geospatial web services. Specifically, this function will query the NPN's GetCapabilities endpoint and parse the information on that page about the layers. For each layer, this function will retrieve the layer name (as to be specified elsewhere programmatically), the title (human readable), the abstract, which describes the data in the layer, the dimension name and dimension range for specifying specific date values from the layer.

Usage

npn_get_layer_details()

Details

Information about the layers can also be viewed at the getCapbilities page directly: https://geoserver.usanpn.org/geoserver/wms?request=GetCapabilities

Value

Data frame containing all layer details as specified in function description.

Examples

## Not run: 
layers <- npn_get_layer_details()

## End(Not run)

usa-npn/rnpn documentation built on Feb. 4, 2024, 7:29 a.m.