<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>Hi Ilham,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>Sorry for my late reply. I was on
leave.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>There are a few possible reasons why the highlight would
not appear. It is possible you did not specify "HIGHLIGHT='TRUE'" in the
definition, but the most likely cause is that it does not have writing
permission or "folder creation permission" in your temporary directory. I have
set it up to dump the temporary shapefile in a dedicated folder. It didn't occur
to me that some people may have permission problems inside the temp folder.
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>If this is the case, you'd have to edit two
files:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>in searchresults.phtml, line 401, get rid
of:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>."/queryresultdir"</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>and in download.php, line 13, also get rid
of:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>."/queryresultdir";</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>Hopefully that will fix it. If not, please let me know
which PHP errors show up in your log.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>You say you don't want "queryresult" in the legend. Do you
mean "do not show an icon"?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>To hide the icon, comments out line 574 in
searchresults.phtml, which says:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>$queryclass->set("name", "Query
result"); </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2>Jacob</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=563223902-30042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ilham Adi Afdillah
[mailto:ilham.adi@gmail.com] <BR><B>Sent:</B> 24 April 2007
18:03<BR><B>To:</B> chameleon@lists.maptools.org<BR><B>Cc:</B> Julien-Samuel
Lacroix<BR><B>Subject:</B> Re: [Chameleon] Update Widget<BR></FONT><BR></DIV>
<DIV></DIV>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> Thanks to Jacob for the update widget, it
work except the hilite <BR> didn't appears in my map (just
in my legend). Could you tell me how to <BR> hilite my map
without appearing the layer 'Queryresult' in legend?, because it can be
done<BR> using my earlier widget with shapefile data. <BR>2.
Rectangular Queries, I used the widget zip file that exist in this milist.
It's work!<BR>3. The QuickZoom still doesn't work..???<BR>4. Ruler widget
didn't show the line again after >350 km when measure distance.
<BR> It was solved by change the value of var $mnNumberOfPoints =
200 default is 100. <BR> More value I give, the process take more
time, It isn't right? or there is another solution.<BR><BR>Here is my map file
looks like: <BR>MAP<BR><BR> NAME
"BALI"<BR> STATUS ON<BR> SIZE 600 500 #520
420 <BR> EXTENT 114.431625 -8.849258
115.711227 -8.061678 <BR> SYMBOLSET
"../etc/symbol.sym"<BR> FONTSET "../etc/fonts.txt"
<BR> UNITS DD<BR> IMAGETYPE
PNG<BR> IMAGECOLOR 255 255 255<BR>
TRANSPARENT FALSE<BR><BR>WEB<BR> IMAGEPATH
"c:/ms4w/tmp/ms_tmp/"<BR> IMAGEURL
"/ms_tmp/"<BR> METADATA <BR>
"show_in_legend" "1" <BR>
END<BR>END<BR><BR>REFERENCE<BR> STATUS
ON<BR> IMAGE "images/keymap.gif"<BR> SIZE
120 74 <BR> EXTENT 114.431625 -8.849258
115.711227 -8.061678<BR> COLOR -1 -1
-1<BR> OUTLINECOLOR 255 0 0
<BR>END<BR><BR>QUERYMAP<BR> STATUS ON<BR>
COLOR 255 0 0<BR> STYLE
HILITE<BR>END<BR><BR>PROJECTION<BR>
"init=epsg:32750"<BR>END<BR><BR>LEGEND<BR> KEYSIZE 18
12<BR> STATUS ON<BR>
LABEL<BR> FONT "Verdana"
<BR> TYPE TRUETYPE<BR>
COLOR 0 0 0<BR> SIZE
8<BR> END<BR>END<BR><BR>SCALEBAR<BR> IMAGECOLOR 255
255 255<BR> LABEL<BR> COLOR 0 0 0
<BR> SIZE SMALL<BR> END<BR> SIZE 150 5<BR>
COLOR 255 255 255 <BR> BACKGROUNDCOLOR 0 0 0<BR> OUTLINECOLOR 0 0
0<BR> UNITS KILOMETERS<BR> INTERVALS 5<BR> STATUS
ON<BR>END<BR><BR>LAYER<BR> NAME "Bali"<BR>
METADATA<BR> "DESCRIPTION" "Admin"
<BR> "GROUP" "Polygon"<BR> "LAYER"
"bali"<BR> "SPATIALSEARCH" "kabupaten,
propinsi"<BR> "SPATIALSEARCHLIST"
"kabupaten"<BR> "RESULT_FIELDS" "kabupaten"
<BR> "show_in_legend" "1"<BR>
END<BR> TYPE POLYGON<BR> CONNECTIONTYPE
postgis<BR> CONNECTION "host=localhost port=5432 dbname=***
user=*** password=***"<BR> STATUS
DEFAULT<BR> DATA "geom from bali"<BR>
TEMPLATE "ttt"<BR> LABELITEM
"kabupaten"<BR> CLASS<BR>
OUTLINECOLOR 0 0 0<BR>
#OUTLINECOLOR 28 93 139<BR> COLOR 0 120
220<BR> #SYMBOL "dashed_long"
<BR> #SIZE 1<BR>
LABEL<BR> FONT "sans"
#"fritqat"<BR> TYPE
TRUETYPE<BR> ANTIALIAS
TRUE<BR> COLOR 0 0
0<BR> OUTLINECOLOR 255
255 255<BR> SIZE 6
<BR> POSITION
CC<BR> END<BR> END<BR>END<BR><BR><BR>And this is
my QuickZoom statement:<BR><BR><!-- QUICK ZOOM --><BR><td
align="center"><BR><cwc2 type="QuickZoom" Label="" LabelPosition="0"
widgetclass="label" labelclass="label"> <BR> <view
name="Pilih Lokasi ..."/><BR> <view name="Kab. Badung"
minx="115.083840" miny="-8.849258" maxx="115.252533" maxy="-8.234078"
SRS="epsg:32750"/> <BR> <view name="Kab. Tabanan"
minx="114.909699" miny="-8.6359743" maxx="115.216179" maxy="-8.237040"
SRS="epsg:32750"/><BR> <view name="Kab. Jembrana"
minx=" 114.431625" miny="-8.463202" maxx="114.933952" maxy="-8.160602"
SRS="epsg:32750"/><BR> <view name="Kab. Karang asem"
minx="115.389915" miny="- 8.550742" maxx="115.711227" maxy="-8.170411"
SRS="epsg:32750"/><BR> <view name="Kab. Bangli"
minx="115.235002" miny="-8.524396" maxx="115.458557 " maxy="-8.143510"
SRS="epsg:32750"/><BR> <view name="Kab. Klungkung"
minx="115.351547" miny="-8.819542" maxx="115.628586" maxy="-8.462596"
SRS="epsg:32750"/> <BR> <view name="Kab. Buleleng"
minx="114.432274" miny="-8.379020" maxx="115.459536" maxy="-8.061678"
SRS="epsg:32750"/><BR> <view name="Kab. Gianyar"
minx=" 115.222916" miny="-8.645082" maxx="115.369863" maxy="-8.313276"
SRS="epsg:32750"/><BR> <view name="Kota Denpasar"
minx="115.173248" miny="-8.746707 " maxx="115.281966" maxy="-8.588169"
SRS="epsg:32750"/><BR></cwc2><BR></td> <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> <<A
href="mailto:jlacroix@mapgears.com">jlacroix@mapgears.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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>>
Hi,<BR>><BR>> I have update my Chameleon using the latest release
<Chameleon 2.4.1>, <BR>> but I still got problem,<BR>> it's look
like I need to update my widget due to the issue :<BR>> 1.
LocateByAttribute when using Postgis Data<BR>> 2. Rectangular
Queries.<BR>> 3. When using postgis data QuickZoom widget doesn't work
too. <BR>> 4. Ruler widget didn't show the line again after >350 km
when measure<BR>> distance.<BR>> Can someone give me the
file?.<BR>><BR>> Regards,<BR>><BR>> Ilham Adi
A.<BR>><BR>><BR>>
------------------------------------------------------------------------
<BR>><BR>> _______________________________________________<BR>>
Chameleon mailing list<BR>> <A
href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR>>
<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></BLOCKQUOTE></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000>This email and any attachments are intended solely for the named recipient and are confidential. The copying or distribution of them or any information they contain by anyone other than the named recipient is prohibited. If you have received this document in error, please notify the sender and delete all copies from your computer system and destroy all hard copies. It is the recipient's responsibility to check this email and any attachments to this email for viruses before use.<br>
</font></td></tr></table>