Looking at your Kew Gardens tag it looks excellent with just one<br>issue. It's correctly tagged for all 3 networks in one as "National<br>Rail;London Underground;London Overground" but it does tag both stop<br>
positions on the two oposite direction tracks as railway="station"<br>which i feel should both be changed to be railway="stop" or<br>public_transport="platform" and a new, single node should be<br>
railway="station" for the entire station?<div><br></div><div>I must have missed those station tags on the stop positions first time round,  I did say I attempted to do it :)</div><div>I've removed those now, and I think the "station" property is captured in the area represented by way 199669935 which surrounds the whole station.<br>
<br><div class="gmail_quote">On 8 March 2013 23:49, James Churchman <span dir="ltr"><<a href="mailto:jameschurchman@gmail.com" target="_blank">jameschurchman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Aidan, thanks for such a fast reply!<br>
<br>
Yes very messy indeed!!<br>
Great i had a good read of that link you sent along with<br>
<a href="http://wiki.openstreetmap.org/wiki/Tag:railway%3Dstation" target="_blank">http://wiki.openstreetmap.org/wiki/Tag:railway%3Dstation</a> and a few<br>
others.<br>
<br>
Reading :<br>
---<br>
* For simple modeling of simple stations with a single track (or one<br>
in each direction) just add a node with railway=station and name=* at<br>
an appropriate point on the railway (tagged railway=rail,<br>
railway=subway etc).<br>
* For complex or larger stations it is often best to create a node<br>
within the main concourse area and use a public_transport=stop_area to<br>
associate this with the rest of the elements of the station.<br>
---<br>
<br>
It sounds like uk tube stations that are largely underground the best<br>
thing is just a node. For larger stations there should still be a node<br>
but also but add it to a relation and additionally tag the Node as a<br>
"Stop Area" and along with an Area for the building="station" .. but<br>
the building="station" Area is not sufficient to be a station its<br>
self.. it needs a node<br>
<br>
Further down :<br>
---<br>
* There should only be a single railway=station tag for each station.<br>
Where there are multiple nodes for a single station then consider<br>
converting the station to the area format and moving the relevant tags<br>
(including the name etc) to this area and remove the station tag from<br>
all the existing 'station' nodes.<br>
* Where a mainline station and metro station (or other railway like<br>
station) are physically connected, consider if they should be modeled<br>
as separate stations or as a single station. The associated Wikipedia<br>
article for the facilities might assist with the decision. If the<br>
facilities are run by separate organisations (for example a heritage<br>
station next to a mainline station) then it is probably better to map<br>
them using two separate railway=station tags.<br>
---<br>
<br>
So this would indicate that only one "station" tag should ever be used ..<br>
<br>
Looking at your Kew Gardens tag it looks excellent with just one<br>
issue. It's correctly tagged for all 3 networks in one as "National<br>
Rail;London Underground;London Overground" but it does tag both stop<br>
positions on the two oposite direction tracks as railway="station"<br>
which i feel should both be changed to be railway="stop" or<br>
public_transport="platform" and a new, single node should be<br>
railway="station" for the entire station?<br>
<br>
Think i am starting to understand how it should be done :-)<br>
<br>
BR<br>
<span class="HOEnZb"><font color="#888888"><br>
James<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 8 March 2013 21:35, Aidan McGinley <<a href="mailto:aidmcgin%2Bopenstreetmap@gmail.com">aidmcgin+openstreetmap@gmail.com</a>> wrote:<br>
> James,<br>
><br>
> Seems like a bit of a mess alright.  Take a look at the approved proposal<br>
> for public transport which should be the standard to work towards I would<br>
> think -<br>
> <a href="http://wiki.openstreetmap.org/wiki/Proposed_features/Public_Transport" target="_blank">http://wiki.openstreetmap.org/wiki/Proposed_features/Public_Transport</a><br>
><br>
> I attempted to apply this to Kew Gardens station a while back<br>
> (<a href="http://www.openstreetmap.org/?lat=51.47707&lon=-0.28496&zoom=17" target="_blank">http://www.openstreetmap.org/?lat=51.47707&lon=-0.28496&zoom=17</a>)  it's not<br>
> exactly straightforward, and I'm not sure how well it would work when the<br>
> station is entirely underground like much of central London.<br>
><br>
> Aidan<br>
><br>
> On 8 March 2013 21:05, James Churchman <<a href="mailto:jameschurchman@gmail.com">jameschurchman@gmail.com</a>> wrote:<br>
>><br>
>> Hi Guys<br>
>><br>
>> I was originally attempting to get all the London Underground Tube<br>
>> stations and Rail stations from OSM ( london xml file )<br>
>><br>
>> The issues with the data I have had are :<br>
>><br>
>> 1) Some stations are tagged as Nodes, some as Ways and some as Relations<br>
>><br>
>> London Bridge is large area Way:<br>
>> <a href="http://www.openstreetmap.org/edit?lat=51.50426&lon=-0.084887&zoom=18" target="_blank">http://www.openstreetmap.org/edit?lat=51.50426&lon=-0.084887&zoom=18</a><br>
>> and is tagged as a "building" of type "station" and "railway" "station"<br>
>><br>
>> Westminister Tube station is tagged as a Node<br>
>> <a href="http://www.openstreetmap.org/edit?lat=51.501144&lon=-0.125211&zoom=19" target="_blank">http://www.openstreetmap.org/edit?lat=51.501144&lon=-0.125211&zoom=19</a><br>
>> of type "railway" "station" this possibly makes sense to be a Node as<br>
>> its too small to be a Way..<br>
>><br>
>> Waterloo station is a Way<br>
>> <a href="http://www.openstreetmap.org/edit?lat=51.503282&lon=-0.113125&zoom=18" target="_blank">http://www.openstreetmap.org/edit?lat=51.503282&lon=-0.113125&zoom=18</a><br>
>> but this time type "building" "station" ( rather than "train_station"<br>
>> as London bridge is ) ( and also "railway" "station" )<br>
>> but it's also grouped as a Relation of type "site" "railway_station"<br>
>><br>
>><br>
>><br>
>> Maybe some being Nodes, Ways or Relations makes good sense, but maybe<br>
>> it does not... maybe all stations should be a Node ( London Bridge has<br>
>> no Nodes just a single Way ) and then station buildings should just be<br>
>> buildings.. that would at least be more consistant .. the buildings<br>
>> could always be put into a Relation with the Node if needed ?<br>
>><br>
>> Also types of "train_station" and "station" etc... should this not be<br>
>> standardised?<br>
>><br>
>><br>
>> 2) Stations tagged multiple times  (this is a much bigger problem)  !<br>
>><br>
>> Approximately 75 % of all London Underground Tube stations are tagged<br>
>> with a Node multiple times, the distribution looks like this:<br>
>><br>
>> 0 times : e.g. London Bridge, this is only a Way there is no Node for<br>
>> either the Rail or Tube<br>
>><br>
>> 1 single time : this is the rarest case and as far as I can see the<br>
>> correct case<br>
>> Borough, Farringdon, St James' Park, Westminister and a few others are<br>
>> the few single tagged Tube stations in London<br>
>><br>
>> e.g Farringdon looks fine<br>
>> <a href="http://www.openstreetmap.org/edit?mlat=51.52056&mlon=-0.10504&zoom=18" target="_blank">http://www.openstreetmap.org/edit?mlat=51.52056&mlon=-0.10504&zoom=18</a><br>
>> its a single node of "railway" type "station" and has the two<br>
>> "networks" correctly attributed to it of "National Rail;London<br>
>> Underground". The only issue that i can see with Farringdon is as with<br>
>> many other tube stations it has a additional russian name "name:ru" of<br>
>> "Фаррингдон"<br>
>><br>
>><br>
>> 2,3,4 or even more tages for the same station ..<br>
>><br>
>> High Street Kensington :<br>
>> <a href="http://www.openstreetmap.org/edit?lat=51.5008&lon=-0.19269&zoom=19" target="_blank">http://www.openstreetmap.org/edit?lat=51.5008&lon=-0.19269&zoom=19</a> has<br>
>> 4 tags .. each one joined to a rail line<br>
>><br>
>> Piccadilly Circus<br>
>> <a href="http://www.openstreetmap.org/edit?lat=51.510003&lon=-0.134754&zoom=18" target="_blank">http://www.openstreetmap.org/edit?lat=51.510003&lon=-0.134754&zoom=18</a><br>
>> is tagged twice ( once under a different way )<br>
>><br>
>> Lambeth North is again tagged twice ( once under a way )<br>
>> <a href="http://www.openstreetmap.org/edit?lat=51.499021&lon=-0.112524&zoom=18" target="_blank">http://www.openstreetmap.org/edit?lat=51.499021&lon=-0.112524&zoom=18</a><br>
>><br>
>> Oxford Circus Tube Station is not taged at all. but instead the 4<br>
>> exits are tagged singularly as type "railway" and "subway_entrance" ..<br>
>> <a href="http://www.openstreetmap.org/edit?lat=51.515258&lon=-0.141406&zoom=18" target="_blank">http://www.openstreetmap.org/edit?lat=51.515258&lon=-0.141406&zoom=18</a><br>
>> though they all do seem to be grouped into a Relation of<br>
>> "public_transport" "stop_area"<br>
>> Is this level of tagging required, and would an actual "station" tag<br>
>> in the centre of these 4 entrances simply denoting the station itself<br>
>> be better ? ---as it is no station at all is plotted on <a href="http://osm.org" target="_blank">osm.org</a><br>
>><br>
>> Green Park Tube Station is similar again with no tagged station but<br>
>> many tagged entrances<br>
>><br>
>> <a href="https://maps.google.co.uk/maps?client=safari&oe=UTF-8&ie=UTF-8&q=green+park&fb=1&gl=uk&hq=green+park&cid=0,0,15806140768408957347&ei=8To6UcfADM-w7AbP_oHQCA&ved=0CKwBEPwSMAA" target="_blank">https://maps.google.co.uk/maps?client=safari&oe=UTF-8&ie=UTF-8&q=green+park&fb=1&gl=uk&hq=green+park&cid=0,0,15806140768408957347&ei=8To6UcfADM-w7AbP_oHQCA&ved=0CKwBEPwSMAA</a><br>

