hello<br /><br />   I have constructed the queryByAttributes object. But I cannot display the queried map. <br />  queryByAttributes returns 0 and NumResults gives 2. It looks normal. But related image<br />  doesn&#39;t display anything about query concerned.  <br /><br />  here is the code fragment in java-mapscript.<br /><br />                            int qByAttr=jeolayer.queryByAttributes(map0,qitem,qstring2,mapscript.MS_MULTIPLE);<br />                        System.out.println(&quot; ** qByAttr ** &quot;+qByAttr);   --&gt; 0<br />                        <br />                        System.out.println(&quot; **jeolayer.getNumResults() ** &quot;+jeolayer.getNumResults());   --&gt;2<br />                        <br />                        //har_img();<br />                        imageObj img = null;<br /><br />                        img = map0.draw();<br />                <br />                        img.save(&quot;/home/orkun/kontrol_jeo.png&quot;, map0);  --&gt; just for control it doesn&#39;t any query related feature.<br /><br />   what do I have to do<br /><br />  regards<br /><br />Ahmet Temiz