Openstreetmap-carto: Add rendering for leisure=ice_rink

Created on 29 Jul 2014  路  11Comments  路  Source: gravitystorm/openstreetmap-carto

Some leisure objects are not rendered, such as:

  • leisure=ice_rink (https://trac.openstreetmap.org/ticket/3482)
  • leisure=dog_park (https://trac.openstreetmap.org/ticket/2482)
amenity-points

Most helpful comment

I vote for green text, because ice in leisure=ice_rink is more a leisure (sport) feature than a natural feature.

All 11 comments

dog_park is covered by #341, it would be better to track other leisure=* tags separetely

https://www.openstreetmap.org/way/381191895

Pitch colour:
ice_rink_pitch

Glacier colour:
ice_rink_glacier

However, I still have a problem to render name from landcover.mss

However, I still have a problem to render name from landcover.mss

From looking at https://github.com/jragusa/openstreetmap-carto/commits/ice_rink text code is not added yet.

One relatively easy way to do that is to look how similar feature is implemented, in this case pitch is likely to be a good template.

So lets search for a pitch: https://github.com/gravitystorm/openstreetmap-carto/search?q=pitch&type=Code

It should find, among other amenity-points where labels are defined (unfortunately, also labels for areas) - see https://github.com/gravitystorm/openstreetmap-carto/blob/0a041fa7be9be209efb3727b00050d68cc94bca3/amenity-points.mss#L1915

Comment if you need further help.

Thank you very much @matkoniecz

I didn't know this feature to find code in the project. This helped me a lot

With name rendered
https://www.openstreetmap.org/way/87188308
ice_rink_name

Many ice rinks in germany are buildings:
https://www.openstreetmap.org/way/33498620

I have no preference what to do with them, but this should be considered.

A green leisure=sports_centre label is an option, but then we have to choose do we want it also for simple open-air ice rinks (green label on blue area may look bad, but it is always good to see a test rendering to decide)

The rendering is the same than both building=* and leisure=sports_centre: they are basically rendered as building (area and label). The new rendering is only available for outdoor ice_rink

edit: only shop=mall has a distinct label rendering on building.

Following suggestion of @Tomasz-W with pitch colour for label:
ice_rink_name_green

I vote for green text, because ice in leisure=ice_rink is more a leisure (sport) feature than a natural feature.

@jragusa Are you going to make a PR for this issue?

@Tomasz-W done :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wielandb picture wielandb  路  3Comments

polarbearing picture polarbearing  路  5Comments

lakedistrictOSM picture lakedistrictOSM  路  3Comments

d3netxer picture d3netxer  路  4Comments

dktue picture dktue  路  3Comments