Hi Andrea,
Thanks for this. Yes I think this is the way to go. I'll look into it.
Regards,
Jon-Paul.
On Wed, May 11, 2011 at 4:37 PM, Andrea Aime
<[email protected]>wrote:
> On Wed, May 11, 2011 at 2:00 PM, Jon-Paul Dobson <[email protected]>wrote:
>
>> Hi Hari,
>>
>> Th ultimate aim is to be able to colour layer symbols on-the-fly. So for
>> example I may have a layer based on a Shape file for which the symbols are
>> circles. I need to be able to change the colour of each circle
>> programmatically. I do not want to use predefined styles for this as there
>> are potentially any number of colours to choose from. I also do not want to
>> alter a single SLD file as the colours may be different for each user that
>> is logged into the application. If I altered the SLD file then every user
>> would see the same colours.
>>
>> Any ideas about this? Is this even possible?
>>
>
> This has been done many times in the past, you just have to send the SLD
> along with your request.
> There are various ways to do so, like including it in the GET request, make
> a post request,
> point to a URL containing the full SLD, see the SLD 1.0 specification for
> details,
> there are also a couple of examples in the demo requests
>
> Cheers
> Andrea
>
> --
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
>
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax: +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users