Skip to contents

Helper to write ecql filter. Retrieve all attributes from a layer.

Usage

get_wfs_attributes(apikey = NULL, layer = NULL, interactive = FALSE)

Arguments

apikey

character; API key from get_apikeys() or directly from IGN website

layer

character; name of the layer from get_layers_metadata(apikey, "wfs") or directly from IGN website

interactive

character; if TRUE, no need to specify apikey and layer, you'll be ask.

Value

charactervector with layer attributes

Examples

if (FALSE) {

get_wfs_attributes("administratif", "LIMITES_ADMINISTRATIVES_EXPRESS.LATEST:commune")

# Interactive session
get_wfs_attributes(interactive = TRUE)

}