<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Arial, sans-serif" size="3">Hi List,</font><div><font face="Arial, sans-serif" size="3"><br></font></div><div><font face="Arial, sans-serif" size="3">I am using qgis-server on ubuntu 14.04 32 bit to build up some kind of search server. Since qgis-servers WMS with GetFeatureInfo does not require I/J or BBOX when a filter parameter is present, I am in no need to use a WFS to build a search for my application. However, everything is set up, but I'm experiencing a very strange behaviour I hope somebody can help me with:</font></div><div><font face="Arial, sans-serif" size="3"><br></font></div><div><font face="Arial, sans-serif" size="3">Let's say I want to use the following filter: Id = 168</font></div><div><font face="Arial, sans-serif" size="3"><br></font></div><div><font face="Arial, sans-serif" size="3">This is my request: <br><a href="http://192.168.178.64/cgi-bin/qgis_mapserv.fcgi?map=/home/floebig/qgprj/s_buedchen.qgs&FILTER=buedchen:%22Id%22=%22168%22&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=buedchen&QUERY_LAYERS=buedchen&FEATURE_COUNT=10&INFO_FORMAT=text/xml" target="_blank">http://192.168.178.64/cgi-bin/qgis_mapserv.fcgi?map=/home/floebig/qgprj/s_buedchen.qgs&FILTER=buedchen:%22Id%22=%22168%22&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=buedchen&QUERY_LAYERS=buedchen&FEATURE_COUNT=10&INFO_FORMAT=text/xml</a></font></div><div><font face="Arial, sans-serif" size="3"><br></font></div><div><font face="Arial, sans-serif" size="3">The result:</font></div><div><div class="line"><span class="webkit-html-tag"><font face="Arial, sans-serif" size="3"><GetFeatureInfoResponse></font></span></div><div class="collapsible-content" style="margin-left: 1em;"><font face="Arial, sans-serif" size="3"><span class="text"></span></font><div class="line"><span class="webkit-html-tag"><font face="Arial, sans-serif" size="3"><BoundingBox<span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">CRS</span>="<span class="webkit-html-attribute-value">EPSG:4326</span>"</span><span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">maxx</span>="<span class="webkit-html-attribute-value">0</span>"</span><span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">minx</span>="<span class="webkit-html-attribute-value">0</span>"</span><span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">maxy</span>="<span class="webkit-html-attribute-value">0</span>"</span><span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">miny</span>="<span class="webkit-html-attribute-value">0</span>"</span>/></font></span></div><font face="Arial, sans-serif" size="3"><span class="text"></span></font><div class="line"><span class="webkit-html-tag"><font face="Arial, sans-serif" size="3"><Layer<span class="webkit-html-attribute"> <span class="webkit-html-attribute-name">name</span>="<span class="webkit-html-attribute-value">buedchen</span>"</span>/></font></span></div><font face="Arial, sans-serif" size="3"><span class="text"></span></font></div><div class="line"><span class="webkit-html-tag"><font face="Arial, sans-serif" size="3"></GetFeatureInfoResponse></font></span></div></div><div class="line"><span class="webkit-html-tag"><font face="Arial, sans-serif" size="3"><br></font></span></div><div class="line"><span class="webkit-html-tag"><font face="Arial, sans-serif" size="3">So far, so bad. If I use the following filter: Id < 168 everything works fine. The working request:</font></span></div><div class="line"><span class="webkit-html-tag"><a href="http://192.168.178.64/cgi-bin/qgis_mapserv.fcgi?map=/home/floebig/qgprj/s_buedchen.qgs&FILTER=buedchen:%22Id%22%3C%22168%22&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=buedchen&QUERY_LAYERS=buedchen&FEATURE_COUNT=10&INFO_FORMAT=text/xml" target="_blank"><font face="Arial, sans-serif" size="3">http://192.168.178.64/cgi-bin/qgis_mapserv.fcgi?map=/home/floebig/qgprj/s_buedchen.qgs&FILTER=buedchen:%22Id%22%3C%22168%22&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=buedchen&QUERY_LAYERS=buedchen&FEATURE_COUNT=10&INFO_FORMAT=text/xml</font></a></span></div><div class="line"><font face="Arial, sans-serif" size="3"><br></font></div><div class="line"><font face="Arial, sans-serif" size="3">The result is a perfectly fine list of Objects matching the filter criteria. So somehow, the mapserver has a problem with the equal-sign.. </font></div><div class="line"><font face="Arial, sans-serif" size="3"><br></font></div><div class="line"><font face="Arial, sans-serif" size="3">I hope someone can help me with this, it's driving me crazy. </font></div><div class="line"><font face="Arial, sans-serif" size="3"><br></font></div><div class="line"><font face="Arial, sans-serif" size="3">Here's a little bit of info:</font></div><div class="line"><font face="Arial, sans-serif" size="3"><br></font></div><div class="line"><font face="Arial, sans-serif" size="3">OS: Ubuntu Server 14.04 32Bit</font></div><div class="line"><font face="Arial, sans-serif" size="3">qgis-server 2.6.0+trusty1</font></div><div class="line"><font face="Arial, sans-serif" size="3">Apache2: 2.4.10-1ubuntu1</font></div><div><font face="Arial, sans-serif" size="3">qGIS Project: 2.4</font></div><div><font face="Arial, sans-serif" size="3">GeoData format within the project is a GML file</font></div><div><font face="Arial, sans-serif" size="3"><br></font></div><div><font face="Arial, sans-serif" size="3">Thanks in advance,</font></div><div><font face="Arial, sans-serif" size="3"><br></font></div><div><font face="Arial, sans-serif" size="3">Cheers, Freddy</font></div>                                           </div></body>
</html>