mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
docs(gbfs): note that overflow bikes can exceed dock capacity
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
42e45e8fbe
commit
93ea088f45
1 file changed
+3
-1
@@ -86,7 +86,9 @@ function stationName(value) {
|
|||||||
* geofenced area around the docks to `capacity` and reports that part as
|
* geofenced area around the docks to `capacity` and reports that part as
|
||||||
* `geofenced_capacity` (not a GBFS field): Bilbao Bizi publishes 39 docks as
|
* `geofenced_capacity` (not a GBFS field): Bilbao Bizi publishes 39 docks as
|
||||||
* capacity 839 with geofenced_capacity 800. Without the extension, or when it
|
* capacity 839 with geofenced_capacity 800. Without the extension, or when it
|
||||||
* would exceed the total, `capacity` is read as given.
|
* would exceed the total, `capacity` is read as given. PBSC also counts the
|
||||||
|
* bikes parked in that area (`num_bikes_overflow`) in `num_bikes_available`, so
|
||||||
|
* a crowded station can report more bikes than docks.
|
||||||
*/
|
*/
|
||||||
function dockCapacity(raw) {
|
function dockCapacity(raw) {
|
||||||
const capacity = toNonNegativeInteger(raw?.capacity);
|
const capacity = toNonNegativeInteger(raw?.capacity);
|
||||||
|
|||||||
Reference in new issue
Block a user