R/utils.R
is.uy5382.Rd
This function test if an 'sf' object match with Uruguay at crs = 5382.
is.uy5382(x)
An 'sf' object with the same crs as the homonym parameter
logical value based in crs parameter of the sf object
Other crs:
is.uy32721()
,
is.uy4326()
,
is.uy5381()
# \donttest{
is.uy5382(load_geouy("Uruguay"))
#> Reading layer `ine_pais_corregido' from data source
#> `https://mapas.mides.gub.uy:443/geoserver/INECenso2004/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=INECenso2004:ine_pais_corregido'
#> using driver `GML'
#> Simple feature collection with 1 feature and 1 field
#> Geometry type: MULTIPOLYGON
#> Dimension: XY
#> Bounding box: xmin: 366582.2 ymin: 6127919 xmax: 858252.1 ymax: 6671738
#> Projected CRS: WGS 84 / UTM zone 21S
#> Reading layer `ine_pais_corregido' from data source
#> `https://mapas.mides.gub.uy:443/geoserver/INECenso2004/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=INECenso2004:ine_pais_corregido'
#> using driver `GML'
#> Simple feature collection with 1 feature and 1 field
#> Geometry type: MULTIPOLYGON
#> Dimension: XY
#> Bounding box: xmin: 366582.2 ymin: 6127919 xmax: 858252.1 ymax: 6671738
#> Projected CRS: WGS 84 / UTM zone 21S
#> [1] "The object you want to process is not at CRS 5382"
# }