54
GEOlab, Como Campus A GRASS-based procedure to compare OpenStreetMap and IGN Paris road network datasets 1 Politecnico di Milano, Como Campus, DICA, via Valleggio 11, 22100 Como (Italy) 2 Maynooth University, Dept. of Computer Science, Maynooth, Co. Kildare (Ireland) Maria Antonia Brovelli 1 , Marco Minghini 1 , Monia Molinari 1 , Peter Mooney 2 , Gabriele Prestifilippo 1 COST Action IC1203 – Paris, December 3-4 2015

A GRASS-based procedure to compare OSM and IGN Paris road network datasets

Embed Size (px)

Citation preview

Page 1: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

GEOlab, Como Campus

A GRASS-based procedure to compare OpenStreetMap and IGN Paris road network datasets

1 Politecnico di Milano, Como Campus, DICA, via Valleggio 11, 22100 Como (Italy)2 Maynooth University, Dept. of Computer Science, Maynooth, Co. Kildare (Ireland)

Maria Antonia Brovelli1, Marco Minghini1, Monia Molinari1,Peter Mooney2, Gabriele Prestifilippo1

COST Action IC1203 – Paris, December 3-4 2015

Page 2: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

2

✔ Literature provides plenty of works assessing or comparing OSM quality against that of authoritative datasets:

Motivation of the work – OSM comparisons

➔ strongly focused on road network➔ mainly investigating OSM positional accuracy➔ OSM compared to data from NMA (UK Ordnance Survey, French

NMA, USGS TNM/TIGER, etc.) and CSC (Navteq, TeleAtlas, etc.)➔ semi- or fully-automated➔ results from poor to very good

✔ Comparison techniques are very strong and fit for purpose, but mostly application and dataset specific:

➔ hard to replicate➔ difficult to extend to other dataset comparisons

GEOlab, Politecnico di Milano – Como Campus

Page 3: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

3

✔ Novel methodology to compare OSM and authoritative road datasets:

Our methodology

➔ fully automated➔ focused on spatial accuracy and completeness➔ flexible, i.e. not developed for a specific dataset

➔ built with FOSS4G (Free and Open Source Software for Geospatial)

✗ made of required and optional operations

✗ users can define the value of the parameters involved to adapt the procedure to their specific authoritative datasets

✗ users are supposed to be familiar with the authoritative dataset used as reference

✗ reusable and extensible in case of need

GEOlab, Politecnico di Milano – Como Campus

Page 4: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

4

➔ 1. Preliminary comparison of the datasets and computation of global statistics

➔ 2. Geometric preprocessing of the OSM dataset to extract a subset which is fully comparable with the IGN dataset

➔ 3. Evaluation of OSM spatial accuracy using a grid-based approach

✔ Currently developed as 3 GRASS GIS modules:

Our methodology – Overview

➔ written in Python➔ available with a Graphical User Interface (GUI)

✔ Comparison between OSM and reference (IGN) road network datasets composed of 3 consecutive steps:

GEOlab, Politecnico di Milano – Como Campus

Page 5: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

5

✔ Import and select the OSM and IGN datasets [required]

Step 1: Preliminary comparison of the datasets

GEOlab, Politecnico di Milano – Como Campus

Page 6: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

6

✔ Import and select the OSM and IGN datasets [required]

Step 1: Preliminary comparison of the datasets

GEOlab, Politecnico di Milano – Como Campus

data © IGN and © OpenStreetMap contributors

Page 7: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

7

✔ Import and select the OSM and IGN datasets [required]

✔ If the extent of the OSM and/or IGN datasets is larger than the one of interest, import a vector layer to be used as clipping mask [optional]

Step 1: Preliminary comparison of the datasets

GEOlab, Politecnico di Milano – Como Campus

Page 8: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

8

✔ Apply a set of buffers of user-specified width around both the IGN and OSM datasets, to compute the length and the length percentage of the OSM and IGN datasets included in the buffer [required]

Step 1: Preliminary comparison of the datasets

GEOlab, Politecnico di Milano – Como Campus

Page 9: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

9

✔ Compute also the total length of OSM and IGN datasets and their length difference, both in map units and percentage [required]

Step 1: Preliminary comparison of the datasets

➔ output values are returned in a text file

GEOlab, Politecnico di Milano – Como Campus

Page 10: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

10

✔ Compute also the total length of OSM and IGN datasets and their length difference, both in map units and percentage [required]

Step 1: Preliminary comparison of the datasets

➔ output values are returned in a text file

GEOlab, Politecnico di Milano – Como Campus

