Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

geofabrik_zones

An sf object of geographical zones taken from Geofabrik


Description

An sf object containing the URLs, names and file-sizes of the OSM extracts stored at https://download.geofabrik.de/. You can read more details about these data at the following link: https://download.geofabrik.de/technical.html.

Usage

geofabrik_zones

Format

An sf object with 430 rows and 15 columns:

id

A unique identifier. It contains letters, numbers and potentially the characters "-" and "/".

name

The, usually English, long-form name of the area.

parent

The identifier of the next larger excerpts that contains this one, if present.

level

An integer code between 1 and 4. If level = 1 then the zone corresponds to one of the continents plus the Russian Federation: Africa, Antarctica, Asia, Australia and Oceania, Central America, Europe, North America, Russian Federation and South America. If level = 2 then the zone corresponds to the continent's subregions (i.e. the countries, such as Italy, Great Britain, Spain, USA, Mexico, Belize, Morocco, Peru and so on). There are also some exceptions that correspond to the Special Sub Regions (according to their Geofabrik definition), which are: South Africa (includes Lesotho), Alps, Britain and Ireland, Germany + Austria + Switzerland, US Midwest, US Northeast, US Pacific, US South, US West and all US states. Level = 3L correspond to the subregions of each state (or each level 2 zone). For example the West Yorkshire, which is a subregion of England, is a level 3 zone. Finally, level = 4L correspond to the subregions of the third level and it is mainly related to some small areas in Germany. This field is used only for matching operations in case of spatial input.

iso3166-1_alpha2

A character vector of two-letter ISO3166-1 codes. This will be set on the smallest extract that still fully (or mostly) contains the entity with that code; e.g. the code "DE" will be given for the Germany extract and not for Europe even though Europe contains Germany. If an extract covers several countries and no per-country extracts are available (e.g. Israel and Palestine), then several ISO codes will be given (such as "PS IL" for "Palestine and Israel").

iso3166_2

A character vector of usually five-character ISO3166-2 codes. The same rules as above apply. Some entities have both an iso3166-1 and iso3166-2 code. For example, the iso3166_2 code of each US State is "US - " plus the code of the state.

pbf

Link to the latest .osm.pbf file for this region.

bz2

Link to the latest .osm.bz2 file for this region.

shp

Link to the latest shape file for this region.

pbf.internal

Link to the latest .osm.pbf file with user data for this region (requires OSM login).

history

Link to the latest history file for this region (requires OSM login).

taginfo

Link to the Geofabrik taginfo instance for this region.

updates

Link to the updates directory (append /state.txt for status file).

geometry

The sfc for that geographical region. These are not the country boundaries but a buffer around countries.

pbf_file_size

Size of the .pbf file in bytes.

Source

See Also

Other provider's-database: bbbike_zones, openstreetmap_fr_zones


osmextract

Download and Read OpenStreetMap Data Extracts

v0.2.1
GPL-3
Authors
Andrea Gilardi [aut, cre] (<https://orcid.org/0000-0002-9424-7439>), Robin Lovelace [aut] (<https://orcid.org/0000-0001-5679-6536>), Barry Rowlingson [ctb] (<https://orcid.org/0000-0002-8586-6625>), Salva Fernández [rev] (Salva reviewed the package (v. 0.1) for rOpenSci, see <https://github.com/ropensci/software-review/issues/395>), Nicholas Potter [rev] (Nicholas reviewed the package (v. 0.1) for rOpenSci, see <https://github.com/ropensci/software-review/issues/395>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.