Analysis Tools?

74 views
Skip to first unread message

Marcus Dillavou

unread,
May 21, 2013, 12:24:43 PM5/21/13
to opentrippl...@googlegroups.com
Hello All,

Are there any post processing data analysis tools for OTP? I'm looking for a tool that can show me common locations for which my users are trying to plan routes. I'd like to have this both for validation of those locations and to also get a better understanding of what areas people are trying to move in between and whether or not route changes would serve them better.

Thanks,
Marcus

Stefan Steiniger

unread,
May 21, 2013, 7:31:33 PM5/21/13
to opentrippl...@googlegroups.com
Hi Marcus,

as far as I know there is not something like that.
However, there is the tomcat log file that contains each access/routing
request.
I also heard (I asked that a while ago in a thread, nov 2012) that there
was some development for Trimet based on play framework... but it is, I
think, a custom development and do not have seen code.

cheers,
stefan

Am 21.05.13 12:24, schrieb Marcus Dillavou:
> --
> You received this message because you are subscribed to the Google
> Groups "OpenTripPlanner Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to opentripplanner-...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Marcus Dillavou

unread,
May 22, 2013, 2:47:37 PM5/22/13
to opentrippl...@googlegroups.com
Hmm. The output below has a lot of debug information, isn't very structured, and also doesn't print out all the information I need like times. Do you know if there is a way to print out more structured output that would be easier to parse?

2013-05-22 18:44:05,507 DEBUG [StreetVertexIndexServiceImpl.java:184] : Looking for/making a vertex near (-86.808826, 33.511924, NaN)
2013-05-22 18:44:05,509 DEBUG [StreetVertexIndexServiceImpl.java:232] :  best stop: <1_1127> distance: 4.06123208053386
2013-05-22 18:44:05,516 DEBUG [StreetVertexIndexServiceImpl.java:243] : best street: PlainStreetEdge(<split 2 at link for 1_1127> -> <osm node 1428434714>) dist: 22.716446264581684
2013-05-22 18:44:08,044 DEBUG [StreetVertexIndexServiceImpl.java:262] : linking transit stop to street (distances are comparable)
2013-05-22 18:44:08,051 DEBUG [StreetVertexIndexServiceImpl.java:266] : returning split street
2013-05-22 18:44:08,051 DEBUG [StreetVertexIndexServiceImpl.java:184] : Looking for/making a vertex near (-86.728702, 33.448835, NaN)
2013-05-22 18:44:08,052 DEBUG [StreetVertexIndexServiceImpl.java:232] :  best stop: <1_2548> distance: 61.99712885017624
2013-05-22 18:44:08,053 DEBUG [StreetVertexIndexServiceImpl.java:243] : best street: PlainStreetEdge(<split 1 at link for 1_2548> -> <osm node 56318905>) dist: 121.5473565801059
2013-05-22 18:44:08,054 DEBUG [StreetVertexIndexServiceImpl.java:262] : linking transit stop to street (distances are comparable)
2013-05-22 18:44:08,054 DEBUG [StreetVertexIndexServiceImpl.java:266] : returning split street
2013-05-22 18:44:08,055 DEBUG [RetryingPathServiceImpl.java:119] : BEGIN SUBSEARCH
2013-05-22 18:44:08,057 DEBUG [GenericAStar.java:158] : total vertices visited 284
2013-05-22 18:44:08,057 DEBUG [RetryingPathServiceImpl.java:124] : END SUBSEARCH (2 msec of 2 msec total)
2013-05-22 18:44:08,057 DEBUG [RetryingPathServiceImpl.java:171] : New trips: [1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469, 1_469]
2013-05-22 18:44:08,058 DEBUG [RetryingPathServiceImpl.java:181] : 1 / 3 itineraries
2013-05-22 18:44:08,058 DEBUG [RetryingPathServiceImpl.java:119] : BEGIN SUBSEARCH
2013-05-22 18:44:08,065 DEBUG [GenericAStar.java:158] : total vertices visited 1749
2013-05-22 18:44:08,065 DEBUG [RetryingPathServiceImpl.java:124] : END SUBSEARCH (7 msec of 10 msec total)
2013-05-22 18:44:08,066 DEBUG [RetryingPathServiceImpl.java:171] : New trips: [1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470, 1_470]
2013-05-22 18:44:08,066 DEBUG [RetryingPathServiceImpl.java:181] : 2 / 3 itineraries
2013-05-22 18:44:08,066 DEBUG [RetryingPathServiceImpl.java:119] : BEGIN SUBSEARCH
2013-05-22 18:44:09,592 DEBUG [GenericAStar.java:158] : total vertices visited 5277
2013-05-22 18:44:09,593 DEBUG [RetryingPathServiceImpl.java:124] : END SUBSEARCH (1527 msec of 1538 msec total)
2013-05-22 18:44:09,593 DEBUG [RetryingPathServiceImpl.java:171] : New trips: [1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471, 1_471]
2013-05-22 18:44:09,593 DEBUG [RetryingPathServiceImpl.java:181] : 3 / 3 itineraries
2013-05-22 18:44:09,594 DEBUG [DefaultFareServiceImpl.java:269] : null best for [Ride on route 1_37 through zones null at 1369249200, classified by BUS)]
2013-05-22 18:44:09,594 WARN  [DefaultFareServiceImpl.java:272] : No fare for a ride sequence: [Ride on route 1_37 through zones null at 1369249200, classified by BUS)]
2013-05-22 18:44:09,595 DEBUG [DefaultFareServiceImpl.java:269] : null best for [Ride on route 1_37 through zones null at 1369252800, classified by BUS)]
2013-05-22 18:44:09,596 WARN  [DefaultFareServiceImpl.java:272] : No fare for a ride sequence: [Ride on route 1_37 through zones null at 1369252800, classified by BUS)]
2013-05-22 18:44:09,597 DEBUG [DefaultFareServiceImpl.java:269] : null best for [Ride on route 1_37 through zones null at 1369256400, classified by BUS)]
2013-05-22 18:44:09,598 WARN  [DefaultFareServiceImpl.java:272] : No fare for a ride sequence: [Ride on route 1_37 through zones null at 1369256400, classified by BUS)]
2013-05-22 18:44:09,599 DEBUG [RoutingRequest.java:730] : routing context destroyed (16 temporary edges removed)

