Get a route narrative
http://YOUR_DOMAIN_NAME/path?origin="osm-92011649"&dest="sta-3803"&currtime=1260839444
or
http://YOUR_DOMAIN_NAME/path_raw?origin="osm-92011649"&dest="sta-3803"&currtime=1260839444 My problem is that the first command doesn't work hadding out the following output:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/servable-2009c-py2.7.egg/servable.py", line 107, in myapp
rr = xstr( pfunc(self,**args) )
File "/usr/local/lib/python2.7/dist-packages/graphserver-1.0.0-py2.7.egg/graphserver/ext/routeserver/routeserver.py", line 146, in path
narrative = list(postprocess_path(vertices, edges, self.vertex_events, self.edge_events))
File "/usr/local/lib/python2.7/dist-packages/graphserver-1.0.0-py2.7.egg/graphserver/ext/routeserver/routeserver.py", line 59, in postprocess_path
event = handler( vertex1, edge2, vertex2, context=context )
File "/usr/local/lib/python2.7/dist-packages/graphserver-1.0.0-py2.7.egg/graphserver/ext/routeserver/events.py", line 38, in __call__
route_desc = "-".join([str(x) for x in list( self.gtfsdb.execute( "SELECT routes.route_short_name, routes.route_long_name FROM routes, trips WHERE routes.route_id=trips.route_id AND trip_id=?", (trip_id,) ) )[0]])
File "/usr/local/lib/python2.7/dist-packages/graphserver-1.0.0-py2.7.egg/graphserver/ext/gtfs/gtfsdb.py", line 366, in execute
c.execute( query, args )
OperationalError: no such table: routes