Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

render service=* variants of railways #2413

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

render service=* variants of railways #2413

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: Vid the Kid
[Submitted to the original trac issue database at 9.26am, Monday, 2nd November 2009]

Mapnik currently renders railway=spur differently from railway=rail, but that's actually not the approved tagging. It's widespread due to the TIGER import, but the correct way to tag railway spurs is railway=rail + service=spur. (That way, spurs on other kinds of railways can also be easily tagged.) Unfortunately, Mapnik doesn't pay attention to the service=* tag, and renders these just like normal railways, though they're tagged correctly as spurs.

Action to take:

  1. railway=rail + service=spur should be rendered like railway=spur.
  2. Also consider same or similar treatment with railway=rail + service=siding and railway=rail + service=yard.

I realize this will require rewriting the existing railway=rail rule so as not to include these service=* variants. Kind of a pain, but necessary.

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 4.23pm, Wednesday, 16th December 2009]

(In r19116)

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

No branches or pull requests

1 participant