| The WFS-NG client currently supports the VIRTUAL_TABLE_PARAMETERS hint in combination with a stored query — and only with StrictWFS_2_0_Strategy AFAIK. It would be nice if this hint was honored for "standard" queries as well, giving the ability to add a "&viewparams=..." query parameter for example. My understanding is that it could implemented in StrictWFS_2_0_Strategy#buildGetFeatureParametersForGET() roughly like:
And then used as:
For the record, this feature (request) was discussed years ago in http://osgeo-org.1560.x6.nabble.com/WFSDatastore-amp-Geoserver-SQL-layer-td4515278.html. |