Learn R Programming

CatastRo (version 0.4.1)

catr_srs_values: Reference SRS codes for CatastRo APIs

Description

A tibble including the valid SRS (also known as CRS) values that may be used on each API service. The values are provided as EPSG codes.

Arguments

Format

A tibble with 16 rows and columns:

SRS

Spatial Reference System (CRS) value, identified by the corresponding EPSG code.

Description

Description of the SRS/EPSG code.

ovc_service

Logical. Is this code valid on OVC services?

wfs_service

Logical. Is this code valid on INSPIRE WFS services?

Details

Table: Content of catr_srs_values

SRSDescriptionovc_servicewfs_service
3785Web MercatorFALSETRUE
3857Web MercatorFALSETRUE
4230Geográficas en ED 50TRUEFALSE
4258Geográficas en ETRS89TRUETRUE
4326Geográficas en WGS 80TRUETRUE
23029UTM huso 29N en ED50TRUEFALSE
23030UTM huso 30N en ED50TRUEFALSE
23031UTM huso 31N en ED50TRUEFALSE
25829UTM huso 29N en ETRS89TRUETRUE
25830UTM huso 30N en ETRS89TRUETRUE
25831UTM huso 31N en ETRS89TRUETRUE
32627UTM huso 27N en WGS 84TRUEFALSE
32628UTM huso 28N en WGS 84TRUEFALSE
32629UTM huso 29N en WGS 84TRUEFALSE
32630UTM huso 30N en WGS 84TRUEFALSE
32631UTM huso 31N en WGS 84TRUEFALSE

References

See Also

sf::st_crs().

Other databases: catr_atom_get_address_db_all(), catr_atom_get_buildings_db_all(), catr_atom_get_parcels_db_all(), catr_atom_search_munic()

Other INSPIRE WFS services: catr_wfs_get_address_bbox(), catr_wfs_get_buildings_bbox(), catr_wfs_get_parcels_bbox()

OVCCoordenadas API: catr_ovc_get_cpmrc(), catr_ovc_get_rccoor(), catr_ovc_get_rccoor_distancia()

Examples

Run this code
data("catr_srs_values")

# OVC valid codes
library(dplyr)

catr_srs_values %>% filter(ovc_service == TRUE)

# WFS valid codes

catr_srs_values %>% filter(wfs_service == TRUE)

# Use with sf::st_crs()

catr_srs_values %>%
  filter(wfs_service == TRUE & ovc_service == TRUE) %>%
  print() %>%
  # First value
  slice_head(n = 1) %>%
  pull(SRS) %>%
  # As crs
  sf::st_crs(.)

Run the code above in your browser using DataLab