artemp/trac2github — Issue #482: Allowing global defaults for symbolizer properties in XML
Author: artemp
Created: 2011-10-09 20:36:52+00:00
State: open
Labels: Core_Library

The osm.xml uses 'round' for line-join/line-cap, which is not the default:

http://trac.mapnik.org/browser/trunk/src/stroke.cpp#L56

'round' should likely not be the default because, at least for line-cap, it is measurably slower to render as the renderer has to do extra work to draw the special edges (vs. say butt).

But, for certain styles we that demand it, and accept the slight performance loss, we should consider allowing for global defaults to be set for more concise stylesheets.