Hello,

looks like there has been some confusion recently about how the
riverwidth patch works.

I just reverted minimum-width and maximum-width to their original
values!

"minimum-width" and "maximum-width" are not meant to be used for any
kind of rendering beautification. These are real minimum and maximum
values (in meters) just to prevent values like 1000 to draw rivers
all over the map.

For this reason it is also pointless to use different values for different
zoomlevels! If you want to do some generalization or want to have
different widths for casings and core use width-scale-factor instead.

Here is the "documentation" of the riverwidth patch from my original
commit message:

--cut--
Honor a width tag for ways in Osmarender if activated in the rules
file.

Credits go to Christian Koerner for implementing the changes in
osmarender.xsl

Widths needs to be given in meters (I know, metric is for idiots...).

This has been developed with waterways in mind, but might
also be useful for other kinds of ways.

Currently this feature is activated for rivers, canals, streams
and drains in zoom-levels 15-17.

The change adds the following attributes to the osmarender
line directive:

honor-width:
If set to "yes" a width tag in osm data is honored.

minimum-width/maximum-width:
width-tag needs to be in the range given by these values.
If the value of width is less than minimum-width, minimum-width
is used intead.
If the value of width is greater than maximum-width, maximum-width
is used intead.

width-scale-factor:
This allows to apply generalization of the map by scaling the
given width tag to some "false" values.
It is also possible to use this factor to achieve different widths
in line casings and core.
--cut--

Regards

Sven

-- 
"In the land of the brave and the free, we defend our freedom
with the GNU GPL" (Richard M. Stallman on www.gnu.org)

/me is gig...@ircnet, http://sven.gegg.us/ on the Web

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Reply via email to