NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi,

Is there a link to download all Indian railway stations in SHAPE format? They could be either Points or Polygons, I could use them in either geometry?

asked 03 Jun '16, 08:09

svenky1980's gravatar image

svenky1980
26223
accept rate: 0%


The easiest way to do this is to save the data with a Overpass Query (such as this one) and use something like ogr2ogr to convert to a Shape file. (This particular query is small enough to return in Overpass-Turbo meaning that a geojson or KML file can be saved directly).

There are various additional parameters which can be added to the Overpass query which may help, see the documentation.

Alternatives are to download the ready built Shape files from Geofabrik or download a complete extract of india and pull out the stations using osmfilter (again you will need to convert from an OSM format to Shape).

For ad hoc conversions opensource GIS software such as QGIS may be more convenient than ogr2ogr or osm2shp.

permanent link

answered 03 Jun '16, 12:32

SK53's gravatar image

SK53 ♦
28.1k48268433
accept rate: 22%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×87
×68
×30
×7
×1

question asked: 03 Jun '16, 08:09

question was seen: 6,822 times

last updated: 03 Jun '16, 12:32

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum