Cartographic CSS Plugin ----------------------- The ``gt-css`` module is a plugin used used to generate Style objects from a human readable CSS representation. To use this module in your application: Related Links: * `CSS `_ (GeoServer User Guide) * `CSS Cookbook `_ (GeoServer User Guide) ``Maven``:: org.geotools gt-css ${geotools.version} Cartographic CSS parser ''''''''''''''''''''''' Here is an example Cartographic CSS style definition from the CSS Cookbook: .. code-block:: css * { mark: symbol(circle); mark-size: 6px; } :mark { fill: red; } The following code can be used to parse the above file and generate a GeoTools Style object: .. code-block:: java Stylesheet ss = CssParser.parse(css); CssTranslator translator = new CssTranslator(); Style style = translator.translate(ss); Here is the SLD representation of the generated style: .. code-block:: xml Default Styler circle #ff0000 6 first