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
        }
    }]
}

Discussions

+

Start a new discussion

Discussion between the reusers and the community about this reuse.