On Sun, Jan 6, 2019 at 11:19 AM Nikhil VJ <nikhil...@gmail.com> wrote:

> Hi,
>
> We might be able to get some data from Train On Map site of Indian
> Railways?
>
> https://enquiry.indianrail.gov.in/ntes/trainOnMap.jsp
>
> (good to see the map is working again.. last few months it had been down
> after google api changes)
>
>
> The browser console is yielding quite some stuff.
>
> One JS file there is holding some data:
>
> https://enquiry.indianrail.gov.in/ntes/js/stnCodesWithNamesArrayStr.js
>
>
This is amazing, wrote a simple script and converted the station list into
a CSV:
https://docs.google.com/spreadsheets/d/1AFwl_5cB9qD39VWNox1LoeL3tGaGB22f7p4vc7IyMqY/edit?usp=sharing

There are 10,482 entries and 9,240 have a coordinate. The list includes
many block cabins and freight sidings which are not stations.

Did a quick quality check, Yesvantpur is Yasvantpur and KSR Bengaluru has
the old name in Hindi बेंगलोर सिटी जं.

Overall quite good, but sadly not perfect.

-- 
Datameet is a community of Data Science enthusiasts in India. Know more about 
us by visiting http://datameet.org
--- 
You received this message because you are subscribed to the Google Groups 
"datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datameet+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to