wfsinit: Get/Set default parameters url, request version and separator

WFS_set_urlR Documentation

Get/Set default parameters url, request version and separator

Description

The url determines the location of the WFS service. If the url is not specified before a HOQCwfs function is used, the default url (https://geoweb.amstelveen.nl/geoserver/topp/wfs) will be used.
The version determines the version of the WFS requests to be used. If no version is specified before a HOQCwfs function is used, the default version (1.1.0) is be used. Currently only '1.1.0' and '2.0.0' are supported. The sep determines the separator to include in the output of the fg() function. If no sep is specified before a HOQCwfs function is used, the new line character (\n) is be used.

Note that these values are used as the default values for the various functions. They can always be overwritten there.

Usage

WFS_set_url(url = NULL)

WFS_get_url()

WFS_set_version(version = NULL)

WFS_get_version()

WFS_set_sep(sep = NULL)

WFS_get_sep()

Arguments

url

NULL for the default url ( https://geoweb.amstelveen.nl/geoserver/topp/wfs ) or the url of the WFS service otherwise

version

NULL for the default ( 1.1.0 ) request version or an alternative version (e.g. 2.0.0 ) otherwise

sep

NULL for the default ( \n ) separator or an alternative sep (e.g. '' ) otherwise

Value

Character vector with for the Get the current url, version or separator. In case of the Set the old version is returned.

Examples

## Not run: 
WFS_set_url("https://geoweb.amstelveen.nl/geoserver/topp/wfs")

## End(Not run)
WFS_get_url()
WFS_set_version()
WFS_set_version('2.0.0')
WFS_get_version()
WFS_set_sep()
WFS_set_sep('\n')
WFS_get_sep()

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