readWFS: readWFS

View source: R/readWFS.R

readWFSR Documentation

readWFS

Description

Read WFS & returns a sp object

Usage

readWFS(
  url,
  outputFormat = "GML",
  p4s = NULL,
  gmlIdAttributeName = "gml_id",
  target.dir = NULL,
  verbose = TRUE
)

Arguments

url

the baseURL of the WFS GetFeature request

outputFormat

the output format for the WFS GetFeature request, by default "GML"

p4s

an optional proj4string, by default NULL (an attempt will be performed to get the projection from the data)

gmlIdAttributeName

specific to GML, the name of the ID attribute, by default "gml_id"

target.dir

a target directory where temporary GML files will be downloaded

verbose

if log has to printed in the R console. TRUE by default

Value

an object of class "Spatial"

Author(s)

Emmanuel Blondel emmanuel.blondel1@gmail.com Norbert Billet norbert.billet@ird.fr


openfigis/RFigisGeo documentation built on Feb. 26, 2023, 6:37 a.m.