View source: R/ovc_rccoor_distancia.R
| catr_ovc_get_rccoor_distancia | R Documentation | 
Implementation of the OVCCoordenadas service Consulta RCCOOR Distancia.
Return the cadastral reference found on a set of coordinates. If no cadastral references are found, the API returns a list of the cadastral references found on an area of 50 square meters around the requested coordinates.
catr_ovc_get_rccoor_distancia(lat, lon, srs = 4326, verbose = FALSE)
lat | 
 Latitude to use on the query. It should be specified in the same
in the CRS/SRS   | 
lon | 
 Longitude to use on the query. It should be specified in the same
in the CRS/SRS   | 
srs | 
 SRS/CRS to use on the query. To check the admitted values check
catr_srs_values, specifically the   | 
verbose | 
 Logical, displays information. Useful for debugging,
default is   | 
When the API does not provide any result, the function returns a
tibble with the input parameters only.
On a successful query, the function returns a tibble with
one row by cadastral reference, including the following columns:
geo.xcen, geo.ycen, geo.srs: Input parameters of the query.
refcat: Cadastral reference.
address: Address as it is recorded on the Cadastre.
cmun_ine: Municipality code as registered on the INE (National
Statistics Institute).
Rest of fields: Check the API Docs.
A tibble. See Details
catr_srs_values, vignette("ovcservice", package = "CatastRo")
OVCCoordenadas API:
catr_ovc_get_cpmrc(),
catr_ovc_get_rccoor(),
catr_srs_values
Other cadastral references: 
catr_ovc_get_cpmrc(),
catr_ovc_get_rccoor()
catr_ovc_get_rccoor_distancia(
  lat = 40.963200,
  lon = -5.671420,
  srs = 4326
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.