Skip to content

Commit

Permalink
Feat: add scooter config to HSL
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Jun 28, 2024
1 parent e0d6ff8 commit 9e89b02
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hsl/otp-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"APIUpdaterStatus": false,
"APIBikeRental": false,
"SandboxAPIMapboxVectorTilesApi": true,
"FloatingBike": false,
"FloatingBike": true,
"ActuatorAPI": true,
"AsyncGraphQLFetchers": true,
"Co2Emissions": true,
Expand Down
27 changes: 27 additions & 0 deletions hsl/router-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,24 @@
"cacheMaxSeconds": 45,
"expansionFactor": 0.25
},
{
"name": "rentalVehicles",
"type": "VehicleRentalVehicle",
"mapper": "Digitransit",
"maxZoom": 20,
"minZoom": 5,
"cacheMaxSeconds": 43200,
"expansionFactor": 0.25
},
{
"name": "realtimeRentalVehicles",
"type": "VehicleRentalVehicle",
"mapper": "DigitransitRealtime",
"maxZoom": 20,
"minZoom": 5,
"cacheMaxSeconds": 43200,
"expansionFactor": 0.25
},
{
"name": "vehicleParking",
"type": "VehicleParking",
Expand Down Expand Up @@ -278,6 +296,15 @@
"stop-position",
"occupancy"
]
},
{
"id": "bolt-scooter-rental",
"type": "vehicle-rental",
"sourceType": "gbfs",
"frequency": "30s",
"network": "bolt",
"url": "https://mds.bolt.eu/gbfs/2/10/gbfs",
"geofencingZones": true
}
]
}

0 comments on commit 9e89b02

Please sign in to comment.