Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm just getting acquainted with OSM (OpenStreetMap), so this might be a total newbie question, but I'm looking for OSM Point of Interest data for all metro stations in Paris. I'm sure this info should be available, as maps I've seen maps of Paris using OSM data (e.g., mapbox.com default maps) display these metro stations, but I'm not sure where to look.

Any pointers for downloading this data would be highly appreciated.


After reviewing the answers provided and doing some digging myself, my conclusions are:

Using Overpass API seems to be the most user-friendly as far as I can tell (when you get the hang of the query language, that is). For example, the query below returns the actual routing (metro lines) plus the referenced metro stations in nice JSON format.

http://overpass-api.de/api/interpreter?data=[out:json];(relation(48.7555,2.1406,48.9638,2.5571)[%22route%22=%22subway%22];%3E;);out;

share|improve this question

3 Answers 3

up vote 6 down vote accepted

The OSM Wiki has instructions for downloading to different formats.

And here is some information about shapefiles.

Cloudmade has produced exports to different formats for France and can be found here.

share|improve this answer

One other approach is to use the Overpass javascript library to query the read-only OSM API. You can write a query that will select all of the relevant tags for an area. Here is an example from the wiki:

<bbox-query s="51.15" n="51.35" w="7.0" e="7.3"/>
<recurse type="node-way"/>
<query type="way">
  <item/>
  <has-kv k="highway" v="motorway"/>
</query>
<print/> 

To store the data in a more gis-friendly form you would probably need to parse it more but it seems like a quick way to access it.

share|improve this answer
    
Interesting. Hadn't see that before - thanks for sharing it. –  BradHards Dec 12 '12 at 9:43

One way to investigate this sort of thing is to use the "Export" tab on a sample area on the main OSM site.

If you export it as OSM XML, you will get a fairly large file, part of which will contain something like:

-<node version="12" timestamp="2012-10-29T00:16:52Z" changeset="13668746" visible="true" uid="158826" user="cquest" lon="2.3549579" lat="48.8460116" id="260040968">
   <tag v="Jussieu" k="name"/>
   <tag v="Jussieu" k="name:fr"/>
   <tag v="Жюссьё" k="name:ru"/>
   <tag v="station" k="railway"/>
   <tag v="1866" k="ref:FR:RATP"/>
   <tag v="1" k="STIF:zone"/>
   <tag v="metro" k="type:RATP"/>
   <tag v="no" k="wheelchair"/>
   <tag v="fr:Jussieu (métro de Paris)" k="wikipedia"/>
   <tag v="Жюссьё_(станция_метро)" k="wikipedia:ru"/>
 </node>

The key part is the station + railway part. If you export a large enough area (or use a pre-made export, as suggested by Fezter) and query for that tag, you should get every node that is a railway station. If you only want metro stations, then you might want to filter by other tags as well.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.