Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No itineraries in OTP2 for Mexico City data #3243

Closed
Mchristos opened this issue Nov 12, 2020 · 12 comments
Closed

No itineraries in OTP2 for Mexico City data #3243

Mchristos opened this issue Nov 12, 2020 · 12 comments
Labels
bug Regression This feature is no longer working.
Milestone

Comments

@Mchristos
Copy link

Mchristos commented Nov 12, 2020

I have some GTFS data for mexico city, and am unable to get any itineraries in OTP2, whereas in v1 it works just fine. I'm loading up only the GTFS - no street data - and hoping to get a simple itinerary from one stop to another.

I've included the full terminal outputs and example request/responses to the API for v1 and v2. I'm aware of the log 08:59:33.911 INFO (DirectTransferGenerator.java:114) Done connecting stops to one another. Created a total of 0 transfers from 0 stops. - however there is a similar log of 0 tranfers created in v1. Moreover, for other GTFS sets I receive itineraries despite this log.

Expected behavior (v1 outputs)

Expected nonempty set of itineraries, but got none. Here are the responses I got in v1.

v1 Terminal Output
(command: java -Xmx2G -jar otp-1.4.0-shaded.jar --build .\mexico --inMemory)

08:58:30.906 INFO (OTPServer.java:39) Wiring up and configuring server.
08:58:30.910 INFO (GraphBuilder.java:165) Wiring up and configuring graph builder task.
08:58:30.912 INFO (GraphBuilder.java:171) Searching for graph builder input files in .\mexico
08:58:30.913 INFO (OTPMain.java:203) File '.\mexico\build-config.json' is not present. Using default configuration.
08:58:30.936 INFO (OTPMain.java:203) File '.\mexico\router-config.json' is not present. Using default configuration.
08:58:30.939 INFO (GraphBuilder.java:184) Summarizing GraphBuilderParameters
htmlAnnotations = false
maxHtmlAnnotationsPerFile = 1000
transit = true
useTransfersTxt = false
parentStopLinking = false
stationTransfers = false
stopClusterMode = proximity
subwayAccessTime = 2.0
streets = true
embedRouterConfig = true
areaVisibility = false
platformEntriesLinking = false
matchBusRoutesToStreets = false
fetchElevationUS = false
elevationBucket = null
elevationUnitMultiplier = 1.0
fareServiceFactory = DefaultFareServiceFactory
customNamer = null
wayPropertySet = org.opentripplanner.graph_builder.module.osm.DefaultWayPropertySetSource@3571b748
staticBikeRental = false
staticParkAndRide = true
staticBikeParkAndRide = false
maxInterlineDistance = 200
pruningThresholdIslandWithoutStops = 40
pruningThresholdIslandWithStops = 5
banDiscouragedWalking = false
banDiscouragedBiking = false
maxTransferDistance = 2000.0
extraEdgesStopPlatformLink = false

