[Qgis-developer] QWC and WMS FILTER in qgis mapserver

Marco Hugentobler marco.hugentobler at sourcepole.ch
Thu Jan 9 08:51:20 PST 2014


 >I thought this OGC filtering stuff was already implemented for WFS 
server isn't it?

Yes, that's what I meant with data provider filtering vs. QGIS 
filtering. WFS server uses QgsExpression (QGIS side filtering) while WMS 
takes the filter and sets the subset to the provider (db side filtering).
So it could be done by switching to QgsExpression depending on the 
filter format (pull requests welcome). Data provider syntax still needs 
to be supported because this kind of filtering is more powerfull and 
more performant.

Regards,
Marco

On 09.01.2014 17:41, Alessandro Pasotti wrote:
> 2014/1/9 Marco Hugentobler <marco.hugentobler at sourcepole.ch 
> <mailto:marco.hugentobler at sourcepole.ch>>
>
>     Hi Alessandro
>
>
>     >Since OGC FILTER parsing is already implemented in QGIS, would it
>     be possible make the WMS understand OGG FILTER encoding in
>     addition to the custom syntax?
>
>     The problem is that the filter has the subset syntax of the data
>     provider. So it would need translation OGC syntax -> provider
>     syntax (or the possibility to choose between db server side
>     filtering or QGIS side filtering with unified syntax).
>
>
>
> I thought this OGC filtering stuff was already implemented for WFS 
> server isn't it?
>
>
> -- 
> Alessandro Pasotti
> w3: www.itopen.it <http://www.itopen.it>


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140109/6539e523/attachment-0001.html>


More information about the Qgis-developer mailing list