This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How do I stop rivers from rendering where the riverbanks are mapped?

3
1

There are a number of rivers near me that have both the riverbanks mapped, and a rough centre-line mapped for meta data such as whether they're navigable and their names.

In estuaries, this can cause Osmarender to render fake banks (e.g. http://osm.org/go/0EH2q0Ox--?layers=0B00FTF ) where further inland, Mapnik has a habit of rendering the river beyond its banks (e.g. http://osm.org/go/0EHS3x2j ).

Is there some way of telling all renderers to not render the segments in these cases?

asked 12 Jul '10, 13:26

Rowland's gravatar image

Rowland
5967915
accept rate: 0%


One Answer:

10

You can make sure that the rivers centerline does not cross any island, but you should neither remove it nor play any tricks to make the rendering look nicer. If the rendering of correct data looks bad it's the renderer that needs tweaking, not the data.

answered 12 Jul '10, 13:38

petschge's gravatar image

petschge
8.3k217398
accept rate: 21%

Source code available on GitHub .