08:58:30.947 INFO (GraphBuilder.java:189) Found GTFS file .\mexico\tren_suburbano_1.0.0.gtfs.zip
08:58:30.961 INFO (GtfsModule.java:163) reading GTFS bundle at .\mexico\tren_suburbano_1.0.0.gtfs.zip
08:58:30.986 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.Agency
08:58:31.036 INFO (GtfsModule.java:189) This Agency has the ID SUB
08:58:31.036 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.Block
08:58:31.037 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.ShapePoint
08:58:31.067 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.Note
08:58:31.068 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.Area
08:58:31.068 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.Route
08:58:31.075 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.Stop
08:58:31.080 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.Trip
08:58:31.092 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.StopTime
08:58:31.115 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.ServiceCalendar
08:58:31.142 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.ServiceCalendarDate
08:58:31.146 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.FareAttribute
08:58:31.149 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.FareRule
08:58:31.152 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.Frequency
08:58:31.158 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.Pathway
08:58:31.170 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.Transfer
08:58:31.173 INFO (GtfsModule.java:180) reading entities: org.onebusaway.gtfs.model.FeedInfo
Nov 12, 2020 8:58:31 AM org.hsqldb.persist.Logger logInfoEvent
INFO: dataFileCache open start
08:58:32.115 INFO (PatternHopFactory.java:418) Added 22 frequency-based and 0 single-trip timetable entries.
08:58:32.115 INFO (TripPattern.java:366) Generating unique names for stop patterns on each route.
08:58:32.124 INFO (PatternHopFactory.java:507) Finding interlining trips based on block IDs.
08:58:32.124 INFO (PatternHopFactory.java:573) Done finding interlining trips and creating the corresponding edges.
08:58:32.175 INFO (GraphIndex.java:127) Indexing graph...
08:58:32.187 INFO (GraphIndex.java:595) Clustering stops by geographic proximity and name...
08:58:32.190 INFO (GraphIndex.java:210) Creating a spatial index for stop clusters.
08:58:32.221 INFO (GraphIndex.java:192) Initializing areas....
08:58:32.221 INFO (GraphIndex.java:199) Done indexing graph.
08:58:32.225 INFO (DirectTransferGenerator.java:60) Creating direct transfer edges between stops using straight line distance (not streets)...
08:58:32.239 INFO (DirectTransferGenerator.java:100) Done connecting stops to one another. Created a total of 0 transfers from 7 stops.
08:58:32.369 INFO (Graph.java:963) Summary (number of each type of annotation):
08:58:32.371 INFO (Graph.java:969)     StopNotLinkedForTransfers - 7
08:58:32.372 INFO (GraphBuilder.java:149) Not saving graph to disk, as requested.
08:58:32.373 INFO (GraphBuilder.java:153) Graph building took 0,0 minutes.
08:58:32.373 INFO (GraphIndex.java:127) Indexing graph...
08:58:32.374 INFO (GraphIndex.java:595) Clustering stops by geographic proximity and name...
08:58:32.375 INFO (GraphIndex.java:210) Creating a spatial index for stop clusters.
08:58:32.376 INFO (GraphIndex.java:192) Initializing areas....
08:58:32.376 INFO (GraphIndex.java:199) Done indexing graph.
08:58:32.378 INFO (GraphService.java:176) Registering new router ''
08:58:32.379 INFO (MemoryGraphSource.java:50) No embedded router config available
08:58:32.408 INFO (Router.java:100) No default routing parameters were found in the router config JSON. Using built-in OTP defaults.
08:58:32.420 INFO (Router.java:127) Timeouts for router '': [5.0, 4.0, 2.0]
08:58:32.421 INFO (Router.java:134) Incoming requests will not be logged.
08:58:32.423 INFO (GraphUpdaterConfigurator.java:41) Using configurations: [main]
08:58:32.588 INFO (Router.java:172) Computed ellipsoid/geoid offset at (19.55733966827395, -99.17361831665039) as -7.366471571138968
08:58:32.593 INFO (GrizzlyServer.java:72) Starting OTP Grizzly server on ports 8080 (HTTP) and 8081 (HTTPS) of interface 0.0.0.0
08:58:32.593 INFO (GrizzlyServer.java:74) OTP server base path is /var/otp
08:58:32.639 INFO (GrizzlyServer.java:51) Java reports that this machine has 8 available processors.
08:58:32.639 INFO (GrizzlyServer.java:62) Maximum HTTP handler thread pool size will be 10 threads.
08:58:33.542 WARN (PropertiesHelper.java:330) There is no way how to transform value "true" [java.lang.Boolean] to type [java.lang.String].
08:58:33.610 INFO (NetworkListener.java:750) Started listener bound to [0.0.0.0:8080]
08:58:33.616 INFO (NetworkListener.java:750) Started listener bound to [0.0.0.0:8081]
08:58:33.618 INFO (HttpServer.java:300) [HttpServer] Started.
08:58:33.618 INFO (GrizzlyServer.java:153) Grizzly server running.

Request:

/otp/routers/default/plan?fromPlace=19.44743228174348,-99.1511821746826&toPlace=19.491110427815336,-99.1710090637207&time=5:18pm&date=11-11-2020&mode=TRANSIT,WALK&maxWalkDistance=804.672&arriveBy=false&wheelchair=false&locale=en

Response (nonempty itinerary):

