OpenStreetMap logo OpenStreetMap

Subway stations in Seoul

Posted by thbz on 3 April 2015 in French (Français). Last updated on 3 May 2017.

I have been working on the bus and subway routes in Seoul lately, but there are still many discrepancies and missing tags. So I thought I might try to do some planning instead of always improvising, une fois n’est pas coutume. And I’ll practice my English, too, and learn more about Markdown.

The references:

The rules :

  1. Work on subway lines 1 to 9. Whether other lines should be dealt the same way might be discussed later.

  2. Every existing https://wiki.openstreetmap.org/wiki/Tag:railway=station node that corresponds to a subway station should also be tagged as https://wiki.openstreetmap.org/wiki/Tag:public_transport=station, https://wiki.openstreetmap.org/wiki/Tag:subway=yes and (if it’s only for lines 1 to 9) https://wiki.openstreetmap.org/wiki/Tag:station=subway. Reciprocally, any https://wiki.openstreetmap.org/wiki/Tag:public_transport=station should be tagged the same way if it corresponds to a subway station.

  3. Existing nodes should not be moved unless really necessary (i.e. do not apply the “This node should not be part of a railway track” rule for an existing https://wiki.openstreetmap.org/wiki/Tag:railway=station node, unless I am ready to really map a https://wiki.openstreetmap.org/wiki/Tag:public_transport=stop_area relation for that station).

  4. Only one https://wiki.openstreetmap.org/wiki/Tag:railway=station node should exist for every subway station, unless it is used for very different networks (lines 1 to 9 will be considered as one single network, I may let several https://wiki.openstreetmap.org/wiki/Tag:railway=station nodes if they exist in multi-network stations such as 서울역, but I’m not sure about that).

  5. Every existing https://wiki.openstreetmap.org/wiki/Tag:public_transport=stop_position node in the subway network should be tagged as https://wiki.openstreetmap.org/wiki/Tag:subway=yes and be located on a https://wiki.openstreetmap.org/wiki/Tag:railway=rail or https://wiki.openstreetmap.org/wiki/Tag:railway=subway way. It should not be tagged as https://wiki.openstreetmap.org/wiki/Tag:railway=station or https://wiki.openstreetmap.org/wiki/Tag:station=subway.

  6. All the https://wiki.openstreetmap.org/wiki/Tag:public_transport=station nodes that belong to the same line should be members, with no role, of the relation(s) associated with that line. These relations may follow the new Public transport proposal (i.e one relation for each direction or branch) or not.

The planning:

## Subway stations 1. Select all https://wiki.openstreetmap.org/wiki/Tag:railway=station and public_transport nodes in the Seoul Metropolitan area using the following Overpass request:

    (
      https://wiki.openstreetmap.org/wiki/Tag:node[railway=station]({{bbox}});
      https://wiki.openstreetmap.org/wiki/Tag:way[railway=station]({{bbox}});
      https://wiki.openstreetmap.org/wiki/Tag:node[public_transport=station]({{bbox}});
      https://wiki.openstreetmap.org/wiki/Tag:way[public_transport=station]({{bbox}});
    );
    (._;>);
    out meta;
  1. Load these nodes into a JOSM calque (ça se dit comment, en anglais?). Also load in another calque the https://wiki.openstreetmap.org/wiki/Tag:railway=subway and https://wiki.openstreetmap.org/wiki/Tag:railway=rail ways in the same area:

     (
       https://wiki.openstreetmap.org/wiki/Tag:way[railway=rail]({{bbox}});
       https://wiki.openstreetmap.org/wiki/Tag:way[railway=subway]({{bbox}});
     );
     (._;>);
     out meta;
    

    and/or maybe load in another calque the relation that corresponds to each subway line:

     https://wiki.openstreetmap.org/wiki/Tag:relation[route=subway][name~"1"]({{bbox}});
     (._;>);
     out meta;
    
  2. For each subway station:

    • add the required tags for the corresponding station node;
    • remove the duplicates if any;
    • add the node to the relation associated to the subway lines this station belongs to (do it for each subway line separately):

        https://wiki.openstreetmap.org/wiki/Tag:relation[route=subway][name~"1"]({{bbox}});
        (._;>);
        out meta;
      

Stop positions

  1. Load in JOSM the https://wiki.openstreetmap.org/wiki/Tag:public_transport=stop_position nodes (maybe only if they are not too far from subway stations):

     (
       https://wiki.openstreetmap.org/wiki/Tag:node[public_transport=stop_position]({{bbox}});
       https://wiki.openstreetmap.org/wiki/Tag:way[public_transport=stop_position]({{bbox}});
     );
     (._;>);
     out meta;
    
  2. Add https://wiki.openstreetmap.org/wiki/Tag:subway=yes for those which are located in a subway station, and move them onto the https://wiki.openstreetmap.org/wiki/Tag:railway=rail or https://wiki.openstreetmap.org/wiki/Tag:railway=subway way if necessary.

Later:

  • set https://wiki.openstreetmap.org/wiki/Tag:railway=subway for all https://wiki.openstreetmap.org/wiki/Tag:railway=rail ways associated to a subway line?

  • create https://wiki.openstreetmap.org/wiki/Tag:public_transport=stop_area relations for every station? At least for those with at least two https://wiki.openstreetmap.org/wiki/Key:public_transport nodes ?

  • apply the following railway_station rule:

    Using the word “station” in the name=* if it is not part of the name printed on signs at the station, i.e. avoid name=Station Newton

  • make the subway map look pretty for http://www.openrailwaymap.org/ (I know, don’t map for the renderer. Anyways, if I can apply the rules and make the renderer happy, there’s no harm.)

Bon, personne n’a lu jusqu’ici, mais 괜찮아, c’est d’abord pour moi que j’ai pris ces notes…

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

Comment from gileri on 3 April 2015 at 16:54

Very good post summarizing the tagging process for subways. Thank you !

(Et oui, au moins une personne a lu jusqu’au bout :)

Log in to leave a comment