-
Notifications
You must be signed in to change notification settings - Fork 819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding ref for railway=subway_entrance #2370
Adding ref for railway=subway_entrance #2370
Conversation
Two questions come to my mind:
|
0061c93
to
cdbd9b1
Compare
Fixed now! The problem proved to be I needed to add ref also here, otherwise I got an error when trying to show entrances with ref. I was reusing tram stop settings, including color, but wanted to make it look a bit different in case there is a tram stop around. Italics is a nice way to do it and it hints that it's something less important. Using station-color for labels does not give visible results. If these entrances have the same name (it may still happen) and ref, it could be confusing, don't you think? |
I'm not sure what the name tag on subway entrances is used for? Is it the name of the entrance, or the name of the station? In the latter case, I'm not sure if rendering it makes much sense. |
sent from a phone
name is always referring to the object it is tagged on (i.e. the entrance in this case), although many mappers are not doing it like this;-) |
Well wiki says: Name of the exit if is known. Not the name of the station |
cdbd9b1
to
759ba5c
Compare
In the updated code I have chosen 1), because confusion with tram stop is not likely (even in the given example it's easy to properly attribute labels to objects) and it's still quite clear without breaking the icon/label colors similarity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure I'd be able to review this because Vancouver's system is elevated, making finding entrance locations much different than an underground system, but I spent some time in Toronto.
Where I saw this having an impact it lead to many duplications of the station name, a bad result. To see if this was just a local mapping style I looked at other cities with Overpass Turbo, and it's common.
Do you propose to show just ref labels? I would be OK with that solution. However the problem with data still exists: wiki is clear about not using station name, so it's just a common tagging error or wiki needs to be updated to reflect reality. |
The ref tags I see have the ref of the station or the ref of the lines the station has. With the data I've seen, I don't see value in rendering any text labels for station entrances. |
Which cities have you tried? With London, Warsaw, Moscow, Tokio or Paris refs look OK. New York has this problem, but the station names have it too. |
I see value in rendering station entrance refs. Some metro systems rely heavy on them (and within metro stations, GPS coverage is usually absent). Hopefully accepting this PR will lead to better data. |
You mean only the refs or the names too? |
I meant the refs. |
759ba5c
to
4daa8b1
Compare
I have updated this PR to render only refs. |
4daa8b1
to
17a8fce
Compare
New York and Cincinnati airport are the two places with ref on railway=subway_entrance in North America. New York is actually a bit more complicated than I had realized, it doesn't have the ref of the lines at the station, it has the ref of the lines you can reach from that station entrance. Looking at some other areas, I'm neutral on this PR overall. |
2016-10-16 22:36 GMT+02:00 Paul Norman notifications@github.com:
refs (like all other tags) refer to the object they are attached to, i.e. a |
I think the color of the label should match the color of the icon (not sure which of both should match). |
Are you sure? We already use different colors for all the stations and stops (station-color + station-text or transportation-icon + transportation-text). I think this is done by design, to make labels (thin lines) be visible more or less like corresponding icons (thick objects). In case of subway entrance (transportation-icon) I would rather render labels as transportation-text to be consistent wit the rest than use transportation-icon. |
I think so - we have been working on making icons and labels match over the past year, and I don't think we should add additional non-matching ones. I thin the stations should be changed as well. See also #1127. |
17a8fce
to
b890e8f
Compare
b890e8f
to
4f17df2
Compare
b08c832
to
6cda888
Compare
6cda888
to
e2455db
Compare
The code is updated now and ready to be merged. |
Thanks! |
Resolves #645.
I guess we need to wait for a database reload to show also refs, but it's possible to render the name of subway entrances right now (15k+ uses):
UPDATE: probably ref should be available, but is not in .stations - could somebody help me with it?