Hi,

I have a sql view layer with one parameter x.
I would like to pass some variable in GWC url like in wms url with
viewparams:

wms url :
http://localhost/geoserver/cadastre/wms?service=WMS&version=1.1.0&request=GetMap&layers=workspace:layer&viewparams=x:variable...

gwc wmts url :
http://localhost/geoserver/gwc/service/wmts?layer=workspace:layer&tilematrixset=EPSG:900913&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image/png&TileMatrix=EPSG:900913:...&TileCol=...&TileRow=...

I read it's possible with gwc configuration :
https://stackoverflow.com/questions/11558704/geowebcache-with-viewparam-for-wms-layer

And I read it's possible too adding filter to layer caching
:https://gis.stackexchange.com/questions/234382/geoserver-caching-with-sql-view/234482#234482

I tried the 2 solutions without success and I think the second one adding
filter is better but I don't show any result. I add the filter x as
parameter x in caching layer. The filter box appear like style but when i
write some variable in x box, nothing works.

What should it be the result? the entity selected would appear alone in map? 
How could I pass this variable in gwc URL?

Thanks for your return.

Florian D.

So, 




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to