Hi Jacob, Julien,<br><br>I use MS4W 2.1 Package and Chameleon 2.4, and my few problem was solve. For problem:<br>1. LocateByAttribute when using Postgis Data,<br>&nbsp;&nbsp;&nbsp; Thanks to Jacob for the update widget, it work except the hilite 
<br>&nbsp;&nbsp;&nbsp; didn&#39;t appears in my map (just in my legend). Could you tell me how to <br>&nbsp;&nbsp;&nbsp; hilite my map without appearing the layer &#39;Queryresult&#39; in legend?, because it can be done<br>&nbsp;&nbsp;&nbsp; using my earlier widget with shapefile data.
<br>2. Rectangular Queries, I used the widget zip file that exist in this milist. It&#39;s work!<br>3. The QuickZoom still doesn&#39;t work..???<br>4. Ruler widget didn&#39;t show the line again after &gt;350 km when measure distance.
<br>&nbsp;&nbsp; It was solved by change the value of var $mnNumberOfPoints = 200 default is 100. <br>&nbsp;&nbsp; More value I give, the process take more time, It isn&#39;t right? or there is another solution.<br><br>Here is my map file looks like:
<br>MAP<br><br>&nbsp;&nbsp;&nbsp; NAME &quot;BALI&quot;<br>&nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; SIZE 600 500 #520 420&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; EXTENT 114.431625 -8.849258 115.711227 -8.061678&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; SYMBOLSET &quot;../etc/symbol.sym&quot;<br>&nbsp;&nbsp;&nbsp; FONTSET &quot;../etc/fonts.txt&quot;
<br>&nbsp;&nbsp;&nbsp; UNITS DD<br>&nbsp;&nbsp;&nbsp; IMAGETYPE PNG<br>&nbsp;&nbsp;&nbsp; IMAGECOLOR 255 255 255<br>&nbsp;&nbsp;&nbsp; TRANSPARENT FALSE<br><br>WEB<br>&nbsp;&nbsp;&nbsp; IMAGEPATH &quot;c:/ms4w/tmp/ms_tmp/&quot;<br>&nbsp;&nbsp;&nbsp; IMAGEURL &quot;/ms_tmp/&quot;<br>&nbsp;&nbsp;&nbsp; METADATA&nbsp; <br>&nbsp;&nbsp; &quot;show_in_legend&quot; &quot;1&quot;
<br>&nbsp;&nbsp;&nbsp; END<br>END<br><br>REFERENCE<br>&nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; IMAGE &quot;images/keymap.gif&quot;<br>&nbsp;&nbsp;&nbsp; SIZE 120 74&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; EXTENT 114.431625 -8.849258 115.711227 -8.061678<br>&nbsp;&nbsp;&nbsp; COLOR -1 -1 -1<br>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 0 0
<br>END<br><br>QUERYMAP<br>&nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; COLOR 255 0 0<br>&nbsp;&nbsp;&nbsp; STYLE HILITE<br>END<br><br>PROJECTION<br>&nbsp;&nbsp;&nbsp; &quot;init=epsg:32750&quot;<br>END<br><br>LEGEND<br>&nbsp;&nbsp;&nbsp; KEYSIZE 18 12<br>&nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; LABEL<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; FONT &quot;Verdana&quot;
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE TRUETYPE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SIZE 8<br>&nbsp;&nbsp;&nbsp; END<br>END<br><br>SCALEBAR<br>&nbsp; IMAGECOLOR 255 255 255<br>&nbsp; LABEL<br>&nbsp;&nbsp;&nbsp; COLOR 0 0 0 <br>&nbsp;&nbsp;&nbsp; SIZE SMALL<br>&nbsp; END<br>&nbsp; SIZE 150 5<br>&nbsp; COLOR 255 255 255
<br>&nbsp; BACKGROUNDCOLOR 0 0 0<br>&nbsp; OUTLINECOLOR 0 0 0<br>&nbsp; UNITS KILOMETERS<br>&nbsp; INTERVALS 5<br>&nbsp; STATUS ON<br>END<br><br>LAYER<br>&nbsp;&nbsp;&nbsp; NAME &quot;Bali&quot;<br>&nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp; &quot;DESCRIPTION&quot; &quot;Admin&quot;&nbsp;&nbsp;&nbsp; 
<br>&nbsp;&nbsp;&nbsp; &quot;GROUP&quot; &quot;Polygon&quot;<br>&nbsp;&nbsp;&nbsp; &quot;LAYER&quot; &quot;bali&quot;<br>&nbsp;&nbsp;&nbsp; &quot;SPATIALSEARCH&quot; &quot;kabupaten, propinsi&quot;<br>&nbsp;&nbsp;&nbsp; &quot;SPATIALSEARCHLIST&quot; &quot;kabupaten&quot;<br>&nbsp;&nbsp;&nbsp; &quot;RESULT_FIELDS&quot; &quot;kabupaten&quot;
<br>&nbsp;&nbsp;&nbsp; &quot;show_in_legend&quot; &quot;1&quot;<br>&nbsp; END<br>&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE postgis<br>&nbsp;&nbsp;&nbsp; CONNECTION &quot;host=localhost port=5432 dbname=*** user=*** password=***&quot;<br>&nbsp;&nbsp;&nbsp; STATUS DEFAULT<br>
&nbsp;&nbsp;&nbsp; DATA &quot;geom from bali&quot;<br>&nbsp;&nbsp;&nbsp; TEMPLATE &quot;ttt&quot;<br>&nbsp;&nbsp;&nbsp; LABELITEM &quot;kabupaten&quot;<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #OUTLINECOLOR 28 93 139<br>&nbsp;&nbsp;&nbsp; COLOR 0 120 220<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #SYMBOL &quot;dashed_long&quot;
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #SIZE 1<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LABEL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT &quot;sans&quot; #&quot;fritqat&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE TRUETYPE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ANTIALIAS TRUE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 255 255<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SIZE 6
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; POSITION CC<br>&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; END<br>END<br><br><br>And this is my QuickZoom statement:<br><br>&lt;!-- QUICK ZOOM --&gt;<br>&lt;td align=&quot;center&quot;&gt;<br>&lt;cwc2 type=&quot;QuickZoom&quot; Label=&quot;&quot; LabelPosition=&quot;0&quot; widgetclass=&quot;label&quot; labelclass=&quot;label&quot;&gt;
<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Pilih Lokasi ...&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Badung&quot; minx=&quot;115.083840&quot; miny=&quot;-8.849258&quot; maxx=&quot;115.252533&quot; maxy=&quot;-8.234078&quot; SRS=&quot;epsg:32750&quot;/&gt;
<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Tabanan&quot; minx=&quot;114.909699&quot; miny=&quot;-8.6359743&quot; maxx=&quot;115.216179&quot; maxy=&quot;-8.237040&quot; SRS=&quot;epsg:32750&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Jembrana&quot; minx=&quot;
114.431625&quot; miny=&quot;-8.463202&quot; maxx=&quot;114.933952&quot; maxy=&quot;-8.160602&quot; SRS=&quot;epsg:32750&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Karang asem&quot; minx=&quot;115.389915&quot; miny=&quot;-
8.550742&quot; maxx=&quot;115.711227&quot; maxy=&quot;-8.170411&quot; SRS=&quot;epsg:32750&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Bangli&quot; minx=&quot;115.235002&quot; miny=&quot;-8.524396&quot; maxx=&quot;115.458557
&quot; maxy=&quot;-8.143510&quot; SRS=&quot;epsg:32750&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Klungkung&quot; minx=&quot;115.351547&quot; miny=&quot;-8.819542&quot; maxx=&quot;115.628586&quot; maxy=&quot;-8.462596&quot; SRS=&quot;epsg:32750&quot;/&gt;
<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Buleleng&quot; minx=&quot;114.432274&quot; miny=&quot;-8.379020&quot; maxx=&quot;115.459536&quot; maxy=&quot;-8.061678&quot; SRS=&quot;epsg:32750&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kab. Gianyar&quot; minx=&quot;
115.222916&quot; miny=&quot;-8.645082&quot; maxx=&quot;115.369863&quot; maxy=&quot;-8.313276&quot; SRS=&quot;epsg:32750&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;view name=&quot;Kota Denpasar&quot; minx=&quot;115.173248&quot; miny=&quot;-8.746707
&quot; maxx=&quot;115.281966&quot; maxy=&quot;-8.588169&quot; SRS=&quot;epsg:32750&quot;/&gt;<br>&lt;/cwc2&gt;<br>&lt;/td&gt; <br><br>Thanks for your help.<br><br>Regards,<br><br>Ilham Adi A.<br><br><br><div><span class="gmail_quote">
On 24/04/07, <b class="gmail_sendername">Julien-Samuel Lacroix</b> &lt;<a href="mailto:jlacroix@mapgears.com">jlacroix@mapgears.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>Where did you take the package? Is a MS4W, tarball or FGS package?<br><br>Julien<br><br>Ilham Adi Afdillah wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I have update my Chameleon using the latest release &lt;Chameleon 2.4.1&gt;,
<br>&gt; but I still got problem,<br>&gt; it&#39;s look like I need to update my widget due to the issue :<br>&gt; 1. LocateByAttribute when using Postgis Data<br>&gt; 2. Rectangular Queries.<br>&gt; 3. When using postgis data QuickZoom widget doesn&#39;t work too.
<br>&gt; 4. Ruler widget didn&#39;t show the line again after &gt;350 km when measure<br>&gt; distance.<br>&gt; Can someone give me the file?.<br>&gt;<br>&gt; Regards,<br>&gt;<br>&gt; Ilham Adi A.<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------
<br>&gt;<br>&gt; _______________________________________________<br>&gt; Chameleon mailing list<br>&gt; <a href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</a><br>&gt; <a href="http://lists.maptools.org/mailman/listinfo/chameleon">
http://lists.maptools.org/mailman/listinfo/chameleon</a><br><br>--<br>Julien-Samuel Lacroix<br>Mapgears<br><a href="http://www.mapgears.com/">http://www.mapgears.com/</a><br></blockquote></div><br>