Thomas Koch

unread,
May 23, 2013, 7:38:58 AM5/23/13
to opentrippl...@googlegroups.com
You gotta look for the webserver HTTP access logs, they contain the information you need.

x.x.x.x- - [26/Sep/2012:20:05:42 +0200] "GET /opentripplanner-api-webapp/ws/plan?_dc=1348682727438&from=&to=&arriveBy=false&time=20%3A03&ui_date=26-09-2012&mode=TRANSIT%2CWALK&optimize=QUICK&maxWalkDistance=2000&walkSpeed=0.833&date=2012-09-26&toPlace=51.724134%2C4.745889&fromPlace=52.7991446%2C4.793962 HTTP/1.1" 200 2200 "http://opentripplanner.nl/index.html" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1"


Op woensdag 22 mei 2013 20:47:37 UTC+2 schreef Marcus Dillavou het volgende:

Marcus Dillavou

unread,
May 23, 2013, 11:52:21 AM5/23/13
to opentrippl...@googlegroups.com
Ah, thanks!

Stefan Steiniger

unread,
May 26, 2013, 9:27:44 PM5/26/13
to opentrippl...@googlegroups.com
actually I just checked what source code is on github, and you may check
this module out:

https://github.com/openplans/OpenTripPlanner/tree/master/opentripplanner-datastore

it contains the logging stuff I mentioned, I believe.

stefan

Am 23.05.13 11:52, schrieb Marcus Dillavou:
> opentripplanner-...@googlegroups.com.
> > For more options, visit
> https://groups.google.com/groups/opt_out
> <https://groups.google.com/groups/opt_out>.
> >
> >
>
> --
> You received this message because you are subscribed to the Google
> Groups "OpenTripPlanner Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to opentripplanner-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages