.. _unit_of_measure: Specifying symbolizers sizes in ground units ============================================= The SLD 1.0 specification allows the specification of sizes in just one unit: pixels. The Symbology Encoding 1.1 specification instead allows to use also meters and feet, as ground units, so that the size of the symbolizers changes on the screen as one zooms in and out. GeoServer supports the ``uom`` attribute just as specified in SE 1.1 in its extended SLD 1.0 support: .. code-block:: xml 5m blue line tm blue line Default line style, 5m wide blue Blue Line, 5m large #0000FF 5 Applying the style to ``tiger:tiger_roads`` and zooming in we get: .. figure:: images/roads_uom1.png .. figure:: images/roads_uom2.png .. figure:: images/roads_uom3.png The unit of measure supported are the same specified in the SE 1.1 specification:: http://www.opengeospatial.org/se/units/metre http://www.opengeospatial.org/se/units/foot http://www.opengeospatial.org/se/units/pixel This extended feature is officially supported starting with GeoServer 2.1.0, but it's already available in GeoServer 2.0.3 if the administrator starts the java virtual with the ``-DenableDpiUomRescaling=true`` system variable specification.