Hi all,
I made a few improvements to the CSS community module this week, enough that it seems worthwhile to post some information about what’s changed.
-
This update introduces support for creating raster styles in CSS. This is not yet reflected in the user documentation, but if you are interested there are several raster styles in the test data with my notes in the comments. I do not think that raster styling through CSS is as compelling as vector styling, but I see it as an important stepping stone toward supporting styling transformations. i’m sorry that I don’t have any documentation yet, but there are some sample styles that I use for testing available on github.
https://github.com/dwins/geoscript.scala/blob/master/geocss/src/test/resources/raster.simple.css
https://github.com/dwins/geoscript.scala/blob/master/geocss/src/test/resources/raster.opacity.css
https://github.com/dwins/geoscript.scala/blob/master/geocss/src/test/resources/raster.gamma.css
https://github.com/dwins/geoscript.scala/blob/master/geocss/src/test/resources/raster.colormap.css
I’m interested in feedback if anyone has ideas about improving this or encounters problems using the raster functionality.
-
A bug has been fixed that prevented relative URLs from being used in CSS styles. The new behavior differs slightly from before the bug was introduced in that the relative URLs will be copied into the SLD with just a file: prefix, instead of fully resolving the URL and writing the style with absolute paths.
-
The CSS extension now allows proper creation and editing of namespaced styles, including preview.
-
A bug has been fixed that prevented the preview map from updating when the CSS was saved.
-
Performance when converting large CSS styles has been improved.
As usual, the module is available for download from the OpenGeo continuous integration server: http://gridlock.opengeo.org/geoserver/2.3.x/community-latest/
–
David Winslow
OpenGeo - http://opengeo.org/