Page 11: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

11

✔ Compute also the total length of OSM and IGN datasets and their length difference, both in map units and percentage [required]

Step 1: Preliminary comparison of the datasets

➔ output values are returned in a text file

GEOlab, Politecnico di Milano – Como Campus

✗ ≅450 km more in OSM than IGN dataset!

Page 12: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

12

✔ Compute also the total length of OSM and IGN datasets and their length difference, both in map units and percentage [required]

Step 1: Preliminary comparison of the datasets

➔ output values are returned in a text file

GEOlab, Politecnico di Milano – Como Campus

✗ ≅450 km more in OSM than IGN dataset!

➔ more footways and pedestrian routes mapped in OSM

Boulevard des Invalides Gare de l'Est

IGNOSM

data © IGN and © OpenStreetMap contributors

Page 13: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

13

✔ Compute also the total length of OSM and IGN datasets and their length difference, both in map units and percentage [required]

Step 1: Preliminary comparison of the datasets

➔ output values are returned in a text file

GEOlab, Politecnico di Milano – Como Campus

✗ ≅450 km more in OSM than IGN dataset!

➔ cycleways and lanes mapped as separate highways in OSM

IGNOSM

Boulevard Jules Ferrydata © IGN and © OpenStreetMap contributors

Boulevard Henri IV

Page 14: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

14

✔ Outputs from Step 1 can be used to perform further analysis:

Step 1: Preliminary comparison of the datasets

➔ sensitivity analysis on the buffer width

GEOlab, Politecnico di Milano – Como Campus

Page 15: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

15

✔ Outputs from Step 1 can be used to perform further analysis:

Step 1: Preliminary comparison of the datasets

➔ sensitivity analysis on the buffer width

GEOlab, Politecnico di Milano – Como Campus

Page 16: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

16

✔ Cleaning of OSM dataset to make it comparable with IGN dataset

Step 2: preprocessing of the OSM dataset

GEOlab, Politecnico di Milano – Como Campus

Page 17: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

17

✔ Cleaning of OSM dataset to make it comparable with IGN dataset

Step 2: preprocessing of the OSM dataset

➔ computationally intensive – work area divided in 4 sub-areas

GEOlab, Politecnico di Milano – Como Campus

1

4

2

3data © IGN and © OpenStreetMap contributors

Page 18: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

18

✔ Generalize the IGN dataset with the Douglas-Peucker algorithm [optional]

Step 2: preprocessing of the OSM dataset

➔ users have to enter the threshold for the algorithm

GEOlab, Politecnico di Milano – Como Campus

Page 19: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

19

✔ Generalize the IGN dataset with the Douglas-Peucker algorithm [optional]

Step 2: preprocessing of the OSM dataset

✔ Split the line features of the datasets into segments [required]

➔ users have to enter the threshold for the algorithm

GEOlab, Politecnico di Milano – Como Campus

Page 20: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

20

✔ Compute a measure of degree for the nodes of IGN dataset [required]

Step 2: preprocessing of the OSM dataset

➔ identify the terminal nodes (degree = 1)

GEOlab, Politecnico di Milano – Como Campus

12

34567

DEGREE

data © IGN

Page 21: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

21

✔ Apply a buffer of user-specified width around the IGN dataset [required]

Step 2: preprocessing of the OSM dataset

➔ suitable buffer width derived from Step 1➔ delete all the OSM roads falling outside the buffer

GEOlab, Politecnico di Milano – Como Campus

Page 22: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

22

✔ Apply a buffer of user-specified width around the IGN dataset [required]

Step 2: preprocessing of the OSM dataset

➔ suitable buffer width derived from Step 1➔ delete all the OSM roads falling outside the buffer➔ buffer is applied without cap around the terminal nodes

GEOlab, Politecnico di Milano – Como Campus

Page 23: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

23

✔ Apply a buffer of user-specified width around the IGN dataset [required]

Step 2: preprocessing of the OSM dataset

➔ suitable buffer width derived from Step 1➔ delete all the OSM roads falling outside the buffer➔ buffer is applied without cap around the terminal nodes

GEOlab, Politecnico di Milano – Como Campus

Page 24: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

24

✔ Apply a buffer of user-specified width around the IGN dataset [required]

Step 2: preprocessing of the OSM dataset

➔ suitable buffer width derived from Step 1➔ delete all the OSM roads falling outside the buffer➔ buffer is applied without cap around the terminal nodes

GEOlab, Politecnico di Milano – Como Campus

Page 25: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

25

