[Chameleon] LocateByAttribute Help
Delfos, Jacob
Jacob.Delfos at maunsell.com
Mon Oct 9 21:12:00 EDT 2006
Hi Gianluigi,
The LocateByAttribute widget should do what you need. The query is basic
(it does a match of what the user types to the attribute value), but you
can't "build" an expression based on multiple fields at the same time.
I will send you the widget separately off-list, in case you don't have
access to CVS. It comes with some documentation, but you are right in
that it is not documented in the "help viewer". The widget is quite
reliable, but I haven't really integrated it with the "Buttonizer" and
"Multi Language Tools", which I suppose why it wouldn't be included in
the normal samples. But it shouldn't be hard to just modify the labels
manually, if you need to translate it to Italian.
Please let me know if you run into any further issues.
Regards,
Jacob
________________________________
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of gianluigi
nozza
Sent: 9 October 2006 20:07
To: chameleon at lists.maptools.org
Subject: [Chameleon] LocateByAttribute Help
Hallo to everybody....
I have setup the MS4W installation with Chameleon and I am
playing around with some demo. Especially I have seen that
"sample_enhanced" demo has almost any feature I would like from a WEB
Server (at present). The only feature not present here (that I
desperatelly need) is a locate by attribute feature based upon the dbf
content of a shape file.
After having a look to the ExpressionBuilder widget I was
supposing that was the answer to my need, when I have found a reference
to an undocumented widget (LocateByAttributes) that sounds as a more
appropriate solution.
What I need to do is the following: let the user choose a layer
(and the underlying shape file), display to the user a list of the
fields available in the dbf shape file, let the user build a query
expression, show the user a list of the matched results, and to zoom out
to the extent of the feature selected by the user.
I believe that this is one of the most basic need in a Web
Server Application, so I'm wondering that no example about is available
in the chameleon installation for MS4W.
Locate feature in sample_enhanced example seems to work only
trough a dedicated? Gazetter Service (what is this ?) while I need to
setup my own Web Server.
Anybody has a working example of the LocateByAttribute /
ExpressionBuilder widgets that I can easily incorporate in the
sample_enhanced example ?
ANY, also very little help, GREATLY appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20061010/d5d2cc37/attachment.html
More information about the Chameleon
mailing list