artemp/mapnik — Issue #644: Moving to consistent use of '-' (dashes) in XML properties
Author: artemp
Created: 2011-10-11 16:30:29+00:00
State: open
Labels: Core_Library

We currently have mixed use of dashes and underscores in XML property names, which makes it difficult for stylesheet authors to remember property names (or easy to misspell).

Because Mapnik2 has other breaking changes, now is the time to do this.

I propose we move fully to using '-'/dashes when property names should have a break (to fit css style). Properties in python (and other potential binding languages) will consistently continue to use underscores.

Properties already using '-':
{{{
# map level
background-color
background-image
# metawriters
default-output
output-empty
meta-writer
meta-output
#shield symbolizer
text-opacity
# line symbolizer (stroke)
stroke-width
stroke-opacity
stroke-linejoin
stroke-linecap
stroke-dashoffet
stroke-dasharray
# polygon symbolizer
fill-opacity
}}}