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

[amenity-points] Render sport=climbing #2761

Description

@openstreetmap-trac

Reporter: Leberwurscht
[Submitted to the original trac issue database at 9.42am, Monday, 1st March 2010]

Nodes with natural=rock and sport=climbing should have a icon indicating a climbing facility.

Moreover, nodes with climbing=route_bottom and sport=climbing should render the same icon.

(See [http://wiki.openstreetmap.org/wiki/Proposed_features/Climbing] and [http://wiki.openstreetmap.org/wiki/Tag:sport%3Dclimbing])

One needs to add the following to inc/layer-amenity-symbols.xml.inc:

<Rule>
  &maxscale_zoom11;
  <Filter>[sport]='climbing' and ([natural]='rock' or [climbing]='route_bottom')</Filter>
  <PointSymbolizer file="&symbols;/climbing.png" type="png" width="16" height="16" />
</Rule>

The select statement for nodes at the bottom of the file has to be altered as follows:

  • Add 'rock' to
"natural" in ('peak','spring','tree')
  • Add
or climbing='route_bottom'

default.style needs a new entry:

node,way   climbing     text         polygon

(I'm not sure about the "polygon" flag.)

The proposed icon is adapted from [http://www.clker.com/clipart-stone-or-hill-climbing.html] which is public domain (see [http://www.clker.com/disclaimer.html])

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions