I am searching metro and tram routes and stops, example Bilbao.

With overpass turbo wizard on https://overpass-turbo.eu , I use

type=route and route=tram or type=route and route=subway

to create

This has been generated by the overpass-turbo wizard.
The original search was: 
“type=route and route=tram or type=route and route=subway” 
// gather results
  // query part for: “type=route and route=tram”
  // query part for: “type=route and route=subway”
// print results
out meta;
out skel qt;

(I changed to "out meta" to get maximum results)

The example is from Bilbao.

I export to geojson, which gives me almost what I need except on thing:

this is how a tram stop looks like:

  "type": "Feature",
  "properties": {
    "@id": "node/5478168779",
    "@relations": [
        "role": "stop",
        "rel": 8753521,
        "reltags": {
          "colour": "green",
          "from": "Bolueta",
          "name": "T1 (Bolueta → La Casilla)",
          "network": "Euskotren Tranbia",
          "network:wikidata": "Q123955",
          "network:wikipedia": "eu:Euskotren Tranbia",
          "operator": "Euskotren",
          "operator:wikidata": "Q3061020",
          "operator:wikipedia": "eu:Eusko Trenbideak",
          "public_transport:version": "2",
          "ref": "T1",
          "route": "tram",
          "to": "La Casilla",
          "type": "route",
          "wheelchair": "yes",
          "wikidata": "Q2661356",
          "wikipedia": "en:Bilbao tram"
  "geometry": {
    "type": "Point",
    "coordinates": [
  "id": "node/5478168779"

This is how the stop looks in OpenStreetMap:

enter image description here

(original data source: https://www.openstreetmap.org/node/5478168779 )

OSM has tags, especially the name, that are missing in the geojson export.

How do I get the tags like

name: "Uribitarte"
network: "Euskotren Tranbia"
operator: "Eusko Trenbideak"

Into the geojson export?

  • Perhaps misreading your question, Is the data you want in the json created by overpass prior to exporting to geojson?
    – nmtoken
    Commented May 10, 2022 at 12:41
  • @nmtoken when I export using the "OSM raw data" option, there is no String "Uribitarte" in the resulting file as shown here: openstreetmap.org/node/5478168779 if this is not what you want to know, how do I see what you want to know? Commented May 11, 2022 at 8:54

1 Answer 1


Stops are emitted by the generated

out skel qt;



Removes the tags.

The solution is to use

out qt;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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