Closed fanycolle closed 4 years ago
Hello, as stated in the issue template, we would need specific information to allow your problem to be investigated, including the input data files. Of course a bug is possible, but it seems likely to me that this is due to incorrect input data.
Hello, as stated in the issue template, we would need specific information to allow your problem to be investigated, including the input data files. Of course a bug is possible, but it seems likely to me that this is due to incorrect input data.
Hello, as stated in the issue template, we would need specific information to allow your problem to be investigated, including the input data files. Of course a bug is possible, but it seems likely to me that this is due to incorrect input data.
Hi,
I took the file otp-1.4.0.jar from here: https://repo1.maven.org/maven2/org/opentripplanner/otp/1.4.0/ this jar:
and execute it with command: java -Xmx4G -jar otp-1.4.0-shaded.jar --build D:\utils\tmp\graphs\current --inMemory
in my folder D:\utils\tmp\graphs\current I have: google_transit.zip from http://dati.comune.lecce.it/trasporti/gtfs/google_transit.zip but resource now it's not available. You can find old open data here: https://transit.land/feed-registry/operators/o-srhv-sgmspa
This is my router-config.json:
{ "timeouts": [20, 20, 20], "routingDefaults": { "walkSpeed": 1.3, "transferSlack": 120, "maxTransfers": 4, "waitReluctance": 0.99, "waitAtBeginningFactor": 0.4, "walkReluctance": 1.75, "stairsReluctance": 1.65, "walkBoardCost": 540, "compactLegsByReversedSearch": false, "walkOnStreetReluctance": 1.5, "carParkCarLegWeight": 2, "itineraryFiltering": 2.0 },
"updaters": [ ], "boardTimes": { "AIRPLANE": 2700 }, "alightTimes": { "AIRPLANE": 1200 } }
This is my build-config.json:
{ "areaVisibility": true, "staticParkAndRide": true, "parentStopLinking": true, "subwayAccessTime": 0, "elevationUnitMultiplier": 0.1, "vertexConnector": "HSL" }
Result of otp is this: `{
"debugOutput": {
"pathCalculationTime": 8,
"timedOut": false,
"precalculationTime": 23,
"totalTime": 32,
"renderingTime": 1,
"pathTimes": [
5,
2,
1
]
},
"requestParameters": {
"date": "11/07/2019",
"wheelchair": "false",
"fromPlace": "40.3387688,18.1254198",
"fuel": "default",
"weight": "default",
"maxWalkDistance": "2000",
"locale": "it",
"numItineraries": "3",
"mode": "BUS,WALK",
"arriveBy": "false",
"carType": "default",
"sexPerson": "default",
"optimize": "QUICK",
"showIntermediateStops": "true",
"toPlace": "40.3557389,18.193174",
"time": "4:00 PM"
},
"plan": {
"date": 1573138800000,
"itineraries": [
{
"walkDistance": 1449.9763846212672,
"transitTime": 1920,
"walkTime": 1155,
"waitingTime": 182,
"walkLimitExceeded": false,
"elevationGained": 0,
"tooSloped": false,
"duration": 3257,
"transfers": 1,
"legs": [
{
"legGeometry": {
"length": 18,
"points": "gteuFybsmB??Y}EW}D_AiOKwAW}DIsAK}AAIk@cJa@mGDSHINEPFfA~BHN"
},
"transitLeg": false,
"distance": 980.9970000000001,
"arrivalDelay": 0,
"agencyTimeZoneOffset": 3600000,
"departureDelay": 0,
"steps": [
{
"area": false,
"elevation": [],
"streetName": "Via Arnesano",
"distance": 869.254,
"bogusName": false,
"stayOn": false,
"lon": 18.12541976608542,
"absoluteDirection": "EAST",
"relativeDirection": "DEPART",
"lat": 40.33876897342273
},
{
"area": false,
"elevation": [],
"streetName": "Via Monteroni",
"distance": 111.74300000000001,
"bogusName": false,
"stayOn": false,
"lon": 18.1355431,
"absoluteDirection": "SOUTHEAST",
"relativeDirection": "RIGHT",
"lat": 40.3400219
}
],
"realTime": false,
"mode": "WALK",
"duration": 771,
"route": "",
"pathway": false,
"startTime": 1573139048000,
"from": {
"vertexType": "NORMAL",
"orig": "",
"name": "Origin",
"lon": 18.1254198,
"departure": 1573139048000,
"lat": 40.3387688
},
"endTime": 1573139819000,
"to": {
"stopIndex": 19,
"stopCode": "387",
"vertexType": "TRANSIT",
"stopSequence": 20,
"arrival": 1573139819000,
"name": "Monteroni - Prima Incrocio Via",
"stopId": "1:287",
"lon": 18.135003,
"departure": 1573139820000,
"lat": 40.339325
},
"rentedBike": false,
"intermediateStops": [],
"interlineWithPreviousLeg": false
},
{
"legGeometry": {
"length": 8,
"points": "wweuFw~tmBuSkd@uNsj@gDuNmDyNwGoYvAgNcEmP"
},
"transitLeg": true,
"distance": 2613.0216834758016,
"serviceDate": "20191107",
"agencyId": "104",
"tripId": "1:0000165692019091620200613",
"departureDelay": 0,
"routeLongName": "Porta Napoli - Ecotekne",
"mode": "BUS",
"duration": 480,
"routeId": "1:20",
"agencyUrl": "http://www.sgmlecce.it",
"startTime": 1573139820000,
"from": {
"stopIndex": 19,
"stopCode": "387",
"vertexType": "TRANSIT",
"stopSequence": 20,
"arrival": 1573139819000,
"name": "Monteroni - Prima Incrocio Via",
"stopId": "1:287",
"lon": 18.135003,
"departure": 1573139820000,
"lat": 40.339325
},
"rentedBike": false,
"routeType": 3,
"arrivalDelay": 0,
"agencyTimeZoneOffset": 3600000,
"steps": [],
"agencyName": "S.G.M. S.p.A.",
"realTime": false,
"routeShortName": "27EXP",
"route": "27EXP",
"pathway": false,
"endTime": 1573140300000,
"to": {
"stopIndex": 26,
"stopCode": "371",
"vertexType": "TRANSIT",
"stopSequence": 27,
"arrival": 1573140300000,
"name": "Diaz, 38",
"stopId": "1:271",
"lon": 18.162479,
"departure": 1573140480000,
"lat": 40.348799
},
"intermediateStops": [
{
"stopIndex": 20,
"stopCode": "382",
"vertexType": "TRANSIT",
"stopSequence": 21,
"arrival": 1573139880000,
"name": "Monteroni - Villa Verde (382)",
"stopId": "1:282",
"lon": 18.140983,
"departure": 1573139880000,
"lat": 40.342636
},
{
"stopIndex": 21,
"stopCode": "380",
"vertexType": "TRANSIT",
"stopSequence": 22,
"arrival": 1573139940000,
"name": "Monteroni - Caserma Nacci",
"stopId": "1:280",
"lon": 18.147967,
"departure": 1573139940000,
"lat": 40.345145
},
{
"stopIndex": 22,
"stopCode": "378",
"vertexType": "TRANSIT",
"stopSequence": 23,
"arrival": 1573140000000,
"name": "Monteroni - Fronte Fermata 377",
"stopId": "1:278",
"lon": 18.150471,
"departure": 1573140000000,
"lat": 40.345987
},
{
"stopIndex": 23,
"stopCode": "376",
"vertexType": "TRANSIT",
"stopSequence": 24,
"arrival": 1573140060000,
"name": "Monteroni - Acquedotto",
"stopId": "1:276",
"lon": 18.153004,
"departure": 1573140060000,
"lat": 40.346851
},
{
"stopIndex": 24,
"stopCode": "374",
"vertexType": "TRANSIT",
"stopSequence": 25,
"arrival": 1573140180000,
"name": "Massaglia, 56",
"stopId": "1:274",
"lon": 18.157247,
"departure": 1573140180000,
"lat": 40.348251
},
{
"stopIndex": 25,
"stopCode": "342",
"vertexType": "TRANSIT",
"stopSequence": 26,
"arrival": 1573140240000,
"name": "Rudiae - Prima Sottopasso Vers",
"stopId": "1:242",
"lon": 18.159688,
"departure": 1573140240000,
"lat": 40.347812
}
],
"interlineWithPreviousLeg": false
},
{
"legGeometry": {
"length": 14,
"points": "}rguFmjzmBsIaFxIyPxNP{EoNv@iPgGaJnEj[tfifCeclfC_yjfCx_jfCqEgYaCqOiBuIaDiR"
},
"transitLeg": true,
"distance": 6508880.14231047,
"serviceDate": "20191107",
"agencyId": "104",
"tripId": "1:0000163252019091620200613",
"departureDelay": 0,
"routeLongName": "167B - Centro - Ospedale",
"mode": "BUS",
"duration": 1440,
"routeId": "1:4",
"agencyUrl": "http://www.sgmlecce.it",
"startTime": 1573140480000,
"from": {
"stopIndex": 6,
"stopCode": "371",
"vertexType": "TRANSIT",
"stopSequence": 7,
"arrival": 1573140300000,
"name": "Diaz, 38",
"stopId": "1:271",
"lon": 18.162479,
"departure": 1573140480000,
"lat": 40.348799
},
"rentedBike": false,
"routeType": 3,
"arrivalDelay": 0,
"agencyTimeZoneOffset": 3600000,
"steps": [],
"agencyName": "S.G.M. S.p.A.",
"realTime": false,
"routeShortName": "24",
"route": "24",
"pathway": false,
"endTime": 1573141920000,
"to": {
"stopIndex": 19,
"stopCode": "175",
"vertexType": "TRANSIT",
"stopSequence": 20,
"arrival": 1573141920000,
"name": "Della Liberta' - Super Mac",
"stopId": "1:142",
"lon": 18.191275,
"departure": 1573141921000,
"lat": 40.358422
},
"intermediateStops": [
{
"stopIndex": 7,
"stopCode": "177",
"vertexType": "TRANSIT",
"stopSequence": 8,
"arrival": 1573140600000,
"name": "Gallipoli - Bar Rosso E Nero",
"stopId": "1:92",
"lon": 18.163604,
"departure": 1573140600000,
"lat": 40.350496
},
{
"stopIndex": 8,
"stopCode": "179",
"vertexType": "TRANSIT",
"stopSequence": 9,
"arrival": 1573140720000,
"name": "Gallipoli - Case Incis, 9",
"stopId": "1:94",
"lon": 18.166452,
"departure": 1573140720000,
"lat": 40.348764
},
{
"stopIndex": 9,
"stopCode": "137",
"vertexType": "TRANSIT",
"stopSequence": 10,
"arrival": 1573140900000,
"name": "Quarta O. - Stazione",
"stopId": "1:54",
"lon": 18.166369,
"departure": 1573140900000,
"lat": 40.346233
},
{
"stopIndex": 10,
"stopCode": "138",
"vertexType": "TRANSIT",
"stopSequence": 11,
"arrival": 1573141020000,
"name": "Gallipoli - Intendenza Di Fin",
"stopId": "1:55",
"lon": 18.168849,
"departure": 1573141020000,
"lat": 40.347338
},
{
"stopIndex": 11,
"stopCode": "109",
"vertexType": "TRANSIT",
"stopSequence": 12,
"arrival": 1573141140000,
"name": "Otranto - Bar Otranto, 11",
"stopId": "1:31",
"lon": 18.171617,
"departure": 1573141140000,
"lat": 40.347058
},
{
"stopIndex": 12,
"stopCode": "110",
"vertexType": "TRANSIT",
"stopSequence": 13,
"arrival": 1573141260000,
"name": "Otranto - Piazza Italia",
"stopId": "1:32",
"lon": 18.173386,
"departure": 1573141260000,
"lat": 40.348378
},
{
"stopIndex": 13,
"stopCode": "115",
"vertexType": "TRANSIT",
"stopSequence": 14,
"arrival": 1573141380000,
"name": "Gallipoli - Intendenza Di Fin",
"stopId": "1:10",
"lon": 18.168849,
"departure": 1573141380000,
"lat": 40.347338
},
{
"stopIndex": 14,
"stopCode": "102",
"vertexType": "TRANSIT",
"stopSequence": 15,
"arrival": 1573141440000,
"name": "Cavallotti, 21",
"stopId": "1:11",
"lon": 40.354472,
"departure": 1573141440000,
"lat": 18.176506
},
{
"stopIndex": 15,
"stopCode": "166",
"vertexType": "TRANSIT",
"stopSequence": 16,
"arrival": 1573141560000,
"name": "Imperatore Adriano - Chiesa D",
"stopId": "1:41",
"lon": 18.179628,
"departure": 1573141560000,
"lat": 40.355387
},
{
"stopIndex": 16,
"stopCode": "168",
"vertexType": "TRANSIT",
"stopSequence": 17,
"arrival": 1573141650000,
"name": "Del Mare - Edicola, 18",
"stopId": "1:43",
"lon": 18.183825,
"departure": 1573141650000,
"lat": 40.356435
},
{
"stopIndex": 17,
"stopCode": "237",
"vertexType": "TRANSIT",
"stopSequence": 18,
"arrival": 1573141740000,
"name": "Della Liberta' , 77",
"stopId": "1:137",
"lon": 18.186478,
"departure": 1573141740000,
"lat": 40.357085
},
{
"stopIndex": 18,
"stopCode": "239",
"vertexType": "TRANSIT",
"stopSequence": 19,
"arrival": 1573141830000,
"name": "Della Liberta' - Vicino Tabac",
"stopId": "1:139",
"lon": 18.188185,
"departure": 1573141830000,
"lat": 40.357611
}
],
"interlineWithPreviousLeg": false
},
{
"legGeometry": {
"length": 19,
"points": "ioiuFi~_nBDVH^dBs@TIvBKhBKA?^Et@MN?LGDCBU@sAAG?IG_BEeB" }, "transitLeg": false, "distance": 468.81899999999996, "arrivalDelay": 0, "agencyTimeZoneOffset": 3600000, "departureDelay": 0, "steps": [ { "area": false, "elevation": [], "streetName": "service road", "distance": 25.542, "bogusName": true, "stayOn": false, "lon": 18.19125726443742, "absoluteDirection": "WEST", "relativeDirection": "DEPART", "lat": 40.358457133140206 }, { "area": false, "elevation": [], "streetName": "Via Sant'Elia", "distance": 73.557, "bogusName": false, "stayOn": false, "lon": 18.1909752, "absoluteDirection": "SOUTH", "relativeDirection": "LEFT", "lat": 40.3583761 }, { "area": false, "elevation": [], "streetName": "Via Pitagora", "distance": 228.966, "bogusName": false, "stayOn": false, "lon": 18.191284200000002, "absoluteDirection": "SOUTH", "relativeDirection": "CONTINUE", "lat": 40.3577579 }, { "area": false, "elevation": [], "exit": "1", "streetName": "Via Pitagora", "distance": 3.76, "bogusName": false, "stayOn": false, "lon": 18.1915407, "absoluteDirection": "SOUTHEAST", "relativeDirection": "CIRCLE_CLOCKWISE", "lat": 40.3557128 }, { "area": false, "elevation": [], "streetName": "Viale Aldo Moro", "distance": 136.994, "bogusName": false, "stayOn": false, "lon": 18.191565, "absoluteDirection": "EAST", "relativeDirection": "LEFT", "lat": 40.3556845 } ], "realTime": false, "mode": "WALK", "duration": 384, "route": "", "pathway": false, "startTime": 1573141921000, "from": { "stopIndex": 19, "stopCode": "175", "vertexType": "TRANSIT", "stopSequence": 20, "arrival": 1573141920000, "name": "Della Liberta' - Super Mac", "stopId": "1:142", "lon": 18.191275, "departure": 1573141921000, "lat": 40.358422 }, "endTime": 1573142305000, "to": { "vertexType": "NORMAL", "arrival": 1573142305000, "orig": "", "name": "Destination", "lon": 18.193174, "lat": 40.3557389 }, "rentedBike": false, "intermediateStops": [], "interlineWithPreviousLeg": false } ], "elevationLost": 0, "startTime": 1573139048000, "endTime": 1573142305000 }, { "walkDistance": 1738.0823077032128, "transitTime": 1620, "walkTime": 1411, "waitingTime": 297, "walkLimitExceeded": false, "elevationGained": 0, "tooSloped": false, "duration": 3328, "transfers": 1, "legs": [ { "legGeometry": { "length": 18, "points": "gteuFybsmB??Y}EW}D_AiOKwAW}DIsAK}AAIk@cJa@mGDSHINEPFfA~BHN" }, "transitLeg": false, "distance": 980.9970000000001, "arrivalDelay": 0, "agencyTimeZoneOffset": 3600000, "departureDelay": 0, "steps": [ { "area": false, "elevation": [], "streetName": "Via Arnesano", "distance": 869.254, "bogusName": false, "stayOn": false, "lon": 18.12541976608542, "absoluteDirection": "EAST", "relativeDirection": "DEPART", "lat": 40.33876897342273 }, { "area": false, "elevation": [], "streetName": "Via Monteroni", "distance": 111.74300000000001, "bogusName": false, "stayOn": false, "lon": 18.1355431, "absoluteDirection": "SOUTHEAST", "relativeDirection": "RIGHT", "lat": 40.3400219 } ], "realTime": false, "mode": "WALK", "duration": 771, "route": "", "pathway": false, "startTime": 1573139768000, "from": { "vertexType": "NORMAL", "orig": "", "name": "Origin", "lon": 18.1254198, "departure": 1573139768000, "lat": 40.3387688 }, "endTime": 1573140539000, "to": { "stopIndex": 19, "stopCode": "387", "vertexType": "TRANSIT", "stopSequence": 20, "arrival": 1573140539000, "name": "Monteroni - Prima Incrocio Via", "stopId": "1:287", "lon": 18.135003, "departure": 1573140540000, "lat": 40.339325 }, "rentedBike": false, "intermediateStops": [], "interlineWithPreviousLeg": false }, { "legGeometry": { "length": 9, "points": "wweuFw~tmBuSkd@uNsj@gDuNmDyNwGoYvAgNcEmPsIaF" }, "transitLeg": true, "distance": 2824.435537778197, "serviceDate": "20191107", "agencyId": "104", "tripId": "1:0000165492019091620200613", "departureDelay": 0, "routeLongName": "P. Napoli - Ekotecne - Centro", "mode": "BUS", "duration": 600, "routeId": "1:7", "agencyUrl": "http://www.sgmlecce.it", "startTime": 1573140540000, "from": { "stopIndex": 19, "stopCode": "387", "vertexType": "TRANSIT", "stopSequence": 20, "arrival": 1573140539000, "name": "Monteroni - Prima Incrocio Via", "stopId": "1:287", "lon": 18.135003, "departure": 1573140540000, "lat": 40.339325 }, "rentedBike": false, "routeType": 3, "arrivalDelay": 0, "agencyTimeZoneOffset": 3600000, "steps": [], "agencyName": "S.G.M. S.p.A.", "realTime": false, "routeShortName": "27", "route": "27", "pathway": false, "endTime": 1573141140000, "to": { "stopIndex": 27, "stopCode": "177", "vertexType": "TRANSIT", "stopSequence": 28, "arrival": 1573141140000, "name": "Gallipoli - Bar Rosso E Nero", "stopId": "1:92", "lon": 18.163604, "departure": 1573141140000, "lat": 40.350496 }, "intermediateStops": [ { "stopIndex": 20, "stopCode": "382", "vertexType": "TRANSIT", "stopSequence": 21, "arrival": 1573140600000, "name": "Monteroni - Villa Verde (382)", "stopId": "1:282", "lon": 18.140983, "departure": 1573140600000, "lat": 40.342636 }, { "stopIndex": 21, "stopCode": "380", "vertexType": "TRANSIT", "stopSequence": 22, "arrival": 1573140660000, "name": "Monteroni - Caserma Nacci", "stopId": "1:280", "lon": 18.147967, "departure": 1573140660000, "lat": 40.345145 }, { "stopIndex": 22, "stopCode": "378", "vertexType": "TRANSIT", "stopSequence": 23, "arrival": 1573140720000, "name": "Monteroni - Fronte Fermata 377", "stopId": "1:278", "lon": 18.150471, "departure": 1573140720000, "lat": 40.345987 }, { "stopIndex": 23, "stopCode": "376", "vertexType": "TRANSIT", "stopSequence": 24, "arrival": 1573140780000, "name": "Monteroni - Acquedotto", "stopId": "1:276", "lon": 18.153004, "departure": 1573140780000, "lat": 40.346851 }, { "stopIndex": 24, "stopCode": "374", "vertexType": "TRANSIT", "stopSequence": 25, "arrival": 1573140900000, "name": "Massaglia, 56", "stopId": "1:274", "lon": 18.157247, "departure": 1573140900000, "lat": 40.348251 }, { "stopIndex": 25, "stopCode": "342", "vertexType": "TRANSIT", "stopSequence": 26, "arrival": 1573140960000, "name": "Rudiae - Prima Sottopasso Vers", "stopId": "1:242", "lon": 18.159688, "departure": 1573140960000, "lat": 40.347812 }, { "stopIndex": 26, "stopCode": "371", "vertexType": "TRANSIT", "stopSequence": 27, "arrival": 1573141020000, "name": "Diaz, 38", "stopId": "1:271", "lon": 18.162479, "departure": 1573141020000, "lat": 40.348799 } ], "interlineWithPreviousLeg": false }, { "legGeometry": { "length": 3, "points": "{}guFyqzmBA@AB" }, "transitLeg": false, "distance": 3.105, "arrivalDelay": 0, "agencyTimeZoneOffset": 3600000, "departureDelay": 0, "steps": [ { "area": false, "elevation": [], "streetName": "Gallipoli - Bar Rosso E Nero => Gallipoli - Fronte Bar Rosso E", "distance": 3.105, "bogusName": false, "stayOn": false, "lon": 18.163604, "absoluteDirection": "NORTHWEST", "relativeDirection": "DEPART", "lat": 40.350496 } ], "realTime": false, "mode": "WALK", "duration": 5, "route": "", "pathway": false, "startTime": 1573141140000, "from": { "stopIndex": 27, "stopCode": "177", "vertexType": "TRANSIT", "stopSequence": 28, "arrival": 1573141140000, "name": "Gallipoli - Bar Rosso E Nero", "stopId": "1:92", "lon": 18.163604, "departure": 1573141140000, "lat": 40.350496 }, "endTime": 1573141145000, "to": { "stopIndex": 2, "stopCode": "178.", "vertexType": "TRANSIT", "stopSequence": 3, "arrival": 1573141145000, "name": "Gallipoli - Fronte Bar Rosso E", "stopId": "1:93", "lon": 18.163741, "departure": 1573141440000, "lat": 40.35065 }, "rentedBike": false, "intermediateStops": [], "interlineWithPreviousLeg": false }, { "legGeometry": { "length": 11, "points": "q~guFkrzmBoD{AeRyJcOiHoMcHaIkHyGeLz@iZ
IcVbPeOzRgJ"
},
"transitLeg": true,
"distance": 3033.663470522269,
"serviceDate": "20191107",
"agencyId": "104",
"tripId": "1:0000164632019091620200613",
"departureDelay": 0,
"routeLongName": "Stazione FF.SS. - Porta Napoli - Viale Leopardi",
"mode": "BUS",
"duration": 1020,
"routeId": "1:11",
"agencyUrl": "http://www.sgmlecce.it",
"startTime": 1573141440000,
"from": {
"stopIndex": 2,
"stopCode": "178.",
"vertexType": "TRANSIT",
"stopSequence": 3,
"arrival": 1573141145000,
"name": "Gallipoli - Fronte Bar Rosso E",
"stopId": "1:93",
"lon": 18.163741,
"departure": 1573141440000,
"lat": 40.35065
},
"rentedBike": false,
"routeType": 3,
"arrivalDelay": 0,
"agencyTimeZoneOffset": 3600000,
"steps": [],
"agencyName": "S.G.M. S.p.A.",
"realTime": false,
"routeShortName": "31",
"route": "31",
"pathway": false,
"endTime": 1573142460000,
"to": {
"stopIndex": 12,
"stopCode": "157",
"vertexType": "TRANSIT",
"stopSequence": 13,
"arrival": 1573142460000,
"name": "Japigia ,2D ( Vobis)",
"stopId": "1:72",
"lon": 18.185116,
"departure": 1573142461000,
"lat": 40.354694
},
"intermediateStops": [
{
"stopIndex": 3,
"stopCode": "175.",
"vertexType": "TRANSIT",
"stopSequence": 4,
"arrival": 1573141500000,
"name": "Dell'Universita' - Porta Rudi",
"stopId": "1:90",
"lon": 18.164205,
"departure": 1573141500000,
"lat": 40.351532
},
{
"stopIndex": 4,
"stopCode": "173",
"vertexType": "TRANSIT",
"stopSequence": 5,
"arrival": 1573141620000,
"name": "Dell'Universita' - Liceo Palm",
"stopId": "1:88",
"lon": 18.166093,
"departure": 1573141620000,
"lat": 40.354602
},
{
"stopIndex": 5,
"stopCode": "170",
"vertexType": "TRANSIT",
"stopSequence": 6,
"arrival": 1573141710000,
"name": "Parcheggio C.Pranzo",
"stopId": "1:85",
"lon": 18.167588,
"departure": 1573141710000,
"lat": 40.357181
},
{
"stopIndex": 6,
"stopCode": "168.",
"vertexType": "TRANSIT",
"stopSequence": 7,
"arrival": 1573141770000,
"name": "Calasso - Lato C. Pranzo",
"stopId": "1:83",
"lon": 18.169049,
"departure": 1573141770000,
"lat": 40.359501
},
{
"stopIndex": 7,
"stopCode": "167.",
"vertexType": "TRANSIT",
"stopSequence": 8,
"arrival": 1573141860000,
"name": "Foscolo - Lato Api, 2",
"stopId": "1:82",
"lon": 18.170543,
"departure": 1573141860000,
"lat": 40.361116
},
{
"stopIndex": 8,
"stopCode": "165",
"vertexType": "TRANSIT",
"stopSequence": 9,
"arrival": 1573141920000,
"name": "Foscolo - Fronte Chiesa",
"stopId": "1:80",
"lon": 18.172657,
"departure": 1573141920000,
"lat": 40.362528
},
{
"stopIndex": 9,
"stopCode": "162",
"vertexType": "TRANSIT",
"stopSequence": 10,
"arrival": 1573141980000,
"name": "Leopardi - Dopo Incrocio Via D",
"stopId": "1:77",
"lon": 18.177021,
"departure": 1573141980000,
"lat": 40.36223
},
{
"stopIndex": 10,
"stopCode": "160",
"vertexType": "TRANSIT",
"stopSequence": 11,
"arrival": 1573142040000,
"name": "Leopardi - Poco Prima Incroci",
"stopId": "1:75",
"lon": 18.180729,
"departure": 1573142040000,
"lat": 40.360611
},
{
"stopIndex": 11,
"stopCode": "159",
"vertexType": "TRANSIT",
"stopSequence": 12,
"arrival": 1573142100000,
"name": "Leopardi - Subito Dopo Rotator",
"stopId": "1:74",
"lon": 18.183315,
"departure": 1573142400000,
"lat": 40.357874
}
],
"interlineWithPreviousLeg": false
},
{
"legGeometry": {
"length": 47,
"points": "ywhuF}w~mBA@o@VEBGWAKC?C??A?CK??GCcAEyAAOAOA[EoAMcECYCWAOYuCEY?UC[QgBAQW{CAQEc@Ba@D]@O?MAECM?KBKDIDCBU@sAAG?IG_BEeB"
},
"transitLeg": false,
"distance": 753.683,
"arrivalDelay": 0,
"agencyTimeZoneOffset": 3600000,
"departureDelay": 0,
"steps": [
{
"area": false,
"elevation": [],
"streetName": "Viale Japigia",
"distance": 34.098,
"bogusName": false,
"stayOn": false,
"lon": 18.185111046145057,
"absoluteDirection": "NORTH",
"relativeDirection": "DEPART",
"lat": 40.354692677115544
},
{
"area": false,
"elevation": [],
"streetName": "path",
"distance": 29.276000000000003,
"bogusName": true,
"stayOn": false,
"lon": 18.184967,
"absoluteDirection": "EAST",
"relativeDirection": "RIGHT",
"lat": 40.354979
},
{
"area": false,
"elevation": [],
"streetName": "Via Benedetto Croce",
"distance": 524.68,
"bogusName": false,
"stayOn": false,
"lon": 18.185172,
"absoluteDirection": "EAST",
"relativeDirection": "RIGHT",
"lat": 40.3551246
},
{
"area": false,
"elevation": [],
"exit": "3",
"streetName": "Via Pitagora",
"distance": 28.634999999999998,
"bogusName": false,
"stayOn": false,
"lon": 18.191275700000002,
"absoluteDirection": "NORTHEAST",
"relativeDirection": "CIRCLE_CLOCKWISE",
"lat": 40.355732800000006
},
{
"area": false,
"elevation": [],
"streetName": "Viale Aldo Moro",
"distance": 136.994,
"bogusName": false,
"stayOn": false,
"lon": 18.191565,
"absoluteDirection": "EAST",
"relativeDirection": "LEFT",
"lat": 40.3556845
}
],
"realTime": false,
"mode": "WALK",
"duration": 635,
"route": "",
"pathway": false,
"startTime": 1573142461000,
"from": {
"stopIndex": 12,
"stopCode": "157",
"vertexType": "TRANSIT",
"stopSequence": 13,
"arrival": 1573142460000,
"name": "Japigia ,2D ( Vobis)",
"stopId": "1:72",
"lon": 18.185116,
"departure": 1573142461000,
"lat": 40.354694
},
"endTime": 1573143096000,
"to": {
"vertexType": "NORMAL",
"arrival": 1573143096000,
"orig": "",
"name": "Destination",
"lon": 18.193174,
"lat": 40.3557389
},
"rentedBike": false,
"intermediateStops": [],
"interlineWithPreviousLeg": false
}
],
"elevationLost": 0,
"startTime": 1573139768000,
"endTime": 1573143096000
},
{
"walkDistance": 645.0793846183332,
"transitTime": 2790,
"walkTime": 520,
"waitingTime": 122,
"walkLimitExceeded": false,
"elevationGained": 0,
"tooSloped": false,
"duration": 3432,
"transfers": 1,
"legs": [
{
"legGeometry": {
"length": 4,
"points": "gteuFybsmB??Y}EW}D"
},
"transitLeg": false,
"distance": 176.18,
"arrivalDelay": 0,
"agencyTimeZoneOffset": 3600000,
"departureDelay": 0,
"steps": [
{
"area": false,
"elevation": [],
"streetName": "Via Arnesano",
"distance": 176.18,
"bogusName": false,
"stayOn": false,
"lon": 18.12541976608542,
"absoluteDirection": "EAST",
"relativeDirection": "DEPART",
"lat": 40.33876897342273
}
],
"realTime": false,
"mode": "WALK",
"duration": 136,
"route": "",
"pathway": false,
"startTime": 1573140973000,
"from": {
"vertexType": "NORMAL",
"orig": "",
"name": "Origin",
"lon": 18.1254198,
"departure": 1573140973000,
"lat": 40.3387688
},
"endTime": 1573141109000,
"to": {
"stopIndex": 14,
"stopCode": "384",
"vertexType": "TRANSIT",
"stopSequence": 15,
"arrival": 1573141109000,
"name": "Arnesano - Centro Tecnologico",
"stopId": "1:284",
"lon": 18.127449,
"departure": 1573141110000,
"lat": 40.339127
},
"rentedBike": false,
"intermediateStops": [],
"interlineWithPreviousLeg": false
},
{
"legGeometry": {
"length": 19,
"points": "oveuFoosmByA{]TkOlZjp@vEhKeHvnAhBoP}A{YoWaBuSkd@uNsj@gDuNmDyNwGoYvAgNcEmPsIaFxIyPxNP" }, "transitLeg": true, "distance": 8186.220648815445, "serviceDate": "20191107", "agencyId": "104", "tripId": "1:0000165272019091620200613", "departureDelay": 0, "routeLongName": "P. Napoli - Ekotecne - Centro", "mode": "BUS", "duration": 1770, "routeId": "1:7", "agencyUrl": "http://www.sgmlecce.it", "startTime": 1573141110000, "from": { "stopIndex": 14, "stopCode": "384", "vertexType": "TRANSIT", "stopSequence": 15, "arrival": 1573141109000, "name": "Arnesano - Centro Tecnologico", "stopId": "1:284", "lon": 18.127449, "departure": 1573141110000, "lat": 40.339127 }, "rentedBike": false, "routeType": 3, "arrivalDelay": 0, "agencyTimeZoneOffset": 3600000, "steps": [], "agencyName": "S.G.M. S.p.A.", "realTime": false, "routeShortName": "27", "route": "27", "pathway": false, "endTime": 1573142880000, "to": { "stopIndex": 32, "stopCode": "137", "vertexType": "TRANSIT", "stopSequence": 33, "arrival": 1573142880000, "name": "Quarta O. - Stazione", "stopId": "1:54", "lon": 18.166369, "departure": 1573143000000, "lat": 40.346233 }, "intermediateStops": [ { "stopIndex": 15, "stopCode": "385", "vertexType": "TRANSIT", "stopSequence": 16, "arrival": 1573141170000, "name": "Arnesano - Fronte Centro Villa", "stopId": "1:285", "lon": 18.13238, "departure": 1573141170000, "lat": 40.339575 }, { "stopIndex": 16, "stopCode": "386", "vertexType": "TRANSIT", "stopSequence": 17, "arrival": 1573141230000, "name": "Monteroni - Dopo Incrocio Via", "stopId": "1:286", "lon": 18.135005, "departure": 1573141230000, "lat": 40.339465 }, { "stopIndex": 17, "stopCode": "388", "vertexType": "TRANSIT", "stopSequence": 18, "arrival": 1573141290000, "name": "Monteroni - Carcere Minorile", "stopId": "1:288", "lon": 18.12711, "departure": 1573141290000, "lat": 40.335074 }, { "stopIndex": 18, "stopCode": "389", "vertexType": "TRANSIT", "stopSequence": 19, "arrival": 1573141350000, "name": "Monteroni - Fronte Istituto Su", "stopId": "1:289", "lon": 18.125134, "departure": 1573141350000, "lat": 40.333995 }, { "stopIndex": 19, "stopCode": "494", "vertexType": "TRANSIT", "stopSequence": 20, "arrival": 1573141530000, "name": "Ecotekne Fiorini", "stopId": "1:394", "lon": 18.112372, "departure": 1573141680000, "lat": 40.335469 }, { "stopIndex": 20, "stopCode": "496", "vertexType": "TRANSIT", "stopSequence": 21, "arrival": 1573141740000, "name": "Ecotekne Ingegneria", "stopId": "1:396", "lon": 18.115178, "departure": 1573141740000, "lat": 40.334938 }, { "stopIndex": 21, "stopCode": "495", "vertexType": "TRANSIT", "stopSequence": 22, "arrival": 1573141860000, "name": "Ecotekne Economia", "stopId": "1:395", "lon": 18.119475, "departure": 1573141860000, "lat": 40.335408 }, { "stopIndex": 22, "stopCode": "387", "vertexType": "TRANSIT", "stopSequence": 23, "arrival": 1573141980000, "name": "Monteroni - Prima Incrocio Via", "stopId": "1:287", "lon": 18.135003, "departure": 1573141980000, "lat": 40.339325 }, { "stopIndex": 23, "stopCode": "382", "vertexType": "TRANSIT", "stopSequence": 24, "arrival": 1573142040000, "name": "Monteroni - Villa Verde (382)", "stopId": "1:282", "lon": 18.140983, "departure": 1573142040000, "lat": 40.342636 }, { "stopIndex": 24, "stopCode": "380", "vertexType": "TRANSIT", "stopSequence": 25, "arrival": 1573142100000, "name": "Monteroni - Caserma Nacci", "stopId": "1:280", "lon": 18.147967, "departure": 1573142100000, "lat": 40.345145 }, { "stopIndex": 25, "stopCode": "378", "vertexType": "TRANSIT", "stopSequence": 26, "arrival": 1573142160000, "name": "Monteroni - Fronte Fermata 377", "stopId": "1:278", "lon": 18.150471, "departure": 1573142160000, "lat": 40.345987 }, { "stopIndex": 26, "stopCode": "376", "vertexType": "TRANSIT", "stopSequence": 27, "arrival": 1573142220000, "name": "Monteroni - Acquedotto", "stopId": "1:276", "lon": 18.153004, "departure": 1573142220000, "lat": 40.346851 }, { "stopIndex": 27, "stopCode": "374", "vertexType": "TRANSIT", "stopSequence": 28, "arrival": 1573142340000, "name": "Massaglia, 56", "stopId": "1:274", "lon": 18.157247, "departure": 1573142340000, "lat": 40.348251 }, { "stopIndex": 28, "stopCode": "342", "vertexType": "TRANSIT", "stopSequence": 29, "arrival": 1573142400000, "name": "Rudiae - Prima Sottopasso Vers", "stopId": "1:242", "lon": 18.159688, "departure": 1573142400000, "lat": 40.347812 }, { "stopIndex": 29, "stopCode": "371", "vertexType": "TRANSIT", "stopSequence": 30, "arrival": 1573142460000, "name": "Diaz, 38", "stopId": "1:271", "lon": 18.162479, "departure": 1573142460000, "lat": 40.348799 }, { "stopIndex": 30, "stopCode": "177", "vertexType": "TRANSIT", "stopSequence": 31, "arrival": 1573142580000, "name": "Gallipoli - Bar Rosso E Nero", "stopId": "1:92", "lon": 18.163604, "departure": 1573142580000, "lat": 40.350496 }, { "stopIndex": 31, "stopCode": "179", "vertexType": "TRANSIT", "stopSequence": 32, "arrival": 1573142700000, "name": "Gallipoli - Case Incis, 9", "stopId": "1:94", "lon": 18.166452, "departure": 1573142700000, "lat": 40.348764 } ], "interlineWithPreviousLeg": false }, { "legGeometry": { "length": 11, "points": "}bguFwb{mB{EoNv@iPgGaJnEj[tfifCeclfC_yjfCx_jfCqEgYaCqOiBuIaDiR" }, "transitLeg": true, "distance": 6508078.435166231, "serviceDate": "20191107", "agencyId": "104", "tripId": "1:0000163122019091620200613", "departureDelay": 0, "routeLongName": "167B - Centro - Ospedale", "mode": "BUS", "duration": 1020, "routeId": "1:4", "agencyUrl": "http://www.sgmlecce.it", "startTime": 1573143000000, "from": { "stopIndex": 45, "stopCode": "137", "vertexType": "TRANSIT", "stopSequence": 46, "arrival": 1573142880000, "name": "Quarta O. - Stazione", "stopId": "1:54", "lon": 18.166369, "departure": 1573143000000, "lat": 40.346233 }, "rentedBike": false, "routeType": 3, "arrivalDelay": 0, "agencyTimeZoneOffset": 3600000, "steps": [], "agencyName": "S.G.M. S.p.A.", "realTime": false, "routeShortName": "24", "route": "24", "pathway": false, "endTime": 1573144020000, "to": { "stopIndex": 55, "stopCode": "175", "vertexType": "TRANSIT", "stopSequence": 56, "arrival": 1573144020000, "name": "Della Liberta' - Super Mac", "stopId": "1:142", "lon": 18.191275, "departure": 1573144021000, "lat": 40.358422 }, "intermediateStops": [ { "stopIndex": 46, "stopCode": "138", "vertexType": "TRANSIT", "stopSequence": 47, "arrival": 1573143120000, "name": "Gallipoli - Intendenza Di Fin", "stopId": "1:55", "lon": 18.168849, "departure": 1573143120000, "lat": 40.347338 }, { "stopIndex": 47, "stopCode": "109", "vertexType": "TRANSIT", "stopSequence": 48, "arrival": 1573143240000, "name": "Otranto - Bar Otranto, 11", "stopId": "1:31", "lon": 18.171617, "departure": 1573143240000, "lat": 40.347058 }, { "stopIndex": 48, "stopCode": "110", "vertexType": "TRANSIT", "stopSequence": 49, "arrival": 1573143360000, "name": "Otranto - Piazza Italia", "stopId": "1:32", "lon": 18.173386, "departure": 1573143360000, "lat": 40.348378 }, { "stopIndex": 49, "stopCode": "115", "vertexType": "TRANSIT", "stopSequence": 50, "arrival": 1573143480000, "name": "Gallipoli - Intendenza Di Fin", "stopId": "1:10", "lon": 18.168849, "departure": 1573143480000, "lat": 40.347338 }, { "stopIndex": 50, "stopCode": "102", "vertexType": "TRANSIT", "stopSequence": 51, "arrival": 1573143540000, "name": "Cavallotti, 21", "stopId": "1:11", "lon": 40.354472, "departure": 1573143540000, "lat": 18.176506 }, { "stopIndex": 51, "stopCode": "166", "vertexType": "TRANSIT", "stopSequence": 52, "arrival": 1573143660000, "name": "Imperatore Adriano - Chiesa D", "stopId": "1:41", "lon": 18.179628, "departure": 1573143660000, "lat": 40.355387 }, { "stopIndex": 52, "stopCode": "168", "vertexType": "TRANSIT", "stopSequence": 53, "arrival": 1573143750000, "name": "Del Mare - Edicola, 18", "stopId": "1:43", "lon": 18.183825, "departure": 1573143750000, "lat": 40.356435 }, { "stopIndex": 53, "stopCode": "237", "vertexType": "TRANSIT", "stopSequence": 54, "arrival": 1573143840000, "name": "Della Liberta' , 77", "stopId": "1:137", "lon": 18.186478, "departure": 1573143840000, "lat": 40.357085 }, { "stopIndex": 54, "stopCode": "239", "vertexType": "TRANSIT", "stopSequence": 55, "arrival": 1573143930000, "name": "Della Liberta' - Vicino Tabac", "stopId": "1:139", "lon": 18.188185, "departure": 1573143930000, "lat": 40.357611 } ], "interlineWithPreviousLeg": false }, { "legGeometry": { "length": 19, "points": "ioiuFi~_nBDVH^dBs@TIvBKhBK
A?^Et@MN?LGDCBU@sAAG?IG_BEeB"
},
"transitLeg": false,
"distance": 468.81899999999996,
"arrivalDelay": 0,
"agencyTimeZoneOffset": 3600000,
"departureDelay": 0,
"steps": [
{
"area": false,
"elevation": [],
"streetName": "service road",
"distance": 25.542,
"bogusName": true,
"stayOn": false,
"lon": 18.19125726443742,
"absoluteDirection": "WEST",
"relativeDirection": "DEPART",
"lat": 40.358457133140206
},
{
"area": false,
"elevation": [],
"streetName": "Via Sant'Elia",
"distance": 73.557,
"bogusName": false,
"stayOn": false,
"lon": 18.1909752,
"absoluteDirection": "SOUTH",
"relativeDirection": "LEFT",
"lat": 40.3583761
},
{
"area": false,
"elevation": [],
"streetName": "Via Pitagora",
"distance": 228.966,
"bogusName": false,
"stayOn": false,
"lon": 18.191284200000002,
"absoluteDirection": "SOUTH",
"relativeDirection": "CONTINUE",
"lat": 40.3577579
},
{
"area": false,
"elevation": [],
"exit": "1",
"streetName": "Via Pitagora",
"distance": 3.76,
"bogusName": false,
"stayOn": false,
"lon": 18.1915407,
"absoluteDirection": "SOUTHEAST",
"relativeDirection": "CIRCLE_CLOCKWISE",
"lat": 40.3557128
},
{
"area": false,
"elevation": [],
"streetName": "Viale Aldo Moro",
"distance": 136.994,
"bogusName": false,
"stayOn": false,
"lon": 18.191565,
"absoluteDirection": "EAST",
"relativeDirection": "LEFT",
"lat": 40.3556845
}
],
"realTime": false,
"mode": "WALK",
"duration": 384,
"route": "",
"pathway": false,
"startTime": 1573144021000,
"from": {
"stopIndex": 55,
"stopCode": "175",
"vertexType": "TRANSIT",
"stopSequence": 56,
"arrival": 1573144020000,
"name": "Della Liberta' - Super Mac",
"stopId": "1:142",
"lon": 18.191275,
"departure": 1573144021000,
"lat": 40.358422
},
"endTime": 1573144405000,
"to": {
"vertexType": "NORMAL",
"arrival": 1573144405000,
"orig": "",
"name": "Destination",
"lon": 18.193174,
"lat": 40.3557389
},
"rentedBike": false,
"intermediateStops": [],
"interlineWithPreviousLeg": false
}
],
"elevationLost": 0,
"startTime": 1573140973000,
"endTime": 1573144405000
}
],
"from": {
"vertexType": "NORMAL",
"orig": "",
"name": "Origin",
"lon": 18.1254198,
"lat": 40.3387688
},
"to": {
"vertexType": "NORMAL",
"orig": "",
"name": "Destination",
"lon": 18.193174,
"lat": 40.3557389
}
}
}`
Thanks for response!!!
Thanks for the information, especially links to the input data. That allows checking very quickly.
You can see on TransitLand (via the link you shared, and clicking Routes: View as an interactive map in Interline Mobility Explorer) that even outside OTP, other tools also show routes going into the Red Sea. Specifically it's route 16:
If you look at the stops in Mobility Explorer, it seems there are no stops at that remote location. But if you click "Show stops served by route" when looking at route 16, it shows a stop "Cavallotti, 21" in the Red Sea.
Looking into the source data, in the stops table we have:
11,102,"Cavallotti, 21","Via Cesare Battisti, 4",18.176506,40.354472,
Which appears to have the latitude and longitude fields reversed. This is a problem in the source data.
Yes, the problem was source data and latitude and longitude fields reverse on some stops! Thanks, I solved!
Hello, I have a problem with your library . When a choose BUS-WALK by clicking on the map, in some solutions proposed by the opendata, I see a strange intermediate step (please see the picture attached) in somewhere in Africa. I'm sure about the effectiveness by the opendata. It seems a bug in your software. Could you please verify? Thank you in advance!
Francesca