digitransit-ui/test/unit/test-data/dcw12.js
2024-08-07 11:14:24 +03:00

1793 lines
50 KiB
JavaScript

export default {
firstLegIsAnIntermediatePlace: [
{
mode: 'BICYCLE',
from: {
lat: 60.156843,
lon: 24.956721,
name: 'Kaivopuisto, Helsinki',
vertexType: 'NORMAL',
vehicleRentalStation: null,
stop: null,
},
to: {
lat: 60.1603512,
lon: 24.8802285,
name: 'corner of Otavantie and path',
vertexType: 'NORMAL',
vehicleRentalStation: null,
stop: null,
},
legGeometry: {
length: 340,
points:
'qkdnJ_kiwCOb@DFBN?JVGXAb@ZOt@Of@GTGN_@f@[^Jv@DzA@fAFvAc@`@[Vm@|@MXGTKOKFIFcAt@CBKHKFEBeAt@{@j@EDKFBTBTBJDb@v@lG@H`@rDBVOF[Ju@XIBGDkBr@E@IBIBE?kBLC?I@M?C@oBLE@G?E?O@WBK@AW?Qy@M{@`@@JAVeDPK@Q@?T?ZBjA@TD~D?H?R?Z?Vc@r@INIJGJq@`AKPGLqBzCOTEHDN?@@DvBzIXlA@FBFKLU`@GHcA`B]j@OTU^GHGJIHEJKLuBbDKNDPDLRx@Pt@T`ALd@V~@XhAJd@@DJ`@H\\BFJb@T|@\\rANr@\\pAH\\Ld@Nn@DNDPFTDNH^`@`B@DXhA@FFRHXBN`@|A@FDNl@dCDJFXHZ@Ht@rCLf@Lj@BN@Z?Z?j@C`@Gv@A\\?Z@VDPbA`E@DLj@H\\BH~@vDFV@V?RAZIhAMREF_@l@}@rAK^oAlBU\\KJ]d@GHU\\y@jADN\\|FEJGTCJGLCD@n@s@D_@BI@SFABK@G@C@G??PFlE?b@G?BXBfA?`@@X?ZHdG?X@^B|BBvB@Z?l@@`@ANAV?J?J?PBnC@N?D?JDT@VBrB@h@@n@@p@?d@@\\D~D?\\HjF?d@@R?NFzE?J?NFp@?j@Dh@?NB?PCDvHAp@CTSt@YMSKYR^nAf@`Bb@pADNLf@D^D`@D^@JDp@?LNpCD^VbEFbAxBd[Bb@ZpE@FDt@Bf@NnBB\\\\|BHbA?VBPBRMDUNFt@Dn@BZ@JPzBBj@F`ALhC@h@D|@@TB\\@^Hr@FvABn@Dn@Bl@@^JfC@R@N?BBf@FlA@f@Bf@?FBb@@b@Dr@H|B@RB`@JfC@TJpC@PHpB@bAAbBA^AJ?LCh@JD',
},
intermediateStops: [],
realTime: false,
transitLeg: false,
rentedBike: false,
start: new Date(1534232708000).toISOString(),
end: new Date(1534234930000).toISOString(),
distance: 5651.585000000007,
duration: 2222,
intermediatePlace: true,
route: null,
trip: null,
},
{
mode: 'WALK',
from: {
lat: 60.1603512,
lon: 24.8802285,
name: 'corner of Otavantie and path',
vertexType: 'NORMAL',
vehicleRentalStation: null,
stop: null,
},
to: {
lat: 60.160346000000004,
lon: 24.880281,
name: 'corner of path and open area',
vertexType: 'NORMAL',
vehicleRentalStation: null,
stop: null,
},
legGeometry: {
length: 2,
points: 'eaenJklzvC@K',
},
intermediateStops: [],
realTime: false,
transitLeg: false,
rentedBike: false,
start: { scheduledTime: new Date(1534234930000).toISOString() },
end: { scheduledTime: new Date(1534234938000).toISOString() },
distance: 2.961,
duration: 8,
intermediatePlace: false,
route: null,
trip: null,
},
{
mode: 'BICYCLE',
from: {
lat: 60.160346000000004,
lon: 24.880281,
name: 'corner of path and open area',
vertexType: 'NORMAL',
vehicleRentalStation: null,
stop: null,
},
to: {
lat: 60.1598533,
lon: 24.880296400000002,
name: 'corner of path and underpass',
vertexType: 'NORMAL',
vehicleRentalStation: null,
stop: null,
},
legGeometry: {
length: 5,
points: 'caenJwlzvC@@VH^Jf@Y',
},
intermediateStops: [],
realTime: false,
transitLeg: false,
rentedBike: false,
start: { scheduledTime: new Date(1534234938000).toISOString() },
end: { scheduledTime: new Date(1534234946000).toISOString() },
distance: 56.677,
duration: 8,
intermediatePlace: false,
route: null,
trip: null,
},
{
mode: 'WALK',
from: {
lat: 60.1598533,
lon: 24.880296400000002,
name: 'corner of path and underpass',
vertexType: 'NORMAL',
vehicleRentalStation: null,
stop: null,
},
to: {
lat: 60.159396,
lon: 24.878481,
name: 'Lauttasaaren metroasema, Helsinki',
vertexType: 'NORMAL',
vehicleRentalStation: null,
stop: null,
},
legGeometry: {
length: 8,
points: 'a~dnJylzvC?KNEDADC^zDEBb@bE',
},
intermediateStops: [],
realTime: false,
transitLeg: false,
rentedBike: false,
start: { scheduledTime: new Date(1534234946000).toISOString() },
end: { scheduledTime: new Date(1534235143000).toISOString() },
distance: 190.985,
duration: 197,
intermediatePlace: false,
route: null,
trip: null,
},
],
walkingRouteWithIntermediatePlace: {
breakpoint: 'large',
refTime: 1534236646000,
hash: 0,
data: {
walkDistance: 7114.072666572624,
start: new Date(1534236646000).toISOString(),
end: new Date(1534243651000).toISOString(),
legs: [
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534236646000).toISOString() },
end: { scheduledTime: new Date(1534238368000).toISOString() },
mode: 'WALK',
distance: 1847.7440000000006,
duration: 1722,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Aleksanterinkatu, Helsinki',
lat: 60.168898,
lon: 24.945822,
stop: null,
},
to: {
stop: null,
},
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534238968000).toISOString() },
end: { scheduledTime: new Date(1534243651000).toISOString() },
mode: 'WALK',
distance: 5263.962000000001,
duration: 4683,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Kaivopuisto, Helsinki',
lat: 60.156843,
lon: 24.956721,
stop: null,
},
to: {
stop: null,
},
},
],
},
passive: false,
currentTime: 1534225911718,
intermediatePlaces: [
{
address: 'Kaivopuisto, Helsinki',
locationSlack: 600,
lat: 60.156843,
lon: 24.956721,
},
],
},
cityBikeRouteWithIntermediatePlaces: {
breakpoint: 'large',
refTime: 1534248516000,
hash: 0,
data: {
walkDistance: 9041.268379123134,
start: new Date(1534248516000).toISOString(),
end: new Date(1534252308000).toISOString(),
legs: [
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534248516000).toISOString() },
end: { scheduledTime: new Date(1534248946000).toISOString() },
mode: 'WALK',
distance: 385.739,
duration: 430,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Opastinsilta 6, Helsinki',
lat: 60.199118,
lon: 24.940652,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534248946000).toISOString() },
end: { scheduledTime: new Date(1534249656000).toISOString() },
mode: 'BICYCLE',
distance: 2826.459,
duration: 710,
rentedBike: true,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Velodrominrinne',
lat: 60.2010614,
lon: 24.9440506,
stop: null,
vehicleRentalStation: { rentalNetwork: { networkId: 'smoove' } },
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534249656000).toISOString() },
end: { scheduledTime: new Date(1534250025000).toISOString() },
mode: 'WALK',
distance: 356.49800000000005,
duration: 369,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Näkinsilta',
lat: 60.179765,
lon: 24.9554618,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534250025000).toISOString() },
end: { scheduledTime: new Date(1534250424000).toISOString() },
mode: 'WALK',
distance: 356.498,
duration: 399,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Merihaka, Helsinki',
lat: 60.178882,
lon: 24.960086,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534250424000).toISOString() },
end: { scheduledTime: new Date(1534251140000).toISOString() },
mode: 'BICYCLE',
distance: 2747.1400000000012,
duration: 716,
rentedBike: true,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Näkinsilta',
lat: 60.179765,
lon: 24.9554618,
stop: null,
vehicleRentalStation: { rentalNetwork: { networkId: 'smoove' } },
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534251140000).toISOString() },
end: { scheduledTime: new Date(1534251149000).toISOString() },
mode: 'WALK',
distance: 3.635,
duration: 9,
rentedBike: true,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'corner of sidewalk and path',
lat: 60.160925600000006,
lon: 24.941921,
stop: null,
vehicleRentalStation: { rentalNetwork: { networkId: 'smoove' } },
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534251149000).toISOString() },
end: { scheduledTime: new Date(1534251150000).toISOString() },
mode: 'BICYCLE',
distance: 0,
duration: 1,
rentedBike: true,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'sidewalk',
lat: 60.160952472069354,
lon: 24.9418835642972,
stop: null,
vehicleRentalStation: { rentalNetwork: { networkId: 'smoove' } },
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534251150000).toISOString() },
end: { scheduledTime: new Date(1534251347000).toISOString() },
mode: 'WALK',
distance: 172.83599999999998,
duration: 197,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Viiskulma',
lat: 60.160944,
lon: 24.941859,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534251347000).toISOString() },
end: { scheduledTime: new Date(1534251598000).toISOString() },
mode: 'WALK',
distance: 218.619,
duration: 251,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Punavuorenkatu 1, Helsinki',
lat: 60.161875,
lon: 24.939654,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534251598000).toISOString() },
end: { scheduledTime: new Date(1534251599000).toISOString() },
mode: 'BICYCLE',
distance: 0,
duration: 1,
rentedBike: true,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Albertinkatu',
lat: 60.1618359,
lon: 24.9368179,
stop: null,
vehicleRentalStation: { rentalNetwork: { networkId: 'smoove' } },
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534251599000).toISOString() },
end: { scheduledTime: new Date(1534251619000).toISOString() },
mode: 'WALK',
distance: 18.22,
duration: 20,
rentedBike: true,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'path',
lat: 60.16185062722838,
lon: 24.936860480731475,
stop: null,
vehicleRentalStation: { rentalNetwork: { networkId: 'smoove' } },
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534251619000).toISOString() },
end: { scheduledTime: new Date(1534252051000).toISOString() },
mode: 'BICYCLE',
distance: 1726.162,
duration: 432,
rentedBike: true,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'corner of path and Iso Roobertinkatu',
lat: 60.1617163,
lon: 24.937049100000003,
stop: null,
vehicleRentalStation: { rentalNetwork: { networkId: 'smoove' } },
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534252051000).toISOString() },
end: { scheduledTime: new Date(1534252308000).toISOString() },
mode: 'WALK',
distance: 227.787,
duration: 257,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Itämerentori',
lat: 60.163535,
lon: 24.914765,
stop: null,
},
to: { stop: null },
},
],
},
passive: false,
currentTime: 1534248499202,
intermediatePlaces: [
{
address: 'Merihaka, Helsinki',
locationSlack: 3600,
lat: 60.178882,
lon: 24.960086,
},
{
address: 'Punavuorenkatu 1, Helsinki',
locationSlack: 1200,
lat: 60.161875,
lon: 24.939654,
},
],
children: false,
},
bikingRouteWithIntermediatePlaces: {
breakpoint: 'large',
refTime: 1534249073000,
hash: 0,
data: {
walkDistance: 8072.749670836849,
start: new Date(1534249073000).toISOString(),
end: new Date(1534251366000).toISOString(),
legs: [
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534249073000).toISOString() },
end: { scheduledTime: new Date(1534249863000).toISOString() },
mode: 'BICYCLE',
distance: 3056.043,
duration: 790,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Opastinsilta 6, Helsinki',
lat: 60.199118,
lon: 24.940652,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534249863000).toISOString() },
end: { scheduledTime: new Date(1534250635000).toISOString() },
mode: 'BICYCLE',
distance: 2999.7169999999983,
duration: 772,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Merihaka, Helsinki',
lat: 60.178882,
lon: 24.960086,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534250635000).toISOString() },
end: { scheduledTime: new Date(1534250647000).toISOString() },
mode: 'WALK',
distance: 6.236,
duration: 12,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'corner of Fredrikinkatu and Punavuorenkatu',
lat: 60.1619868,
lon: 24.9402994,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534250647000).toISOString() },
end: { scheduledTime: new Date(1534250654000).toISOString() },
mode: 'BICYCLE',
distance: 27.019,
duration: 7,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'corner of path and Fredrikintori',
lat: 60.16195510000001,
lon: 24.9402064,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534250654000).toISOString() },
end: { scheduledTime: new Date(1534250659000).toISOString() },
mode: 'WALK',
distance: 3.719,
duration: 5,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'corner of path and Fredrikintori',
lat: 60.161860100000006,
lon: 24.939756900000003,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534250659000).toISOString() },
end: { scheduledTime: new Date(1534250663000).toISOString() },
mode: 'WALK',
distance: 3.719,
duration: 4,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Punavuorenkatu 1, Helsinki',
lat: 60.161875,
lon: 24.939654,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534250663000).toISOString() },
end: { scheduledTime: new Date(1534251136000).toISOString() },
mode: 'BICYCLE',
distance: 1877.631,
duration: 473,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'corner of path and Fredrikintori',
lat: 60.161860100000006,
lon: 24.939756900000003,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534251136000).toISOString() },
end: { scheduledTime: new Date(1534251366000).toISOString() },
mode: 'WALK',
distance: 97.916,
duration: 230,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'corner of path and Itämerenkuja',
lat: 60.1631567,
lon: 24.91404,
stop: null,
},
to: { stop: null },
},
],
},
passive: false,
currentTime: 1534249069766,
intermediatePlaces: [
{
address: 'Merihaka, Helsinki',
locationSlack: 3600,
lat: 60.178882,
lon: 24.960086,
},
{
address: 'Punavuorenkatu 1, Helsinki',
locationSlack: 1200,
lat: 60.161875,
lon: 24.939654,
},
],
children: false,
},
shortRailRouteWithLongSlacktime: {
breakpoint: 'large',
refTime: 1534331570000,
hash: 0,
data: {
walkDistance: 1142.60041664559,
start: new Date(1534331943000).toISOString(),
end: new Date(1534338844000).toISOString(),
legs: [
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534331943000).toISOString() },
end: { scheduledTime: new Date(1534332240000).toISOString() },
mode: 'WALK',
distance: 316.915,
duration: 297,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Leppävaaran asema, Espoo',
lat: 60.219424,
lon: 24.814576,
stop: null,
},
to: {
stop: {
gtfsId: 'HSL:2111502',
},
},
},
{
realTime: false,
transitLeg: true,
start: { scheduledTime: new Date(1534332240000).toISOString() },
end: { scheduledTime: new Date(1534332420000).toISOString() },
mode: 'RAIL',
distance: 1662.8413419056242,
duration: 180,
rentedBike: false,
intermediatePlace: false,
route: {
mode: 'RAIL',
shortName: 'U',
color: null,
alerts: [],
agency: {
name: 'Helsingin seudun liikenne',
},
},
trip: {
stoptimes: [
{
stop: {
gtfsId: 'HSL:1020502',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:1174502',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:1291501',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:2111502',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:2131501',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:2132502',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:3010501',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:2161501',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:2612501',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:2611502',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:2511501',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:6010503',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:6010504',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:6010505',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:6010501',
},
pickupType: 'NONE',
},
],
},
from: {
name: 'Leppävaara',
lat: 60.219486,
lon: 24.813242,
stop: {
gtfsId: 'HSL:2111502',
},
},
to: {
stop: {
gtfsId: 'HSL:2131501',
},
},
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534332420000).toISOString() },
end: { scheduledTime: new Date(1534332788000).toISOString() },
mode: 'WALK',
distance: 410.706,
duration: 368,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Kilo',
lat: 60.217952,
lon: 24.783293,
stop: {
gtfsId: 'HSL:2131501',
},
},
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534338352000).toISOString() },
end: { scheduledTime: new Date(1534338720000).toISOString() },
mode: 'WALK',
distance: 410.70599999999996,
duration: 368,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Kilon asema, Espoo',
lat: 60.217879,
lon: 24.781975,
stop: null,
},
to: {
stop: {
gtfsId: 'HSL:2131501',
},
},
},
{
realTime: false,
transitLeg: true,
start: { scheduledTime: new Date(1534338720000).toISOString() },
end: { scheduledTime: new Date(1534338840000).toISOString() },
mode: 'RAIL',
distance: 1654.2735990823508,
duration: 120,
rentedBike: false,
intermediatePlace: false,
route: {
mode: 'RAIL',
shortName: 'E',
color: null,
alerts: [],
agency: {
name: 'Helsingin seudun liikenne',
},
},
trip: null,
from: {
name: 'Kilo',
lat: 60.217952,
lon: 24.783293,
stop: {
gtfsId: 'HSL:2131501',
},
},
to: {
stop: {
gtfsId: 'HSL:2132502',
},
},
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534338840000).toISOString() },
end: { scheduledTime: new Date(1534338844000).toISOString() },
mode: 'WALK',
distance: 3.743,
duration: 4,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Kera',
lat: 60.216041,
lon: 24.75359,
stop: {
gtfsId: 'HSL:2132502',
},
},
},
],
},
passive: false,
currentTime: 1534331553377,
intermediatePlaces: [
{
address: 'Kilon asema, Espoo',
locationSlack: 5400,
lat: 60.217879,
lon: 24.781975,
},
],
children: false,
},
transitRouteWithWalkConnectingIntermediatePlaces: {
breakpoint: 'large',
refTime: 1534336789000,
hash: 0,
data: {
walkDistance: 266.06699998986716,
start: new Date(1534337446000).toISOString(),
end: new Date(1534338284000).toISOString(),
legs: [
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534337446000).toISOString() },
end: { scheduledTime: new Date(1534337484000).toISOString() },
mode: 'WALK',
distance: 41.708,
duration: 38,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Postintaival 7, Helsinki',
lat: 60.213151618283554,
lon: 24.917185306549076,
stop: null,
},
to: {
stop: {
gtfsId: 'HSL:1172144',
},
},
},
{
realTime: true,
transitLeg: true,
start: { scheduledTime: new Date(1534337484000).toISOString() },
end: { scheduledTime: new Date(1534337564000).toISOString() },
mode: 'BUS',
distance: 311.88651678082755,
duration: 80,
rentedBike: false,
intermediatePlace: false,
route: {
mode: 'BUS',
shortName: '50',
color: null,
alerts: [],
agency: {
name: 'Helsingin seudun liikenne',
},
},
trip: null,
from: {
name: 'Posti 1',
lat: 60.21287,
lon: 24.91677,
stop: {
gtfsId: 'HSL:1172144',
},
},
to: {
stop: {
gtfsId: 'HSL:1172142',
},
},
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534337564000).toISOString() },
end: { scheduledTime: new Date(1534337659000).toISOString() },
mode: 'WALK',
distance: 101.31899999999999,
duration: 95,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Ilmalan bussivarikko',
lat: 60.21009,
lon: 24.91752,
stop: {
gtfsId: 'HSL:1172142',
},
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534338019000).toISOString() },
end: { scheduledTime: new Date(1534338114000).toISOString() },
mode: 'WALK',
distance: 101.319,
duration: 95,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Postintaival 3, Helsinki',
lat: 60.209802,
lon: 24.919357,
stop: null,
},
to: {
stop: {
gtfsId: 'HSL:1172142',
},
},
},
{
realTime: true,
transitLeg: true,
start: { scheduledTime: new Date(1534338114000).toISOString() },
end: { scheduledTime: new Date(1534338257000).toISOString() },
mode: 'BUS',
distance: 892.8197985751335,
duration: 143,
rentedBike: false,
intermediatePlace: false,
route: {
mode: 'BUS',
shortName: '50',
color: null,
alerts: [],
agency: {
name: 'Helsingin seudun liikenne',
},
},
trip: null,
from: {
name: 'Ilmalan bussivarikko',
lat: 60.21009,
lon: 24.91752,
stop: {
gtfsId: 'HSL:1172142',
},
},
to: {
stop: {
gtfsId: 'HSL:1171121',
},
},
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534338257000).toISOString() },
end: { scheduledTime: new Date(1534338284000).toISOString() },
mode: 'WALK',
distance: 21.465999999999998,
duration: 27,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Ilmalantori',
lat: 60.205915,
lon: 24.91852,
stop: {
gtfsId: 'HSL:1171121',
},
},
to: { stop: null },
},
],
},
passive: false,
currentTime: 1534339633441,
intermediatePlaces: [
{
address: 'Ilmalan bussivarikko 2198, Helsinki',
lat: 60.21009,
lon: 24.91752,
},
{ address: 'Postintaival 3, Helsinki', lat: 60.209802, lon: 24.919357 },
],
children: false,
},
transitRouteWithShortWalkAtEndAfterIntermediatePlace: {
breakpoint: 'large',
refTime: 1534331570000,
hash: 0,
data: {
walkDistance: 632.8012499858438,
start: new Date(1534331801000).toISOString(),
end: new Date(1534332522000).toISOString(),
legs: [
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534331801000).toISOString() },
end: { scheduledTime: new Date(1534331820000).toISOString() },
mode: 'WALK',
distance: 16.376,
duration: 19,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Ilmalan asema, Helsinki',
lat: 60.207595,
lon: 24.921465,
stop: null,
},
to: {
stop: {
gtfsId: 'HSL:1172553',
},
},
},
{
realTime: false,
transitLeg: true,
start: { scheduledTime: new Date(1534331820000).toISOString() },
end: { scheduledTime: new Date(1534331940000).toISOString() },
mode: 'RAIL',
distance: 1147.0076604154772,
duration: 120,
rentedBike: false,
intermediatePlace: false,
route: {
mode: 'RAIL',
shortName: 'A',
color: null,
alerts: [],
agency: {
name: 'Helsingin seudun liikenne',
},
},
trip: {
stoptimes: [
{
stop: {
gtfsId: 'HSL:2111504',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:2118551',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:1465552',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:1465551',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:1291551',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:1172553',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:1174552',
},
pickupType: 'SCHEDULED',
},
{
stop: {
gtfsId: 'HSL:1020552',
},
pickupType: 'NONE',
},
],
},
from: {
name: 'Ilmala',
lat: 60.207587,
lon: 24.921303,
stop: {
gtfsId: 'HSL:1172553',
},
},
to: {
stop: {
gtfsId: 'HSL:1174552',
},
},
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534331940000).toISOString() },
end: { scheduledTime: new Date(1534332404000).toISOString() },
mode: 'WALK',
distance: 491.90199999999993,
duration: 464,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Pasila',
lat: 60.199041,
lon: 24.932928,
stop: {
gtfsId: 'HSL:1174552',
},
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534332404000).toISOString() },
end: { scheduledTime: new Date(1534332522000).toISOString() },
mode: 'WALK',
distance: 124.16699999999999,
duration: 118,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Opastinsilta 7, Helsinki',
lat: 60.19948,
lon: 24.939067,
stop: null,
},
to: { stop: null },
},
],
},
passive: false,
currentTime: 1534342037101,
intermediatePlaces: [
{ address: 'Opastinsilta 7, Helsinki', lat: 60.19948, lon: 24.939067 },
],
children: false,
},
transitRouteWithShortWalkAtStartBeforeIntermediatePlace: {
breakpoint: 'large',
refTime: 1534331570000,
hash: 0,
data: {
walkDistance: 629.7502499830623,
start: new Date(1534331894000).toISOString(),
end: new Date(1534332619000).toISOString(),
legs: [
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534331894000).toISOString() },
end: { scheduledTime: new Date(1534332016000).toISOString() },
mode: 'WALK',
distance: 121.04600000000002,
duration: 122,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Opastinsilta 6, Helsinki',
lat: 60.199118,
lon: 24.940652,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534332016000).toISOString() },
end: { scheduledTime: new Date(1534332480000).toISOString() },
mode: 'WALK',
distance: 491.9020000000001,
duration: 464,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Opastinsilta 7, Helsinki',
lat: 60.19948,
lon: 24.939067,
stop: null,
},
to: {
stop: {
gtfsId: 'HSL:1174502',
},
},
},
{
realTime: false,
transitLeg: true,
start: { scheduledTime: new Date(1534332480000).toISOString() },
end: { scheduledTime: new Date(1534332600000).toISOString() },
mode: 'RAIL',
distance: 1148.1104293779351,
duration: 120,
rentedBike: false,
intermediatePlace: false,
route: {
mode: 'RAIL',
shortName: 'A',
color: null,
alerts: [],
agency: {
name: 'Helsingin seudun liikenne',
},
},
trip: null,
from: {
name: 'Pasila',
lat: 60.199041,
lon: 24.932928,
stop: {
gtfsId: 'HSL:1174502',
},
},
to: {
stop: {
gtfsId: 'HSL:1172503',
},
},
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534332600000).toISOString() },
end: { scheduledTime: new Date(1534332619000).toISOString() },
mode: 'WALK',
distance: 16.376,
duration: 19,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Ilmala',
lat: 60.207605,
lon: 24.921321,
stop: {
gtfsId: 'HSL:1172503',
},
},
to: { stop: null },
},
],
},
passive: false,
currentTime: 1534342392930,
intermediatePlaces: [
{ address: 'Opastinsilta 7, Helsinki', lat: 60.19948, lon: 24.939067 },
],
children: false,
},
transitRouteWithIntermediatePlaceAtStop: {
breakpoint: 'large',
refTime: 1534336789000,
hash: 0,
data: {
walkDistance: 116.66474999607604,
start: new Date(1534337446000).toISOString(),
end: new Date(1534339835000).toISOString(),
legs: [
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534337446000).toISOString() },
end: { scheduledTime: new Date(1534337484000).toISOString() },
mode: 'WALK',
distance: 41.708,
duration: 38,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Postintaival 7, Helsinki',
lat: 60.213151618283554,
lon: 24.917185306549076,
stop: null,
},
to: {
stop: {
gtfsId: 'HSL:1172144',
},
},
},
{
realTime: true,
transitLeg: true,
start: { scheduledTime: new Date(1534337484000).toISOString() },
end: { scheduledTime: new Date(1534337564000).toISOString() },
mode: 'BUS',
distance: 311.88651678082755,
duration: 80,
rentedBike: false,
intermediatePlace: false,
route: {
mode: 'BUS',
shortName: '50',
color: null,
alerts: [],
agency: {
name: 'Helsingin seudun liikenne',
},
},
trip: null,
from: {
name: 'Posti 1',
lat: 60.21287,
lon: 24.91677,
stop: {
gtfsId: 'HSL:1172144',
},
},
to: {
stop: {
gtfsId: 'HSL:1172142',
},
},
},
{
realTime: true,
transitLeg: true,
start: { scheduledTime: new Date(1534339694000).toISOString() },
end: { scheduledTime: new Date(1534339760000).toISOString() },
mode: 'BUS',
distance: 297.5439220097265,
duration: 66,
rentedBike: false,
intermediatePlace: false,
route: {
mode: 'BUS',
shortName: '50',
color: null,
alerts: [],
agency: {
name: 'Helsingin seudun liikenne',
},
},
trip: null,
from: {
name: 'Ilmalan bussivarikko',
lat: 60.21009,
lon: 24.91752,
stop: {
gtfsId: 'HSL:1172142',
},
},
to: {
stop: {
gtfsId: 'HSL:1174102',
},
},
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534339760000).toISOString() },
end: { scheduledTime: new Date(1534339835000).toISOString() },
mode: 'WALK',
distance: 74.858,
duration: 75,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Ilmalan seisake',
lat: 60.20796,
lon: 24.92078,
stop: {
gtfsId: 'HSL:1174102',
},
},
to: { stop: null },
},
],
},
passive: false,
currentTime: 1534342632626,
intermediatePlaces: [
{
address: 'Ilmalan bussivarikko 2198, Helsinki',
locationSlack: 1800,
lat: 60.21009,
lon: 24.91752,
},
],
children: false,
},
shortWalkingFirstLegWithMultipleViaPoints: {
breakpoint: 'large',
refTime: 1534501535000,
hash: 0,
data: {
walkDistance: 1166.5336666326266,
start: new Date(1534501732000).toISOString(),
end: new Date(1534503881000).toISOString(),
legs: [
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534501732000).toISOString() },
end: { scheduledTime: new Date(1534501781000).toISOString() },
mode: 'WALK',
distance: 50.797,
duration: 49,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Opastinsilta 5, Helsinki',
lat: 60.199647,
lon: 24.940299,
stop: null,
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534501781000).toISOString() },
end: { scheduledTime: new Date(1534502055000).toISOString() },
mode: 'WALK',
distance: 284.95300000000003,
duration: 274,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Opastinsilta 6, Helsinki',
lat: 60.199093,
lon: 24.940536,
stop: null,
},
to: {
stop: {
gtfsId: 'HSL:1173125',
},
},
},
{
realTime: true,
transitLeg: true,
start: { scheduledTime: new Date(1534502055000).toISOString() },
end: { scheduledTime: new Date(1534502570000).toISOString() },
mode: 'BUS',
distance: 2073.1838320129123,
duration: 515,
rentedBike: false,
intermediatePlace: false,
route: {
mode: 'BUS',
shortName: '50',
color: null,
alerts: [],
agency: {
name: 'Helsingin seudun liikenne',
},
},
trip: null,
from: {
name: 'Pasilan asema',
lat: 60.198537,
lon: 24.937137,
stop: {
gtfsId: 'HSL:1173125',
},
},
to: {
stop: {
gtfsId: 'HSL:1174101',
},
},
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534502570000).toISOString() },
end: { scheduledTime: new Date(1534502669000).toISOString() },
mode: 'WALK',
distance: 103.86800000000001,
duration: 99,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Ilmalan seisake',
lat: 60.208023,
lon: 24.921068,
stop: {
gtfsId: 'HSL:1174101',
},
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534503053000).toISOString() },
end: { scheduledTime: new Date(1534503072000).toISOString() },
mode: 'WALK',
distance: 16.376,
duration: 19,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Ilmalan asema, Helsinki',
lat: 60.207595,
lon: 24.921465,
stop: null,
},
to: {
stop: {
gtfsId: 'HSL:1172553',
},
},
},
{
realTime: true,
transitLeg: true,
start: { scheduledTime: new Date(1534503072000).toISOString() },
end: { scheduledTime: new Date(1534503201000).toISOString() },
mode: 'RAIL',
distance: 1147.0076604154772,
duration: 129,
rentedBike: false,
intermediatePlace: false,
route: {
mode: 'RAIL',
shortName: 'I',
color: null,
alerts: [],
agency: {
name: 'Helsingin seudun liikenne',
},
},
trip: null,
from: {
name: 'Ilmala',
lat: 60.207587,
lon: 24.921303,
stop: {
gtfsId: 'HSL:1172553',
},
},
to: {
stop: {
gtfsId: 'HSL:1174552',
},
},
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534503201000).toISOString() },
end: { scheduledTime: new Date(1534503702000).toISOString() },
mode: 'WALK',
distance: 522.579,
duration: 501,
rentedBike: false,
intermediatePlace: false,
route: null,
trip: null,
from: {
name: 'Pasila',
lat: 60.199041,
lon: 24.932928,
stop: {
gtfsId: 'HSL:1174552',
},
},
to: { stop: null },
},
{
realTime: false,
transitLeg: false,
start: { scheduledTime: new Date(1534503702000).toISOString() },
end: { scheduledTime: new Date(1534503881000).toISOString() },
mode: 'WALK',
distance: 187.10399999999998,
duration: 179,
rentedBike: false,
intermediatePlace: true,
route: null,
trip: null,
from: {
name: 'Opastinsilta 8, Helsinki',
lat: 60.198971,
lon: 24.939272,
stop: null,
},
to: { stop: null },
},
],
},
passive: true,
currentTime: 1534505933593,
intermediatePlaces: [
{ address: 'Opastinsilta 6, Helsinki', lat: 60.199093, lon: 24.940536 },
{ address: 'Ilmalan asema, Helsinki', lat: 60.207595, lon: 24.921465 },
{ address: 'Opastinsilta 8, Helsinki', lat: 60.198971, lon: 24.939272 },
],
children: false,
},
};