Step 2: preprocessing of the OSM dataset

✔ Further clean the OSM dataset [required]:

GEOlab, Politecnico di Milano – Como Campus

Page 26: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

26

Step 2: preprocessing of the OSM dataset

➔ apply a buffer of user-specified width around each IGN segment

✔ Further clean the OSM dataset [required]:

GEOlab, Politecnico di Milano – Como Campus

Page 27: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

27

Step 2: preprocessing of the OSM dataset

➔ compute the angular coefficient of each IGN segment and all the OSM segments included in the buffer around it

✔ Further clean the OSM dataset [required]:

GEOlab, Politecnico di Milano – Como Campus

Page 28: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

28

Step 2: preprocessing of the OSM dataset

➔ compare the difference between IGN and OSM angular coefficients with a user-specified threshold

✔ Further clean the OSM dataset [required]:

GEOlab, Politecnico di Milano – Como Campus

Page 29: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

29

Step 2: preprocessing of the OSM dataset

✔ Further clean the OSM dataset [required]:

GEOlab, Politecnico di Milano – Como Campus

Page 30: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

30

✔ Outputs from Step 2 are saved and can be used for further analysis:

Step 2: preprocessing of the OSM dataset

➔ sensitivity analysis on the parameters involved

GEOlab, Politecnico di Milano – Como Campus

data © IGN and © OpenStreetMap contributors

Page 31: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

31

✔ Outputs from Step 2 are saved and can be used for further analysis:

Step 2: preprocessing of the OSM dataset

➔ sensitivity analysis on the parameters involved

GEOlab, Politecnico di Milano – Como Campus

Page 32: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

32

✔ Outputs from Step 2 are saved and can be used for further analysis:

Step 2: preprocessing of the OSM dataset

➔ sensitivity analysis on the parameters involved

GEOlab, Politecnico di Milano – Como Campus

✗ preprocessed OSM has 50 km less than original OSM≅✗ preprocessed OSM has still 50 km more than IGN≅

➔ Area 2: generalization threshold = 0.5 m, buffer = 11 m

Page 33: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

33

✔ Use a grid to take into account OSM heterogeneous nature [optional]:

Step 3: grid-based evaluation of OSM accuracy

➔ import a vector layer to be used as grid

GEOlab, Politecnico di Milano – Como Campus

Page 34: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

34

✔ Use a grid to take into account OSM heterogeneous nature [optional]:

Step 3: grid-based evaluation of OSM accuracy

➔ import a vector layer to be used as grid➔ manually create a grid

GEOlab, Politecnico di Milano – Como Campus

Page 35: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

35

✔ For each grid cell, find the OSM maximum deviation from IGN [optional]:

Step 3: grid-based evaluation of OSM accuracy

➔ enter an upper bound value for the deviation, and the percentage of OSM road length to be considered (to take into account outliers)

GEOlab, Politecnico di Milano – Como Campus

Page 36: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

36

✔ For each grid cell, find the OSM maximum deviation from IGN [optional]:

Step 3: grid-based evaluation of OSM accuracy

GEOlab, Politecnico di Milano – Como Campus

➔ Area 2: generalization threshold = 0.5 m, buffer = 11 m

5 - 6 m

6 - 7 m

7 - 8 m

8 - 9 m

9 - 10 m

10 - 11 m

Page 37: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

37

✔ For each grid cell, find the OSM maximum deviation from IGN [optional]:

Step 3: grid-based evaluation of OSM accuracy

GEOlab, Politecnico di Milano – Como Campus

➔ Area 2: generalization threshold = 0.5 m, buffer = 11 m

➔ worst results are mainly due to:

✗ presence of 2 or more OSM roads for a single IGN road

✗ inherent complexity of the road network

IGNOSM

data © IGN and © OpenStreetMap contributors

Page 38: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

38

✔ For each grid cell, evaluate OSM accuracy against one or more threshold values of OSM deviation from IGN [optional]:

Step 3: grid-based evaluation of OSM accuracy

➔ users have to enter one or more thresholds for deviation

GEOlab, Politecnico di Milano – Como Campus

Page 39: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

39

✔ For each grid cell, evaluate OSM accuracy against one or more threshold values of OSM deviation from IGN [optional]:

Step 3: grid-based evaluation of OSM accuracy

➔ length percentage of OSM roads included in the threshold buffer➔ Area 2: threshold buffer = 6 m

GEOlab, Politecnico di Milano – Como Campus

85 - 90%90 - 95%95 - 100%

Page 40: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

40

