cheeaun / busrouter-sg

BusRouter SG: Singapore Bus Routes Explorer

Home Page:https://busrouter.sg/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geo data for bus stops

janakagamini opened this issue · comments

Hi,

Where did you get the geo data (lat, long) for the bus stops?

Nice work by the way,
Janaka

As mentioned in the README, all data comes from http://mytransport.sg/

Here are the scripts that scrape the data: https://github.com/cheeaun/busrouter-sg/tree/master/tasks

Thanks for the response

From the readme I thought you meant the data is from the mytransport.sg API, and there was no mention of lat,long there, so was a bit confused.

Anyways, from the scripts it seems like the lat, long comes from streetdirectory?

Thanks.

If you're referring to the bus stop coordinates, the LTA datamall does provide the data in 'shp' (static data) format http://www.mytransport.sg/content/mytransport/home/dataMall.html

For busrouter-sg app, I don't use that because the data is not updated and missing a few bus stops. Instead, I scrape them from the web site via this script: https://github.com/cheeaun/busrouter-sg/blob/master/tasks/fetch-bus-stops-routes.js

Understood, thanks for clarifying!