WFS_getcapabilities: GetCapabilities for the WFS service

View source: R/WFS_getcapabilities.R

WFS_getcapabilitiesR Documentation

GetCapabilities for the WFS service

Description

Retrieve the GetCapabilities document with request version version for WFS service url This function uses the httr::GET() interface.

Usage

WFS_getcapabilities(
  url = WFS_get_url(),
  version = WFS_get_version(),
  debug = F,
  httrverbose = rep(F, 4),
  out_path = NULL
)

Arguments

url

URL of the WFS service. See WFS_get_url() for the default

version

software version for WFS service request. See WFS_get_version() for the default

debug

Logical indicating the httr response is to be returned

httrverbose

Logical indicating full request and httr response code will be displayed

out_path

(optional) path where the xml result is to be saved

Value

xml document with the GetCapabilities information for this WFS service or character string 'UNEXPECTED ERROR' when an error was encountered

Examples

## Not run: 
WFS_getcapabilities("https://geoweb.amstelveen.nl/geoserver/topp/wfs","1.1.0",out_path="gc.xml")

## End(Not run)

HanOostdijk/HOQCwfs documentation built on March 6, 2023, 8:18 a.m.