[Talk-in] Railway station GPS co-ordinates

Warin 61sundowner at gmail.com
Mon May 16 08:38:55 UTC 2016


Hi,
a better way ?

with this query, you immediately have a CSV file as output.

Use thishttp://overpass-turbo.eu/s/gdp

or copy the query below tohttp://overpass-turbo.eu/



[out:csv (railway,station)][timeout:25];
// gather results
(
   // query part for: “railway=station”
   node["place"="town"]({{bbox}});
   way["place"="town"]({{bbox}});
   relation["place"="town"]({{bbox}});
);
// print results
out body;

> ;

out skel qt;

seehttp://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#Output_Format_.28out.29
for more options on the CSV output

You can make the timeout longer in case you want to cover a larger area.
  

On 5/16/2016 5:47 PM, Shibu Narayanan wrote:
>
> The link suggested by Arun 
> http://download.geofabrik.de/asia/india.html has a 10GB xml file which 
> contains the required information.
>
> I will extract it as a csv and post the results here.
>
> *Shibu Narayanan
> *Oracle Financial Services | Bangalore | India
> Office:0091-80-4918-1692 | Mobile:0091-99800-64282
>
> *From:*Sutripta (Gmail) [mailto:sutripta at gmail.com]
> *Sent:* Monday, May 16, 2016 12:10 PM
> *To:* OpenStreetMap in India
> *Subject:* Re: [Talk-in] Railway station GPS co-ordinates
>
> Hi,
> Is the list of Railway Stations/ Junctions in India available as a 
> CSV/ Excel file? Maybe with a column saying 'Ground truthed/ validated'.
>
> Sometime back there was a XML file from IR, but as pointed out by Arun 
> Ganesh, had a lot of errors.
>
> Regards
> Sutripta
>
> On 12-05-2016 22:19, Arun Ganesh wrote:
>
>     Hey Shibu, you can extract it live from OSM using overpass:
>     http://overpass-turbo.eu/s/gbk
>
>     If you want a shapefile of a larger area, suggest you download the
>     OSM extract from geofabrik
>     http://download.geofabrik.de/asia/india.html
>
>     The POI layer should have the railway stations.
>
>     On Thu, May 12, 2016 at 9:59 PM, Shibu Narayanan
>     <shibu.narayanan at oracle.com <mailto:shibu.narayanan at oracle.com>>
>     wrote:
>
>     Hi,
>
>     How do I get the list of all railway stations in Karnataka(or any
>     other state) and also its GPS co-ordinates?
>
>     *Shibu Narayanan
>     *Oracle Financial Services | Bangalore | India
>     Office:0091-80-4918-1692 <tel:0091-80-4918-1692> |
>     Mobile:0091-99800-64282 <tel:0091-99800-64282>
>
>
>     _______________________________________________
>     Talk-in mailing list
>     Talk-in at openstreetmap.org <mailto:Talk-in at openstreetmap.org>
>     https://lists.openstreetmap.org/listinfo/talk-in
>
>
>
>     -- 
>
>     Arun Ganesh
>
>     @planemad
>
>
>
>
>     _______________________________________________
>
>     Talk-in mailing list
>
>     Talk-in at openstreetmap.org <mailto:Talk-in at openstreetmap.org>
>
>     https://lists.openstreetmap.org/listinfo/talk-in
>
>
>
> _______________________________________________
> Talk-in mailing list
> Talk-in at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-in


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-in/attachments/20160516/4ea13493/attachment-0001.html>


More information about the Talk-in mailing list