planet.osm does contain the whole osm-database which means that also the metro stations are included. However, the metro stations - nor any other particular feature - are not stored in a particular table. In order to obtain such a list, you need to know how metro stations are tagged and then extract the accordingly tagged objects from the database. You may do so by downloading the planet.osm and using e.g. osmfilter to filter out the metro stations. Another and possibly easier way might be to use the overpass-api to querry the database. Most metro stations are possibly tagged as railway=station or railway=subway_entrance (only the entrance) or as public_transport=stop_area or public_transport=station. For most of those taggings you will get the metro station AND other public transport stations, so you will have to evaluate the context, e.g. only those on/near railway=subway. And keep in mind that you want to query nodes, ways and relation. answered 04 Apr '12, 00:16 FischersFritz |
You can have a look at the MapFeatures page in the OpenStreetMap wiki and search through the page to find what your're looking for. If Metro is something underground for you the tags mentioned by FischersFritz are probably the ones you're looking for. There's also railway=tram_stop ... answered 04 Apr '12, 10:59 frabron |