[Shared bikes] find stations in a GPS coordinates bounding box
Published on January 6, 2017
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 reuses
Informations
- Type
- API
- Topic
- Others
- ID
- 586fc244111e9b402a1399b2
Publication
Embed
Permalink
Description
Get shared bike points as geojson based on a GPS bounding box.
Documentation: https://docs.api.tfl.lu/v1/en/RESTAPIs/BikePoint/box.html
Access the API: https://api.tfl.lu/v1/BikePoint/box/{swLon}/{swLat}/{neLon}/{neLat}
Here's an example:
{
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [6.101875, 49.516036]
},
"properties": {
"id": "velok:46",
"open": true,
"name": "Gare CFL Bettembourg",
"city": "Bettembourg",
"address": "Place de la Gare",
"photo": "https://webservice.velok.lu/images/photos/46.jpg",
"docks": 7,
"available_bikes": 0,
"available_ebikes": 1,
"available_docks": 6,
"last_update": null,
"dock_status": [{
"status": "free",
"bikeType": null
}, {
"status": "free",
"bikeType": null
}, {
"status": "free",
"bikeType": null
}, {
"status": "occupied",
"bikeType": "electric"
}, {
"status": "free",
"bikeType": null
}, {
"status": "free",
"bikeType": null
}, {
"status": "free",
"bikeType": null
}]
}
}, {
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [6.108912, 49.517218]
},
"properties": {
"id": "velok:47",
"open": true,
"name": "Reebou-Schoul",
"city": "Bettembourg",
"address": "Rue Marie Therèse",
"photo": "https://webservice.velok.lu/images/photos/47.jpg",
"docks": 5,
"available_bikes": 0,
"available_ebikes": 4,
"available_docks": 1,
"last_update": null,
"dock_status": [{
"status": "occupied",
"bikeType": "electric"
}, {
"status": "free",
"bikeType": null
}, {
"status": "occupied",
"bikeType": "electric"
}, {
"status": "occupied",
"bikeType": "electric"
}, {
"status": "occupied",
"bikeType": "electric"
}]
}
}]
}
Used datasets 1
Discussion between the organization and the community about this reuse.
More reuses
Discover more reuses.