View source: R/WFS_getcapabilities.R
WFS_getcapabilities_POST | R Documentation |
Retrieve the GetCapabilities document with request version version
for WFS service url
.
This function uses the httr::POST()
interface.
WFS_getcapabilities_POST( url = WFS_get_url(), version = WFS_get_version(), debug = F, httrverbose = F, out_path = NULL )
url |
Character with base url for WFS service |
version |
software version for WFS service request. See |
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 |
xml document with the GetCapabilities
information for this WFS service
or character string 'UNEXPECTED ERROR' when an error was encountered
## Not run: base_url <- "https://geodata.nationaalgeoregister.nl/wijkenbuurten2019/wfs" cap1 = WFS_getcapabilities_POST(base_url,'1.1.0') WFS_util_showxml(cap1,lines=2:3) cap2 <- WFS_getcapabilities_POST(url=WFS_get_url(),version='1.1.0') WFS_util_showxml(cap2,lines=2:3) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.