| catr_ovc_get_rccoor | R Documentation |
Query the OVCCoordenadas Consulta RCCOOR service to retrieve the cadastral reference associated with a pair of coordinates.
catr_ovc_get_rccoor(lat, lon, srs = 4326, verbose = FALSE)
lat |
Y coordinate for the query, expressed in the SRS/CRS defined by
|
lon |
X coordinate for the query, expressed in the SRS/CRS defined by
|
srs |
SRS/CRS to use in the query. To see allowed values, use
catr_srs_values, specifically the |
verbose |
Logical. Whether to display informational messages. |
If the API returns no results or reports an error, the result is a tibble containing only query information.
On a successful query, this function returns a tibble with one row per cadastral reference, including the following columns:
geo.xcen, geo.ycen, geo.srs: Input arguments of the query.
refcat: Cadastral reference.
address: Address as recorded in the Spanish Cadastre.
Remaining fields: See the API documentation.
A tibble as described in Details. Returns
NULL if the request fails.
catr_ovc_get_rccoor_distancia() also searches a nearby area when no
exact match is found.
catr_wfs_get_parcels_parcel() retrieves parcel geometries using the
returned cadastral references.
Work with cadastral references:
catr_ovc_get_cpmrc(),
catr_ovc_get_rccoor_distancia()
Query OVC web services:
catr_ovc_get_cod_munic(),
catr_ovc_get_cod_provinces(),
catr_ovc_get_cpmrc(),
catr_ovc_get_rccoor_distancia()
catr_ovc_get_rccoor(
lat = 38.6196566583596,
lon = -3.45624183836806,
srs = 4326
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.