[Geoserver-devel] REST community module sldService refactored

Hi all,

I have fully refactored the old sldService REST community module. It is now fully aligned with the rest and restconfig model and structure, and also cleaned from unusefull stuff.

Actually the service contains three operations:

  • LayerAttributes : allows to retrieve the list of the Attributes for a vectorial layer in HTML, XML and JSON formats

  • Classifier : allows to create a set of sld rules on the fly for vectorial layers applying a classification (quantile, equalInterval, uniqueInterval) and a colorRamp to the specified layer attribute values. Results are returned back in HTML, XML and JSON formats

  • Rasterizer : allows to rescale on the fly the ColorMap of the default RasterSymbolizer for a raster layer. The new SLD is returned back as SLD. The remapped style is not saved on the catalog anyway

New features will be added in the future.

I’m asking here to commit the module to the GeoServer 2.0 community space.

Concerns, feedbacks, questions? Should also someone review the code before/after commit?

Best regards,
Alessio.


Eng. Alessio Fabiani
Founder / CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584 980933
fax: +39 0584 983027
mob: +39 349 8227000

http://www.geo-solutions.it
http://geo-solutions.blogspot.com