Hi there, 
I am playing now for hours and can't get it to run. 

Can I use parameters (like viewparams) for the cached TMS within GeoServer?


I configured a SQL View Layer with one parameter %dataset_id%. Next I enabled 
the caching and added a new parameter filter for my viewparams and configured 
the reg-ex like that: "^dataset_id:[\d]+$". 

I try to access my TMS with the following URL: 

localhost:8080/geoserver/gwc/service/tms/1.0.0/main:datasets@EPSG%3A900913@pbf/{z}/{x}/{y}.pbf?viewparams=dataset_id:4
 

But whatever I do, my cache always delivers back the default value. I read an 
old article from 2012, where it says I can not do TMS/viewparams with the 
in-built geowebcache but need to install the external version (war). Is this 
really true? 

How can I create dynamic, cached layers with the inbuilt solution? 

Best 
Fritz 
_______________________________________________
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