Skip to content

Commit

Permalink
Fix grammar and formatting [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Sep 14, 2023
1 parent d6fb013 commit 80f58d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions docs/RoutingModes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ Cycling for the entirety of the route or taking a bicycle onto the public transp

Taking a rented, shared-mobility bike for part or the entirety of the route.

_Prerequisite:_ Vehicle or station location need to be added to OTP from dynamic data feeds.
_Prerequisite:_ Vehicle or station locations need to be added to OTP from dynamic data feeds.
See [Configuring GBFS](UpdaterConfig.md#gbfs-vehicle-rental-systems) on how to add one.


<h4 id="BIKE_TO_PARK">BIKE_TO_PARK</h4>

Leaving the bicycle at the departure station and walking from the arrival station to the destination.
This mode needs to be combined with at least one transit mode otherwise it behaves like an ordinary bicycle journey.

_Prerequisite:_ Bicycle parking stations present in the OSM file and visible to OTP by enabling the property `staticBikeParkAndRide` during graph build.


Expand All @@ -51,7 +52,7 @@ Walking to a pickup point along the road, driving to a drop-off point along the
Walk to a car rental point, drive to a car rental drop-off point and walk the rest of the way.
This can include car rental at fixed locations or free-floating services.

_Prerequisite:_ Vehicle or station location need to be added to OTP from dynamic data feeds.
_Prerequisite:_ Vehicle or station locations need to be added to OTP from dynamic data feeds.
See [Configuring GBFS](UpdaterConfig.md#gbfs-vehicle-rental-systems) on how to add one.


Expand All @@ -64,14 +65,14 @@ _Prerequisite:_ Park-and-ride areas near the stations need to be present in the

<h4 id="FLEXIBLE">FLEXIBLE</h4>

Encompasses all types of on-demand and flexible transportation for example GTFS Flex or NeTex Flexible Stop Places.
Encompasses all types of on-demand and flexible transportation for example GTFS Flex or NeTEx Flexible Stop Places.

<h4 id="SCOOTER_RENTAL">SCOOTER_RENTAL</h4>

Walking to a scooter rental point, riding a scooter to a scooter rental drop-off point, and walking the rest of the way.
This can include scooter rental at fixed locations or free-floating services.

_Prerequisite:_ Vehicle or station location need to be added to OTP from dynamic data feeds.
_Prerequisite:_ Vehicle or station locations need to be added to OTP from dynamic data feeds.
See [Configuring GBFS](UpdaterConfig.md#gbfs-vehicle-rental-systems) on how to add one.


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public String typeDescription() {
private static String GBFS_PREREQ =
"""
_Prerequisite:_ Vehicle or station location need to be added to OTP from dynamic data feeds.
_Prerequisite:_ Vehicle or station locations need to be added to OTP from dynamic data feeds.
See [Configuring GBFS](UpdaterConfig.md#gbfs-vehicle-rental-systems) on how to add one.
""";

Expand All @@ -148,8 +148,9 @@ public String enumValueDescription() {
case WALK -> "Walking some or all of the way of the route.";
case BIKE -> "Cycling for the entirety of the route or taking a bicycle onto the public transport and cycling from the arrival station to the destination.";
case BIKE_TO_PARK -> """
Leaving the bicycle at the departure station and walking from the arrival station to the destination.
This mode needs to be combined with at least one transit mode otherwise it behaves like an ordinary bicycle journey.
Leaving the bicycle at the departure station and walking from the arrival station to the destination.
This mode needs to be combined with at least one transit mode otherwise it behaves like an ordinary bicycle journey.
_Prerequisite:_ Bicycle parking stations present in the OSM file and visible to OTP by enabling the property `staticBikeParkAndRide` during graph build.
""";
case BIKE_RENTAL -> """
Expand Down Expand Up @@ -182,7 +183,7 @@ This means that the car is not parked in a permanent parking area but rather the
See [the sandbox documentation](sandbox/RideHailing.md) on how to configure it.
""";
case FLEXIBLE -> "Encompasses all types of on-demand and flexible transportation for example GTFS Flex or NeTex Flexible Stop Places.";
case FLEXIBLE -> "Encompasses all types of on-demand and flexible transportation for example GTFS Flex or NeTEx Flexible Stop Places.";
};
}
}

0 comments on commit 80f58d1

Please sign in to comment.