{
    "requestParameters": {
        "date": "11-11-2020",
        "mode": "TRANSIT,WALK",
        "arriveBy": "false",
        "wheelchair": "false",
        "fromPlace": "19.44743228174348,-99.1511821746826",
        "toPlace": "19.491110427815336,-99.1710090637207",
        "time": "5:18pm",
        "maxWalkDistance": "804.672",
        "locale": "en"
    },
    "plan": {
        "date": 1605136680000,
        "from": {
            "name": "Origin",
            "lon": -99.1511821746826,
            "lat": 19.44743228174348,
            "orig": "",
            "vertexType": "NORMAL"
        },
        "to": {
            "name": "Destination",
            "lon": -99.1710090637207,
            "lat": 19.491110427815336,
            "orig": "",
            "vertexType": "NORMAL"
        },
        "itineraries": [
            {
                "duration": 865,
                "startTime": 1605136680000,
                "endTime": 1605137545000,
                "walkTime": 0,
                "transitTime": 265,
                "waitingTime": 600,
                "walkDistance": 0.0,
                "walkLimitExceeded": false,
                "elevationLost": 0.0,
                "elevationGained": 0.0,
                "transfers": 0,
                "legs": [
                    {
                        "startTime": 1605137280000,
                        "endTime": 1605137545000,
                        "departureDelay": 0,
                        "arrivalDelay": 0,
                        "realTime": false,
                        "distance": 5357.664530253571,
                        "pathway": false,
                        "mode": "RAIL",
                        "route": "1",
                        "agencyName": "Ferrocarriles Suburbanos",
                        "agencyUrl": "http://www.fsuburbanos.com/",
                        "agencyTimeZoneOffset": -21600000,
                        "routeColor": "EF1A1A",
                        "routeType": 100,
                        "routeId": "1:route_2b94131c-0605-47ec-bdf2-4c157e1cf60b",
                        "routeTextColor": "000000",
                        "interlineWithPreviousLeg": false,
                        "headsign": "Cuautitlán",
                        "agencyId": "SUB",
                        "tripId": "1:trip_0928b423-5aca-4623-969f-62467ae3a039",
                        "serviceDate": "20201111",
                        "from": {
                            "name": "Buenavista",
                            "stopId": "1:stop_110a2fea-0f03-4044-86af-a65388e958fd",
                            "lon": -99.1519775390625,
                            "lat": 19.448205947876,
                            "departure": 1605137280000,
                            "orig": "",
                            "stopIndex": 0,
                            "stopSequence": 1,
                            "vertexType": "TRANSIT",
                            "boardAlightType": "DEFAULT"
                        },
                        "to": {
                            "name": "Fortuna",
                            "stopId": "1:stop_08b41920-0096-4cef-bb40-5f50f29034d4",
                            "lon": -99.1711044311523,
                            "lat": 19.491886138916,
                            "arrival": 1605137545000,
                            "orig": "",
                            "stopIndex": 1,
                            "stopSequence": 2,
                            "vertexType": "TRANSIT",
                            "boardAlightType": "DEFAULT"
                        },
                        "legGeometry": {
                            "points": "unuuBtsd|QmFk@wLoA_AKaAG{@?u@HiAXi@JOB_@J}Bf@{A^kG|BwBjA{DjC}EdDa@ZoCbBgCbBkAx@oA|@}B~A_@X_BjAyBzA}AdAeChByAbAmBnA{BxAaCjBgBlAkBjA_ClAcBz@kBx@cA`@cCz@y@VsBl@iCr@sA^oA\\]J{C|@eCr@{C|@kCt@kCv@iBh@cCr@{Bn@gCv@aEhAkDbAiBh@qA^mBj@cD~@oCv@uCz@_Bd@aCr@aCp@eCr@gCr@}Ad@qBl@eGrAaD~@wEpAUF",
                            "length": 73
                        },
                        "routeShortName": "1",
                        "routeLongName": "Buenavista - Cuautitlán",
                        "rentedBike": false,
                        "flexDrtAdvanceBookMin": 0.0,
                        "duration": 265.0,
                        "transitLeg": true,
                        "steps": []
                    }
                ],
                "tooSloped": false
            }
        ]
    },
    "debugOutput": {
        "precalculationTime": 21,
        "pathCalculationTime": 4,
        "pathTimes": [
            2
        ],
        "renderingTime": 8,
        "totalTime": 33,
        "timedOut": false
    },
    "elevationMetadata": {
        "ellipsoidToGeoidDifference": -7.366471571138968,
        "geoidElevation": false
    }
}

Observed behavior (v2 outputs)

v2 Terminal Output:
(command: java -Xmx2G -jar otp-2.0.0-rc1-shaded.jar --build --serve .\mexico)

08:59:32.353 INFO (OtpStartupInfo.java:41)                                                                                                               
  ___                 _____     _       ____  _                                                                                                          
 / _ \ _ __   ___ _ _|_   _| __(_)_ __ |  _ \| | __ _ _ __  _ __   ___ _ __                                                                              
