approved, byrokraatit, ylläpitäjät
0
muokkausta
(→Routes) |
|||
Rivi 170: | Rivi 170: | ||
<pre> | <pre> | ||
{ | { | ||
" | "url" : "http://data.itsfactory.fi/journeys/api/1/routes/288", | ||
"data" : | "lineUrl" : "http://data.itsfactory.fi/journeys/api/1/lines/50", | ||
"name" : "Lempäälä - Koskipuisto H", | |||
"journeyPatterns" : [ { | |||
"url" : "http://data.itsfactory.fi/journeys/api/1/journey-patterns/507", | |||
"originStop" : "http://data.itsfactory.fi/journeys/api/1/stop-points/7559", | |||
"destinationStop" : "http://data.itsfactory.fi/journeys/api/1/stop-points/0517", | |||
"name" : "Lempäälä - Koskipuisto H" | |||
} ], | |||
"journeys" : [ { | |||
"url" : "http://data.itsfactory.fi/journeys/api/1/journeys/8726", | |||
"journeyPatternUrl" : "http://data.itsfactory.fi/journeys/api/1/journey-patterns/507", | |||
"departureTime" : "07:10:00", | |||
"arrivalTime" : "07:52:30", | |||
"dayTypes" : [ "friday" ], | |||
"dayTypeExceptions" : [ { | |||
"from" : "2015-04-30", | |||
"to" : "2015-04-30", | |||
"runs" : "yes" | |||
} ] | |||
}, { | |||
"url" : "http://data.itsfactory.fi/journeys/api/1/journeys/8728", | |||
"journeyPatternUrl" : "http://data.itsfactory.fi/journeys/api/1/journey-patterns/507", | |||
"departureTime" : "07:10:00", | |||
"arrivalTime" : "07:52:30", | |||
"dayTypes" : [ "monday", "tuesday", "wednesday", "thursday" ], | |||
"dayTypeExceptions" : [ { | |||
} | "from" : "2015-05-14", | ||
"to" : "2015-05-14", | |||
"runs" : "no" | |||
} ] | |||
} ], | |||
"geographicCoordinateProjection" : "6131429,2375268:-349,183:-259,177:-334,61:-225,-67:-625,-71:-381,-189:-381,-237:-600,-333:-449,-954:-140,-507:-508,-616:-383,-61:-596,-188:-637,384:-432,5:-272,-275:-337,-100:-420,-109:-444,391:-529,539:-414,688:-348,215:-593,146:-482,247:-311,411:-298,186:-343,12:-261,25:-632,325:-331,-110:-77,3:-160,38:-99,86:-11,39:-98,156:-41,36:-54,21:-118,-8:-45,-9:-21,-24:-26,4:-40,-17:-21,-17:-36,-48:-114,-187:-70,-102:-26,-13:-150,-213:-126,-173:-14,-41:-34,-24:-205,-276:-91,-67:-129,-61:-19,-26:-31,6:-339,-130:-20,-25:-34,-5:-38,-28:-90,-110:-15,-41:-22,-5:-159,-127:-35,-26:-75,-93:-16,-54:-27,-9:-106,-155:-27,-66:-14,-52:-16,-107:-14,-148:-28,-131:-16,-47:-26,-49:-31,-44:-43,-38:-32,-12:-28,-10:-105,29:-44,12:-20,9:-66,5:-111,-16:-83,-17:58,13:-115,-14:-69,-22:-128,-56:-54,-7:-74,29:-85,55:-138,7:-95,-35:-267,-119:-36,-37:-30,0:-236,-110:-225,-98:-27,-32:-57,-17:-135,-169:-32,-19:-27,117:-15,64:-24,28:-12,39:-24,230:2,101:14,163:-5,58:-20,62:-64,155:-110,40:-62,29:-402,480" | |||
} | |||
</pre> | </pre> | ||
The ROUTE entity refers to LINE via the "line" property. The ROUTE entity also owns multiple POINT ON ROUTEs, which each have location property. The location property tells the latitude and longitude of the POINT ON ROUTE. Location has format: latitude,longitude. | The ROUTE entity refers to LINE via the "line" property. The ROUTE entity also owns multiple POINT ON ROUTEs, which each have location property. The location property tells the latitude and longitude of the POINT ON ROUTE. Location has format: latitude,longitude. |