get_layers_metadata {happign} | R Documentation |
Metadata for one couple of apikey and data_type
Description
Metadata are retrieved using the IGN APIs. The execution time can be long depending on the size of the metadata associated with the API key and the overload of the IGN servers.
Usage
get_layers_metadata(data_type, apikey = NULL)
Arguments
data_type |
Should be |
apikey |
API key from |
Details
-
"wfs"
: Web Feature Service designed to return data in vector format (line, point, polygon, ...) ; -
"wms-r"
: Web Map Service focuses on raster data ; -
"wmts"
: Web Map Tile Service is similar to WMS, but instead of serving maps as single images, WMTS serves maps by dividing the map into a pyramid of tiles at multiple scales.
Value
data.frame
See Also
Examples
## Not run:
# Get all metadata for a datatype
metadata_table <- get_layers_metadata("wms-r")
# Get all "administratif" wms layers
apikey <- get_apikeys()[1] #administratif
admin_layers <- get_layers_metadata("wms-r", apikey)
## End(Not run)
[Package happign version 0.3.0 Index]