plannerstack/mmri — pull request #1 by clinct (2014-07-23 18:30:58+00:00)
Title: Added a test that returns 'not safely accesible',  although on another date the locations are.

// WITH TEST TOOL ON 5th OF MAY:

http://opentripplanner.nl/opentripplanner-api-webapp/ws/plan?walkSpeed=1.389&date=2013-05-13&mode=WALK,TRANSIT&numItineraries=1&time=13:20:00&fromPlace=51.993583,4.387229&maxWalkDistance=2000&optimize=QUICK&arriveBy=True&toPlace=52.207753,4.402619

RETURNS:

Trip is not possible. Your start or end point might not be safely accessible (for instance, you might be starting on a residential street connected only to a highway).

// WITH OTP ON 13th OF JUNE, SAME LOCATION (EXCEPT SOME ROUNDING):

http://opentripplanner.nl/opentripplanner-api-webapp/ws/plan?arriveBy=true&date=06%2F13%2F2013&time=13%3A20&fromPlace=51.9935827%2C4.3872289&toPlace=52.2077532%2C4.402618999999959&mode=TRANSIT%2CWALK&optimize=QUICK&numItineraries=1&maxWalkDistance=2000

RETURNS (WRONGLY, ~14 HOURS TOO EARLY DEPARTURE):

