This function allows to take oficial uruguayan geometries, as object "sf", from various servers.

load_geouy(c, crs = 32721, folder = tempdir())

Arguments

c

Define the geometries to download: may be: "Departamentos", "Secciones", "Zonas", etc. View(metadata) for details.

crs

Define the Coordinate Reference Systems you want the output, default 32721

folder

Folder where are the files download if formato == "zip" in metadata. Default tempdir()

Value

sf object with the requested geometries

See also

Other service: add_geom(), geocode_ide_uy(), where_uy(), which_uy()

Examples

# \donttest{ secc <- load_geouy(c = "Secciones")
#> Reading layer `Secciones' from data source `https://mapas.mides.gub.uy:443/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=INECenso:Secciones' using driver `GML' #> Simple feature collection with 232 features and 8 fields #> geometry type: MULTIPOLYGON #> dimension: XY #> bbox: xmin: 366582.2 ymin: 6127919 xmax: 858252.1 ymax: 6671738 #> projected CRS: WGS 84 / UTM zone 21S
# }