Skip to content

Instantly share code, notes, and snippets.

@buma
Created May 18, 2015 13:03
Show Gist options
  • Select an option

  • Save buma/3eaf660b10870da10f72 to your computer and use it in GitHub Desktop.

Select an option

Save buma/3eaf660b10870da10f72 to your computer and use it in GitHub Desktop.
Example of JSON plan output
Request JSON
{
"requestParameters": {
"date": "05-18-2015",
"mode": "TRANSIT,WALK",
"arriveBy": "false",
"wheelchair": "false",
"showIntermediateStops": "false",
"fromPlace": "46.556499533500876,15.612258911132812",
"callback": "jQuery19109662268040701747_1431954059022",
"toPlace": "46.562873375747564,15.64796447753906",
"time": "3:00pm",
"maxWalkDistance": "804.672",
"locale": "en",
"_": "1431954059025"
},
"plan": {
"date": 1431954000000,
"from": {
"name": "Kolaričeva ulica",
"stopId": null,
"stopCode": null,
"platformCode": null,
"lon": 15.61244423963556,
"lat": 46.55648673051523,
"arrival": null,
"departure": null,
"orig": null,
"zoneId": null,
"stopIndex": null
},
"to": {
"name": "bike path",
"stopId": null,
"stopCode": null,
"platformCode": null,
"lon": 15.647961361673062,
"lat": 46.56296726434481,
"arrival": null,
"departure": null,
"orig": null,
"zoneId": null,
"stopIndex": null
},
"itineraries": [
{
"duration": 1568,
"startTime": 1431954164000,
"endTime": 1431955732000,
"walkTime": 486,
"transitTime": 1080,
"waitingTime": 2,
"walkDistance": 585.7375533702375,
"walkLimitExceeded": false,
"elevationLost": 0,
"elevationGained": 0,
"transfers": 0,
"trafficLights": 0,
"fare": {
"fare": {
"regular": {
"currency": {
"currency": "EUR",
"defaultFractionDigits": 2,
"currencyCode": "EUR",
"symbol": "EUR"
},
"cents": 78
}
}
},
"legs": [
{
"startTime": 1431954164000,
"endTime": 1431954299000,
"trafficLights": 0,
"departureDelay": 0,
"arrivalDelay": 0,
"realTime": false,
"isNonExactFrequency": null,
"headway": null,
"distance": 163.83394051424057,
"mode": "WALK",
"route": "",
"agencyName": null,
"agencyUrl": null,
"agencyTimeZoneOffset": 7200000,
"routeColor": null,
"routeType": null,
"routeId": null,
"routeTextColor": null,
"interlineWithPreviousLeg": false,
"tripShortName": null,
"tripBlockId": null,
"headsign": null,
"agencyId": null,
"bikesAllowed": null,
"wheelchairAccessible": null,
"tripId": null,
"serviceDate": null,
"from": {
"name": "Kolaričeva ulica",
"stopId": null,
"stopCode": null,
"platformCode": null,
"lon": 15.61244423963556,
"lat": 46.55648673051523,
"arrival": null,
"departure": 1431954164000,
"orig": "",
"zoneId": null,
"stopIndex": null
},
"to": {
"name": "Studenci - obračališče",
"stopId": {
"agencyId": "MARPROM",
"id": "287"
},
"stopCode": null,
"platformCode": null,
"lon": 15.6112468,
"lat": 46.5572086,
"arrival": 1431954299000,
"departure": 1431954300000,
"orig": null,
"zoneId": null,
"stopIndex": null
},
"legGeometry": {
"points": "_ad{Gwhh~AkAIGAE~DANKBM@MFGLCN",
"levels": null,
"length": 10
},
"notes": null,
"alerts": null,
"routeShortName": null,
"routeLongName": null,
"boardRule": null,
"alightRule": null,
"rentedBike": false,
"transitLeg": false,
"duration": 135,
"intermediateStops": null,
"steps": [
{
"distance": 47.157213274940595,
"relativeDirection": "DEPART",
"streetName": "Kolaričeva ulica",
"absoluteDirection": "NORTH",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.61244423963556,
"lat": 46.55648673051523,
"elevation": [],
"alerts": null
},
{
"distance": 116.67672723929996,
"relativeDirection": "LEFT",
"streetName": "Limbuška cesta",
"absoluteDirection": "WEST",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.6125059,
"lat": 46.5569087,
"elevation": [],
"alerts": null
}
]
},
{
"startTime": 1431954300000,
"endTime": 1431955380000,
"trafficLights": 0,
"departureDelay": 0,
"arrivalDelay": 0,
"realTime": false,
"isNonExactFrequency": null,
"headway": null,
"distance": 5166.640715148159,
"mode": "BUS",
"route": "17",
"agencyName": "Marprom",
"agencyUrl": "http://www.marprom.si/",
"agencyTimeZoneOffset": 7200000,
"routeColor": "333333",
"routeType": 3,
"routeId": "11",
"routeTextColor": "FFFFFF",
"interlineWithPreviousLeg": false,
"tripShortName": null,
"tripBlockId": null,
"headsign": "Ribniško selo - obračališče",
"agencyId": "MARPROM",
"bikesAllowed": 2,
"wheelchairAccessible": 2,
"tripId": "1845",
"serviceDate": "20150518",
"from": {
"name": "Studenci - obračališče",
"stopId": {
"agencyId": "MARPROM",
"id": "287"
},
"stopCode": null,
"platformCode": null,
"lon": 15.6112667,
"lat": 46.5572485,
"arrival": 1431954299000,
"departure": 1431954300000,
"orig": null,
"zoneId": null,
"stopIndex": 0
},
"to": {
"name": "Prešernova - OŠ B. Polančič",
"stopId": {
"agencyId": "MARPROM",
"id": "353"
},
"stopCode": null,
"platformCode": null,
"lon": 15.6516455,
"lat": 46.564408,
"arrival": 1431955380000,
"departure": 1431955381000,
"orig": null,
"zoneId": null,
"stopIndex": 13
},
"legGeometry": {
"points": "oed{Ggah~A?L@LDNXBR??H@Z@r@BZFl@FZDPNXEFCJ?LBJDFDBJ?DEDGBOAKCGEGF_@ViB??TiBf@oC^yBlAkGJi@H_@t@cEDWB@D?B?@ABCBC?A@I?IAECECCCAHe@ZcBrAqH??DSF[`@yB`@wB\\mBDUFDxFfEw@dCu@rBGNECEAG?E?CBCBIHGPMf@VNh@uAFOt@sBv@eCpAcFxAyFp@sC??BI^uADSH[UKkDeBw@e@IQ[SGEEGCEGUIe@^iCTeBt@uFHo@Jm@VcBD[DSFk@R_BJi@??XqBfAgHf@uCD[D@F?FADGDI@KAMCIGIECDYVkBd@aD`@}Cb@{CHk@PmAF]`@yC@Gb@}CLq@Fa@Hk@b@aDrAeJlAwIp@{EFc@t@iFJs@F]@@HADC@EBE@E?MAGAGEGCACAE?EBC@EFCJUGgDs@??QCQEy@QWGGACAk@Mu@OKCOEqEeAWIGA_ASeCe@KAS@MBKBMFu@T]POF_@PWNQHG@E@WFQBQ?m@IMCIEKIEIGOHyBBq@FmA??@[?S?SAOG_@EOIOOWQYGGGQEOEQCQAS?M?m@@cA@wA?gD@iABgAB{@@o@P@H@D@L?VDDHDLBL@L@PCl@A|AO`@GLGFIJONSCsGe@sG]q@EEAGEAECGEEEAE?E@C@EFK@M?gHc@SC[GQGQMUUKMMIUCC?MAO?sA@C?}@?iBDS@M?iDBQ?O@oB@uA@y@@",
"levels": null,
"length": 288
},
"notes": null,
"alerts": null,
"routeShortName": "17",
"routeLongName": "Ribniško selo",
"boardRule": null,
"alightRule": null,
"rentedBike": false,
"transitLeg": true,
"duration": 1080,
"intermediateStops": null,
"steps": []
},
{
"startTime": 1431955381000,
"endTime": 1431955732000,
"trafficLights": 0,
"departureDelay": 0,
"arrivalDelay": 0,
"realTime": false,
"isNonExactFrequency": null,
"headway": null,
"distance": 421.6321842933264,
"mode": "WALK",
"route": "",
"agencyName": null,
"agencyUrl": null,
"agencyTimeZoneOffset": 7200000,
"routeColor": null,
"routeType": null,
"routeId": null,
"routeTextColor": null,
"interlineWithPreviousLeg": false,
"tripShortName": null,
"tripBlockId": null,
"headsign": null,
"agencyId": null,
"bikesAllowed": null,
"wheelchairAccessible": null,
"tripId": null,
"serviceDate": null,
"from": {
"name": "Prešernova - OŠ B. Polančič",
"stopId": {
"agencyId": "MARPROM",
"id": "353"
},
"stopCode": null,
"platformCode": null,
"lon": 15.651595626059795,
"lat": 46.56440620243534,
"arrival": 1431955380000,
"departure": 1431955381000,
"orig": null,
"zoneId": null,
"stopIndex": null
},
"to": {
"name": "bike path",
"stopId": null,
"stopCode": null,
"platformCode": null,
"lon": 15.647961361673062,
"lat": 46.56296726434481,
"arrival": 1431955732000,
"departure": null,
"orig": "",
"zoneId": null,
"stopIndex": null
},
"legGeometry": {
"points": "ore{Gm}o~A??I??JEhH?JJ\\BL@^@^@JBJJNHRDPFHF@FADd@DvA@VBPpDCJ?F?FA@l@",
"levels": null,
"length": 27
},
"notes": null,
"alerts": null,
"routeShortName": null,
"routeLongName": null,
"boardRule": null,
"alightRule": null,
"rentedBike": false,
"transitLeg": false,
"duration": 351,
"intermediateStops": null,
"steps": [
{
"distance": 5.3493565446270175,
"relativeDirection": "DEPART",
"streetName": "Prešernova ulica",
"absoluteDirection": "NORTH",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.651595626059795,
"lat": 46.56440620243534,
"elevation": [],
"alerts": null
},
{
"distance": 123.2648254475563,
"relativeDirection": "LEFT",
"streetName": "Aškerčeva ulica",
"absoluteDirection": "WEST",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.6515942,
"lat": 46.5644543,
"elevation": [],
"alerts": null
},
{
"distance": 275.2963276783738,
"relativeDirection": "SLIGHTLY_LEFT",
"streetName": "path",
"absoluteDirection": "SOUTHWEST",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": true,
"lon": 15.6499826,
"lat": 46.5644879,
"elevation": [],
"alerts": null
},
{
"distance": 17.721674622769314,
"relativeDirection": "RIGHT",
"streetName": "bike path",
"absoluteDirection": "WEST",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.6481931,
"lat": 46.5629709,
"elevation": [],
"alerts": null
}
]
}
],
"tooSloped": false
},
{
"duration": 2253,
"startTime": 1431954080000,
"endTime": 1431956333000,
"walkTime": 511,
"transitTime": 1260,
"waitingTime": 482,
"walkDistance": 641.6371891911023,
"walkLimitExceeded": false,
"elevationLost": 0,
"elevationGained": 0,
"transfers": 1,
"trafficLights": 1,
"fare": {
"fare": {
"regular": {
"currency": {
"currency": "EUR",
"defaultFractionDigits": 2,
"currencyCode": "EUR",
"symbol": "EUR"
},
"cents": 78
}
}
},
"legs": [
{
"startTime": 1431954080000,
"endTime": 1431954239000,
"trafficLights": 0,
"departureDelay": 0,
"arrivalDelay": 0,
"realTime": false,
"isNonExactFrequency": null,
"headway": null,
"distance": 198.42801356584636,
"mode": "WALK",
"route": "",
"agencyName": null,
"agencyUrl": null,
"agencyTimeZoneOffset": 7200000,
"routeColor": null,
"routeType": null,
"routeId": null,
"routeTextColor": null,
"interlineWithPreviousLeg": false,
"tripShortName": null,
"tripBlockId": null,
"headsign": null,
"agencyId": null,
"bikesAllowed": null,
"wheelchairAccessible": null,
"tripId": null,
"serviceDate": null,
"from": {
"name": "Kolaričeva ulica",
"stopId": null,
"stopCode": null,
"platformCode": null,
"lon": 15.61244423963556,
"lat": 46.55648673051523,
"arrival": null,
"departure": 1431954080000,
"orig": "",
"zoneId": null,
"stopIndex": null
},
"to": {
"name": "Studenci - obračališče",
"stopId": {
"agencyId": "MARPROM",
"id": "153"
},
"stopCode": null,
"platformCode": null,
"lon": 15.610530449280986,
"lat": 46.55691028847799,
"arrival": 1431954239000,
"departure": 1431954240000,
"orig": null,
"zoneId": null,
"stopIndex": null
},
"legGeometry": {
"points": "_ad{Gwhh~AkAIGAE~DAN@v@?b@?H@Z@r@?B",
"levels": null,
"length": 11
},
"notes": null,
"alerts": null,
"routeShortName": null,
"routeLongName": null,
"boardRule": null,
"alightRule": null,
"rentedBike": false,
"transitLeg": false,
"duration": 159,
"intermediateStops": null,
"steps": [
{
"distance": 47.157213274940595,
"relativeDirection": "DEPART",
"streetName": "Kolaričeva ulica",
"absoluteDirection": "NORTH",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.61244423963556,
"lat": 46.55648673051523,
"elevation": [],
"alerts": null
},
{
"distance": 151.27080029090575,
"relativeDirection": "LEFT",
"streetName": "Limbuška cesta",
"absoluteDirection": "WEST",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.6125059,
"lat": 46.5569087,
"elevation": [],
"alerts": null
}
]
},
{
"startTime": 1431954240000,
"endTime": 1431955320000,
"trafficLights": 0,
"departureDelay": 0,
"arrivalDelay": 0,
"realTime": false,
"isNonExactFrequency": null,
"headway": null,
"distance": 4061.6395131794384,
"mode": "BUS",
"route": "4",
"agencyName": "Marprom",
"agencyUrl": "http://www.marprom.si/",
"agencyTimeZoneOffset": 7200000,
"routeColor": "01FFFF",
"routeType": 3,
"routeId": "5",
"routeTextColor": "FFFFFF",
"interlineWithPreviousLeg": false,
"tripShortName": null,
"tripBlockId": null,
"headsign": "AP Mlinska",
"agencyId": "MARPROM",
"bikesAllowed": 2,
"wheelchairAccessible": 2,
"tripId": "1506",
"serviceDate": "20150518",
"from": {
"name": "Studenci - obračališče",
"stopId": {
"agencyId": "MARPROM",
"id": "153"
},
"stopCode": null,
"platformCode": null,
"lon": 15.610535,
"lat": 46.5568664,
"arrival": 1431954239000,
"departure": 1431954240000,
"orig": null,
"zoneId": null,
"stopIndex": 6
},
"to": {
"name": "AP Mlinska",
"stopId": {
"agencyId": "MARPROM",
"id": "68"
},
"stopCode": null,
"platformCode": null,
"lon": 15.6561071,
"lat": 46.5598401,
"arrival": 1431955320000,
"departure": 1431955800000,
"orig": null,
"zoneId": null,
"stopIndex": 16
},
"legGeometry": {
"points": "ucd{G}|g~A??As@A[?IA{A@OD_E?mDE}AAe@Ak@E]?GQmBKkBCeA?[?u@@eAB}@Hy@TiBLu@Hk@b@eCJgAJkBDcA@KDg@DeB????Bk@@[H_CDoALoD@e@@[?IBWBWHUF@FCBCBG@C?IAEAEAEECCAG?EBIOACACEKESAQAU@[HYJUDEJGHCDAF?@?F?N@^LZJLDNHFN?LAJCDCDGBqAKaAW_@KqAu@qAs@CMCM?I@MDIXSFKRI@DBH@BDBF@DA@?BCDG@G@IAICGEGECA?G??]Ce@?m@@a@Be@Js@????|D_Zz@cGBQHg@j@kDH]La@Pe@Xk@^w@Ng@Lo@j@qDjAcIfAwH????\\_CD_@@c@AAAWAOGe@Qs@Qs@CQCSAMAQ?O@K@MP_AJm@\\mBN_ABQRkAJs@`@}CRuA`@kC@G@[?MCKEEECIAI?u@T]POF_@PWNQHG@E@WFQBQ?m@IMCO?SBOHEBGDqFIcECMAYCE?QE?E?GAEAECCCCCAGA?[?EAm@C]CS??Ko@CWAI?IAQ@c@HeFB?@?@ABC@E@C?C?CAGCCAAC?AAC@C@A@AD?BUCy@O]IIGCGAKHqDF_BBu@D?BAFCBEBE@I?IAKAECGEEEAE?E@C@EFK@M?gHc@MOi@QWKOQIMKW?AEM?CA[Cu@EcCEm@OiDEw@Cg@AWCYCQQmAKu@?EM{@`@NHB@?lCbAPFhAb@p@TFBpAZB@ZHVFBYD]Dk@?[AQOWA?y@g@_H{CQGMBGJAL?F@PFFJB",
"levels": null,
"length": 318
},
"notes": null,
"alerts": null,
"routeShortName": "4",
"routeLongName": "Studenci",
"boardRule": null,
"alightRule": null,
"rentedBike": false,
"transitLeg": true,
"duration": 1080,
"intermediateStops": null,
"steps": []
},
{
"startTime": 1431955800000,
"endTime": 1431955980000,
"trafficLights": 0,
"departureDelay": 0,
"arrivalDelay": 0,
"realTime": false,
"isNonExactFrequency": null,
"headway": null,
"distance": 1014.5654050957846,
"mode": "BUS",
"route": "7",
"agencyName": "Marprom",
"agencyUrl": "http://www.marprom.si/",
"agencyTimeZoneOffset": 7200000,
"routeColor": "FFFF01",
"routeType": 3,
"routeId": "18",
"routeTextColor": "000000",
"interlineWithPreviousLeg": false,
"tripShortName": null,
"tripBlockId": null,
"headsign": "Rošpoh - obračališče",
"agencyId": "MARPROM",
"bikesAllowed": 2,
"wheelchairAccessible": 2,
"tripId": "1014",
"serviceDate": "20150518",
"from": {
"name": "AP Mlinska",
"stopId": {
"agencyId": "MARPROM",
"id": "68"
},
"stopCode": null,
"platformCode": null,
"lon": 15.6561071,
"lat": 46.5598401,
"arrival": 1431955320000,
"departure": 1431955800000,
"orig": null,
"zoneId": null,
"stopIndex": 0
},
"to": {
"name": "Krekova",
"stopId": {
"agencyId": "MARPROM",
"id": "111"
},
"stopCode": null,
"platformCode": null,
"lon": 15.6435945,
"lat": 46.5620109,
"arrival": 1431955980000,
"departure": 1431955981000,
"orig": null,
"zoneId": null,
"stopIndex": 2
},
"legGeometry": {
"points": "{ud{G_zp~AvDdAvA\\@?NV@P?ZEj@E\\CXWG[ICAqA[GCq@UiAc@QGmCcAA?ICa@OLz@?DJt@PlABPBX@VBf@Dv@NhDAj@@bA@h@@\\BjA?B@d@UCC?MAO?sA@C?}@?iBDS@?Z?zC?zB@R?T?b@??@bH?PBrH?P?PDhIAjA?R?P?jE",
"levels": null,
"length": 65
},
"notes": null,
"alerts": null,
"routeShortName": "7",
"routeLongName": "AP Mlinska - Kamnica - Rošpoh",
"boardRule": null,
"alightRule": null,
"rentedBike": false,
"transitLeg": true,
"duration": 180,
"intermediateStops": null,
"steps": []
},
{
"startTime": 1431955981000,
"endTime": 1431956333000,
"trafficLights": 1,
"departureDelay": 0,
"arrivalDelay": 0,
"realTime": false,
"isNonExactFrequency": null,
"headway": null,
"distance": 443.0997771325451,
"mode": "WALK",
"route": "",
"agencyName": null,
"agencyUrl": null,
"agencyTimeZoneOffset": 7200000,
"routeColor": null,
"routeType": null,
"routeId": null,
"routeTextColor": null,
"interlineWithPreviousLeg": false,
"tripShortName": null,
"tripBlockId": null,
"headsign": null,
"agencyId": null,
"bikesAllowed": null,
"wheelchairAccessible": null,
"tripId": null,
"serviceDate": null,
"from": {
"name": "Krekova",
"stopId": {
"agencyId": "MARPROM",
"id": "111"
},
"stopCode": null,
"platformCode": null,
"lon": 15.643594600370573,
"lat": 46.5619730008151,
"arrival": 1431955980000,
"departure": 1431955981000,
"orig": null,
"zoneId": null,
"stopIndex": null
},
"to": {
"name": "bike path",
"stopId": null,
"stopCode": null,
"platformCode": null,
"lon": 15.647961361673062,
"lat": 46.56296726434481,
"arrival": 1431956333000,
"departure": null,
"orig": "",
"zoneId": null,
"stopIndex": null
},
"legGeometry": {
"points": "ice{Gmkn~A?_C?Q?S@kAEiI?QK?qDF?M?I?KAeCAyB",
"levels": null,
"length": 14
},
"notes": null,
"alerts": null,
"routeShortName": null,
"routeLongName": null,
"boardRule": null,
"alightRule": null,
"rentedBike": false,
"transitLeg": false,
"duration": 352,
"intermediateStops": null,
"steps": [
{
"distance": 225.94650848488982,
"relativeDirection": "DEPART",
"streetName": "Krekova ulica",
"absoluteDirection": "EAST",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.643594600370573,
"lat": 46.5619730008151,
"elevation": [],
"alerts": null
},
{
"distance": 105.82153530756088,
"relativeDirection": "LEFT",
"streetName": "Tyrševa ulica",
"absoluteDirection": "NORTH",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.6465494,
"lat": 46.5619917,
"elevation": [],
"alerts": null
},
{
"distance": 9.373640222639171,
"relativeDirection": "RIGHT",
"streetName": "path",
"absoluteDirection": "EAST",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": true,
"lon": 15.6465057,
"lat": 46.5629429,
"elevation": [],
"alerts": null
},
{
"distance": 101.95809311745525,
"relativeDirection": "CONTINUE",
"streetName": "bike path",
"absoluteDirection": "EAST",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.6466281,
"lat": 46.5629472,
"elevation": [],
"alerts": null
}
]
}
],
"tooSloped": false
},
{
"duration": 1568,
"startTime": 1431957764000,
"endTime": 1431959332000,
"walkTime": 486,
"transitTime": 1080,
"waitingTime": 2,
"walkDistance": 585.7375533702375,
"walkLimitExceeded": false,
"elevationLost": 0,
"elevationGained": 0,
"transfers": 0,
"trafficLights": 0,
"fare": {
"fare": {
"regular": {
"currency": {
"currency": "EUR",
"defaultFractionDigits": 2,
"currencyCode": "EUR",
"symbol": "EUR"
},
"cents": 78
}
}
},
"legs": [
{
"startTime": 1431957764000,
"endTime": 1431957899000,
"trafficLights": 0,
"departureDelay": 0,
"arrivalDelay": 0,
"realTime": false,
"isNonExactFrequency": null,
"headway": null,
"distance": 163.83394051424057,
"mode": "WALK",
"route": "",
"agencyName": null,
"agencyUrl": null,
"agencyTimeZoneOffset": 7200000,
"routeColor": null,
"routeType": null,
"routeId": null,
"routeTextColor": null,
"interlineWithPreviousLeg": false,
"tripShortName": null,
"tripBlockId": null,
"headsign": null,
"agencyId": null,
"bikesAllowed": null,
"wheelchairAccessible": null,
"tripId": null,
"serviceDate": null,
"from": {
"name": "Kolaričeva ulica",
"stopId": null,
"stopCode": null,
"platformCode": null,
"lon": 15.61244423963556,
"lat": 46.55648673051523,
"arrival": null,
"departure": 1431957764000,
"orig": "",
"zoneId": null,
"stopIndex": null
},
"to": {
"name": "Studenci - obračališče",
"stopId": {
"agencyId": "MARPROM",
"id": "287"
},
"stopCode": null,
"platformCode": null,
"lon": 15.6112468,
"lat": 46.5572086,
"arrival": 1431957899000,
"departure": 1431957900000,
"orig": null,
"zoneId": null,
"stopIndex": null
},
"legGeometry": {
"points": "_ad{Gwhh~AkAIGAE~DANKBM@MFGLCN",
"levels": null,
"length": 10
},
"notes": null,
"alerts": null,
"routeShortName": null,
"routeLongName": null,
"boardRule": null,
"alightRule": null,
"rentedBike": false,
"transitLeg": false,
"duration": 135,
"intermediateStops": null,
"steps": [
{
"distance": 47.157213274940595,
"relativeDirection": "DEPART",
"streetName": "Kolaričeva ulica",
"absoluteDirection": "NORTH",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.61244423963556,
"lat": 46.55648673051523,
"elevation": [],
"alerts": null
},
{
"distance": 116.67672723929996,
"relativeDirection": "LEFT",
"streetName": "Limbuška cesta",
"absoluteDirection": "WEST",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.6125059,
"lat": 46.5569087,
"elevation": [],
"alerts": null
}
]
},
{
"startTime": 1431957900000,
"endTime": 1431958980000,
"trafficLights": 0,
"departureDelay": 0,
"arrivalDelay": 0,
"realTime": false,
"isNonExactFrequency": null,
"headway": null,
"distance": 5166.640715148159,
"mode": "BUS",
"route": "17",
"agencyName": "Marprom",
"agencyUrl": "http://www.marprom.si/",
"agencyTimeZoneOffset": 7200000,
"routeColor": "333333",
"routeType": 3,
"routeId": "11",
"routeTextColor": "FFFFFF",
"interlineWithPreviousLeg": false,
"tripShortName": null,
"tripBlockId": null,
"headsign": "Ribniško selo - obračališče",
"agencyId": "MARPROM",
"bikesAllowed": 2,
"wheelchairAccessible": 2,
"tripId": "1846",
"serviceDate": "20150518",
"from": {
"name": "Studenci - obračališče",
"stopId": {
"agencyId": "MARPROM",
"id": "287"
},
"stopCode": null,
"platformCode": null,
"lon": 15.6112667,
"lat": 46.5572485,
"arrival": 1431957899000,
"departure": 1431957900000,
"orig": null,
"zoneId": null,
"stopIndex": 0
},
"to": {
"name": "Prešernova - OŠ B. Polančič",
"stopId": {
"agencyId": "MARPROM",
"id": "353"
},
"stopCode": null,
"platformCode": null,
"lon": 15.6516455,
"lat": 46.564408,
"arrival": 1431958980000,
"departure": 1431958981000,
"orig": null,
"zoneId": null,
"stopIndex": 13
},
"legGeometry": {
"points": "oed{Ggah~A?L@LDNXBR??H@Z@r@BZFl@FZDPNXEFCJ?LBJDFDBJ?DEDGBOAKCGEGF_@ViB??TiBf@oC^yBlAkGJi@H_@t@cEDWB@D?B?@ABCBC?A@I?IAECECCCAHe@ZcBrAqH??DSF[`@yB`@wB\\mBDUFDxFfEw@dCu@rBGNECEAG?E?CBCBIHGPMf@VNh@uAFOt@sBv@eCpAcFxAyFp@sC??BI^uADSH[UKkDeBw@e@IQ[SGEEGCEGUIe@^iCTeBt@uFHo@Jm@VcBD[DSFk@R_BJi@??XqBfAgHf@uCD[D@F?FADGDI@KAMCIGIECDYVkBd@aD`@}Cb@{CHk@PmAF]`@yC@Gb@}CLq@Fa@Hk@b@aDrAeJlAwIp@{EFc@t@iFJs@F]@@HADC@EBE@E?MAGAGEGCACAE?EBC@EFCJUGgDs@??QCQEy@QWGGACAk@Mu@OKCOEqEeAWIGA_ASeCe@KAS@MBKBMFu@T]POF_@PWNQHG@E@WFQBQ?m@IMCIEKIEIGOHyBBq@FmA??@[?S?SAOG_@EOIOOWQYGGGQEOEQCQAS?M?m@@cA@wA?gD@iABgAB{@@o@P@H@D@L?VDDHDLBL@L@PCl@A|AO`@GLGFIJONSCsGe@sG]q@EEAGEAECGEEEAE?E@C@EFK@M?gHc@SC[GQGQMUUKMMIUCC?MAO?sA@C?}@?iBDS@M?iDBQ?O@oB@uA@y@@",
"levels": null,
"length": 288
},
"notes": null,
"alerts": null,
"routeShortName": "17",
"routeLongName": "Ribniško selo",
"boardRule": null,
"alightRule": null,
"rentedBike": false,
"transitLeg": true,
"duration": 1080,
"intermediateStops": null,
"steps": []
},
{
"startTime": 1431958981000,
"endTime": 1431959332000,
"trafficLights": 0,
"departureDelay": 0,
"arrivalDelay": 0,
"realTime": false,
"isNonExactFrequency": null,
"headway": null,
"distance": 421.6321842933264,
"mode": "WALK",
"route": "",
"agencyName": null,
"agencyUrl": null,
"agencyTimeZoneOffset": 7200000,
"routeColor": null,
"routeType": null,
"routeId": null,
"routeTextColor": null,
"interlineWithPreviousLeg": false,
"tripShortName": null,
"tripBlockId": null,
"headsign": null,
"agencyId": null,
"bikesAllowed": null,
"wheelchairAccessible": null,
"tripId": null,
"serviceDate": null,
"from": {
"name": "Prešernova - OŠ B. Polančič",
"stopId": {
"agencyId": "MARPROM",
"id": "353"
},
"stopCode": null,
"platformCode": null,
"lon": 15.651595626059795,
"lat": 46.56440620243534,
"arrival": 1431958980000,
"departure": 1431958981000,
"orig": null,
"zoneId": null,
"stopIndex": null
},
"to": {
"name": "bike path",
"stopId": null,
"stopCode": null,
"platformCode": null,
"lon": 15.647961361673062,
"lat": 46.56296726434481,
"arrival": 1431959332000,
"departure": null,
"orig": "",
"zoneId": null,
"stopIndex": null
},
"legGeometry": {
"points": "ore{Gm}o~A??I??JEhH?JJ\\BL@^@^@JBJJNHRDPFHF@FADd@DvA@VBPpDCJ?F?FA@l@",
"levels": null,
"length": 27
},
"notes": null,
"alerts": null,
"routeShortName": null,
"routeLongName": null,
"boardRule": null,
"alightRule": null,
"rentedBike": false,
"transitLeg": false,
"duration": 351,
"intermediateStops": null,
"steps": [
{
"distance": 5.3493565446270175,
"relativeDirection": "DEPART",
"streetName": "Prešernova ulica",
"absoluteDirection": "NORTH",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.651595626059795,
"lat": 46.56440620243534,
"elevation": [],
"alerts": null
},
{
"distance": 123.2648254475563,
"relativeDirection": "LEFT",
"streetName": "Aškerčeva ulica",
"absoluteDirection": "WEST",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.6515942,
"lat": 46.5644543,
"elevation": [],
"alerts": null
},
{
"distance": 275.2963276783738,
"relativeDirection": "SLIGHTLY_LEFT",
"streetName": "path",
"absoluteDirection": "SOUTHWEST",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": true,
"lon": 15.6499826,
"lat": 46.5644879,
"elevation": [],
"alerts": null
},
{
"distance": 17.721674622769314,
"relativeDirection": "RIGHT",
"streetName": "bike path",
"absoluteDirection": "WEST",
"exit": null,
"stayOn": false,
"area": false,
"bogusName": false,
"lon": 15.6481931,
"lat": 46.5629709,
"elevation": [],
"alerts": null
}
]
}
],
"tooSloped": false
}
]
},
"error": null,
"debug": {
"precalculationTime": 0,
"pathCalculationTime": 74,
"pathTimes": [
38,
19,
17
],
"renderingTime": 3,
"totalTime": 77,
"timedOut": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment