<!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.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=354192806-30052006>The widget currently only works for shapefiles,
unfortunately. It's to do with there not being a way in php4 (that I know of) to
iterate through all objects in a layer without getting a fatal uncatcheable
exception at the last object. I will be able to get around it in php5
(which supports "try-catch"), but it would not be backward compatible.... so I
am waiting until most people have upgraded to php5.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=354192806-30052006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=354192806-30052006>The reason it needs to iterate is that it does not use
the "query" functionality of Mapserver, because that would impose a few
limitations.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=354192806-30052006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=354192806-30052006>I will let the list know when I have found time to
make the necessary modifications.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=354192806-30052006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=354192806-30052006>regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=354192806-30052006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=354192806-30052006>Jacob</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV><BR>
<BLOCKQUOTE dir=ltr
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> chameleon-bounces@lists.maptools.org
[mailto:chameleon-bounces@lists.maptools.org] <B>On Behalf Of </B>listserver
server<BR><B>Sent:</B> 30 May 2006 14:25<BR><B>To:</B>
chameleon@lists.maptools.org<BR><B>Subject:</B> [Chameleon] RE: Locate
Widget<BR></FONT><BR></DIV>
<DIV></DIV><PRE><FONT size=4><SPAN style="COLOR: rgb(255,0,0)">Hi Jacob, </SPAN></FONT><BR><BR>this widget can be used with postgis layers?<BR><BR>i've followed the instruction that comes with the widget but i've same problem as here
<A href="http://lists.maptools.org/pipermail/chameleon/2006-May/004098.html">http://lists.maptools.org/pipermail/chameleon/2006-May/004098.html</A> <BR>and here <A href="http://lists.maptools.org/pipermail/chameleon/2006-April/003890.html">
http://lists.maptools.org/pipermail/chameleon/2006-April/003890.html</A> i cannot see attributes!<BR><BR>Maybe works only with shape files??<BR><BR><BR>.....<BR>Hi Sigurjon,<BR><BR>The widget I made is now part of the normal Chameleon distribution, and sits in the
2.4 package. You can download Chameleon 2.4 here:<BR><A href="http://chameleon.maptools.org/index.phtml?page=downloads.html">http://chameleon.maptools.org/index.phtml?page=downloads.html</A><BR><BR>There's a demo running here, which has the widget:
<BR><A href="http://geo.maunsell.com/chameleondemo/index.phtml">http://geo.maunsell.com/chameleondemo/index.phtml</A><BR><BR>The widget is called "LocateByAttribute", and it can sit in the page as an Iframe, meaning it's embedded. Let me know if you run into any trouble with it.
<BR><BR>Regards,<BR><BR>Jacob<BR><BR><BR></PRE></BLOCKQUOTE></BODY></HTML>