>> <a href="http://www.openstreetmap.org/edit?lat=51.506934&lon=-0.142474&zoom=18" target="_blank">http://www.openstreetmap.org/edit?lat=51.506934&lon=-0.142474&zoom=18</a><br>
>><br>
>><br>
>> Waterloo Station is tagged once as a large area Way, and then 5<br>
>> separate times as well as Nodes detonating a station<br>
>> <a href="http://www.openstreetmap.org/edit?lat=51.50246&lon=-0.11246&zoom=17" target="_blank">http://www.openstreetmap.org/edit?lat=51.50246&lon=-0.11246&zoom=17</a><br>
>> they are dotted all about the place, some on lower layers, some for<br>
>> one train line or another ..<br>
>><br>
>><br>
>> 3 ) Also there is the issue of networks tagging ..<br>
>> Some stations are tagged as "London Underground" or "National Rail" as<br>
>> they should, but some that are both a dual are tagged with two nodes<br>
>> one for each rather that a single node of "National Rail;London<br>
>> Underground" for example. eg Kensington Olympia is tagged twice, once<br>
>> with "London Overground" and once with "National Rail;London<br>
>> Underground"<br>
>><br>
>><br>
>> So in conclusion the problems I have found with Rail and Tube stations are<br>
>> :<br>
>> a) Tagged as Ways, Nodes or Relations; sometimes all 3, sometimes just<br>
>> a Node, sometimes a building Way of type "station", but no Node.<br>
>><br>
>> b) Duplicated stations: sometimes an identical tagging many many many<br>
>> times. Sometimes the Rail and the Tube are placed as separate stations<br>
>> when they should be combined, sometimes there is a Way and also a<br>
>> Node, sometimes there is a station for every Rail line/track that<br>
>> comes into the actual station<br>
>><br>
>> c) Stations are not taged at all, but instead the exits are all tagged<br>
>> as an exit, that are sometimes grouped as a exit relation<br>
>><br>
>> d) Inconsistant tagging eg some are "train_station" and others just<br>
>> "station"<br>
>><br>
>> ( e) odd Russian names for many of the stations )<br>
>><br>
>><br>
>> This is just from the ones I have looked at so far, I will look<br>
>> further in the mean time but asking from the OSM data the position of<br>
>> Rail and Tube stations in London is a very non-trivial task. Is there<br>
>> something missing from my understating, or does a refurbishment of the<br>
>> rail stations data for London needed? maybe something like every<br>
>> station is a single node placed at the approximate center, and then<br>
>> "exits" or station buildings are separately tagged and grouped into<br>
>> relations a long with the original point, and that a standard<br>
>> "station" and not the "railway_station" tag is chosen ? Also do these<br>
>> kinds of issues exist for other cities both around the uk and the data<br>
>> for the rest of the world, and is it limited to stations?<br>
>><br>
>> Hope this has been helpful & can hopefully can get a discussion going<br>
>> about what i am missing and what might be able to be done to help!<br>
>><br>
>> Best regards<br>
>><br>
>> James<br>
>><br>
>> _______________________________________________<br>
>> Talk-GB mailing list<br>
>> <a href="mailto:Talk-GB@openstreetmap.org">Talk-GB@openstreetmap.org</a><br>
>> <a href="http://lists.openstreetmap.org/listinfo/talk-gb" target="_blank">http://lists.openstreetmap.org/listinfo/talk-gb</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>