NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Why is there no rendering for embankments and cuttings on railways? There are many embankments and cuttings on UK railways that should be shown on maps but nothing seems to render despite tags being added for those.

asked 20 Jun '17, 18:33

Gordon's gravatar image

accept rate: 0%

edited 26 Jun '17, 14:14

neuhausr's gravatar image


As you're in the UK, it might be useful to mention that I've thought about adding some sort of support for embankments (in the first instance flood banks) to this map. What would need to happen is essentially this:

  1. Decide exactly which features should have the new tagging. This means looking at the tags that people use, and what combinations those tags appear in. Obviously, the fewer tag combinations are initially suggested, the easier it is to create a prototype.
  2. Look at the location in which these tag combinations appear, and choose a rendering that would fit there. For example, here there is a railway on an embankment, but it's the middle track of 3, so there's not much room for detail.
  3. Design a rendering (i.e. a combination of CartoCSS properties) that represents the new thing. In this case something based on the bridge rendering or the verge rendering here is probably a good start.
  4. Write the necessary bit of lua to identify exactly the tag combinations that you want to capture, but no others, like e.g. here.

If you want to do this, feel free - you can clone both parts of the map style used and tinker to your heart's content - and if you would like any help with these steps, please ask!

permanent link

answered 21 Jun '17, 09:37

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 16%

The short answer: because nobody has done the necessary work.

The long answer: the standard OSM map style is a complicated beast and the volunteers working on it only have a limited amount of time and they spend that on what they consider important (so part of the answer is that the current maintainers do not consider adding such rendering a high priority item).

You can naturally always volunteer your time for an implementation.

In the specific case there is an open issue which is however quite old.

permanent link

answered 20 Jun '17, 21:15

SimonPoole's gravatar image

SimonPoole ♦
accept rate: 18%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 20 Jun '17, 18:33

question was seen: 2,210 times

last updated: 26 Jun '17, 14:14

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum