Cleanup here_travel_time tests (#60529)
parent
cb7e7e9bd1
commit
d1962f6e51
|
@ -5,6 +5,7 @@ from datetime import datetime, timedelta
|
|||
import logging
|
||||
|
||||
import herepy
|
||||
from herepy.here_enum import RouteMode
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.sensor import PLATFORM_SCHEMA, SensorEntity
|
||||
|
@ -198,14 +199,17 @@ def _are_valid_client_credentials(here_client: herepy.RoutingApi) -> bool:
|
|||
known_working_origin = [38.9, -77.04833]
|
||||
known_working_destination = [39.0, -77.1]
|
||||
try:
|
||||
here_client.car_route(
|
||||
here_client.public_transport_timetable(
|
||||
known_working_origin,
|
||||
known_working_destination,
|
||||
True,
|
||||
[
|
||||
herepy.RouteMode[ROUTE_MODE_FASTEST],
|
||||
herepy.RouteMode[TRAVEL_MODE_CAR],
|
||||
herepy.RouteMode[TRAFFIC_MODE_DISABLED],
|
||||
RouteMode[ROUTE_MODE_FASTEST],
|
||||
RouteMode[TRAVEL_MODE_CAR],
|
||||
RouteMode[TRAFFIC_MODE_ENABLED],
|
||||
],
|
||||
arrival=None,
|
||||
departure="now",
|
||||
)
|
||||
except herepy.InvalidCredentialsError:
|
||||
return False
|
||||
|
|
|
@ -1 +1 @@
|
|||
"""Tests for here_travel_time component."""
|
||||
"""Tests for HERE Travel Time."""
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
"""Fixtures for HERE Travel Time tests."""
|
||||
import json
|
||||
from unittest.mock import patch
|
||||
|
||||
from herepy.models import RoutingResponse
|
||||
import pytest
|
||||
|
||||
from tests.common import load_fixture
|
||||
|
||||
RESPONSE = RoutingResponse.new_from_jsondict(
|
||||
json.loads(load_fixture("here_travel_time/car_response.json"))
|
||||
)
|
||||
RESPONSE.route_short = "US-29 - K St NW; US-29 - Whitehurst Fwy; I-495 N - Capital Beltway; MD-187 S - Old Georgetown Rd"
|
||||
|
||||
|
||||
@pytest.fixture(name="valid_response")
|
||||
def valid_response_fixture():
|
||||
"""Return valid api response."""
|
||||
with patch(
|
||||
"herepy.RoutingApi.public_transport_timetable",
|
||||
return_value=RESPONSE,
|
||||
):
|
||||
yield
|
|
@ -0,0 +1,8 @@
|
|||
"""Constants for HERE Travel Time tests."""
|
||||
|
||||
API_KEY = "test"
|
||||
|
||||
CAR_ORIGIN_LATITUDE = "38.9"
|
||||
CAR_ORIGIN_LONGITUDE = "-77.04833"
|
||||
CAR_DESTINATION_LATITUDE = "39.0"
|
||||
CAR_DESTINATION_LONGITUDE = "-77.1"
|
|
@ -1,276 +0,0 @@
|
|||
{
|
||||
"response": {
|
||||
"metaInfo": {
|
||||
"timestamp": "2019-09-21T15:17:31Z",
|
||||
"mapVersion": "8.30.100.154",
|
||||
"moduleVersion": "7.2.201937-5251",
|
||||
"interfaceVersion": "2.6.70",
|
||||
"availableMapVersion": [
|
||||
"8.30.100.154"
|
||||
]
|
||||
},
|
||||
"route": [
|
||||
{
|
||||
"waypoint": [
|
||||
{
|
||||
"linkId": "+565790671",
|
||||
"mappedPosition": {
|
||||
"latitude": 50.0378591,
|
||||
"longitude": 14.3924721
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 50.0377513,
|
||||
"longitude": 14.3923344
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.3,
|
||||
"sideOfStreet": "left",
|
||||
"mappedRoadName": "V Bokách III",
|
||||
"label": "V Bokách III",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
{
|
||||
"linkId": "+748931502",
|
||||
"mappedPosition": {
|
||||
"latitude": 50.0798786,
|
||||
"longitude": 14.4260037
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 50.0799383,
|
||||
"longitude": 14.4258216
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 1.0,
|
||||
"sideOfStreet": "left",
|
||||
"mappedRoadName": "Štěpánská",
|
||||
"label": "Štěpánská",
|
||||
"shapeIndex": 116,
|
||||
"source": "user"
|
||||
}
|
||||
],
|
||||
"mode": {
|
||||
"type": "shortest",
|
||||
"transportModes": [
|
||||
"publicTransportTimeTable"
|
||||
],
|
||||
"trafficMode": "enabled",
|
||||
"feature": []
|
||||
},
|
||||
"leg": [
|
||||
{
|
||||
"start": {
|
||||
"linkId": "+565790671",
|
||||
"mappedPosition": {
|
||||
"latitude": 50.0378591,
|
||||
"longitude": 14.3924721
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 50.0377513,
|
||||
"longitude": 14.3923344
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.3,
|
||||
"sideOfStreet": "left",
|
||||
"mappedRoadName": "V Bokách III",
|
||||
"label": "V Bokách III",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
"end": {
|
||||
"linkId": "+748931502",
|
||||
"mappedPosition": {
|
||||
"latitude": 50.0798786,
|
||||
"longitude": 14.4260037
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 50.0799383,
|
||||
"longitude": 14.4258216
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 1.0,
|
||||
"sideOfStreet": "left",
|
||||
"mappedRoadName": "Štěpánská",
|
||||
"label": "Štěpánská",
|
||||
"shapeIndex": 116,
|
||||
"source": "user"
|
||||
},
|
||||
"length": 7835,
|
||||
"travelTime": 2413,
|
||||
"maneuver": [
|
||||
{
|
||||
"position": {
|
||||
"latitude": 50.0378591,
|
||||
"longitude": 14.3924721
|
||||
},
|
||||
"instruction": "Head <span class=\"heading\">northwest</span> on <span class=\"street\">Kosořská</span>. <span class=\"distance-description\">Go for <span class=\"length\">28 m</span>.</span>",
|
||||
"travelTime": 32,
|
||||
"length": 28,
|
||||
"id": "M1",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 50.0380039,
|
||||
"longitude": 14.3921542
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">Kosořská</span>. <span class=\"distance-description\">Go for <span class=\"length\">24 m</span>.</span>",
|
||||
"travelTime": 24,
|
||||
"length": 24,
|
||||
"id": "M2",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 50.0380039,
|
||||
"longitude": 14.3918109
|
||||
},
|
||||
"instruction": "Take the street on the <span class=\"direction\">left</span>, <span class=\"next-street\">Slivenecká</span>. <span class=\"distance-description\">Go for <span class=\"length\">343 m</span>.</span>",
|
||||
"travelTime": 354,
|
||||
"length": 343,
|
||||
"id": "M3",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 50.0376499,
|
||||
"longitude": 14.3871975
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">Slivenecká</span>. <span class=\"distance-description\">Go for <span class=\"length\">64 m</span>.</span>",
|
||||
"travelTime": 72,
|
||||
"length": 64,
|
||||
"id": "M4",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 50.0373602,
|
||||
"longitude": 14.3879807
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">Slivenecká</span>. <span class=\"distance-description\">Go for <span class=\"length\">91 m</span>.</span>",
|
||||
"travelTime": 95,
|
||||
"length": 91,
|
||||
"id": "M5",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 50.0365448,
|
||||
"longitude": 14.3878305
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">K Barrandovu</span>. <span class=\"distance-description\">Go for <span class=\"length\">124 m</span>.</span>",
|
||||
"travelTime": 126,
|
||||
"length": 124,
|
||||
"id": "M6",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 50.0363168,
|
||||
"longitude": 14.3894618
|
||||
},
|
||||
"instruction": "Go to the <span class=\"company\">Tram</span> station <span class=\"station\">Geologicka</span> and take the <span class=\"transit\">rail</span> <span class=\"line\">5</span> toward <span class=\"destination\">Ústřední dílny DP</span>. <span class=\"distance-description\">Follow for <span class=\"stops\">13 stations</span>.</span>",
|
||||
"travelTime": 1440,
|
||||
"length": 6911,
|
||||
"id": "M7",
|
||||
"stopName": "Geologicka",
|
||||
"_type": "PublicTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 50.0800508,
|
||||
"longitude": 14.423403
|
||||
},
|
||||
"instruction": "Get off at <span class=\"station\">Vodickova</span>.",
|
||||
"travelTime": 0,
|
||||
"length": 0,
|
||||
"id": "M8",
|
||||
"stopName": "Vodickova",
|
||||
"nextRoadName": "Vodičkova",
|
||||
"_type": "PublicTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 50.0800508,
|
||||
"longitude": 14.423403
|
||||
},
|
||||
"instruction": "Head <span class=\"heading\">northeast</span> on <span class=\"street\">Vodičkova</span>. <span class=\"distance-description\">Go for <span class=\"length\">65 m</span>.</span>",
|
||||
"travelTime": 74,
|
||||
"length": 65,
|
||||
"id": "M9",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 50.0804901,
|
||||
"longitude": 14.4239759
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">V Jámě</span>. <span class=\"distance-description\">Go for <span class=\"length\">163 m</span>.</span>",
|
||||
"travelTime": 174,
|
||||
"length": 163,
|
||||
"id": "M10",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 50.0796962,
|
||||
"longitude": 14.4258857
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">Štěpánská</span>. <span class=\"distance-description\">Go for <span class=\"length\">22 m</span>.</span>",
|
||||
"travelTime": 22,
|
||||
"length": 22,
|
||||
"id": "M11",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 50.0798786,
|
||||
"longitude": 14.4260037
|
||||
},
|
||||
"instruction": "Arrive at <span class=\"street\">Štěpánská</span>. Your destination is on the left.",
|
||||
"travelTime": 0,
|
||||
"length": 0,
|
||||
"id": "M12",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"publicTransportLine": [
|
||||
{
|
||||
"lineName": "5",
|
||||
"lineForeground": "#F5ADCE",
|
||||
"lineBackground": "#F5ADCE",
|
||||
"companyName": "HERE Technologies",
|
||||
"destination": "Ústřední dílny DP",
|
||||
"type": "railLight",
|
||||
"id": "L1"
|
||||
}
|
||||
],
|
||||
"summary": {
|
||||
"distance": 7835,
|
||||
"baseTime": 2413,
|
||||
"flags": [
|
||||
"noThroughRoad",
|
||||
"builtUpArea"
|
||||
],
|
||||
"text": "The trip takes <span class=\"length\">7.8 km</span> and <span class=\"time\">40 mins</span>.",
|
||||
"travelTime": 2413,
|
||||
"departure": "2019-09-21T17:16:17+02:00",
|
||||
"timetableExpiration": "2019-09-21T00:00:00Z",
|
||||
"_type": "PublicTransportRouteSummaryType"
|
||||
}
|
||||
}
|
||||
],
|
||||
"language": "en-us",
|
||||
"sourceAttribution": {
|
||||
"attribution": "With the support of <span class=\"company\"><a href=\"https://transit.api.here.com/r?appId=Mt1bOYh3m9uxE7r3wuUx&u=https://wego.here.com\">HERE Technologies</a></span>. All information is provided without warranty of any kind.",
|
||||
"supplier": [
|
||||
{
|
||||
"title": "HERE Technologies",
|
||||
"href": "https://transit.api.here.com/r?appId=Mt1bOYh3m9uxE7r3wuUx&u=https://wego.here.com"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,274 +0,0 @@
|
|||
{
|
||||
"response": {
|
||||
"metaInfo": {
|
||||
"timestamp": "2019-07-24T10:17:40Z",
|
||||
"mapVersion": "8.30.98.154",
|
||||
"moduleVersion": "7.2.201929-4522",
|
||||
"interfaceVersion": "2.6.64",
|
||||
"availableMapVersion": [
|
||||
"8.30.98.154"
|
||||
]
|
||||
},
|
||||
"route": [
|
||||
{
|
||||
"waypoint": [
|
||||
{
|
||||
"linkId": "-1230414527",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.9797859,
|
||||
"longitude": -87.8790879
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9798,
|
||||
"longitude": -87.8801
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.5079365,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "Mannheim Rd",
|
||||
"label": "Mannheim Rd - US-12",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
{
|
||||
"linkId": "+924115108",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.90413,
|
||||
"longitude": -87.9223502
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9043,
|
||||
"longitude": -87.9216001
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.1925926,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "",
|
||||
"label": "",
|
||||
"shapeIndex": 87,
|
||||
"source": "user"
|
||||
}
|
||||
],
|
||||
"mode": {
|
||||
"type": "fastest",
|
||||
"transportModes": [
|
||||
"bicycle"
|
||||
],
|
||||
"trafficMode": "enabled",
|
||||
"feature": []
|
||||
},
|
||||
"leg": [
|
||||
{
|
||||
"start": {
|
||||
"linkId": "-1230414527",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.9797859,
|
||||
"longitude": -87.8790879
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9798,
|
||||
"longitude": -87.8801
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.5079365,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "Mannheim Rd",
|
||||
"label": "Mannheim Rd - US-12",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
"end": {
|
||||
"linkId": "+924115108",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.90413,
|
||||
"longitude": -87.9223502
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9043,
|
||||
"longitude": -87.9216001
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.1925926,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "",
|
||||
"label": "",
|
||||
"shapeIndex": 87,
|
||||
"source": "user"
|
||||
},
|
||||
"length": 12613,
|
||||
"travelTime": 3292,
|
||||
"maneuver": [
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9797859,
|
||||
"longitude": -87.8790879
|
||||
},
|
||||
"instruction": "Head <span class=\"heading\">south</span> on <span class=\"street\">Mannheim Rd</span> <span class=\"number\">(US-12/US-45)</span>. <span class=\"distance-description\">Go for <span class=\"length\">2.6 km</span>.</span>",
|
||||
"travelTime": 646,
|
||||
"length": 2648,
|
||||
"id": "M1",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9579244,
|
||||
"longitude": -87.8838551
|
||||
},
|
||||
"instruction": "Keep <span class=\"direction\">left</span> onto <span class=\"next-street\">Mannheim Rd</span> <span class=\"number\">(US-12/US-45)</span>. <span class=\"distance-description\">Go for <span class=\"length\">2.4 km</span>.</span>",
|
||||
"travelTime": 621,
|
||||
"length": 2427,
|
||||
"id": "M2",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9364238,
|
||||
"longitude": -87.8849387
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">W Belmont Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">595 m</span>.</span>",
|
||||
"travelTime": 158,
|
||||
"length": 595,
|
||||
"id": "M3",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9362521,
|
||||
"longitude": -87.8921163
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">Cullerton St</span>. <span class=\"distance-description\">Go for <span class=\"length\">669 m</span>.</span>",
|
||||
"travelTime": 180,
|
||||
"length": 669,
|
||||
"id": "M4",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9305658,
|
||||
"longitude": -87.8932428
|
||||
},
|
||||
"instruction": "Continue on <span class=\"next-street\">N Landen Dr</span>. <span class=\"distance-description\">Go for <span class=\"length\">976 m</span>.</span>",
|
||||
"travelTime": 246,
|
||||
"length": 976,
|
||||
"id": "M5",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9217896,
|
||||
"longitude": -87.8928781
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">E Fullerton Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">904 m</span>.</span>",
|
||||
"travelTime": 238,
|
||||
"length": 904,
|
||||
"id": "M6",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.921618,
|
||||
"longitude": -87.9038107
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">N Wolf Rd</span>. <span class=\"distance-description\">Go for <span class=\"length\">1.6 km</span>.</span>",
|
||||
"travelTime": 417,
|
||||
"length": 1604,
|
||||
"id": "M7",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.907177,
|
||||
"longitude": -87.9032314
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">W North Ave</span> <span class=\"number\">(IL-64)</span>. <span class=\"distance-description\">Go for <span class=\"length\">2.0 km</span>.</span>",
|
||||
"travelTime": 574,
|
||||
"length": 2031,
|
||||
"id": "M8",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9065225,
|
||||
"longitude": -87.9277039
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">N Clinton Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">275 m</span>.</span>",
|
||||
"travelTime": 78,
|
||||
"length": 275,
|
||||
"id": "M9",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9040549,
|
||||
"longitude": -87.9277253
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">E Third St</span>. <span class=\"distance-description\">Go for <span class=\"length\">249 m</span>.</span>",
|
||||
"travelTime": 63,
|
||||
"length": 249,
|
||||
"id": "M10",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9040334,
|
||||
"longitude": -87.9247105
|
||||
},
|
||||
"instruction": "Continue on <span class=\"next-street\">N Caroline Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">96 m</span>.</span>",
|
||||
"travelTime": 37,
|
||||
"length": 96,
|
||||
"id": "M11",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9038832,
|
||||
"longitude": -87.9236054
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">slightly left</span>. <span class=\"distance-description\">Go for <span class=\"length\">113 m</span>.</span>",
|
||||
"travelTime": 28,
|
||||
"length": 113,
|
||||
"id": "M12",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9039047,
|
||||
"longitude": -87.9222536
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span>. <span class=\"distance-description\">Go for <span class=\"length\">26 m</span>.</span>",
|
||||
"travelTime": 6,
|
||||
"length": 26,
|
||||
"id": "M13",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.90413,
|
||||
"longitude": -87.9223502
|
||||
},
|
||||
"instruction": "Arrive at your destination on the right.",
|
||||
"travelTime": 0,
|
||||
"length": 0,
|
||||
"id": "M14",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"summary": {
|
||||
"distance": 12613,
|
||||
"baseTime": 3292,
|
||||
"flags": [
|
||||
"noThroughRoad",
|
||||
"builtUpArea",
|
||||
"park"
|
||||
],
|
||||
"text": "The trip takes <span class=\"length\">12.6 km</span> and <span class=\"time\">55 mins</span>.",
|
||||
"travelTime": 3292,
|
||||
"_type": "RouteSummaryType"
|
||||
}
|
||||
}
|
||||
],
|
||||
"language": "en-us"
|
||||
}
|
||||
}
|
|
@ -1,298 +0,0 @@
|
|||
{
|
||||
"response": {
|
||||
"metaInfo": {
|
||||
"timestamp": "2019-07-21T21:21:31Z",
|
||||
"mapVersion": "8.30.98.154",
|
||||
"moduleVersion": "7.2.201928-4478",
|
||||
"interfaceVersion": "2.6.64",
|
||||
"availableMapVersion": [
|
||||
"8.30.98.154"
|
||||
]
|
||||
},
|
||||
"route": [
|
||||
{
|
||||
"waypoint": [
|
||||
{
|
||||
"linkId": "-1128310200",
|
||||
"mappedPosition": {
|
||||
"latitude": 38.9026523,
|
||||
"longitude": -77.048338
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 38.9029809,
|
||||
"longitude": -77.048338
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.3538462,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "K St NW",
|
||||
"label": "K St NW",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
{
|
||||
"linkId": "-18459081",
|
||||
"mappedPosition": {
|
||||
"latitude": 39.0422511,
|
||||
"longitude": -77.1193526
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 39.042158,
|
||||
"longitude": -77.119116
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.7253521,
|
||||
"sideOfStreet": "left",
|
||||
"mappedRoadName": "Commonwealth Dr",
|
||||
"label": "Commonwealth Dr",
|
||||
"shapeIndex": 283,
|
||||
"source": "user"
|
||||
}
|
||||
],
|
||||
"mode": {
|
||||
"type": "fastest",
|
||||
"transportModes": [
|
||||
"car"
|
||||
],
|
||||
"trafficMode": "enabled",
|
||||
"feature": []
|
||||
},
|
||||
"leg": [
|
||||
{
|
||||
"start": {
|
||||
"linkId": "-1128310200",
|
||||
"mappedPosition": {
|
||||
"latitude": 38.9026523,
|
||||
"longitude": -77.048338
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 38.9029809,
|
||||
"longitude": -77.048338
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.3538462,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "K St NW",
|
||||
"label": "K St NW",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
"end": {
|
||||
"linkId": "-18459081",
|
||||
"mappedPosition": {
|
||||
"latitude": 39.0422511,
|
||||
"longitude": -77.1193526
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 39.042158,
|
||||
"longitude": -77.119116
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.7253521,
|
||||
"sideOfStreet": "left",
|
||||
"mappedRoadName": "Commonwealth Dr",
|
||||
"label": "Commonwealth Dr",
|
||||
"shapeIndex": 283,
|
||||
"source": "user"
|
||||
},
|
||||
"length": 23381,
|
||||
"travelTime": 1817,
|
||||
"maneuver": [
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9026523,
|
||||
"longitude": -77.048338
|
||||
},
|
||||
"instruction": "Head toward <span class=\"toward_street\">22nd St NW</span> on <span class=\"street\">K St NW</span>. <span class=\"distance-description\">Go for <span class=\"length\">140 m</span>.</span>",
|
||||
"travelTime": 36,
|
||||
"length": 140,
|
||||
"id": "M1",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9027703,
|
||||
"longitude": -77.0494902
|
||||
},
|
||||
"instruction": "Take the <span class=\"exit\">3rd exit</span> from Washington Cir NW roundabout onto <span class=\"next-street\">K St NW</span>. <span class=\"distance-description\">Go for <span class=\"length\">325 m</span>.</span>",
|
||||
"travelTime": 81,
|
||||
"length": 325,
|
||||
"id": "M2",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9026523,
|
||||
"longitude": -77.0529449
|
||||
},
|
||||
"instruction": "Keep <span class=\"direction\">left</span> onto <span class=\"next-street\">K St NW</span> <span class=\"number\">(US-29)</span>. <span class=\"distance-description\">Go for <span class=\"length\">201 m</span>.</span>",
|
||||
"travelTime": 29,
|
||||
"length": 201,
|
||||
"id": "M3",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9025235,
|
||||
"longitude": -77.0552516
|
||||
},
|
||||
"instruction": "Keep <span class=\"direction\">right</span> onto <span class=\"next-street\">Whitehurst Fwy</span> <span class=\"number\">(US-29)</span>. <span class=\"distance-description\">Go for <span class=\"length\">1.4 km</span>.</span>",
|
||||
"travelTime": 143,
|
||||
"length": 1381,
|
||||
"id": "M4",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9050448,
|
||||
"longitude": -77.0701969
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">M St NW</span>. <span class=\"distance-description\">Go for <span class=\"length\">784 m</span>.</span>",
|
||||
"travelTime": 80,
|
||||
"length": 784,
|
||||
"id": "M5",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9060318,
|
||||
"longitude": -77.0790696
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">slightly left</span> onto <span class=\"next-street\">Canal Rd NW</span>. <span class=\"distance-description\">Go for <span class=\"length\">4.2 km</span>.</span>",
|
||||
"travelTime": 287,
|
||||
"length": 4230,
|
||||
"id": "M6",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9303219,
|
||||
"longitude": -77.1117926
|
||||
},
|
||||
"instruction": "Continue on <span class=\"next-street\">Clara Barton Pkwy</span>. <span class=\"distance-description\">Go for <span class=\"length\">844 m</span>.</span>",
|
||||
"travelTime": 55,
|
||||
"length": 844,
|
||||
"id": "M7",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9368558,
|
||||
"longitude": -77.1166742
|
||||
},
|
||||
"instruction": "Continue on <span class=\"next-street\">Clara Barton Pkwy</span>. <span class=\"distance-description\">Go for <span class=\"length\">4.7 km</span>.</span>",
|
||||
"travelTime": 294,
|
||||
"length": 4652,
|
||||
"id": "M8",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9706838,
|
||||
"longitude": -77.1461463
|
||||
},
|
||||
"instruction": "Keep <span class=\"direction\">right</span> onto <span class=\"next-street\">Cabin John Pkwy N</span> toward <span class=\"sign\"><span lang=\"en\">I-495 N</span></span>. <span class=\"distance-description\">Go for <span class=\"length\">2.1 km</span>.</span>",
|
||||
"travelTime": 90,
|
||||
"length": 2069,
|
||||
"id": "M9",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9858222,
|
||||
"longitude": -77.1571326
|
||||
},
|
||||
"instruction": "Take <span class=\"direction\">left</span> ramp onto <span class=\"number\">I-495 N</span> <span class=\"next-street\">(Capital Beltway)</span>. <span class=\"distance-description\">Go for <span class=\"length\">2.9 km</span>.</span>",
|
||||
"travelTime": 129,
|
||||
"length": 2890,
|
||||
"id": "M10",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 39.0104449,
|
||||
"longitude": -77.1508026
|
||||
},
|
||||
"instruction": "Keep <span class=\"direction\">left</span> onto <span class=\"number\">I-270-SPUR</span> toward <span class=\"sign\"><span lang=\"en\">I-270</span>/<span lang=\"en\">Rockville</span>/<span lang=\"en\">Frederick</span></span>. <span class=\"distance-description\">Go for <span class=\"length\">1.1 km</span>.</span>",
|
||||
"travelTime": 48,
|
||||
"length": 1136,
|
||||
"id": "M11",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 39.0192747,
|
||||
"longitude": -77.144773
|
||||
},
|
||||
"instruction": "Take exit <span class=\"exit\">1</span> toward <span class=\"sign\"><span lang=\"en\">Democracy Blvd</span>/<span lang=\"en\">Old Georgetown Rd</span>/<span lang=\"en\">MD-187</span></span> onto <span class=\"next-street\">Democracy Blvd</span>. <span class=\"distance-description\">Go for <span class=\"length\">1.8 km</span>.</span>",
|
||||
"travelTime": 205,
|
||||
"length": 1818,
|
||||
"id": "M12",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 39.0247464,
|
||||
"longitude": -77.1253431
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">Old Georgetown Rd</span> <span class=\"number\">(MD-187)</span>. <span class=\"distance-description\">Go for <span class=\"length\">2.3 km</span>.</span>",
|
||||
"travelTime": 230,
|
||||
"length": 2340,
|
||||
"id": "M13",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 39.0447772,
|
||||
"longitude": -77.1203649
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">Nicholson Ln</span>. <span class=\"distance-description\">Go for <span class=\"length\">208 m</span>.</span>",
|
||||
"travelTime": 31,
|
||||
"length": 208,
|
||||
"id": "M14",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 39.0448952,
|
||||
"longitude": -77.1179724
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">Commonwealth Dr</span>. <span class=\"distance-description\">Go for <span class=\"length\">341 m</span>.</span>",
|
||||
"travelTime": 75,
|
||||
"length": 341,
|
||||
"id": "M15",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 39.0422511,
|
||||
"longitude": -77.1193526
|
||||
},
|
||||
"instruction": "Arrive at <span class=\"street\">Commonwealth Dr</span>. Your destination is on the left.",
|
||||
"travelTime": 4,
|
||||
"length": 22,
|
||||
"id": "M16",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"summary": {
|
||||
"distance": 23381,
|
||||
"trafficTime": 1782,
|
||||
"baseTime": 1712,
|
||||
"flags": [
|
||||
"noThroughRoad",
|
||||
"motorway",
|
||||
"builtUpArea",
|
||||
"park"
|
||||
],
|
||||
"text": "The trip takes <span class=\"length\">23.4 km</span> and <span class=\"time\">30 mins</span>.",
|
||||
"travelTime": 1782,
|
||||
"_type": "RouteSummaryType"
|
||||
}
|
||||
}
|
||||
],
|
||||
"language": "en-us"
|
||||
}
|
||||
}
|
|
@ -294,6 +294,15 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"language": "en-us"
|
||||
"language": "en-us",
|
||||
"sourceAttribution": {
|
||||
"attribution": "With the support of <span class=\"company\"><a href=\"https://transit.api.here.com/r?appId=Mt1bOYh3m9uxE7r3wuUx&u=https://wego.here.com\">HERE Technologies</a></span>. All information is provided without warranty of any kind.",
|
||||
"supplier": [
|
||||
{
|
||||
"title": "HERE Technologies",
|
||||
"href": "https://transit.api.here.com/r?appId=Mt1bOYh3m9uxE7r3wuUx&u=https://wego.here.com"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,231 +0,0 @@
|
|||
{
|
||||
"response": {
|
||||
"metaInfo": {
|
||||
"timestamp": "2019-07-21T21:05:28Z",
|
||||
"mapVersion": "8.30.98.154",
|
||||
"moduleVersion": "7.2.201928-4478",
|
||||
"interfaceVersion": "2.6.64",
|
||||
"availableMapVersion": [
|
||||
"8.30.98.154"
|
||||
]
|
||||
},
|
||||
"route": [
|
||||
{
|
||||
"waypoint": [
|
||||
{
|
||||
"linkId": "-1128310200",
|
||||
"mappedPosition": {
|
||||
"latitude": 38.9026523,
|
||||
"longitude": -77.048338
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 38.9029809,
|
||||
"longitude": -77.048338
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.3538462,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "K St NW",
|
||||
"label": "K St NW",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
{
|
||||
"linkId": "-18459081",
|
||||
"mappedPosition": {
|
||||
"latitude": 39.0422511,
|
||||
"longitude": -77.1193526
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 39.042158,
|
||||
"longitude": -77.119116
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.7253521,
|
||||
"sideOfStreet": "left",
|
||||
"mappedRoadName": "Commonwealth Dr",
|
||||
"label": "Commonwealth Dr",
|
||||
"shapeIndex": 162,
|
||||
"source": "user"
|
||||
}
|
||||
],
|
||||
"mode": {
|
||||
"type": "shortest",
|
||||
"transportModes": [
|
||||
"car"
|
||||
],
|
||||
"trafficMode": "enabled",
|
||||
"feature": []
|
||||
},
|
||||
"leg": [
|
||||
{
|
||||
"start": {
|
||||
"linkId": "-1128310200",
|
||||
"mappedPosition": {
|
||||
"latitude": 38.9026523,
|
||||
"longitude": -77.048338
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 38.9029809,
|
||||
"longitude": -77.048338
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.3538462,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "K St NW",
|
||||
"label": "K St NW",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
"end": {
|
||||
"linkId": "-18459081",
|
||||
"mappedPosition": {
|
||||
"latitude": 39.0422511,
|
||||
"longitude": -77.1193526
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 39.042158,
|
||||
"longitude": -77.119116
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.7253521,
|
||||
"sideOfStreet": "left",
|
||||
"mappedRoadName": "Commonwealth Dr",
|
||||
"label": "Commonwealth Dr",
|
||||
"shapeIndex": 162,
|
||||
"source": "user"
|
||||
},
|
||||
"length": 18388,
|
||||
"travelTime": 2493,
|
||||
"maneuver": [
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9026523,
|
||||
"longitude": -77.048338
|
||||
},
|
||||
"instruction": "Head <span class=\"heading\">west</span> on <span class=\"street\">K St NW</span>. <span class=\"distance-description\">Go for <span class=\"length\">79 m</span>.</span>",
|
||||
"travelTime": 22,
|
||||
"length": 79,
|
||||
"id": "M1",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9026523,
|
||||
"longitude": -77.048825
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">22nd St NW</span>. <span class=\"distance-description\">Go for <span class=\"length\">141 m</span>.</span>",
|
||||
"travelTime": 79,
|
||||
"length": 141,
|
||||
"id": "M2",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9039075,
|
||||
"longitude": -77.048825
|
||||
},
|
||||
"instruction": "Keep <span class=\"direction\">left</span> onto <span class=\"next-street\">22nd St NW</span>. <span class=\"distance-description\">Go for <span class=\"length\">841 m</span>.</span>",
|
||||
"travelTime": 256,
|
||||
"length": 841,
|
||||
"id": "M3",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9114928,
|
||||
"longitude": -77.0487821
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">Massachusetts Ave NW</span>. <span class=\"distance-description\">Go for <span class=\"length\">145 m</span>.</span>",
|
||||
"travelTime": 22,
|
||||
"length": 145,
|
||||
"id": "M4",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9120293,
|
||||
"longitude": -77.0502949
|
||||
},
|
||||
"instruction": "Take the <span class=\"exit\">1st exit</span> from Massachusetts Ave NW roundabout onto <span class=\"next-street\">Massachusetts Ave NW</span>. <span class=\"distance-description\">Go for <span class=\"length\">2.8 km</span>.</span>",
|
||||
"travelTime": 301,
|
||||
"length": 2773,
|
||||
"id": "M5",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9286053,
|
||||
"longitude": -77.073158
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">Wisconsin Ave NW</span>. <span class=\"distance-description\">Go for <span class=\"length\">3.8 km</span>.</span>",
|
||||
"travelTime": 610,
|
||||
"length": 3801,
|
||||
"id": "M6",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 38.9607918,
|
||||
"longitude": -77.0857322
|
||||
},
|
||||
"instruction": "Continue on <span class=\"next-street\">Wisconsin Ave</span> <span class=\"number\">(MD-355)</span>. <span class=\"distance-description\">Go for <span class=\"length\">9.7 km</span>.</span>",
|
||||
"travelTime": 1013,
|
||||
"length": 9686,
|
||||
"id": "M7",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 39.0447664,
|
||||
"longitude": -77.1116638
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">Nicholson Ln</span>. <span class=\"distance-description\">Go for <span class=\"length\">559 m</span>.</span>",
|
||||
"travelTime": 111,
|
||||
"length": 559,
|
||||
"id": "M8",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 39.0448952,
|
||||
"longitude": -77.1179724
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">Commonwealth Dr</span>. <span class=\"distance-description\">Go for <span class=\"length\">341 m</span>.</span>",
|
||||
"travelTime": 75,
|
||||
"length": 341,
|
||||
"id": "M9",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 39.0422511,
|
||||
"longitude": -77.1193526
|
||||
},
|
||||
"instruction": "Arrive at <span class=\"street\">Commonwealth Dr</span>. Your destination is on the left.",
|
||||
"travelTime": 4,
|
||||
"length": 22,
|
||||
"id": "M10",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"summary": {
|
||||
"distance": 18388,
|
||||
"trafficTime": 2427,
|
||||
"baseTime": 2150,
|
||||
"flags": [
|
||||
"noThroughRoad",
|
||||
"builtUpArea",
|
||||
"park"
|
||||
],
|
||||
"text": "The trip takes <span class=\"length\">18.4 km</span> and <span class=\"time\">40 mins</span>.",
|
||||
"travelTime": 2427,
|
||||
"_type": "RouteSummaryType"
|
||||
}
|
||||
}
|
||||
],
|
||||
"language": "en-us"
|
||||
}
|
||||
}
|
|
@ -1,308 +0,0 @@
|
|||
{
|
||||
"response": {
|
||||
"metaInfo": {
|
||||
"timestamp": "2019-07-21T18:40:10Z",
|
||||
"mapVersion": "8.30.98.154",
|
||||
"moduleVersion": "7.2.201928-4478",
|
||||
"interfaceVersion": "2.6.64",
|
||||
"availableMapVersion": [
|
||||
"8.30.98.154"
|
||||
]
|
||||
},
|
||||
"route": [
|
||||
{
|
||||
"waypoint": [
|
||||
{
|
||||
"linkId": "-1230414527",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.9797859,
|
||||
"longitude": -87.8790879
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9798,
|
||||
"longitude": -87.8801
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.5079365,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "Mannheim Rd",
|
||||
"label": "Mannheim Rd - US-12",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
{
|
||||
"linkId": "+924115108",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.90413,
|
||||
"longitude": -87.9223502
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9043,
|
||||
"longitude": -87.9216001
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.1925926,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "",
|
||||
"label": "",
|
||||
"shapeIndex": 122,
|
||||
"source": "user"
|
||||
}
|
||||
],
|
||||
"mode": {
|
||||
"type": "fastest",
|
||||
"transportModes": [
|
||||
"pedestrian"
|
||||
],
|
||||
"trafficMode": "disabled",
|
||||
"feature": []
|
||||
},
|
||||
"leg": [
|
||||
{
|
||||
"start": {
|
||||
"linkId": "-1230414527",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.9797859,
|
||||
"longitude": -87.8790879
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9798,
|
||||
"longitude": -87.8801
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.5079365,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "Mannheim Rd",
|
||||
"label": "Mannheim Rd - US-12",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
"end": {
|
||||
"linkId": "+924115108",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.90413,
|
||||
"longitude": -87.9223502
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9043,
|
||||
"longitude": -87.9216001
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.1925926,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "",
|
||||
"label": "",
|
||||
"shapeIndex": 122,
|
||||
"source": "user"
|
||||
},
|
||||
"length": 12533,
|
||||
"travelTime": 12631,
|
||||
"maneuver": [
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9797859,
|
||||
"longitude": -87.8790879
|
||||
},
|
||||
"instruction": "Head <span class=\"heading\">south</span> on <span class=\"street\">Mannheim Rd</span>. <span class=\"distance-description\">Go for <span class=\"length\">848 m</span>.</span>",
|
||||
"travelTime": 848,
|
||||
"length": 848,
|
||||
"id": "M1",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9722581,
|
||||
"longitude": -87.8776109
|
||||
},
|
||||
"instruction": "Take the street on the <span class=\"direction\">left</span>, <span class=\"next-street\">Mannheim Rd</span>. <span class=\"distance-description\">Go for <span class=\"length\">4.2 km</span>.</span>",
|
||||
"travelTime": 4239,
|
||||
"length": 4227,
|
||||
"id": "M2",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9364238,
|
||||
"longitude": -87.8849387
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">W Belmont Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">595 m</span>.</span>",
|
||||
"travelTime": 605,
|
||||
"length": 595,
|
||||
"id": "M3",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9362521,
|
||||
"longitude": -87.8921163
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">Cullerton St</span>. <span class=\"distance-description\">Go for <span class=\"length\">406 m</span>.</span>",
|
||||
"travelTime": 411,
|
||||
"length": 406,
|
||||
"id": "M4",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9326043,
|
||||
"longitude": -87.8919983
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">Cullerton St</span>. <span class=\"distance-description\">Go for <span class=\"length\">1.2 km</span>.</span>",
|
||||
"travelTime": 1249,
|
||||
"length": 1239,
|
||||
"id": "M5",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9217896,
|
||||
"longitude": -87.8928781
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">E Fullerton Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">786 m</span>.</span>",
|
||||
"travelTime": 796,
|
||||
"length": 786,
|
||||
"id": "M6",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9216394,
|
||||
"longitude": -87.9023838
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">La Porte Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">424 m</span>.</span>",
|
||||
"travelTime": 430,
|
||||
"length": 424,
|
||||
"id": "M7",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9180024,
|
||||
"longitude": -87.9028559
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">E Palmer Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">864 m</span>.</span>",
|
||||
"travelTime": 875,
|
||||
"length": 864,
|
||||
"id": "M8",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9175196,
|
||||
"longitude": -87.9132199
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">N Railroad Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">1.2 km</span>.</span>",
|
||||
"travelTime": 1180,
|
||||
"length": 1170,
|
||||
"id": "M9",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9070268,
|
||||
"longitude": -87.9130161
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">W North Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">638 m</span>.</span>",
|
||||
"travelTime": 638,
|
||||
"length": 638,
|
||||
"id": "M10",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9068551,
|
||||
"longitude": -87.9207087
|
||||
},
|
||||
"instruction": "Take the street on the <span class=\"direction\">left</span>, <span class=\"next-street\">E North Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">354 m</span>.</span>",
|
||||
"travelTime": 354,
|
||||
"length": 354,
|
||||
"id": "M11",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9065869,
|
||||
"longitude": -87.9249573
|
||||
},
|
||||
"instruction": "Take the street on the <span class=\"direction\">left</span>, <span class=\"next-street\">E North Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">228 m</span>.</span>",
|
||||
"travelTime": 242,
|
||||
"length": 228,
|
||||
"id": "M12",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9065225,
|
||||
"longitude": -87.9277039
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span>. <span class=\"distance-description\">Go for <span class=\"length\">409 m</span>.</span>",
|
||||
"travelTime": 419,
|
||||
"length": 409,
|
||||
"id": "M13",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9040334,
|
||||
"longitude": -87.9260409
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">E Third St</span>. <span class=\"distance-description\">Go for <span class=\"length\">206 m</span>.</span>",
|
||||
"travelTime": 206,
|
||||
"length": 206,
|
||||
"id": "M14",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9038832,
|
||||
"longitude": -87.9236054
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span>. <span class=\"distance-description\">Go for <span class=\"length\">113 m</span>.</span>",
|
||||
"travelTime": 113,
|
||||
"length": 113,
|
||||
"id": "M15",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9039047,
|
||||
"longitude": -87.9222536
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span>. <span class=\"distance-description\">Go for <span class=\"length\">26 m</span>.</span>",
|
||||
"travelTime": 26,
|
||||
"length": 26,
|
||||
"id": "M16",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.90413,
|
||||
"longitude": -87.9223502
|
||||
},
|
||||
"instruction": "Arrive at your destination on the right.",
|
||||
"travelTime": 0,
|
||||
"length": 0,
|
||||
"id": "M17",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"summary": {
|
||||
"distance": 12533,
|
||||
"baseTime": 12631,
|
||||
"flags": [
|
||||
"noThroughRoad",
|
||||
"builtUpArea",
|
||||
"park",
|
||||
"privateRoad"
|
||||
],
|
||||
"text": "The trip takes <span class=\"length\">12.5 km</span> and <span class=\"time\">3:31 h</span>.",
|
||||
"travelTime": 12631,
|
||||
"_type": "RouteSummaryType"
|
||||
}
|
||||
}
|
||||
],
|
||||
"language": "en-us"
|
||||
}
|
||||
}
|
|
@ -1,294 +0,0 @@
|
|||
{
|
||||
"response": {
|
||||
"metaInfo": {
|
||||
"timestamp": "2019-07-21T18:40:37Z",
|
||||
"mapVersion": "8.30.98.154",
|
||||
"moduleVersion": "7.2.201928-4478",
|
||||
"interfaceVersion": "2.6.64",
|
||||
"availableMapVersion": [
|
||||
"8.30.98.154"
|
||||
]
|
||||
},
|
||||
"route": [
|
||||
{
|
||||
"waypoint": [
|
||||
{
|
||||
"linkId": "-1230414527",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.9797859,
|
||||
"longitude": -87.8790879
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9798,
|
||||
"longitude": -87.8801
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.5079365,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "Mannheim Rd",
|
||||
"label": "Mannheim Rd - US-12",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
{
|
||||
"linkId": "+924115108",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.90413,
|
||||
"longitude": -87.9223502
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9043,
|
||||
"longitude": -87.9216001
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.1925926,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "",
|
||||
"label": "",
|
||||
"shapeIndex": 191,
|
||||
"source": "user"
|
||||
}
|
||||
],
|
||||
"mode": {
|
||||
"type": "fastest",
|
||||
"transportModes": [
|
||||
"publicTransport"
|
||||
],
|
||||
"trafficMode": "disabled",
|
||||
"feature": []
|
||||
},
|
||||
"leg": [
|
||||
{
|
||||
"start": {
|
||||
"linkId": "-1230414527",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.9797859,
|
||||
"longitude": -87.8790879
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9798,
|
||||
"longitude": -87.8801
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.5079365,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "Mannheim Rd",
|
||||
"label": "Mannheim Rd - US-12",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
"end": {
|
||||
"linkId": "+924115108",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.90413,
|
||||
"longitude": -87.9223502
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9043,
|
||||
"longitude": -87.9216001
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.1925926,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "",
|
||||
"label": "",
|
||||
"shapeIndex": 191,
|
||||
"source": "user"
|
||||
},
|
||||
"length": 22325,
|
||||
"travelTime": 5350,
|
||||
"maneuver": [
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9797859,
|
||||
"longitude": -87.8790879
|
||||
},
|
||||
"instruction": "Head <span class=\"heading\">south</span> on <span class=\"street\">Mannheim Rd</span>. <span class=\"distance-description\">Go for <span class=\"length\">848 m</span>.</span>",
|
||||
"travelTime": 848,
|
||||
"length": 848,
|
||||
"id": "M1",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9722581,
|
||||
"longitude": -87.8776109
|
||||
},
|
||||
"instruction": "Take the street on the <span class=\"direction\">left</span>, <span class=\"next-street\">Mannheim Rd</span>. <span class=\"distance-description\">Go for <span class=\"length\">825 m</span>.</span>",
|
||||
"travelTime": 825,
|
||||
"length": 825,
|
||||
"id": "M2",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9650483,
|
||||
"longitude": -87.8769565
|
||||
},
|
||||
"instruction": "Go to the stop <span class=\"station\">Mannheim/Lawrence</span> and take the <span class=\"transit\">bus</span> <span class=\"line\">332</span> toward <span class=\"destination\">Palmer/Schiller</span>. <span class=\"distance-description\">Follow for <span class=\"stops\">7 stops</span>.</span>",
|
||||
"travelTime": 475,
|
||||
"length": 4360,
|
||||
"id": "M3",
|
||||
"stopName": "Mannheim/Lawrence",
|
||||
"_type": "PublicTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9541478,
|
||||
"longitude": -87.9133594
|
||||
},
|
||||
"instruction": "Get off at <span class=\"station\">Irving Park/Taft</span>.",
|
||||
"travelTime": 0,
|
||||
"length": 0,
|
||||
"id": "M4",
|
||||
"stopName": "Irving Park/Taft",
|
||||
"_type": "PublicTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9541478,
|
||||
"longitude": -87.9133594
|
||||
},
|
||||
"instruction": "Take the <span class=\"transit\">bus</span> <span class=\"line\">332</span> toward <span class=\"destination\">Cargo Rd./Delta Cargo</span>. <span class=\"distance-description\">Follow for <span class=\"stops\">1 stop</span>.</span>",
|
||||
"travelTime": 155,
|
||||
"length": 3505,
|
||||
"id": "M5",
|
||||
"stopName": "Irving Park/Taft",
|
||||
"_type": "PublicTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9599199,
|
||||
"longitude": -87.9162776
|
||||
},
|
||||
"instruction": "Get off at <span class=\"station\">Cargo Rd./S. Access Rd./Lufthansa</span>.",
|
||||
"travelTime": 0,
|
||||
"length": 0,
|
||||
"id": "M6",
|
||||
"stopName": "Cargo Rd./S. Access Rd./Lufthansa",
|
||||
"_type": "PublicTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9599199,
|
||||
"longitude": -87.9162776
|
||||
},
|
||||
"instruction": "Take the <span class=\"transit\">bus</span> <span class=\"line\">332</span> toward <span class=\"destination\">Palmer/Schiller</span>. <span class=\"distance-description\">Follow for <span class=\"stops\">41 stops</span>.</span>",
|
||||
"travelTime": 1510,
|
||||
"length": 11261,
|
||||
"id": "M7",
|
||||
"stopName": "Cargo Rd./S. Access Rd./Lufthansa",
|
||||
"_type": "PublicTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9041729,
|
||||
"longitude": -87.9399669
|
||||
},
|
||||
"instruction": "Get off at <span class=\"station\">York/Third</span>.",
|
||||
"travelTime": 0,
|
||||
"length": 0,
|
||||
"id": "M8",
|
||||
"stopName": "York/Third",
|
||||
"nextRoadName": "N York St",
|
||||
"_type": "PublicTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9041729,
|
||||
"longitude": -87.9399669
|
||||
},
|
||||
"instruction": "Head <span class=\"heading\">east</span> on <span class=\"street\">N York St</span>. <span class=\"distance-description\">Go for <span class=\"length\">33 m</span>.</span>",
|
||||
"travelTime": 43,
|
||||
"length": 33,
|
||||
"id": "M9",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9039476,
|
||||
"longitude": -87.9398811
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">E Third St</span>. <span class=\"distance-description\">Go for <span class=\"length\">1.4 km</span>.</span>",
|
||||
"travelTime": 1355,
|
||||
"length": 1354,
|
||||
"id": "M10",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9038832,
|
||||
"longitude": -87.9236054
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span>. <span class=\"distance-description\">Go for <span class=\"length\">113 m</span>.</span>",
|
||||
"travelTime": 113,
|
||||
"length": 113,
|
||||
"id": "M11",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9039047,
|
||||
"longitude": -87.9222536
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span>. <span class=\"distance-description\">Go for <span class=\"length\">26 m</span>.</span>",
|
||||
"travelTime": 26,
|
||||
"length": 26,
|
||||
"id": "M12",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.90413,
|
||||
"longitude": -87.9223502
|
||||
},
|
||||
"instruction": "Arrive at your destination on the right.",
|
||||
"travelTime": 0,
|
||||
"length": 0,
|
||||
"id": "M13",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"publicTransportLine": [
|
||||
{
|
||||
"lineName": "332",
|
||||
"companyName": "",
|
||||
"destination": "Palmer/Schiller",
|
||||
"type": "busPublic",
|
||||
"id": "L1"
|
||||
},
|
||||
{
|
||||
"lineName": "332",
|
||||
"companyName": "",
|
||||
"destination": "Cargo Rd./Delta Cargo",
|
||||
"type": "busPublic",
|
||||
"id": "L2"
|
||||
},
|
||||
{
|
||||
"lineName": "332",
|
||||
"companyName": "",
|
||||
"destination": "Palmer/Schiller",
|
||||
"type": "busPublic",
|
||||
"id": "L3"
|
||||
}
|
||||
],
|
||||
"summary": {
|
||||
"distance": 22325,
|
||||
"baseTime": 5350,
|
||||
"flags": [
|
||||
"noThroughRoad",
|
||||
"builtUpArea",
|
||||
"park"
|
||||
],
|
||||
"text": "The trip takes <span class=\"length\">22.3 km</span> and <span class=\"time\">1:29 h</span>.",
|
||||
"travelTime": 5350,
|
||||
"departure": "1970-01-01T00:00:00Z",
|
||||
"_type": "PublicTransportRouteSummaryType"
|
||||
}
|
||||
}
|
||||
],
|
||||
"language": "en-us"
|
||||
}
|
||||
}
|
|
@ -1,308 +0,0 @@
|
|||
{
|
||||
"response": {
|
||||
"metaInfo": {
|
||||
"timestamp": "2019-08-06T06:43:24Z",
|
||||
"mapVersion": "8.30.99.152",
|
||||
"moduleVersion": "7.2.201931-4739",
|
||||
"interfaceVersion": "2.6.66",
|
||||
"availableMapVersion": [
|
||||
"8.30.99.152"
|
||||
]
|
||||
},
|
||||
"route": [
|
||||
{
|
||||
"waypoint": [
|
||||
{
|
||||
"linkId": "-1230414527",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.9797859,
|
||||
"longitude": -87.8790879
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9798,
|
||||
"longitude": -87.8801
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.5079365,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "Mannheim Rd",
|
||||
"label": "Mannheim Rd - US-12",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
{
|
||||
"linkId": "+924115108",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.90413,
|
||||
"longitude": -87.9223502
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9043,
|
||||
"longitude": -87.9216001
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.1925926,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "",
|
||||
"label": "",
|
||||
"shapeIndex": 111,
|
||||
"source": "user"
|
||||
}
|
||||
],
|
||||
"mode": {
|
||||
"type": "fastest",
|
||||
"transportModes": [
|
||||
"publicTransportTimeTable"
|
||||
],
|
||||
"trafficMode": "disabled",
|
||||
"feature": []
|
||||
},
|
||||
"leg": [
|
||||
{
|
||||
"start": {
|
||||
"linkId": "-1230414527",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.9797859,
|
||||
"longitude": -87.8790879
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9798,
|
||||
"longitude": -87.8801
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.5079365,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "Mannheim Rd",
|
||||
"label": "Mannheim Rd - US-12",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
"end": {
|
||||
"linkId": "+924115108",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.90413,
|
||||
"longitude": -87.9223502
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9043,
|
||||
"longitude": -87.9216001
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.1925926,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "",
|
||||
"label": "",
|
||||
"shapeIndex": 111,
|
||||
"source": "user"
|
||||
},
|
||||
"length": 14775,
|
||||
"travelTime": 4784,
|
||||
"maneuver": [
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9797859,
|
||||
"longitude": -87.8790879
|
||||
},
|
||||
"instruction": "Head <span class=\"heading\">south</span> on <span class=\"street\">Mannheim Rd</span>. <span class=\"distance-description\">Go for <span class=\"length\">848 m</span>.</span>",
|
||||
"travelTime": 848,
|
||||
"length": 848,
|
||||
"id": "M1",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9722581,
|
||||
"longitude": -87.8776109
|
||||
},
|
||||
"instruction": "Take the street on the <span class=\"direction\">left</span>, <span class=\"next-street\">Mannheim Rd</span>. <span class=\"distance-description\">Go for <span class=\"length\">812 m</span>.</span>",
|
||||
"travelTime": 812,
|
||||
"length": 812,
|
||||
"id": "M2",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.965051,
|
||||
"longitude": -87.8769591
|
||||
},
|
||||
"instruction": "Go to the <span class=\"company\">Bus</span> stop <span class=\"station\">Mannheim/Lawrence</span> and take the <span class=\"transit\">bus</span> <span class=\"line\">330</span> toward <span class=\"destination\">Archer/Harlem (Terminal)</span>. <span class=\"distance-description\">Follow for <span class=\"stops\">33 stops</span>.</span>",
|
||||
"travelTime": 900,
|
||||
"length": 7815,
|
||||
"id": "M3",
|
||||
"stopName": "Mannheim/Lawrence",
|
||||
"_type": "PublicTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.896836,
|
||||
"longitude": -87.883771
|
||||
},
|
||||
"instruction": "Get off at <span class=\"station\">Mannheim/Lake</span>.",
|
||||
"travelTime": 0,
|
||||
"length": 0,
|
||||
"id": "M4",
|
||||
"stopName": "Mannheim/Lake",
|
||||
"_type": "PublicTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.896836,
|
||||
"longitude": -87.883771
|
||||
},
|
||||
"instruction": "Walk to <span class=\"company\">Bus</span> <span class=\"station\">Lake/Mannheim</span>.",
|
||||
"travelTime": 300,
|
||||
"length": 72,
|
||||
"id": "M5",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.897263,
|
||||
"longitude": -87.8842648
|
||||
},
|
||||
"instruction": "Take the <span class=\"transit\">bus</span> <span class=\"line\">309</span> toward <span class=\"destination\">Elmhurst Metra Station</span>. <span class=\"distance-description\">Follow for <span class=\"stops\">18 stops</span>.</span>",
|
||||
"travelTime": 1020,
|
||||
"length": 4362,
|
||||
"id": "M6",
|
||||
"stopName": "Lake/Mannheim",
|
||||
"_type": "PublicTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9066347,
|
||||
"longitude": -87.928671
|
||||
},
|
||||
"instruction": "Get off at <span class=\"station\">North/Berteau</span>.",
|
||||
"travelTime": 0,
|
||||
"length": 0,
|
||||
"id": "M7",
|
||||
"stopName": "North/Berteau",
|
||||
"nextRoadName": "E Berteau Ave",
|
||||
"_type": "PublicTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9066347,
|
||||
"longitude": -87.928671
|
||||
},
|
||||
"instruction": "Head <span class=\"heading\">north</span> on <span class=\"street\">E Berteau Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">23 m</span>.</span>",
|
||||
"travelTime": 40,
|
||||
"length": 23,
|
||||
"id": "M8",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9067693,
|
||||
"longitude": -87.9284549
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">right</span> onto <span class=\"next-street\">E Berteau Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">40 m</span>.</span>",
|
||||
"travelTime": 44,
|
||||
"length": 40,
|
||||
"id": "M9",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9065011,
|
||||
"longitude": -87.9282939
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">E North Ave</span>. <span class=\"distance-description\">Go for <span class=\"length\">49 m</span>.</span>",
|
||||
"travelTime": 56,
|
||||
"length": 49,
|
||||
"id": "M10",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9065225,
|
||||
"longitude": -87.9277039
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">slightly right</span>. <span class=\"distance-description\">Go for <span class=\"length\">409 m</span>.</span>",
|
||||
"travelTime": 419,
|
||||
"length": 409,
|
||||
"id": "M11",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9040334,
|
||||
"longitude": -87.9260409
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span> onto <span class=\"next-street\">E Third St</span>. <span class=\"distance-description\">Go for <span class=\"length\">206 m</span>.</span>",
|
||||
"travelTime": 206,
|
||||
"length": 206,
|
||||
"id": "M12",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9038832,
|
||||
"longitude": -87.9236054
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span>. <span class=\"distance-description\">Go for <span class=\"length\">113 m</span>.</span>",
|
||||
"travelTime": 113,
|
||||
"length": 113,
|
||||
"id": "M13",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9039047,
|
||||
"longitude": -87.9222536
|
||||
},
|
||||
"instruction": "Turn <span class=\"direction\">left</span>. <span class=\"distance-description\">Go for <span class=\"length\">26 m</span>.</span>",
|
||||
"travelTime": 26,
|
||||
"length": 26,
|
||||
"id": "M14",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.90413,
|
||||
"longitude": -87.9223502
|
||||
},
|
||||
"instruction": "Arrive at your destination on the right.",
|
||||
"travelTime": 0,
|
||||
"length": 0,
|
||||
"id": "M15",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"publicTransportLine": [
|
||||
{
|
||||
"lineName": "330",
|
||||
"companyName": "PACE",
|
||||
"destination": "Archer/Harlem (Terminal)",
|
||||
"type": "busPublic",
|
||||
"id": "L1"
|
||||
},
|
||||
{
|
||||
"lineName": "309",
|
||||
"companyName": "PACE",
|
||||
"destination": "Elmhurst Metra Station",
|
||||
"type": "busPublic",
|
||||
"id": "L2"
|
||||
}
|
||||
],
|
||||
"summary": {
|
||||
"distance": 14775,
|
||||
"baseTime": 4784,
|
||||
"flags": [
|
||||
"noThroughRoad",
|
||||
"builtUpArea",
|
||||
"park"
|
||||
],
|
||||
"text": "The trip takes <span class=\"length\">14.8 km</span> and <span class=\"time\">1:20 h</span>.",
|
||||
"travelTime": 4784,
|
||||
"departure": "2019-08-06T05:09:20-05:00",
|
||||
"timetableExpiration": "2019-08-04T00:00:00Z",
|
||||
"_type": "PublicTransportRouteSummaryType"
|
||||
}
|
||||
}
|
||||
],
|
||||
"language": "en-us"
|
||||
}
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"_type": "ns2:RoutingServiceErrorType",
|
||||
"type": "PermissionError",
|
||||
"subtype": "InvalidCredentials",
|
||||
"details": "This is not a valid app_id and app_code pair. Please verify that the values are not swapped between the app_id and app_code and the values provisioned by HERE (either by your customer representative or via http://developer.here.com/myapps) were copied correctly into the request.",
|
||||
"metaInfo": {
|
||||
"timestamp": "2019-07-10T09:43:14Z",
|
||||
"mapVersion": "8.30.98.152",
|
||||
"moduleVersion": "7.2.201927-4307",
|
||||
"interfaceVersion": "2.6.64",
|
||||
"availableMapVersion": [
|
||||
"8.30.98.152"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
{
|
||||
"_type": "ns2:RoutingServiceErrorType",
|
||||
"type": "ApplicationError",
|
||||
"subtype": "NoRouteFound",
|
||||
"details": "Error is NGEO_ERROR_ROUTE_NO_END_POINT",
|
||||
"additionalData": [
|
||||
{
|
||||
"key": "error_code",
|
||||
"value": "NGEO_ERROR_ROUTE_NO_END_POINT"
|
||||
}
|
||||
],
|
||||
"metaInfo": {
|
||||
"timestamp": "2019-07-10T09:51:04Z",
|
||||
"mapVersion": "8.30.98.152",
|
||||
"moduleVersion": "7.2.201927-4307",
|
||||
"interfaceVersion": "2.6.64",
|
||||
"availableMapVersion": [
|
||||
"8.30.98.152"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,187 +0,0 @@
|
|||
{
|
||||
"response": {
|
||||
"metaInfo": {
|
||||
"timestamp": "2019-07-21T14:25:00Z",
|
||||
"mapVersion": "8.30.98.154",
|
||||
"moduleVersion": "7.2.201928-4478",
|
||||
"interfaceVersion": "2.6.64",
|
||||
"availableMapVersion": [
|
||||
"8.30.98.154"
|
||||
]
|
||||
},
|
||||
"route": [
|
||||
{
|
||||
"waypoint": [
|
||||
{
|
||||
"linkId": "+930461269",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.9800687,
|
||||
"longitude": -87.8805614
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9798,
|
||||
"longitude": -87.8801
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.5555556,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "",
|
||||
"label": "",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
{
|
||||
"linkId": "-1035319462",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.9042909,
|
||||
"longitude": -87.9216528
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9043,
|
||||
"longitude": -87.9216001
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0,
|
||||
"sideOfStreet": "left",
|
||||
"mappedRoadName": "Eisenhower Expy E",
|
||||
"label": "Eisenhower Expy E - I-290",
|
||||
"shapeIndex": 135,
|
||||
"source": "user"
|
||||
}
|
||||
],
|
||||
"mode": {
|
||||
"type": "fastest",
|
||||
"transportModes": [
|
||||
"truck"
|
||||
],
|
||||
"trafficMode": "disabled",
|
||||
"feature": []
|
||||
},
|
||||
"leg": [
|
||||
{
|
||||
"start": {
|
||||
"linkId": "+930461269",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.9800687,
|
||||
"longitude": -87.8805614
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9798,
|
||||
"longitude": -87.8801
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0.5555556,
|
||||
"sideOfStreet": "right",
|
||||
"mappedRoadName": "",
|
||||
"label": "",
|
||||
"shapeIndex": 0,
|
||||
"source": "user"
|
||||
},
|
||||
"end": {
|
||||
"linkId": "-1035319462",
|
||||
"mappedPosition": {
|
||||
"latitude": 41.9042909,
|
||||
"longitude": -87.9216528
|
||||
},
|
||||
"originalPosition": {
|
||||
"latitude": 41.9043,
|
||||
"longitude": -87.9216001
|
||||
},
|
||||
"type": "stopOver",
|
||||
"spot": 0,
|
||||
"sideOfStreet": "left",
|
||||
"mappedRoadName": "Eisenhower Expy E",
|
||||
"label": "Eisenhower Expy E - I-290",
|
||||
"shapeIndex": 135,
|
||||
"source": "user"
|
||||
},
|
||||
"length": 13049,
|
||||
"travelTime": 812,
|
||||
"maneuver": [
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9800687,
|
||||
"longitude": -87.8805614
|
||||
},
|
||||
"instruction": "Take ramp onto <span class=\"number\">I-190</span>. <span class=\"distance-description\">Go for <span class=\"length\">631 m</span>.</span>",
|
||||
"travelTime": 53,
|
||||
"length": 631,
|
||||
"id": "M1",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.98259,
|
||||
"longitude": -87.8744352
|
||||
},
|
||||
"instruction": "Take exit <span class=\"exit\">1D</span> toward <span class=\"sign\"><span lang=\"en\">Indiana</span></span> onto <span class=\"number\">I-294 S</span> <span class=\"next-street\">(Tri-State Tollway)</span>. <span class=\"distance-description\">Go for <span class=\"length\">10.9 km</span>.</span>",
|
||||
"travelTime": 573,
|
||||
"length": 10872,
|
||||
"id": "M2",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9059324,
|
||||
"longitude": -87.9199362
|
||||
},
|
||||
"instruction": "Take exit <span class=\"exit\">33</span> toward <span class=\"sign\"><span lang=\"en\">Rockford</span>/<span lang=\"en\">US-20</span>/<span lang=\"en\">IL-64</span></span> onto <span class=\"number\">I-290 W</span> <span class=\"next-street\">(Eisenhower Expy W)</span>. <span class=\"distance-description\">Go for <span class=\"length\">475 m</span>.</span>",
|
||||
"travelTime": 54,
|
||||
"length": 475,
|
||||
"id": "M3",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9067156,
|
||||
"longitude": -87.9237771
|
||||
},
|
||||
"instruction": "Take exit <span class=\"exit\">13B</span> toward <span class=\"sign\"><span lang=\"en\">North Ave</span></span> onto <span class=\"number\">IL-64 W</span> <span class=\"next-street\">(E North Ave)</span>. <span class=\"distance-description\">Go for <span class=\"length\">435 m</span>.</span>",
|
||||
"travelTime": 51,
|
||||
"length": 435,
|
||||
"id": "M4",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9065869,
|
||||
"longitude": -87.9249573
|
||||
},
|
||||
"instruction": "Take ramp onto <span class=\"number\">I-290 E</span> <span class=\"next-street\">(Eisenhower Expy E)</span> toward <span class=\"sign\"><span lang=\"en\">Chicago</span>/<span lang=\"en\">I-294 S</span></span>. <span class=\"distance-description\">Go for <span class=\"length\">636 m</span>.</span>",
|
||||
"travelTime": 81,
|
||||
"length": 636,
|
||||
"id": "M5",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
},
|
||||
{
|
||||
"position": {
|
||||
"latitude": 41.9042909,
|
||||
"longitude": -87.9216528
|
||||
},
|
||||
"instruction": "Arrive at <span class=\"street\">Eisenhower Expy E</span> <span class=\"number\">(I-290)</span>. Your destination is on the left.",
|
||||
"travelTime": 0,
|
||||
"length": 0,
|
||||
"id": "M6",
|
||||
"_type": "PrivateTransportManeuverType"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"summary": {
|
||||
"distance": 13049,
|
||||
"trafficTime": 812,
|
||||
"baseTime": 812,
|
||||
"flags": [
|
||||
"tollroad",
|
||||
"motorway",
|
||||
"builtUpArea"
|
||||
],
|
||||
"text": "The trip takes <span class=\"length\">13.0 km</span> and <span class=\"time\">14 mins</span>.",
|
||||
"travelTime": 812,
|
||||
"_type": "RouteSummaryType"
|
||||
}
|
||||
}
|
||||
],
|
||||
"language": "en-us"
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue