View source: R/get_capabilities.R
argentum_get_capabilities | R Documentation |
Get WMS or WFS Capabilities
argentum_get_capabilities(url, max_tries = 3, timeout = 30)
url |
The full URL of the WMS or WFS service, including all parameters |
max_tries |
The maximum number of attempts to connect |
timeout |
The timeout for each attempt in seconds |
An XML document containing the service capabilities
try({
capabilities <- argentum_get_capabilities("http://example.com/wfs")
print(capabilities)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.