On Wed, May 14, 2014 at 4:34 PM, Justin Deoliveira <
jdeol...@boundlessgeo.com> wrote:
> Hey Simon,
>
> If you have some scripting chops you could also look at GeoScript. It has
> convenient apis for composing styles. For example to compose the well
> known population style boils down to (in python):
>
> style = Fill('#4DFF4D', 0.7).where('PERSONS < 2000000')
> style += Fill('#FF4D4D',0.7).where('PERSONS BETWEEN 2000000 AND 4000000')
> style += Fill('#4D4DFF',0.7).where('PERSONS > 4000000')
> style += Stroke(width=0.2) + Label('STATE_ABBR', 'Times New Roman 14px')
> writeSLD(style, 'population.sld')
>
> I have been able to utilize this technique to compose some fairly complex
> styles. And coupled with geoserver restconfig it leads to a pretty
> convenient workflow. Anyways, not for everybody but I thought I would
> mention it.
>
Justin, it could be an interesting "alternative language" for styling.
Like, we store the script and run it to build the SLD on the fly
Also thinking about Jared's console, and how it could relate to this topic.
Cheers
Andrea
--
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users