catr_ovc_get_rccoor_distancia {CatastRo} | R Documentation |
OVCCoordenadas: Reverse geocode cadastral references on a region
Description
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.
Usage
catr_ovc_get_rccoor_distancia(lat, lon, srs = 4326, verbose = FALSE)
Arguments
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 |
Details
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.
Value
A tibble
. See Details
References
See Also
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()
Examples
catr_ovc_get_rccoor_distancia(
lat = 40.963200,
lon = -5.671420,
srs = 4326
)