catr_atom_get_parcels {CatastRo} | R Documentation |
ATOM INSPIRE: Download all the cadastral parcels of a municipality
Description
Get the spatial data of all the cadastral parcels belonging to a single municipality using the INSPIRE ATOM service.
Usage
catr_atom_get_parcels(
munic,
to = NULL,
what = "parcel",
cache = TRUE,
update_cache = FALSE,
cache_dir = NULL,
verbose = FALSE
)
Arguments
munic |
Municipality to extract, It can be a part of a string or the
cadastral code. See |
to |
Optional parameter for defining the Territorial Office to which
|
what |
Information to load. It could be |
cache |
A logical whether to do caching. Default is |
update_cache |
A logical whether to update cache. Default is |
cache_dir |
A path to a cache directory. On |
verbose |
Logical, displays information. Useful for debugging,
default is |
Value
A sf
object.
References
INSPIRE Services for Cadastral Cartography.
See Also
INSPIRE API functions:
catr_atom_get_address()
,
catr_atom_get_address_db_all()
,
catr_atom_get_buildings()
,
catr_atom_get_buildings_db_all()
,
catr_atom_get_parcels_db_all()
,
catr_wfs_get_address_bbox()
,
catr_wfs_get_buildings_bbox()
,
catr_wfs_get_parcels_bbox()
,
catr_wms_get_layer()
Other INSPIRE ATOM services:
catr_atom_get_address()
,
catr_atom_get_address_db_all()
,
catr_atom_get_buildings()
,
catr_atom_get_buildings_db_all()
,
catr_atom_get_parcels_db_all()
,
catr_atom_search_munic()
Other parcels:
catr_atom_get_parcels_db_all()
,
catr_wfs_get_parcels_bbox()
Other spatial:
catr_atom_get_address()
,
catr_atom_get_buildings()
,
catr_wfs_get_address_bbox()
,
catr_wfs_get_buildings_bbox()
,
catr_wfs_get_parcels_bbox()
,
catr_wms_get_layer()
Examples
s <- catr_atom_get_parcels("Melque",
to = "Segovia",
what = "parcel"
)
library(ggplot2)
ggplot(s) +
geom_sf() +
labs(
title = "Cadastral Zoning",
subtitle = "Melque de Cercos, Segovia"
)