catr_ovc_get_rccoor {CatastRo} | R Documentation |
OVCCoordenadas: Reverse geocode a cadastral reference
Description
Implementation of the OVCCoordenadas service Consulta RCCOOR.
Return the cadastral reference found of a set of specific coordinates.
Usage
catr_ovc_get_rccoor(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. 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_distancia()
,
catr_srs_values
Other cadastral references:
catr_ovc_get_cpmrc()
,
catr_ovc_get_rccoor_distancia()
Examples
catr_ovc_get_rccoor(
lat = 38.6196566583596,
lon = -3.45624183836806,
srs = 4326
)