| catr_srs_values | R Documentation |
A tibble containing valid SRS values, also known as CRS values, for each API service. Values are represented as EPSG codes.
A tibble with 16 rows and columns:
Spatial reference system (SRS) value, also known as a coordinate reference system (CRS), identified by the corresponding EPSG code.
Description of the SRS/EPSG code.
Logical. Whether this code is valid for OVC services.
Logical. Whether this code is valid for WFS INSPIRE services.
Table: Content of catr_srs_values
| SRS | Description | ovc_service | wfs_service |
3785 | Web Mercator | FALSE | TRUE |
3857 | Web Mercator | FALSE | TRUE |
4230 | Geográficas en ED 50 | TRUE | FALSE |
4258 | Geográficas en ETRS89 | TRUE | TRUE |
4326 | Geográficas en WGS 84 | TRUE | TRUE |
23029 | UTM huso 29N en ED50 | TRUE | FALSE |
23030 | UTM huso 30N en ED50 | TRUE | FALSE |
23031 | UTM huso 31N en ED50 | TRUE | FALSE |
25829 | UTM huso 29N en ETRS89 | TRUE | TRUE |
25830 | UTM huso 30N en ETRS89 | TRUE | TRUE |
25831 | UTM huso 31N en ETRS89 | TRUE | TRUE |
32627 | UTM huso 27N en WGS 84 | TRUE | FALSE |
32628 | UTM huso 28N en WGS 84 | TRUE | FALSE |
32629 | UTM huso 29N en WGS 84 | TRUE | FALSE |
32630 | UTM huso 30N en WGS 84 | TRUE | FALSE |
32631 | UTM huso 31N en WGS 84 | TRUE | FALSE |
catr_ovc_get_cpmrc() and catr_ovc_get_rccoor() accept SRS codes
listed in the ovc_service column. catr_wfs_get_parcels_bbox() accepts
codes listed in the wfs_service column. sf::st_crs() inspects the
corresponding coordinate reference system.
data("catr_srs_values")
# OVC valid codes
library(dplyr)
catr_srs_values |> filter(ovc_service)
# WFS valid codes
catr_srs_values |> filter(wfs_service)
# Use with sf::st_crs()
catr_srs_values |>
filter(wfs_service & ovc_service) |>
print() |>
# Select the first value.
slice_head(n = 1) |>
pull(SRS) |>
# Convert to a CRS.
sf::st_crs(.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.