{"requestParameters":{"optimize":"QUICK","time":"13:20","arriveBy":"true","maxWalkDistance":"2000","fromPlace":"51.9935827,4.3872289","toPlace":"52.2077532,4.402618999999959","date":"06/13/2013","mode":"TRANSIT,WALK","numItineraries":"1"},"plan":{"date":1371122400000,"from":{"name":"Molengraaffsingel","stopId":null,"stopCode":null,"lon":4.387033916420147,"lat":51.99386245085079,"arrival":null,"departure":null,"orig":null,"zoneId":null,"stopIndex":null},"to":{"name":"Rijnmond","stopId":null,"stopCode":null,"lon":4.40262419060869,"lat":52.207759447986966,"arrival":null,"departure":null,"orig":null,"zoneId":null,"stopIndex":null},"itineraries":[{"duration":4474000,"startTime":1371070068000,"endTime":1371074542000,"walkTime":1533,"transitTime":1140,"waitingTime":1801,"walkDistance":1960.6773961701294,"elevationLost":0.0,"elevationGained":0.0,"transfers":1,"fare":null,"legs":[{"startTime":1371070068000,"endTime":1371071459000,"delay":0,"realTime":null,"distance":1786.1292024044321,"mode":"WALK","route":"","agencyName":null,"agencyUrl":null,"agencyTimeZoneOffset":7200000,"routeColor":null,"routeType":null,"routeId":null,"routeTextColor":null,"interlineWithPreviousLeg":null,"tripShortName":null,"headsign":null,"agencyId":null,"tripId":null,"from":{"name":"Molengraaffsingel","stopId":null,"stopCode":null,"lon":4.387033916420147,"lat":51.99386245085079,"arrival":null,"departure":null,"orig":"","zoneId":null,"stopIndex":null},"to":{"name":"Delft Zuid spoor 1","stopId":{"agencyId":"NS","id":"dtz|1"},"stopCode":null,"lon":4.36483919621,"lat":51.990940516,"arrival":1371071520000,"departure":1371071520000,"orig":null,"zoneId":null,"stopIndex":null},"legGeometry":{"points":"s`j|H}ywYrDfTUNi@f@DRFd@b@rCxBrO@FFv@qBlA{BtA}A~@Jn@v@dFf@~CbAjFBN|ApIBNtA~IVpBTbBR`BTvCJhADpALx@BRF^D\\EpA?xABd@ZjAp@vAd@dAJj@@B@NMF","levels":null,"length":41},"notes":null,"alerts":null,"routeShortName":null,"routeLongName":null,"boardRule":null,"alightRule":null,"rentedBike":null,"duration":1391000,"bogusNonTransitLeg":false,"intermediateStops":null,"steps":[{"distance":253.4839721424453,"relativeDirection":null,"streetName":"Molengraaffsingel","absoluteDirection":"SOUTHWEST","exit":null,"stayOn":false,"area":false,"bogusName":false,"lon":4.387033916420147,"lat":51.99386245085079,"elevation":[],"alerts":null},{"distance":40.43110256405887,"relativeDirection":"RIGHT","streetName":"fietspad","absoluteDirection":"NORTHWEST","exit":null,"stayOn":false,"area":false,"bogusName":true,"lon":4.3836318,"lat":51.9929634,"elevation":[],"alerts":null},{"distance":7.712866520376075,"relativeDirection":"LEFT","streetName":"Cyclotronweg","absoluteDirection":"SOUTHWEST","exit":null,"stayOn":false,"area":false,"bogusName":false,"lon":4.383354000000001,"lat":51.9932833,"elevation":[],"alerts":null},{"distance":284.6998357207203,"relativeDirection":"CONTINUE","streetName":"parkeerweg","absoluteDirection":"WEST","exit":null,"stayOn":false,"area":false,"bogusName":true,"lon":4.383250100000001,"lat":51.9932565,"elevation":[],"alerts":null},{"distance":200.39497992262898,"relativeDirection":"RIGHT","streetName":"Mekelweg","absoluteDirection":"NORTHWEST","exit":null,"stayOn":false,"area":false,"bogusName":false,"lon":4.379348800000001,"lat":51.9923773,"elevation":[],"alerts":null},{"distance":596.859812548776,"relativeDirection":"LEFT","streetName":"Kruithuispad","absoluteDirection":"WEST","exit":null,"stayOn":false,"area":false,"bogusName":false,"lon":4.3782088,"lat":51.9940371,"elevation":[],"alerts":null},{"distance":394.25867702690454,"relativeDirection":"CONTINUE","streetName":"fietspad","absoluteDirection":"WEST","exit":null,"stayOn":false,"area":false,"bogusName":true,"lon":4.3701558,"lat":51.9919895,"elevation":[],"alerts":null},{"distance":8.287955958521607,"relativeDirection":"RIGHT","streetName":"perron","absoluteDirection":"NORTH","exit":null,"stayOn":false,"area":false,"bogusName":false,"lon":4.3648873,"lat":51.990875100000004,"elevation":[],"alerts":null}]},{"startTime":1371071520000,"endTime":1371072660000,"delay":0,"realTime":false,"distance":11161.394326448437,"mode":"RAIL","route":"Sprinter","agencyName":"NS","agencyUrl":"http://www.ns.nl","agencyTimeZoneOffset":0,"routeColor":null,"routeType":2,"routeId":"100-SPR","routeTextColor":null,"interlineWithPreviousLeg":null,"tripShortName":"5178","headsign":"Den Haag Centraal","agencyId":"100","tripId":"19423|340|5178","from":{"name":"Delft Zuid spoor 1","stopId":{"agencyId":"NS","id":"dtz|1"},"stopCode":null,"lon":4.36483919621,"lat":51.990940516,"arrival":null,"departure":null,"orig":null,"zoneId":null,"stopIndex":8},"to":{"name":"Den Haag Centraal spoor 5","stopId":{"agencyId":"NS","id":"gvc|5"},"stopCode":null,"lon":4.3259806931,"lat":52.0795266088,"arrival":1371072660000,"departure":1371072660000,"orig":null,"zoneId":null,"stopIndex":13},"legGeometry":{"points":"ini|H_osYqZ~Mwe@rUg^rN?@iPpEgE`C_MxM_c@fc@_W~[moBbmCABsTh[eF`GoE`EgHhFsHbEaGtB{GrAiJv@}I?}Jw@eLsB{G_C}GsDiEiD_IeIfLtLnLxGdFbBhLbCdEd@|GVyLs@eOaDsHwCcFuCgCoBmNoOmDmF_KqTuHuTA?gH{PgEcMoH_RiAwAuAy@sBWu@FaBp@m@j@qI|N}J`N","levels":null,"length":54},"notes":null,"alerts":null,"routeShortName":null,"routeLongName":"Sprinter","boardRule":null,"alightRule":null,"rentedBike":null,"duration":1140000,"bogusNonTransitLeg":false,"intermediateStops":[],"steps":null},{"startTime":1371074399000,"endTime":1371074399000,"delay":-90181,"realTime":true,"distance":20660.797484879757,"mode":"BUS","route":"90","agencyName":"Arriva","agencyUrl":"http://www.arriva.nl","agencyTimeZoneOffset":0,"routeColor":null,"routeType":3,"routeId":"327","routeTextColor":null,"interlineWithPreviousLeg":null,"tripShortName":"1081","headsign":"Katwijk","agencyId":"ARR","tripId":"545974","from":{"name":"Den Haag, Centraal Station","stopId":{"agencyId":"OVAPI","id":"13002"},"stopCode":"54004090","lon":4.325136,"lat":52.080164,"arrival":null,"departure":null,"orig":null,"zoneId":null,"stopIndex":null},"to":{"name":"Katwijk, Rijnmond","stopId":{"agencyId":"OVAPI","id":"12254"},"stopCode":"54460570","lon":4.404669,"lat":52.207286,"arrival":1371074399000,"departure":1371074399000,"orig":null,"zoneId":null,"stopIndex":31},"legGeometry":{"points":"y}z|HuskYHXNQLOHMPWLQLMLMHMV_@e@yBReCMa@Qg@Oe@_@}Ae@sBIa@_@_BWmAS{@Mg@Y_AGQKMMYOYIGKIc@fAiAhCi@jASZIPOVURMPMPY\\mAlAy@jAgBpBMNY`@o@x@W^_@h@c@p@[n@[n@a@bAaBzD_@|@Qh@i@nAS`@c@t@Y`@UZWV[^UNKJMJCDGNw@n@{@v@IBKDK@Ys@KYEI_AcCg@wAg@sAaAmC}@aCe@mA{CaI{@qCiC{I_@sAI[Ka@Mc@Oe@K_@GWUm@Og@IYUs@AGA?Ww@IYu@}BUs@aA_D{CyIWy@Q_@AKK[qCaJc@{Aw@iCy@gCqAmEm@gBYs@a@cAa@eAUk@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WDS?iABmAYyAw@mAqAgAwA{@kAoAeAWGkAe@u@KK@[BgALw@LUBoN|B{Cr@e@LUEe@?kA@s@Ay@IA?i@Mo@OWGcA_@mAo@WOWWOn@EPOp@IF_@xAK^}@fDSr@Qn@iAlEIT}AfFI^E?ABA?A?CBCFAJ@F?D?DqAlFA\\[lAaCdK{AtGGLUl@WrAa@nBMj@C?C?E?CBADA@AJAJ?B@H?DBF@BBBD@DBBCDCBEBEZ`@Z\\h@h@TXTRNL`@LRDT@LDL?jAPXJTJPHPLJPHDtA|@NLZX?D?F@HDFCLSbAMz@AFMp@e@zBUfBMz@WfBEZIh@KbAAj@An@Ar@Fn@Hr@\\|A`DnNDRPh@xAzEz@jC`CpHf@zABHCF?J?J@JMLk@h@CNeAn@OH}BhAoB`A]Lq@VSDMBi@PQBC@GFGFGNKTELi@tBYfAGJO`@iB}AkBwA{@g@IC_@QUIUKQEIG[KSQOKMKYQmHkGaAu@UOYS]c@_@a@mAiAeA}@sAoAoB{A{CaCeBmAWQSMkBsAOQOOCMCMAQ?U@K@Y`@kB^}ANo@v@{ChAgE|@wDVoAPQj@kBv@gDDQBMJy@BM","levels":null,"length":664},"notes":null,"alerts":null,"routeShortName":"90","routeLongName":"Den Haag - Nieuw Vennep via Noordwijk","boardRule":null,"alightRule":null,"rentedBike":null,"duration":0,"bogusNonTransitLeg":false,"intermediateStops":[],"steps":null},{"startTime":1371074400000,"endTime":1371074508000,"delay":0,"realTime":null,"distance":174.29217873636503,"mode":"WALK","route":"","agencyName":null,"agencyUrl":null,"agencyTimeZoneOffset":7200000,"routeColor":null,"routeType":null,"routeId":null,"routeTextColor":null,"interlineWithPreviousLeg":null,"tripShortName":null,"headsign":null,"agencyId":null,"tripId":null,"from":{"name":"Rijnmond","stopId":null,"stopCode":null,"lon":4.404696736165526,"lat":52.20737691051365,"arrival":null,"departure":null,"orig":null,"zoneId":null,"stopIndex":null},"to":{"name":"Rijnmond","stopId":null,"stopCode":null,"lon":4.40262419060869,"lat":52.207759447986966,"arrival":1371074542000,"departure":1371074542000,"orig":"","zoneId":null,"stopIndex":null},"legGeometry":{"points":"aws}Hih{YCJmAvEn@l@GXa@pB","levels":null,"length":6},"notes":null,"alerts":null,"routeShortName":null,"routeLongName":null,"boardRule":null,"alightRule":null,"rentedBike":null,"duration":108000,"bogusNonTransitLeg":false,"intermediateStops":null,"steps":[{"distance":174.29217873636503,"relativeDirection":null,"streetName":"Rijnmond","absoluteDirection":"NORTHWEST","exit":null,"stayOn":false,"area":false,"bogusName":false,"lon":4.404696736165526,"lat":52.20737691051365,"elevation":[],"alerts":null}]}],"tooSloped":false}]},"error":null}

// DIFF
// fromPlace1	=	51.9935827, 4.3872289
// fromPlace2	=	51.993583,	4.387229
// toPlace1	=	52.2077532, 4.402618999999959
// toPlace2	=	52.207753,	4.402619