From: Javier de la T. <ja...@gm...> - 2008-05-05 15:20:11
|
Hi, Well, what I actually want is to have a different SLD document per zoomLevel. I know I could tweak this inside the SLD by using the scale factors, but this is a headache because of the diffent scales at different latitudes... I also need to pass parameters to the SLD to further query the featureType in the db. So what I want is to do something like: >> http://172.16.178.129:8080/geowebcache/service/gmaps?layers=topp:density&zoom=2&x=0&y=1&sld=http://mySLD >> ?zoom=2&mySearch=whatever The cache will only work for the same zoom level and the same search for two users, but this will be a high boost to my application. At the end what i want is that geowebcache passes this parameter to geoserver as it is, and just by looking at the complete url it should know that the same request has done before... Uhmm, I dont know if I am explaining myself... Javier. On 05/05/2008, at 17:05, Arne Kepp wrote: > No, because that changes how the tile is rendered, and the next user > may > not want to use this SLD. > > However, you could add this as a vendorparamter in the .properties > file > for the layer, so that this is set the same for all clients. Note that > this will give you poor performance when generating the tiles, it's > better to have the SLD on the server. > > -Arne > > Javier de la Torre wrote: >> Hi all, >> >> Is there any way to send to geowebcache an SLD as parameter, >> something >> like: >> >> http://172.16.178.129:8080/geowebcache/service/gmaps?layers=topp:density&zoom=2&x=0&y=1&sld=http://mysldpath >> >> Notice i want to have it in use with gmaps. >> >> Thanks in advance. >> >> Javier. >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save >> $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> Geowebcache-users mailing list >> Geo...@li... >> https://lists.sourceforge.net/lists/listinfo/geowebcache-users >> >> !DSPAM:4038,481ee970174932090977483! >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Geowebcache-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geowebcache-users |