✔ For each grid cell, evaluate OSM accuracy against one or more threshold values of OSM deviation from IGN [optional]:

Step 3: grid-based evaluation of OSM accuracy

➔ length percentage of OSM roads included in the threshold buffer➔ Area 2: threshold buffer = 8 m

GEOlab, Politecnico di Milano – Como Campus

85 - 90%90 - 95%95 - 100%

Page 41: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

41

✔ For each grid cell, evaluate OSM accuracy against one or more threshold values of OSM deviation from IGN [optional]:

Step 3: grid-based evaluation of OSM accuracy

➔ length percentage of OSM roads included in the threshold buffer➔ Area 2: threshold buffer = 10 m

GEOlab, Politecnico di Milano – Como Campus

85 - 90%90 - 95%95 - 100%

Page 42: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

42

✔ Work in progress, currently available just for Step 1

Transposition of the procedure as a WPS

GEOlab, Politecnico di Milano – Como Campus

➔ available at http://131.175.143.84/WPS

Page 43: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

43

✔ User instructions on how to use the tool

Transposition of the procedure as a WPS

GEOlab, Politecnico di Milano – Como Campus

Page 44: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

44

✔ Geocoding service to move the map to a specified location

Transposition of the procedure as a WPS

GEOlab, Politecnico di Milano – Como Campus

Page 45: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

45

✔ Upload of IGN road network dataset

Transposition of the procedure as a WPS

GEOlab, Politecnico di Milano – Como Campus

Page 46: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

46

✔ Visualization of IGN road network dataset

Transposition of the procedure as a WPS

GEOlab, Politecnico di Milano – Como Campus

data © IGN

Page 47: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

47

✔ Upload of OSM road network dataset

Transposition of the procedure as a WPS

GEOlab, Politecnico di Milano – Como Campus

data © IGN

Page 48: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

48

✔ Visualization of OSM road network dataset

Transposition of the procedure as a WPS

GEOlab, Politecnico di Milano – Como Campus

data © IGN

Page 49: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

49

✔ Definition of layers and buffer value for comparison, a PDF is generated

Transposition of the procedure as a WPS

GEOlab, Politecnico di Milano – Como Campus

data © IGN

Page 50: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

50

✔ Retrieval of OSM road network dataset from the current map view

Transposition of the procedure as a WPS

GEOlab, Politecnico di Milano – Como Campus

Page 51: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

51

✔ Retrieval of OSM road network dataset from the current map view

Transposition of the procedure as a WPS

GEOlab, Politecnico di Milano – Como Campus

Page 52: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

52

Transposition of the procedure as a WPS

GEOlab, Politecnico di Milano – Como Campus

✔ Retrieval of OSM road network dataset from a rectangle drawn on the map or from the bounding box of an uploaded layer

Page 53: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

53

✔ Methodology for comparing OSM and authoritative road datasets:

Conclusions

✔ Future work:

➔ understand the influence of parameters through sensitivity analysis➔ reduce computational time (especially for Step 2)➔ extend the procedure to also compare attributes➔ increase usability through a WPS implementation (also for Steps 2 & 3)➔ test on different datasets (any test dataset is welcome)!

➔ (hopefully) fills a gap in literature➔ not tied to a specific reference dataset➔ generic, flexible and adaptable to any reference dataset➔ users have a key role in driving the procedure➔ parameter values should reflect the characteristic of the reference

dataset involved (e.g. nominal scale and accuracy)

GEOlab, Politecnico di Milano – Como Campus

Page 54: A GRASS-based procedure to compare OSM and IGN Paris road network datasets

54

Links & publications

GEOlab, Politecnico di Milano – Como Campus

✔ Related publications:➔ Brovelli M. A., Minghini M., Molinari M. and Mooney P (in press).

Towards an automated comparison of OpenStreetMap with authoritative road datasets. Transactions in GIS.

➔ Antunes F., Fonte C. C., Brovelli M. A., Minghini M., Molinari M. and Mooney P. (2015) Assessing OSM Road Positional Quality with Authoritative Data. Proceedings of the VIII Conferência Nacional de Cartografia e Geodesia, Lisbon (Portugal), October 29-30, 2015.

➔ Brovelli M. A., Minghini M., Molinari M. and Mooney P. (2015) A FOSS4G-based procedure to compare OpenStreetMap and authoritative road network datasets. Geomatics Workbooks 12, 235-238, ISSN 1591-092X.

✔ Links:

➔ source code: https://github.com/MoniaMolinari/OSM-roads-comparison ➔ WPS client: http://131.175.143.84/WPS