From 93ea088f4556a5a65b3292a2d15142d5a6c562bc Mon Sep 17 00:00:00 2001 From: ulihhhh <54112476+ulihhhh@users.noreply.github.com> Date: Sat, 17 Oct 2026 11:19:56 +0200 Subject: [PATCH] docs(gbfs): note that overflow bikes can exceed dock capacity Co-Authored-By: Claude Opus 5.5 --- src/sources/gbfsStations.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sources/gbfsStations.js b/src/sources/gbfsStations.js index 1bfeb037a..c37c2fae4 100644 --- a/src/sources/gbfsStations.js +++ b/src/sources/gbfsStations.js @@ -86,7 +86,9 @@ function stationName(value) { * geofenced area around the docks to `capacity` and reports that part 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 - * 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) { const capacity = toNonNegativeInteger(raw?.capacity);