Skip to content
mramachi edited this page Jul 24, 2017 · 22 revisions

RideAway Data

This tool can be used to compare open data sources with open street map data. The aim is to identify missing information in the osm data. The main focus is on missing geometries and missing tags. This tool was first developed to complete the bicycle routes in Brussels.

The tool can be viewed here: https://cyclenetworks.osm.be/

We used Django to serve the webpages and the comparison is written in C#. The install scripts only works on ubuntu. The front-end makes use of openlayers.

Installation

All the necessary tools are included in the installation script.
cd to the nts folder to execute following steps.
Building can be done with: flatpak run --command=/app/bin/xbuild com.xamarin.MonoDevelop /p:Configuration=Release An executable file NTS-BufferingTest.exe NTS will be built in the bin/Release folder. This can be executed with mono NTS-BufferingTest.exe $input1 $input2 $input3.

Workings

Everything comes together in the src/script folder. The main script does all the preprocessing and creates the outputted comparison.

Scraping of osm data

We scrape the data from open street map using overpass-turbo. The scrapping is done in scrapping.py

Comparison

Missing geometries

Missing geometries are extracted in program.cs. It uses methods from the NTS topology suite.

Missing tags

Useful information

Links

Overpass query to export a relation by it's ID

(e.g. http://overpass-turbo.eu/s/qeh)

[out:json][timeout:25];
// gather results
relation(115392);
// print results
out body;
>;
out skel qt;
Clone this wiki locally