| | | | '_ \ / _ \ '_ \| || '__| | '_ \| |_) | |/ _` | '_ \| '_ \ / _ \ '__|                                                                             
| |_| | |_) |  __/ | | | || |  | | |_) |  __/| | (_| | | | | | | |  __/ |                                                                                
 \___/| .__/ \___|_| |_|_||_|  |_| .__/|_|   |_|\__,_|_| |_|_| |_|\___|_|                                                                                
      |_|                        |_|                                                                                                                     
Version:  2.0.0-rc1                                                                                                                                      
Commit:   72da36a7402032c7e4b2606efc37dd8452b2265e                                                                                                       
Branch:   v2.0.0-rc1                                                                                                                                     
Build:    2020-09-19T12:30:03+0000                                                                                                                       
                                                                                                                                                         
08:59:32.392 INFO (OTPMain.java:88) Searching for configuration and input files in .\mexico              
08:59:32.546 INFO (ConfigLoader.java:168) File '.\mexico\otp-config.json' is not present. Using default configuration.                                   
08:59:32.549 INFO (ConfigLoader.java:168) File '.\mexico\build-config.json' is not present. Using default configuration.                                 
08:59:32.569 INFO (ConfigLoader.java:168) File '.\mexico\router-config.json' is not present. Using default configuration.                                
08:59:32.606 INFO (OTPFeature.java:76) Features turned on:                                                                                               
        APIExternalGeocoder                                                                                                                              
        APIBikeRental                                                                                                                                    
        APIServerInfo                                                                                                                                    
        APIGraphInspectorTile                                                                                                                            
        APIUpdaterStatus                                                                                                                                 
08:59:32.607 INFO (OTPFeature.java:77) Features turned off:                                                                                              
        ActuatorAPI                                                                                                                                      
        GoogleCloudStorage                                                                                                                               
        SandboxAPITransmodelApi                                                                                                                          
        SandboxAPILegacyGraphQLApi                                                                                                                       
        SandboxExampleAPIGraphStatistics                                                                                                                 
        TransferAnalyzer                                                                                                                                 
        FlexRouting                                                                                                                                      
08:59:32.628 INFO (GraphBuilderDataSources.java:124) Loading files from: .\mexico                                                                        
08:59:32.631 INFO (GraphBuilderDataSources.java:186) - Found GTFS data ? tren_suburbano_1.0.0.gtfs.zip  .\mexico  2020-11-05 04:16:06  12 kb             
08:59:32.636 INFO (OTPAppConstruction.java:82) Wiring up and configuring graph builder task.                                                             
08:59:32.678 INFO (GtfsModule.java:221) reading GTFS bundle at .\mexico\tren_suburbano_1.0.0.gtfs.zip                                                    
08:59:32.700 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Agency                                                               
08:59:32.740 INFO (GtfsModule.java:247) This Agency has the ID SUB                                                                                       
08:59:32.741 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Block                                                                
08:59:32.742 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.ShapePoint                                                           
08:59:32.773 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Note                                                                 
08:59:32.774 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Area                                                                 
08:59:32.775 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Route                                                                
08:59:32.789 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Level                                                                
08:59:32.790 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Stop                                                                 
08:59:32.795 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Trip                                                                 
08:59:32.801 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.StopTime                                                             
08:59:32.809 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.ServiceCalendar                                                      
08:59:32.824 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.ServiceCalendarDate                                                  
08:59:32.826 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.FareAttribute                                                        
08:59:32.827 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.FareRule                                                             
08:59:32.829 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Frequency                                                            
08:59:32.842 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Pathway                                                              
08:59:32.846 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Transfer                                                             
08:59:32.856 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.FeedInfo                                                             
08:59:32.860 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Ridership                                                            
08:59:32.862 INFO (GtfsModule.java:238) reading entities: org.onebusaway.gtfs.model.Translation                                                          
08:59:32.926 WARN (OtpTransitServiceBuilder.java:266) Limiting transit service days to time period: [2019-11-12, 2023-11-12]                             
08:59:32.933 INFO (OtpTransitServiceBuilder.java:287) Limiting transit service days to time period complete.                                             
08:59:32.989 INFO (GenerateTripPatternsOperation.java:74) Added 22 frequency-based and 0 single-trip timetable entries.                                  
Nov 12, 2020 8:59:33 AM org.hsqldb.persist.Logger logInfoEvent                                                                                           
INFO: dataFileCache open start                                                                                                                           
08:59:33.766 INFO (GeometryAndBlockProcessor.java:118) Processing geometries and blocks on graph...                                                      
08:59:33.768 INFO (TripPattern.java:385) Generating unique names for stop patterns on each route.                                                        
08:59:33.779 INFO (GeometryAndBlockProcessor.java:142) Generate TripPattern geometries progress tracking started.                                        
08:59:33.812 INFO (GeometryAndBlockProcessor.java:159) Generate TripPattern geometries progress tracking complete. 2 done in 0s (63 pr second).          
08:59:33.821 INFO (GeometryAndBlockProcessor.java:198) Finding interlining trips based on block IDs.                                                     
08:59:33.823 INFO (GeometryAndBlockProcessor.java:262) Done finding interlining trips.                                                                   
08:59:33.890 INFO (GraphIndex.java:61) GraphIndex init...                                                                                                
08:59:33.895 INFO (GraphIndex.java:118) GraphIndex init complete.                                                                                        
08:59:33.900 INFO (DirectTransferGenerator.java:65) Creating direct transfer edges between stops using straight line distance (not streets)...           
08:59:33.909 INFO (DirectTransferGenerator.java:113) Create transfer edges progress tracking complete. 7 done in 0s (1á750 pr second).                   
08:59:33.911 INFO (DirectTransferGenerator.java:114) Done connecting stops to one another. Created a total of 0 transfers from 0 stops.                  
08:59:33.921 INFO (DataImportIssueStore.java:39) Issue summary (number of each type):                                                                    
08:59:33.922 INFO (DataImportIssueStore.java:42)   - StopNotLinkedForTransfers        7                                                                  
08:59:33.922 INFO (GraphBuilder.java:85) Graph building took 0,0 minutes.                                                                                
08:59:33.923 INFO (GraphBuilder.java:86) Main graph size: |V|=7 |E|=0                                                                                    
08:59:33.923 INFO (SerializedGraphObject.java:129) Not saving graph to disk, as requested.                                                               
08:59:33.923 INFO (Graph.java:621) Index graph...                                                                                                        
08:59:33.923 INFO (GraphIndex.java:61) GraphIndex init...                                                                                                
08:59:33.925 INFO (GraphIndex.java:118) GraphIndex init complete.                                                                                        
08:59:33.927 INFO (Graph.java:630) Index graph complete.                                                                                                 
08:59:33.935 INFO (Router.java:80) Incoming requests will not be logged.                                                                                 
08:59:33.936 INFO (Router.java:85) Creating transit layer for Raptor routing.                                                                            
08:59:33.938 INFO (TransitLayerMapper.java:61) Mapping transitLayer from Graph...                                                                        
08:59:33.993 INFO (TransitLayerMapper.java:67) Mapping complete.                                                                                         
08:59:34.143 INFO (Router.java:109) Computed ellipsoid/geoid offset at (19.55733966827395, -99.17361831665039) as -7.366471571138968                     
08:59:34.150 INFO (OTPServer.java:26) Wiring up and configuring server.                                                                                  
08:59:34.151 INFO (GrizzlyServer.java:72) Starting OTP Grizzly server on ports 8001 (HTTP) and 8002 (HTTPS) of interface 0.0.0.0                         
08:59:34.151 INFO (GrizzlyServer.java:74) OTP server base directory is: [.\mexico]                                                                       
08:59:34.208 INFO (GrizzlyServer.java:51) Java reports that this machine has 8 available processors.                                                     
08:59:34.208 INFO (GrizzlyServer.java:62) Maximum HTTP handler thread pool size will be 10 threads.                                                      
08:59:34.767 WARN (PropertiesHelper.java:330) There is no way how to transform value "true" [java.lang.Boolean] to type [java.lang.String].              
08:59:35.110 INFO (NetworkListener.java:750) Started listener bound to [0.0.0.0:8001]                                                                    
08:59:35.117 INFO (NetworkListener.java:750) Started listener bound to [0.0.0.0:8002]                                                                    
08:59:35.118 INFO (HttpServer.java:300) [HttpServer] Started.                                                                                            
08:59:35.118 INFO (GrizzlyServer.java:152) Grizzly server running.                                                                                       

I also built my own jarfile from 2.0-rc and with debug-level logging turned on, I see this when I make the requests:

12:18:41.452 DEBUG (DebugAggregator.java:51) Routing initialization took 0 ms
12:18:41.453 DEBUG (GraphPathFinder.java:81) rreq=null null (19.44821, -99.15198) null null (19.4916, -99.17107) 1.7976931348623157E308 Thu Nov 12 20:15:00 CAT 2020 false QUICK WALK 1
12:18:41.453 DEBUG (GraphPathFinder.java:103) BEGIN SEARCH
12:18:41.453 DEBUG (GraphPathFinder.java:128) we have 0 paths
12:18:41.453 DEBUG (GraphPathFinder.java:129) END SEARCH (0 msec)
12:18:41.453 DEBUG (GraphPathFinder.java:184) Path not found: null null (19.44821, -99.15198) : null null (19.4916, -99.17107)
12:18:41.453 DEBUG (DebugAggregator.java:58) Direct street routing took 1 ms
12:18:41.453 DEBUG (RoutingRequest.java:1167) keeping existing routing context
12:18:41.454 DEBUG (DebugAggregator.java:67) Filtering tripPatterns took 1 ms
12:18:41.454 DEBUG (AccessEgressRouter.java:62) Found 1 access stops
12:18:41.454 TRACE (AccessEgressRouter.java:64) Buenavista
12:18:41.455 DEBUG (AccessEgressRouter.java:62) Found 1 egress stops
12:18:41.455 TRACE (AccessEgressRouter.java:64) Fortuna
12:18:41.455 DEBUG (DebugAggregator.java:76) Access/egress routing took 1 ms
12:18:41.455 DEBUG (RoutingWorker.java:168) Found 0 transit itineraries
12:18:41.455 DEBUG (RoutingWorker.java:169) Transit search params used: SearchParams{earliestDepartureTime=12:15, latestArrivalTime=, searchWindowInSeconds=, boardSlackInSeconds=0, numberOfAdditionalTransfers=5, accessLegs(max 5)=[org.opentripplanner.routing.algorithm.raptor.transit.AccessEgress@5edb7d01], egressLegs(max 5)=[org.opentripplanner.routing.algorithm.raptor.transit.AccessEgress@7a14bc0d]}
12:18:41.456 DEBUG (DebugAggregator.java:85) Main routing took 1 ms
12:18:41.456 DEBUG (DebugAggregator.java:100) Transit routing took total 3 ms
12:18:41.456 DEBUG (RoutingWorker.java:107) Return TripPlan with 0 itineraries
12:18:41.456 DEBUG (DebugAggregator.java:107) Filtering took 3 ms
12:18:41.456 DEBUG (DebugAggregator.java:114) Converting model objects took 3 ms

v2 Request:
/otp/routers/default/plan?fromPlace=19.44743228174348,-99.1511821746826&toPlace=19.491110427815336,-99.1710090637207&time=5:18pm&date=11-11-2020&mode=TRANSIT,WALK&maxWalkDistance=4828.032&arriveBy=false&wheelchair=false&debugItineraryFilter=false&locale=en

v2 Response (empty itinerary)

{
    "requestParameters": {
        "date": "11-11-2020",
        "mode": "TRANSIT,WALK",
        "arriveBy": "false",
        "wheelchair": "false",
        "debugItineraryFilter": "false",
        "fromPlace": "19.44743228174348,-99.1511821746826",
        "toPlace": "19.491110427815336,-99.1710090637207",
        "time": "5:18pm",
        "maxWalkDistance": "4828.032",
        "locale": "en"
    },
    "plan": {
        "date": 1605136680000,
        "from": {
            "lon": -99.1511821746826,
            "lat": 19.44743228174348,
            "vertexType": "NORMAL"
        },
        "to": {
            "lon": -99.1710090637207,
            "lat": 19.491110427815336,
            "vertexType": "NORMAL"
        },
        "itineraries": []
    },
    "error": {
        "id": 0,
        "message": "PATH_NOT_FOUND"
    },
    "debugOutput": {
        "precalculationTime": 0,
        "directStreetRouterTime": 1,
        "transitRouterTime": 1,
        "filteringTime": 0,
        "renderingTime": 0,
        "totalTime": 2,
        "transitRouterTimes": {
            "tripPatternFilterTime": 0,
            "accessEgressTime": 0,
            "raptorSearchTime": 1,
            "itineraryCreationTime": 0
        }
    },
    "elevationMetadata": {
        "ellipsoidToGeoidDifference": -7.366471571138968,
        "geoidElevation": false
    }
}

Version of OTP used (exact commit hash or JAR name)

otp-2.0.0-rc1-shaded.jar

Data sets in use (links to GTFS and OSM PBF files)

tren_suburbano_1.0.0.gtfs.zip

Command line used to start OTP

java -Xmx2G -jar otp-2.0.0-rc1-shaded.jar --build --serve .\mexico

Router config and graph build config JSON

Using default config

Steps to reproduce the problem

The full command line is provided, as well as the data, which must is placed in a directory named ./mexico. I'm not able to find any itineraries dragging around on the GUI, but I also provided a concrete request query, and the JSON response I got with no itineraries (the same request yields itineraries in v1)

@Mchristos
Copy link
Author

I also noticed that there are no edges in the graph: 08:59:33.923 INFO (GraphBuilder.java:86) Main graph size: |V|=7 |E|=0. However, I also get this for other GTFS sets where OTP returns itineraries despite this...

@t2gran t2gran added OTP1 Fix or backport to the 1.x version of OTP and removed OTP1 Fix or backport to the 1.x version of OTP labels Nov 13, 2020
@t2gran
Copy link
Member

t2gran commented Nov 13, 2020

Thank you for reporting this.

I belive this is a duplicate of #3204. Basically we are not going to support running OTP without OSM data in 2.0, I hope to add it to 2.1.

I will keep it open for know, so we can use it as a test for the fix on #3204.

@t2gran t2gran added this to the 2.1 milestone Nov 13, 2020
@t2gran t2gran added this to Issues backlog in OTP2 Development via automation Nov 13, 2020
@ghost
Copy link

ghost commented Nov 14, 2020

I can confirm that this is also the case when OSM data is included in the graph. Debugging shows that TripPattern is empty - not sure this is a cause or symptomn.

Any ideas on where to look to identify the cause?

@t2gran
Copy link
Member

t2gran commented Nov 16, 2020

Thank you for the update, I will take a look at this and see if I can find out what it is. Can you provide a link to the osm data used also?

@ghost
Copy link

ghost commented Nov 16, 2020

It was created from the Geofabrik data for Mexico, using:

osmium extract -v -b -99.96383621284172,20.175191204439045,-98.33276378715827,18.8262087955609 mexico-latest.osm.bz2 -o cdmx.osm.pbf

and then filtered as follows:

osmium tags-filter cdmx.osm.pbf w/highway w/public_transport=platform w/railway=platform w/park_ride r/type=restriction -o cdmx.filtered.osm.pbf

I can't attach the full 30mb file to this issue :/ Perhaps PM me for an alternate link?

Any suggestions preferences on how I can make the OSM data available to you?

@t2gran
Copy link
Member

t2gran commented Nov 17, 2020

The cmd lines above is sufficient, I was able to download the mexico-latest.osm.pbf and run the commands. I will do the test later.

@Mchristos
Copy link
Author

Hi @t2gran - any update on this so far? Are you able to reproduce?

@t2gran
Copy link
Member

t2gran commented Nov 19, 2020

@Mchristos I plan to work on the 2.0-rc tomorrow, this one is on the list, so hopefully I will get to it then.

@Mchristos
Copy link
Author

Thanks @t2gran - good luck!

@t2gran
Copy link
Member

t2gran commented Nov 21, 2020

I have tested this now. The cause is that frequency-based trips is not working. I should be fairly easy to implement it, but I need to discuss this with @abyrd. There is a few things that we need to account for:

  • RT-updates on these kind of trips
  • How is frequency trips handled on the API
  • Import into the OTP internal domain model

@ghost
Copy link

ghost commented Nov 24, 2020

Thanks for the feedback. That's not good news for us, as we were really excited about to see the performance of OTPv2 using the RAPTOR algo.

Is there an issue logged for adding frequency support that I can track?

@t2gran
Copy link
Member

t2gran commented Nov 25, 2020

I created a new issue for this #3262. I will close this one. I see that you do not set the exact_times in the test data provided - is that deliberate? I discussed that with @abyrd and it is not obvious how to implement it.

@Mchristos @FrancoisGro Would it be acceptable for you so set it to 1 - Schedule-based trips ?

@t2gran t2gran closed this as completed Nov 25, 2020
OTP2 Development automation moved this from Issues backlog to Done Nov 25, 2020
@t2gran t2gran added Regression This feature is no longer working. bug labels Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Regression This feature is no longer working.
Projects
No open projects
Development

No branches or pull requests

2 participants