Skip to content
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

Tramway tracks are rendered wrong when comined with a psv road #2781

Closed
menzo2003 opened this issue Aug 27, 2017 · 6 comments
Closed

Tramway tracks are rendered wrong when comined with a psv road #2781

menzo2003 opened this issue Aug 27, 2017 · 6 comments

Comments

@menzo2003
Copy link

In Amsterdam there are lots of tramways that are paved where next to trams only psv vehicles are allowed.

The tags are commonly:
access=no
electrified=contact_line
frequency=0
gauge=1435
highway=service
oneway=yes
psv=yes
railway=tram
voltage=600

Up till recent it was rendered as a road with a black line trough the middle. Now it is sometimes rendered as a road with access=no (dashed white road)

This is a good example of the problem:
http://www.openstreetmap.org/#map=18/52.36308/4.87601

@kocio-pl kocio-pl added the roads label Aug 27, 2017
@kocio-pl kocio-pl added this to the Bugs and improvements milestone Aug 27, 2017
@matthijsmelissen
Copy link
Collaborator

@pnorman Could this have been introduced by #2732?

@pnorman
Copy link
Collaborator

pnorman commented Aug 28, 2017

I'm not able to reproduce. I went into my database and set one row to have

┌─[ RECORD 1 ]──────┐
│ highway │ service │
│ railway │ tram    │
│ oneway  │ yes     │
│ access  │ no      │
└─────────┴─────────┘

I'm not too surprised to see problems with ways tagged with both highway and railway tags, they've always been a headache and most maps don't handle them.

Since I can't reproduce it, I can't bisect, but I'm guessing it comes down to ordering, differences between the two times the road is selected, but not in the roads fill or casing layers.

@kreed
Copy link
Contributor

kreed commented Aug 28, 2017

This is a regression from #2732. Both features have the same z_order because they are created from the same database row, so the ordering is now undefined.

Same problem occurs with combined highway/taxiways

@pnorman
Copy link
Collaborator

pnorman commented Sep 1, 2017

This is a regression from #2732. Both features have the same z_order because they are created from the same database row, so the ordering is now undefined.

Perhaps the easiest solution is to add feature to the sort

@dieterdreist
Copy link

dieterdreist commented Sep 1, 2017 via email

@SomeoneElseOSM
Copy link
Contributor

http://www.openstreetmap.org/user/Yevgeshik/diary/42210 may be an example of a similar issue in Riga.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants