docs(gbfs): note that overflow bikes can exceed dock capacity

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
ulihhhhandClaude Opus 5.5 authored and Said Turksever committed 2026-10-17 22:33:57 +01:00
1 parent 42e45e8fbe
commit 93ea088f45
1 file changed
+3 -1
+3 -1
View File
@@ -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);