Skip to content

Utilitiy for converting Flanders "Meten in Vlaanderen" (MIV) traffic data to DATEXII

License

Notifications You must be signed in to change notification settings

MikiDi/MIV2DATEXII

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIV2DATEXII

🙂 Live traffic-flow data of Flanders' highways is published as open data
😟 It is published in a custom XML format
🎉 MIV2DATEXII

This library provides a Python API as well as a command line interface to convert MIV publications to the European DATEX II standard for publication of traffic related data.

Meten-in-Vlaanderen (MIV)

MIV is a dataset containing minutely updated information on traffic flow on Flemish roads. For more info:

DATEX II

The official DATEX II website

Requirements

Installation

python3 -m pip install git+https://github.com/MikiDi/MIV2DATEXII.git

Usage

Converting the locations table

curl http://miv.opendata.belfla.be/miv/configuratie/xml | miv2datex2 > miv_datex_locations.xml

Converting minutely data

curl http://miv.opendata.belfla.be/miv/verkeersdata | miv2datex2 > miv_datex_measurements.xml

Useful resources:

Feedback / Contributing

This library for sure isn't perfect. Suggestions, bug reports and pull requests are very welcome. 🙂

About

Utilitiy for converting Flanders "Meten in Vlaanderen" (MIV) traffic data to DATEXII

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages