1 of 27

Analyzing changes in OSM over time

full history access to OSM data through the ohsome framework

Workshop @ SotM 2022 Firenze�2022-08-21

2 of 27

What you can learn today:

2

How to analyze changes in OSM over time:

Investigate tag usage by filtering OSM data

Count OSM features for a given region

How to derive information about OSM quality

Estimate completeness of OSM features

Describe how up-to-date OSM features are

How to embed public APIs in your analysis workflow

Send a request to the ohsome API

Send a request to the OQT API

3 of 27

Intro - ohsome Dashboard ohsomeHEX &

User friendly Access to OSM History and how to analyze changes over time

3

4 of 27

4

https://ohsome.org/apps/dashboard

https://hex.ohsome.org

5 of 27

5

https://ohsome.org/apps/dashboard

https://hex.ohsome.org

live global �user defined queries

precomputed global timeseries

6 of 27

6

https://hex.ohsome.org

What are precomputed global timeseries?

Topic (e.g.Number of Hospitals)

aggregated (e.g. count)

and grouped into a global hexagonal grid

in multiple spatial resolutions

on a temporal resolution (e.g. monthly)

precomputed global timeseries

7 of 27

7

8 of 27

8

9 of 27

9

[WIP]Quality Indicators integrated from

10 of 27

10

https://hex.ohsome.org

precomputed global timeseries

Integrations

ohsome API full history data extraction

OQT API - ohsome Quality Analyst

(Saturation Indicator)

11 of 27

11

https://ohsome.org/apps/dashboard

live global �user defined queries

What is a user defined query?

Filter by tags, OSMType or GeomType

Simple aggregations of OSM Objects

(sums of count, length, area, perimeter)

optional: grouping (to compare things)

(split results by OSMType, boundary, tag, key)

flexible temporal range and resolution

12 of 27

First Exercise - Changes in OSM over time

12

13 of 27

Use the ohsome Dashboard

13

Time: 10 Minutes

How detailed are objects mapped? Compare Hospitals grouped by OSM- Types in Tanzania

Which tags are accepted by the community in Italy? Compare forests tags grouped by keys

How does my mapping campaign progress? Count buildings in HOT Task #2825

filter:

amenity=hospital or

healthcare=hospital

filter:

( natural=wood or

landuse=forest or

landcover=trees )

and geometry:polygon

groupByKeys:

natural,landuse,landcover

filter:

building=*

and geometry:polygon

https://tasks.hotosm.org/projects/12825

14 of 27

14

  • Examples

Compare OSM-Types over time - Geometric complexity of Hospitals

15 of 27

15

  • Examples

Compare tags grouped by keys - Acceptance of forest tags

16 of 27

16

  • Examples

Link to HOT Tasking Manager

https://tasks.hotosm.org/projects/12825

(accessed 2022-08-05)

17 of 27

17

  • Examples

Count objects - Progress of a HOT mapping campaign (daily)

18 of 27

Intro - ohsome quali al(OQT)

from temporal evolution (OSM History) to OSM Data Quality

  • how up-to-date is OSM?
  • how complete is OSM?

18

19 of 27

  • Compute and provide quality estimations of OpenStreetMap data

  • OQT calls those quality estimations Indicators

  • Indicators are computed for a specific area (`bpolys`)

  • Indicators are computed for a certain set of aggregated OSM features (`layer`)

19

20 of 27

20

oqt.ohsome.org

https://oqt.ohsome.org/api/docs

21 of 27

21

22 of 27

APIs of the ohsome ecosystem

22

23 of 27

Use the APIs - Exercises

23

Exercise 1 - ohsome API Aggregation:

Get the temporal evolution for healthcare facilities

Exercise 2 - ohsome API Data Extraction:

Extract OSM features representing schools over time

Exercise 3 - OQT �API Data Quality:

Estimate completeness and currentness of XXX

Time: 10 Minutes

24 of 27

Use the APIs - Exercises

24

25 of 27

Questions & Answers

25

26 of 27

Contact

26

Benjamin Herfort

Benjamin.Herfort@heigit.org

Rafael Troilo

Rafael.Troilo@heigit.org

Michael Auer

Michael.Auer@heigit.org

Matthias Schaub

Matthias.Schaub@heigit.org

27 of 27

ohsome Technology Stack

ohsome API

ohsomeHeX

ohsome quality analyst

27