# input location (via GPS or favourites or search) and destination (via searchable list, optional) |
Busness Time - An ACT bus timetable webapp |
# http://10.0.1.153:8765/json/boundboxstops?n=-35.27568499917103&e=149.1346514225006&s=-35.279495003493516 |
Based on the maxious-canberra-transit-feed @ http://s3-ap-southeast-1.amazonaws.com/busresources/cbrfeed.zip |
&w=149.12622928619385&limit=50 |
Source code for the https://github.com/maxious/ACTBus-data transit |
# http://10.0.1.153:8765/json/stoptrips?stop=43&time=64440 # recursively call to show all services nearby, sort by distance, need to filter by service period |
feed and https://github.com/maxious/ACTBus-ui this site available from github. |
# Hey, can pick destination again from a list filtered to places these stops go if you're curious! |
Uses jQuery Mobile, PHP, Ruby, Python, Google Transit Feed Specification |
# http://10.0.1.153:8765/json/tripstoptimes?trip=2139 # Can recursively call and parse based on intended destination to show ETA |
tools, OpenTripPlanner, OpenLayers, OpenStreetMap, Cloudmade Geocoder |
# http://10.0.1.153:8765/json/triprows?trip=2139 # For pretty maps |
and Tile Service |
|
|
have to do |
Must have view.sh running on port 8765 for this webapp to work |
|
|
|
For static maps, may have to do |
/usr/sbin/setsebool -P httpd_can_network_connect=1 |
/usr/sbin/setsebool -P httpd_can_network_connect=1 |
on fedora |
on fedora |
|
|
might need http://forum.jquery.com/topic/google-maps-inside-jquery-mobile |
|
|
|
some extras |
|
/json/routes = all routes |
|
/json/neareststops?lat/lng/number |
|
TODO |
|
Destinations |
|
Favourites |
|
OOP stops/routes |
|
Stop sorting/search-filter |
|
|
|
static maps |
|
https://code.google.com/apis/maps/documentation/staticmaps/ |
|
http://www.multimap.com/openapidocs/1.2/web_service/staticmaps.htm |
|
http://dev.openstreetmap.de/staticmap/ (os @ http://sourceforge.net/projects/staticmaplite/) |
|
(php and open source @ http://trac.openstreetmap.org/browser/sites/other/StaticMap?rev=16348) |
|
http://pafciu17.dev.openstreetmap.org/ |
|
|
|