Skip to content

deborahrwerner/ltabus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Request for API access from http://www.mytransport.sg/content/mytransport/home/dataMall.html

Create .creds.ini and populate the values for:

uniqueuserid=""
accountkey=""

Make sure your Webserver does not serve dotfiles, e.g. http://bus.dabase.com/.creds.ini is 403 Forbidden.

How to update Singapore bus stop information

wget http://www.mytransport.sg/content/dam/mytransport/DataMall_StaticData/Geospatial/BusStops.zip
unzip BusStops.zip
ogr2ogr -f GeoJSON -t_srs crs:84 bus-stops.json BusStops_Jan2015/BusStop.shp

ogr2ogr binary is from the gdal package

License

MIT

Related

About

Find Singapore bus arrival times

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 68.0%
  • HTML 21.5%
  • JavaScript 10.5%