Include raster maps from Prague geoportal in your ggplot map
prg_basemap(
data,
image_service = "orto",
layer = "",
width = 900,
alpha = 1,
buffer = 0,
verbose = F
)
sf data frame from which to extract the bounding box
map service from which to draw the map; prg_endpoints
provides details.
layer from map service to use, see https://mpp.praha.eu/arcgis/rest/services/
width in pixels, in effect sets image resolution; integer or "max"
transparency of the tile
distance between feature end and image end; for EPSG 5514 in meters.
display information on image URLs and image processing.
list including raster annotation layers for ggplot2
Other Mapping:
district_geofacet
,
district_hexogram
,
district_names
,
district_tilegram
,
prg_endpoints
,
prg_tile()
if (FALSE) {
praha1 <- CzechData::load_RUIAN_settlement(prg_kod, "MOMC_P", WGS84 = F) %>%
filter(nazev == 'Praha 1')
ggplot() +
prg_basemap(data = praha1, alpha = .8, buffer = 200,
image_service = 'mapy_archiv', layer = 6) +
geom_sf(data = praha1, fill = alpha("red", 0.6), colour = NA) +
theme_void()
}