nextRoute

This method calculated the next route (later time) of a previous calculated route.

url: http://html5.sasabus.org/backend/sasabusdb/nextRoute?context=37.02598798.1379362063%231&callback=function123

parameters:

  • callback: the javascript function to call when data is ready (JSONP standard)
  • context: the context value returned from the previous route calculation

Response

function123({
ConResCtxt: [
"37.02598798.1379362063#5"
],
ConnectionList: 
{
Connection: [
{
ConSectionList: 
{
ConSection: [
{
Journey: [
{
JourneyAttributeList: 
{
JourneyAttribute: [
{
Attribute: 
{
AttributeVariant: [
{
Text: "Lin   7A",
type: "NORMAL"
}
],
type: "NAME"
}
},
{
Attribute: 
{
AttributeVariant: [
{
Text: "Bus",
type: "SHORT"
},
{
Text: "Linea   ",
type: "NORMAL"
},
{
Text: "Linea   ",
type: "LONG"
}
],
type: "CATEGORY"
}
},
{
Attribute: 
{
AttributeVariant: [
{
Text: "SAS",
type: "SHORT"
},
{
Text: "SASA",
type: "NORMAL"
},
{
Text: "SASA",
type: "LONG"
}
],
type: "OPERATOR"
}
},
{
Attribute: 
{
AttributeVariant: [
{
Text: "7A",
type: "NORMAL"
}
],
type: "NUMBER"
}
},
{
Attribute: 
{
AttributeVariant: [
{
Text: "(Bolzano) Passeggiata dei Castani - (Bozen) Koeste",
type: "NORMAL"
}
],
type: "DIRECTION"
}
},
{
Attribute: 
{
AttributeVariant: [
{
Text: "Heimatbetriebshof BZ DEP;DEPOSITO BOLZANO",
type: "NORMAL"
}
],
type: ""
}
},
{
Attribute: 
{
AttributeVariant: [
{
Text: "vedi linea 7B siehe Linie 7B",
type: "NORMAL"
}
],
type: ""
}
}
]
},
PassList: 
{
BasicStop: [
{
Arr: 
{
Time: "00d12:52:00"
},
Dep: 
{
Time: "00d12:52:00"
},
Station: 
{
externalId: "001010167#86",
externalStationNr: "001010167",
name: "(Bolzano) via S. Geltrude 2 - (Bozen) St. Gertraud",
type: "WGS84",
x: "11349636",
y: "46486447"
}
},
{
Arr: 
{
Time: "00d12:53:00"
},
Dep: 
{
Time: "00d12:53:00"
},
Station: 
{
externalId: "001010043#86",
externalStationNr: "001010043",
name: "(Bolzano) via S. Geltrude 1 - (Bozen) St. Gertraud",
type: "WGS84",
x: "11347712",
y: "46487346"
}
},
{
Arr: 
{
Time: "00d12:55:00"
},
Dep: 
{
Time: "00d12:55:00"
},
Station: 
{
externalId: "001010040#86",
externalStationNr: "001010040",
name: "(Bolzano) via Trento 2 - (Bozen) Trienter Str. 2",
type: "WGS84",
x: "11347137",
y: "46490033"
}
},
....
....

 

0 Attachments
27126 Views
Comments
No comments yet. Be the first.