ll_osm_extract_it: Extract OSM data for regions, provinces, and municipalities...

View source: R/ll_osm_download.R

ll_osm_extract_itR Documentation

Extract OSM data for regions, provinces, and municipalities in Italy.

Description

See ll_osm_it_gpkg for all available files.

Usage

ll_osm_extract_it(
  level = "comuni",
  name = NULL,
  code = NULL,
  layer = "lines",
  quiet = FALSE
)

Arguments

level

One of "regioni", "provincie", "comuni". Defaults to "comuni".

name

Name of geographic entity. Check ll_osm_it_gpkg or ll_get_nuts_it() for valid names.

code

Used in alternative to name. Check ll_osm_it_gpkg or ll_get_nuts_it() for valid values.

layer

Defaults to "lines". Must be one of "points", "lines", "multilinestrings", "multipolygons", or "other_relations"

quiet

Logical, defaults to FALSE. If TRUE, supresses messages generated when reading the geopackage file.

Value

An sf object.

Examples

## Not run: 
ll_osm_extract_it(level = "comuni", name = "Trento")

## End(Not run)


giocomai/latlon2map documentation built on Oct. 14, 2024, 12:52 a.m.