On Mon, Nov 22, 2010 at 11:09 AM,  <christian.muel...@nvoe.at> wrote:
> Hi Andrea, I thought of another possibility, but I am not sure here.
>
> 1) AFAIK I can pass a SLD as an HTTP Body in a WMS GetMap  Request.(Http
> method POST).
>
> 2) If 1) holds true, I would develop a geoserver extension matching a
> special URL. (e.g. http://localhost:8080/geoserver/statistik/wms/.... ) .
> Within this extension, I would create a proper SLD and forward the request
> to the original geoserver wms service, listening on
> http://localhost:8080/geoserver/wms/...
>
> Could this work ?

Aah yes, that could work too. You could just create
a DispatcherCallback that manipulates the request and changes the gt2 Style
object in it.
It should be easy to do in the operationDispatched(request, operation) method,
the operation first parameter should contain a GetMapRequest object that you
can change on the fly

Cheers
Andrea

-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-----------------------------------------------------

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to