Swiftly has the unique ability to automatically assign vehicles to routes based on their relative location to the route path and general adherence to the schedule.
Vehicles are assigned to schedule blocks. Schedule blocks (sometimes just called "blocks") are sets of information that describe a vehicle behavior throughout the day. Blocks are comprised of individual trips, and are described in the GTFS information for your agency. Only one vehicle can be assigned to a block at a given time.
A vehicle becomes assigned to a block based on two main factors:
- Spatial proximity: the vehicle must be close to the route. This parameter can vary between transit systems, but generally it should be within 100 feet of the first stop location of the first trip.
- Schedule adherence: the vehicle must depart the first trip of a schedule block within about 10 minutes of the start time for that first trip
- Once a vehicle becomes assigned to a block, the parameters to retain that assignment are more lenient; vehicles have more flexibility to fall behind or ahead of the schedule (as might happen in usual operations), and they can stray a little off the route shape.
- Vehicles will become unassigned if they do not match these parameters
- Vehicles can become assigned to a route as much as 5 minutes before the beginning of a block.
- If the schedule block has already started, the vehicle can become assigned to that block if it is close to the posted schedule.
We've built a way for you to override the automatic assignment feature with the manual assignment tool. Learn more about the manual assignment tool here.