Implementation of the OVCCoordenadas service Consulta RCCOOR.
Return the cadastral reference found of a set of specific coordinates.
Arguments
- lat
Latitude to use on the query. It should be specified in the same in the CRS/SRS
specifiedbysrs.- lon
Longitude to use on the query. It should be specified in the same in the CRS/SRS
specifiedbysrs.- srs
SRS/CRS to use on the query. To check the admitted values check catr_srs_values, specifically the
ovc_servicecolumn.- verbose
Logical, displays information. Useful for debugging, default is
FALSE.
Value
A tibble. See Details
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.
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
# \donttest{
catr_ovc_get_rccoor(
lat = 38.6196566583596,
lon = -3.45624183836806,
srs = 4326
)
#> # A tibble: 1 × 8
#> refcat address pc.pc1 pc.pc2 geo.xcen geo.ycen geo.srs ldt
#> <chr> <chr> <chr> <chr> <dbl> <dbl> <chr> <chr>
#> 1 13077A01800011 DS DISEMINADO P… 13077… 18000… -3.46 38.6 EPSG:4… DS D…
# }
