[mapserver-users] Problem with queryByAttributes

ahmettemiz88 at gmail.com ahmettemiz88 at gmail.com
Sun Jan 17 05:34:38 EST 2010


hello

I have constructed the queryByAttributes object. But I cannot display the  
queried map.
queryByAttributes returns 0 and NumResults gives 2. It looks normal. But  
related image
doesn't display anything about query concerned.

here is the code fragment in java-mapscript.

int  
qByAttr=jeolayer.queryByAttributes(map0,qitem,qstring2,mapscript.MS_MULTIPLE);
System.out.println(" ** qByAttr ** "+qByAttr); --> 0

System.out.println(" **jeolayer.getNumResults()  
** "+jeolayer.getNumResults()); -->2

//har_img();
imageObj img = null;

img = map0.draw();

img.save("/home/orkun/kontrol_jeo.png", map0); --> just for control it  
doesn't any query related feature.

what do I have to do

regards

Ahmet Temiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100117/4c5663f1/attachment.html


More information about the mapserver-users mailing list