BuildService: Build a WMS service description for the GDAL WMS driver.

Description Usage Arguments Value Note Author(s) References

View source: R/wms.R

Description

WMS service description file is a XML file that describes required and optional information on how to retrieve an exisiting WMS raster over the web. The extent of the raster tile from the data source is defined by the extent of a SpatialPolygonsDataFrame object (no other ways of providing extent are implemented yet). Raster resolution (pixel size is also provided as a parameter (there seems to be no way to query the original resolution from the service.

Usage

1
  BuildService(WMS, layer, extent, resolution)

Arguments

WMS

WMS-object containing the necessary service information

layer

the name of the layer to be fetched from the data source

extent

SpatialPolygonsDataFrame object to be used to define the extent

resolution

integer value of the resolution (CRS dependent)

Value

character XML string

Note

meant for package internal use only

Author(s)

Joona Lehtomaki joona.lehtomaki@gmail.org

References

http://www.gdal.org/frmt_wms.html


sorvi documentation built on May 2, 2019, 6:16 p.m.