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-symbols] Adding rendering for (major) waterfalls #2954

@openstreetmap-trac

Description

@openstreetmap-trac

Reporter: SK53
[Submitted to the original trac issue database at 8.55am, Wednesday, 12th May 2010]

In various parts of the world major waterfalls are conspicuous landscape features and tourist attractions. Mapnik fails to render these at all with the result that certain waterfalls have been 'tagged for the renderer': e.g., Iguazu and Rheinfalle.

It is suggested that waterfalls pretty much fall in the same class as cliffs and barriers and can be treated using the same rules. Furthermore the type of line symbolizer required for waterfalls is similar to that of cliffs (a line, with some ornamentation on the lower (downstream) side).

Light experimentation suggests that the following changes are required:

  1. Create 2 new line symbols "wfall.png" and "wfall2.png". Example of latter attached.

  2. Create a new style, along these lines (basically 'cliffs')

    <Style name="waterfalls"> ([waterway]='waterfall') 25000 100000 ([waterway]='waterfall') 25000 </Style>
  3. Alter the layer 'line features' along the following lines

    cliffs waterfalls barriers mapnik true localhost mapnik 5432 (select way,barrier,"natural",man_made, waterway from planet_osm_line where barrier is not null or "natural" in ('hedge','cliff') or man_made='embankment' or (waterway='waterfall')) as roads postgis mapnik

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions