<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">>I thought this OGC filtering stuff
was already implemented for WFS server isn't it?<br>
<br>
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).<br>
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.<br>
<br>
Regards,<br>
Marco<br>
<br>
On 09.01.2014 17:41, Alessandro Pasotti wrote:<br>
</div>
<blockquote
cite="mid:CAL5Q6707MCYhYSYbBH0b3p5fHpFBeXmbhBs26=WswSmibVrGAQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">2014/1/9 Marco Hugentobler <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:marco.hugentobler@sourcepole.ch"
target="_blank">marco.hugentobler@sourcepole.ch</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Alessandro
<div class="im"><br>
<br>
>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?<br>
<br>
</div>
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).<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>I thought this OGC filtering stuff was already
implemented for WFS server isn't it?</div>
<div>
<br>
</div>
</div>
<div><br>
</div>
-- <br>
Alessandro Pasotti<br>
w3: <a moz-do-not-send="true" href="http://www.itopen.it">www.itopen.it</a>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a class="moz-txt-link-abbreviated" href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a> <a class="moz-txt-link-freetext" href="http://www.sourcepole.ch">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee </pre>
</body>
</html>