<P>Ok, thanks to <STRONG>Brian Fischer &lt;</STRONG><A href="mailto:bfischer@mpls.houstoneng.com"><STRONG>bfischer@mpls.houstoneng.com</STRONG></A><STRONG>&gt; <BR></STRONG>for advice regarding itemquery. Finally I've found query examples for 3.5 version at <FONT face="Courier New" size=2><A href="http://maps.dnr.state.mn.us/mapserver_demos/tests3.5/itemquery/test.html">http://maps.dnr.state.mn.us/mapserver_demos/tests3.5/itemquery/test.html</A></FONT><BR>and all goes ok for polygon features. I have trouble zooming to a point feature instead <BR>a polygon feature. I need to make the same query like in example 1 using points features instead polygons.</P>
<P>using: <BR>src="/cgi-bin/mapserv?map=[map]&amp;codent=1000&amp;mode=itemquerymap&amp;mapext=shapes&amp;qlayer=[qlayer]" height="300" width="300"</P>
<P>in my template, works for polygons&nbsp;</P>
<P>I've tryed this for point features in my template:</P>
<P>src="/cgi-bin/mapserv?map=[map]&amp;codent=1000&amp;mode=itemquerymap&amp;mapext=shapes&amp;qlayer=[qlayer]&amp;scale=5000&amp;mapxy=[shpmid]" height="300" width="300"<BR>and doesn't work</P>
<P>my map is:</P><FONT face="Courier New" size=2>
<P>MAP</P>
<P>NAME testzoom<BR></FONT><FONT face="Courier New" size=2>SHAPEPATH "data"<BR></FONT><FONT face="Courier New" size=2>SIZE 300 300<BR>EXTENT 0 0 1 1</P>
<P>WEB<BR></FONT><FONT face="Courier New" size=2>IMAGEPATH "../tmp/<BR>IMAGEURL "/~laur/tmp/"<BR></FONT><FONT face="Courier New" size=2>END</P>
<P>QUERYMAP<BR>STATUS ON<BR>STYLE HILITE<BR>COLOR 255 255 0<BR>END</P></FONT><FONT face="Courier New" size=2>
<P>SYMBOL<BR>NAME 'circle'<BR>TYPE ELLIPSE<BR>POINTS 1 1 END<BR>FILLED TRUE<BR>END</P></FONT><FONT face="Courier New" size=2>
<P>LAYER<BR>NAME testpoint<BR>DATA testpoint<BR>STATUS DEFAULT<BR>TYPE POINT<BR>FILTERITEM cod<BR>FILTER "%codent%"<BR>CLASS<BR></FONT><FONT face="Courier New" size=2>SYMBOL 'circle'<BR>MINSIZE 4<BR>MAXSIZE 10<BR>SIZE 7<BR></FONT><FONT face="Courier New" size=2>COLOR 212 212 212<BR>OUTLINECOLOR 0 0 0<BR>TEMPLATE testzoom.htm<BR>END<BR>END<BR>END </P>
<P></FONT><BR>Thank you for any help,</P>
<P>Lawrence</P><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="$rd_url/welcome/?http://taxes.yahoo.com/">Yahoo! Tax Center</a> - online filing with TurboTax