Skip to contents

Retrieve cadastral data

Download complete municipal datasets, query individual cadastral features and retrieve georeferenced map images.

Complete municipal datasets

Download all addresses, buildings or cadastral parcels for a municipality through ATOM INSPIRE services. Use catr_atom_search_munic() to find municipality codes.

catr_atom_get_address()
ATOM INSPIRE: Download all addresses for a municipality
catr_atom_get_buildings()
ATOM INSPIRE: Download all buildings for a municipality
catr_atom_get_parcels()
ATOM INSPIRE: Download all cadastral parcels for a municipality

ATOM download catalogs

Inspect download URLs and available municipalities by territorial office before retrieving complete datasets.

catr_atom_get_address_db_all() catr_atom_get_address_db_to()
ATOM INSPIRE: List address download URLs
catr_atom_get_buildings_db_all() catr_atom_get_buildings_db_to()
ATOM INSPIRE: List building download URLs
catr_atom_get_parcels_db_all() catr_atom_get_parcels_db_to()
ATOM INSPIRE: List cadastral parcel download URLs

Features by area or identifier

Query address, building and cadastral parcel features through WFS INSPIRE services.

Georeferenced map images

Download cadastral map images through WMS INSPIRE. Use the spatial objects returned by WFS queries to define the map extent.

catr_wms_get_layer()
WMS INSPIRE: Download georeferenced map images

Find cadastral identifiers

Convert between cadastral references and coordinates, or look up province and municipality codes.

References and coordinates

Convert a cadastral reference to coordinates, find the reference at a coordinate pair or search nearby when no exact match exists.

catr_ovc_get_cpmrc()
OVCCoordenadas: Geocode a cadastral reference
catr_ovc_get_rccoor()
OVCCoordenadas: Reverse geocode coordinates
catr_ovc_get_rccoor_distancia()
OVCCoordenadas: Find cadastral references near coordinates

Province and municipality lookup

Find Spanish Cadastre province and municipality identifiers by name, code or coordinates.

catr_atom_search_munic()
ATOM INSPIRE: Search for municipality codes
catr_get_code_from_coords()
Get a cadastral municipality code from coordinates
catr_ovc_get_cod_munic()
OVCCallejero: Get municipality codes
catr_ovc_get_cod_provinces()
OVCCallejero: Get province codes

Configure and inspect CatastRo

Manage downloaded files, inspect supported coordinate systems and access package-level documentation or construct custom WFS queries.

Cache management

Configure, detect and clear the local cache used by CatastRo.

catr_clear_cache()
Clear your CatastRo cache directory
catr_set_cache_dir() catr_detect_cache_dir()
Set your CatastRo cache directory

Coordinate reference systems

Inspect the SRS codes supported by the package services.

catr_srs_values
Reference SRS codes for CatastRo services

Custom WFS queries

Query an INSPIRE WFS endpoint directly when the service-specific functions do not cover the required request.

inspire_wfs_get()
Query WFS INSPIRE services

Package overview

Read package-level documentation and discover useful links.

CatastRo CatastRo-package
CatastRo: Interface to the Spanish 'Catastro' Web Services

Functions by service

Browse functions by the Spanish Cadastre service they use.

ATOM INSPIRE

Download municipal datasets, inspect download catalogs and find municipality codes.

catr_atom_get_address()
ATOM INSPIRE: Download all addresses for a municipality
catr_atom_get_address_db_all() catr_atom_get_address_db_to()
ATOM INSPIRE: List address download URLs
catr_atom_get_buildings()
ATOM INSPIRE: Download all buildings for a municipality
catr_atom_get_buildings_db_all() catr_atom_get_buildings_db_to()
ATOM INSPIRE: List building download URLs
catr_atom_get_parcels()
ATOM INSPIRE: Download all cadastral parcels for a municipality
catr_atom_get_parcels_db_all() catr_atom_get_parcels_db_to()
ATOM INSPIRE: List cadastral parcel download URLs
catr_atom_search_munic()
ATOM INSPIRE: Search for municipality codes

WFS INSPIRE

Retrieve cadastral features by area or identifier, or construct custom WFS queries.

WMS INSPIRE

Download georeferenced cadastral map images.

catr_wms_get_layer()
WMS INSPIRE: Download georeferenced map images

OVCCoordenadas

Convert between cadastral parcel references and coordinates, including searches near a coordinate pair.

catr_ovc_get_cpmrc()
OVCCoordenadas: Geocode a cadastral reference
catr_ovc_get_rccoor()
OVCCoordenadas: Reverse geocode coordinates
catr_ovc_get_rccoor_distancia()
OVCCoordenadas: Find cadastral references near coordinates

OVCCallejero

Look up province and municipality codes, directly or through the municipality lookup from coordinates.

catr_get_code_from_coords()
Get a cadastral municipality code from coordinates
catr_ovc_get_cod_munic()
OVCCallejero: Get municipality codes
catr_ovc_get_cod_provinces()
OVCCallejero: Get province codes