artemp/tickets2issues — Issue #473: Add optional but explicit units everywhere
Author: artemp
Created: 2011-10-11 15:19:52+00:00
State: open
Labels: Agg_Renderer

Currently, measurements are specified as simple ints/floats with implied pixel units.

In coordination with recent work on resolution (e.g. ticket:343) it would be worth adding optional units to all measurements, e.g. "pt", "px", "in", "mm", "cm" (this might be a complete list - "em", "ex", and "%" from CSS doesn't make sense in the Mapnik context). Numbers without explicit units would be interpreted as pixels. Pixels (device pixels) would be unaffected by map resolution.

Thoughts?