Description Usage Arguments Value Note Author(s) References
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.
1 | BuildService(WMS, layer, extent, resolution)
|
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) |
character XML string
meant for package internal use only
Joona Lehtomaki joona.lehtomaki@gmail.org
http://www.gdal.org/frmt_wms.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.