OpenStreetMap

Imports vector layers from OSM.


Introduction

A data block that provides vector layers from the free OpenStreetMap (OSM) database using the Overpass API.

See this block on the marketplace.

OSM Features
OSM Features

Technical information

Compatible blocks

  • Count Objects

Geographic coverage

The geographic coverage is global.

Dataset information

SpecificationsDescription
Data providerOpenStreetMap
Map featuresWater bodies, buildings, highways, towers, railways, shops, motels etc. The features are extracted based on OSM tags, which are made up of key-value pairs (highway=motorway). For more information: OSM Map Features.
Geometry typePoint
MultiPoint
LineString
MultiLineString
Polygon
MultiPolygon
File formatGeoJSON
The vector file(s) are based on the number of OSM tags and timestamps.
Coordinate systemWGS84/EPSG:4326

Map feature examples

KeyValueDescription
naturalwoodForest
naturalwaterInland water body
highwaymotorwayEquivalent to freeway, normally with 2 or more running lanes plus emergency hard shoulder.
landusefarmlandAn area of farmland used for tillage.
buildinghotelA building designed with separate rooms available for overnight accommodation.

Limitations

The block does not support test queries or quicklooks.

How it works

Supported JSON parametersDefault valueMinMaxExamples
bboxnulln.a.n.a.Please check the examples from the JSON parameters.
time"2018-12-01T00:00:00+00:00/2021-12-31T23:59:59+00:00" n.a.n.a."2019-12-01T00:00:00+00:00/2019-12-31T23:59:59+00:00"
osm_tags"highway=*", "landuse=*", "natural=water", "building=*"n.a.n.a."osm_tags": [ "highway=motorway", "landuse=industrial", "natural=water", "building=farm"]
time_seriesnulln.a.n.a."time_series": [ "2020-03-27T00:00:00+00:00/2020-04-02T00:00:00+00:00", "2019-09-30T00:00:00+00:00/2019-10-05T00:00:00+00:00", "2017-09-12T00:00:00+00:00/2017-09-20T00:00:00+00:00"]
Good to know

The parameters time and/or time_series will only consider the end date for fetching the data. This behaviour is imposed because the changesets are not extensive within shorter periods of a few months. If a future date is supplied, the result will default to the latest available timestamp.

Examples

Example based on a workflow created with the data block OpenStreetMap:

Loading...

Capabilities

Output

vector
custom
object_type${osm_tags}
up42_standard
formatGeoJSON
geometry_type
{
  "or": [
    "MultiPoint",
    "MultiLinestring",
    "MultiPolygon",
    "Polygon",
    "Linestring",
    "Point"
  ]
}
To know more please check the block capabilities specifications.