# NOT RUN {
# json by default
mr_features_get(type = "MarineRegions:eez", featureID = "eez.3")
# csv
mr_features_get(type = "MarineRegions:eez", featureID = "eez.3",
format = "csv")
# KML
mr_features_get(type = "MarineRegions:eez", featureID = "eez.3",
format = "KML")
# if you want SHAPE-ZIP, give a file path
# FIXME - shape files not working right now
# file <- tempfile(fileext = ".zip")
# mr_features_get(type = "MarineRegions:eez", featureID = "eez.3",
# format = "SHAPE-ZIP", path = file)
# file.exists(file)
# unlink(file)
# glm32
mr_features_get(type = "MarineRegions:eez", featureID = "eez.3",
format = "gml32")
# version parameter
## notice the reversed coordinates
mr_features_get(type = "MarineRegions:eez", featureID = "eez.3")
mr_features_get(type = "MarineRegions:eez", featureID = "eez.3",
version = "1.0.0")
# }
Run the code above in your browser using DataLab