>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 <[email protected] <mailto:[email protected]>>

    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
[email protected] http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to