Skip to content

tstappae/ReistijdenAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReistijdenAPI

App Engine API voor reistijden verkeerscentrum

Deploying this to the Google App Engine enables the following API:

##Knooppunten Knooppunten: List all knooppunten in the Flemish verkeerscentrum network
/knooppunten
[{"name":" A12 Meise","verkeerscentrumName":" A12 Meise","xCo":50.943906,"yCo":4.324303},...]
Name: Internal API Name
verkeerscentrumName: Name of knooppunt on the verkeerscentrum. This is also the name that should be displayed in an application.
The Name and verkeerscentrumName usually are consistent, however can differ when there are two ways to reach one knooppunt (eg. Ring Antwerpen Noord vs Zuid).
xCo,yCo: coordinates in WGS 84 Web Mercator

##Knooppunt Knooppunt: Find the nearest knooppunt from a specific location
/knooppunt?x=50,y=4
x: xCo in WGS 84
y: yCo in WGS 84
{"name":"Halle","verkeerscentrumName":"Halle","xCo":50.724021,"yCo":4.269115}
Name: Internal API Name
verkeerscentrumName: Name of knooppunt on the verkeerscentrum
xCo,yCo: coordinates in WGS 84 Web Mercator

##Reistijden Reistijden: find the travelling time between two nodes
/reistijden?nodes=[node1,node2]
nodes: a json array of start and end node, node1 and node2 should be from the knooppunt(en) API
[{"evolutie":"stabiel","filevrij":2,"from":{"name":"West","verkeerscentrumName":"West","xCo":51.214346,"yCo":4.357262},"nu":2,"to":{"name":"Centrum","verkeerscentrumName":"Centrum","xCo":51.19521,"yCo":4.385868},"vertraging":0},...]
evolutie: Stabiel, Stijgend, Dalend: indication of future traffic on this section
filevrij: Traveltime on section when there is no traffic
from: Start node for section
nu: Traveltime at the moment
to: end node for section
vertraging: Delay on the section now

About

App Engine API voor reistijden verkeerscentrum

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published