Re: [Geoserver-users] wms getmap with env variables

2024-04-23 Thread Giuseppe Falcone
> > Hi to all, > after several attempts, I find this solution. > > In my getmap request I append this parameter: > > &env=gid-:;value-:;gid-:;value-:; > > And use this sld: > > > xmlns="http://www.opengis.net/sld"; > xmlns:ogc="http://www.opengis.net/ogc"; > xmlns:xlink="http://ww

[Geoserver-users] wms getmap with env variables

2024-04-22 Thread Giuseppe Falcone
Hi to all, I have a polygon layer and I want style it, in wms GetMap request, in dynamic mode. Polygons are identified by gid and at runtime I associate at every gid a value. Polygon colors correspond to these values. Therefore, I have this object: [{1:15},{2:34},{3:57},] where 1,2,3 are the p