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

There seems to be a strange rendering issue that affects only "highway=raceway" ways here:

http://www.openstreetmap.org/?lat=53.30779&lon=-0.06335&zoom=16&layers=M

Cadwell Park showing only 1 highway=raceway

It's not appearing in either OSM's standard mapnik tiles (or e.g. the cyclemap). It used to until recent edits to the area, but those edits only changed the source tag.

Dirtying tiles has no effect. I did nudge one node on one way ("Coppice") a smidgeon and that way now renders. That would suggest a rendering database issue (but is it strange that the Cyclemap tiles are affected too?).

There are a couple of open trac issues open against highway=raceway (both linked to from here) but I don't think that either of them is the issue in this case.

asked 06 Feb '13, 12:29

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

edited 06 Feb '13, 12:30

is it because it's split into different ways, and not one loop?

(06 Feb '13, 15:16) neuhausr
1

@neuhausr No, elsewhere it renders fine as single ways and this wouldn't make sense because a raceway doesn't necessarily has to be a loop. @SomeoneElse An import problem is also the only thing that comes to my mind. I suggest someone having access to the DB taking a look at it. Maybe the cause of the problem can be identified and fixed.

(06 Feb '13, 17:20) scai ♦
1

Thanks. One other point (mentioned by EdLoach on IRC) is that "highway=raceway not appearing on the Cycle Map" is a complete red herring. It doesn't appear because it's not supposed to (see here for example).

(06 Feb '13, 17:25) SomeoneElse ♦

@TH_Pro_Media has identified the nub of the problem, but misidentified the cause.

A quick search using Overpass reveals many racetracks tagged with highway=raceway and sport=motor throughout Europe. Indeed, this is an entirely reasonably, albeit redundant, tagging.

Clearly the problem might lie with the CartoCSS rendering. As raceway and motor appear a handful of times in the project it is quite easy to work out if the problem arises with one of these rules: my immediate suspect was this one in the style file, which says things tagged with sport should be treated as polygons. A quick search revealed a race circuit in Northern Island where parts of the circuit were rendering correctly, but the main racetrack, mapped as a closed way was not. A simple test then was to add an area=no tag which should force the way to be treated as a line. The way now renders correctly. Note, that very few of the ways tagged with sport=motor were closed (8/144).

This rule could conceivable affect other sports which apply to linear ways when such ways are closed (the only one I can think of immediately is climbing on cliffs, but these will likely be tagged area=no when closed).

Summary: this is a feature of the CartoCSS style which causes raceways mapped as closed ways to be treated as areas when any sport tag is applied. The solutions are either: a) remove the sport=motor tag; or b) add area=no.

permanent link

answered 29 Jul '15, 11:34

SK53's gravatar image

SK53 ♦
28.1k48268433
accept rate: 22%

1

Is this really the preferred solution? Another option could be for the stylesheet to assume area=no even for objects tagged with sport whenever a highway tag is present. I'm not sure which solution should be preferred.

(29 Jul '15, 12:06) scai ♦
3

FYI, this issue is already known over at the OSM-Carto Github. While that issue is titled with sport=running, it covers the use of any sport=* on closed linear ways.

(29 Jul '15, 17:34) alester
1

@alester thanks: and of course this is the long-term answer for scai, fix the bug in OSM-Carto. area=no is better because it is redundant & does not remove information, whereas dropping sport=motor does

(29 Jul '15, 18:20) SK53 ♦

I also came across similar bug where part of raceway is not rendered: https://www.openstreetmap.org/#map=18/55.51883/25.07223

permanent link

answered 29 Jul '15, 09:06

pauliusz's gravatar image

pauliusz
3112
accept rate: 0%

1

Interesting, because there are no relations involved there - just a closed way and a non-closed way.

(29 Jul '15, 09:42) SomeoneElse ♦

I fixed it for you. The problem was that you had also tagged the ways with sport=motor. That tag should be used on nodes or closed ways that are also tagged as leisure=track to indicate a use for a sports complex. The tag highway=raceway implies sport=motor so that tag is redundant and incorrect if placed on a highway=raceway way as well.

permanent link

answered 07 Feb '13, 17:25

TH_Pro_Media's gravatar image

TH_Pro_Media
381
accept rate: 0%

Interesting, but I'm not convinced that "sport=motor" is the issue. If you have a look at Donington Park, you'll see that that is tagged like that and doesn't have the same issue.

(07 Feb '13, 17:40) SomeoneElse ♦

Did you take a look at Donington Park??? The highway=raceway ways are not tagged as sport=motor. They are tagged as highway=raceway only that is why they are rendering properly.

(07 Feb '13, 17:46) TH_Pro_Media
(07 Feb '13, 17:47) SomeoneElse ♦
1

When I pull up that area in JOSM, there are some ways that are tagged with motor=sport, but most are not. As far as why all of it is rendering properly, my guess is that the "circuit" relation that has been established takes the highway=raceway tag and renders all of the ways in the relation with that.

Regardless, please look at wiki.openstreetmap.org/wiki/sport. That page clearly shows that the sport=motor tag is only useable on nodes and closed ways. Whether it renders properly or not, sport=motor should not be tagged on a linear way.

(07 Feb '13, 18:05) TH_Pro_Media

I am going to remove the incorrect tags from Donington Park

(07 Feb '13, 18:06) TH_Pro_Media

I don't think sport=motor only belongs on closed ways (or nodes). A leisure track doesn't necessarily has to be closed, too.

(07 Feb '13, 20:32) scai ♦

I'm not arguing about whether the tagging is "correct" or not (I'm quite prepared to believe that the previous tagging wasn't), merely trying to understand why a way wasn't rendering previously but (after a "node move" edit to a way) started to do so.

Re Donington, the relation that the way that had both sport=motor and highway=raceway was part of didn't have highway=raceway on it, so that doesn't explain way the way that I linked to was rendering. I'll have to have a look at the mapnik stylesheet...

(07 Feb '13, 20:55) SomeoneElse ♦
showing 5 of 7 show 2 more comments
-3

When something is not rendering properly the first thing that must be discerned is if it is tagged in accordance with the documentation. If you don't know how things are supposed to work, how can you expect to troubleshoot and find the problem?

The reason why I responded to your question is because I spent a bunch of time myself wondering about why my track was not showing up when I tagged the Hilo Dragstrip. I was using the same motor=sport tag on the raceway. Would.not.render until I took that tag off. I found out later that is because it is the wrong type of tag for those kind of ways.

Yes, the wiki specifically states that sport=motor is only for use on nodes and linear ways. That is what the little icons of a node and a closed way next to the sport=motor entry on that page signify.

I believe you are misunderstanding the difference between a linear way and a closed way. In OSM a linear way is a fundamentally different thing than a closed way. A closed way describes an area. A racetrack is not an area. Geometrically it is a "loop" but is is not a "closed polygon." It is constructed of one or more linear ways. They are all connected by node, but it is not a closed poly.

The reason why your ways did not render when you tagged them with motor=sport is that OSM thinks that you are tagging closed areas and sees your "loop of ways" as a bunch of connected, but incomplete/unclosed polys and it cannot render that! That's why the ways did not render before. It thinks it is supposed to be rendering a closed area but you want it to render linear ways in a loop. Did I explain that well enough?

permanent link

answered 08 Feb '13, 03:34

TH_Pro_Media's gravatar image

TH_Pro_Media
381
accept rate: 0%

2

Nah.

  1. We don't tag for the renderer.
  2. The documentation is just a wiki. It has errors and is constantly changing.
  3. A simple way and a closed way are not fundamentally different things in OSM. A closed way just has the same start and end nodes, that's all.
  4. A closed way doesn't necessarily describe an area. Alone the tags decide whether a closed way is an area or just an outline. A roundabout for example can be mapped both as multiple single ways and as a closed loop, but is usually never an area. In contrast a pedestrian way can also be mapped as a single way or a closed loop. But it can be both an area by adding area=yes or otherwise just an outline.

For more information see the rather basic wiki page about OSM's elements.

(08 Feb '13, 07:29) scai ♦

The Willowbank speedway is tagged highway=road, http://www.openstreetmap.org/#map=18/-27.69568/152.65788 although it has no other use then driving down as fast as. So theyre might be several others around the world on OSM. This one should if possible get highway=raceway, raceway=speedway a different kind of speed sport. It’s not a closed track, by service roads yes, but not as raceway. The direction of the raceway is strange, IMHO drag racing happens with 2 participants on either side of the track, but this has been tagged in the opposite direction.

(29 Jul '15, 14:40) Hendrikklaas
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×440
×341

question asked: 06 Feb '13, 12:29

question was seen: 4,647 times

last updated: 29 Jul '15, 18:20

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