[Stops] find stations around GPS coordinates

Publié le 6 janvier 2017

Voir la réutilisation

Transport for Luxembourg

Transport for Luxembourg is a project initiated by Thierry DEGELING and Daniel DUTON. As a proof of concept, they made a proxy API for Mobiliteit.lu at the Game of Code hackathon. After being awarded 3rd best team at the Hackathon, Digital Lëtzebuerg has given ION Network Solutions (employer of…

31 réutilisations
  • bus
  • gps
  • mobilite
  • mobiliteit
  • mobility
  • tfl
  • train

Informations

Type
API
Thématique
Transport
ID
586fb7a5cc765e1c1060c3d4

Publication

Intégrer sur votre site

URL stable

Description

Get bus & train stops by Mobiliteit based on gps coordinated and a radius in geojson.

Documentation: https://docs.api.tfl.lu/v1/en/RESTAPIs/StopPoint/around.html

Access the API: https://api.tfl.lu/v1/StopPoint/around/:longitude/:latitude/:radius

Here's an example:

{
    "type": "FeatureCollection",
    "features": [{
        "type": "Feature",
        "geometry": {
            "type": "Point",
            "coordinates": [6.133052, 49.601039]
        },
        "properties": {
            "id": 200405033,
            "name": "Luxembourg, Gare Centrale Quai 101",
            "distance": 59.36
        }
    }, {
        "type": "Feature",
        "geometry": {
            "type": "Point",
            "coordinates": [6.133205, 49.600814]
        },
        "properties": {
            "id": 200405002,
            "name": "Luxembourg, Gare Centrale Quai 102",
            "distance": 35.63
        }
    }, {
        "type": "Feature",
        "geometry": {
            "type": "Point",
            "coordinates": [6.133646, 49.60067]
        },
        "properties": {
            "id": 200405035,
            "name": "Luxembourg, Gare Centrale",
            "distance": 0
        }
    }]
}

Jeux de données utilisés 0

Discussion entre l'organisation et la communauté à propos de cette réutilisation.

Plus de réutilisations

Découvrez davantage de réutilisations.