Expected behavior
router-config.json loads as did in OTP 1.x
Observed behavior
When running the following on Windows 10, the said error occurs.
Version of OTP used (exact commit hash or JAR name)
Version: 2.0.0-rc2-SNAPSHOT
Commit: f8f7a9e
Data sets in use (links to GTFS and OSM PBF files)
- Using all GTFS from api.511.org (minus a few)
- Using https://download.geofabrik.de/north-america/us/california/norcal-latest.osm.pbf
Command line used to start OTP
java -Xmx8G -jar O:\target\otp-2.0.0-rc2-SNAPSHOT-shaded.jar --build "$($env:USERPROFILE)\otp\graphs\bayarea" --save
Router config and graph build config JSON
// router-config.json:
{ "routingDefaults": { "numItineraries": 6, "walkSpeed": 1.2, "stairsReluctance": 4.0, "carDropoffTime": 240 }, "updaters": [ { "type": "stop-time-updater", "frequencySec": 15, "sourceType": "gtfs-http", "url": "https://api.actransit.org/transit/gtfsrt/tripupdates?token=[TOKEN]", "feedId": "9" }, { "type": "real-time-alerts", "frequencySec": 60, "sourceType": "gtfs-http", "url": "https://api.actransit.org/transit/gtfsrt/alerts?token=[TOKEN]", "feedId": "9" }, { "type": "stop-time-updater", "frequencySec": 15, "sourceType": "gtfs-http", "url": "http://api.bart.gov/gtfsrt/tripupdate.aspx", "feedId": "11" }, { "type": "real-time-alerts", "frequencySec": 60, "sourceType": "gtfs-http", "url": "http://api.bart.gov/gtfsrt/alerts.aspx", "feedId": "11" }, { "type": "bike-rental", "frequencySec": 300, "sourceType": "gbfs", "url": "https://gbfs.baywheels.com/gbfs/" }, { "type": "bike-rental", "frequencySec": 300, "sourceType": "gbfs", "url": "https://data.lime.bike/api/partners/v1/gbfs/oakland/gbfs.json" }, { "type": "bike-rental", "frequencySec": 300, "sourceType": "gbfs", "url": "https://s3.amazonaws.com/lyft-lastmile-production-iad/lbs/sfo/" } ] }
//build-config.json:
{ "areaVisibility": false, "banDiscouragedBiking": false, "banDiscouragedWalking": false, "dataImportReport": false, "distanceBetweenElevationSamples": 10, "elevationUnitMultiplier": 1.0, "embedRouterConfig": false, "extraEdgesStopPlatformLink": false, "fares": null, "fetchElevationUS": false, "islandWithoutStopsMaxSize": 40, "islandWithStopsMaxSize": 5, "matchBusRoutesToStreets": true, "maxDataImportIssuesPerFile": 1000, "maxInterlineDistance": 200, "maxTransferDistance": 2000, "multiThreadElevationCalculations": false, "osmNaming": null, "osmWayPropertySet": "default", "parentStopLinking": true, "platformEntriesLinking": true, "readCachedElevations": true, "staticBikeParkAndRide": false, "staticBikeRental": false, "staticParkAndRide": true, "stationTransfers": false, "storage": null, "streets": true, "subwayAccessTime": 2.0, "transit": true, "useTransfersTxt": true, "writeCachedElevations": false }
Steps to reproduce the problem
- Build OTP2 JAR files
- Attempt to build graph using above command line.
Expected behavior
router-config.json loads as did in OTP 1.x
Observed behavior
When running the following on Windows 10, the said error occurs.
Version of OTP used (exact commit hash or JAR name)
Version: 2.0.0-rc2-SNAPSHOT
Commit: f8f7a9e
Data sets in use (links to GTFS and OSM PBF files)
Command line used to start OTP
java -Xmx8G -jar O:\target\otp-2.0.0-rc2-SNAPSHOT-shaded.jar --build "$($env:USERPROFILE)\otp\graphs\bayarea" --saveRouter config and graph build config JSON
// router-config.json:
{ "routingDefaults": { "numItineraries": 6, "walkSpeed": 1.2, "stairsReluctance": 4.0, "carDropoffTime": 240 }, "updaters": [ { "type": "stop-time-updater", "frequencySec": 15, "sourceType": "gtfs-http", "url": "https://api.actransit.org/transit/gtfsrt/tripupdates?token=[TOKEN]", "feedId": "9" }, { "type": "real-time-alerts", "frequencySec": 60, "sourceType": "gtfs-http", "url": "https://api.actransit.org/transit/gtfsrt/alerts?token=[TOKEN]", "feedId": "9" }, { "type": "stop-time-updater", "frequencySec": 15, "sourceType": "gtfs-http", "url": "http://api.bart.gov/gtfsrt/tripupdate.aspx", "feedId": "11" }, { "type": "real-time-alerts", "frequencySec": 60, "sourceType": "gtfs-http", "url": "http://api.bart.gov/gtfsrt/alerts.aspx", "feedId": "11" }, { "type": "bike-rental", "frequencySec": 300, "sourceType": "gbfs", "url": "https://gbfs.baywheels.com/gbfs/" }, { "type": "bike-rental", "frequencySec": 300, "sourceType": "gbfs", "url": "https://data.lime.bike/api/partners/v1/gbfs/oakland/gbfs.json" }, { "type": "bike-rental", "frequencySec": 300, "sourceType": "gbfs", "url": "https://s3.amazonaws.com/lyft-lastmile-production-iad/lbs/sfo/" } ] }//build-config.json:
{ "areaVisibility": false, "banDiscouragedBiking": false, "banDiscouragedWalking": false, "dataImportReport": false, "distanceBetweenElevationSamples": 10, "elevationUnitMultiplier": 1.0, "embedRouterConfig": false, "extraEdgesStopPlatformLink": false, "fares": null, "fetchElevationUS": false, "islandWithoutStopsMaxSize": 40, "islandWithStopsMaxSize": 5, "matchBusRoutesToStreets": true, "maxDataImportIssuesPerFile": 1000, "maxInterlineDistance": 200, "maxTransferDistance": 2000, "multiThreadElevationCalculations": false, "osmNaming": null, "osmWayPropertySet": "default", "parentStopLinking": true, "platformEntriesLinking": true, "readCachedElevations": true, "staticBikeParkAndRide": false, "staticBikeRental": false, "staticParkAndRide": true, "stationTransfers": false, "storage": null, "streets": true, "subwayAccessTime": 2.0, "transit": true, "useTransfersTxt": true, "writeCachedElevations": false }Steps to reproduce the problem