first you have to define the user interface that allows to define operators 
other than 'is_equal'. Then you have to transfer this additional information to 
the search function in query.php -> q_execAttributeQuery() and create the 
appropriate search string modifying 'returnVar()' (where the '=' or '=~' 
operation is hardcoded). Because Maperver uses quite different filter 
definitions for shapefiles and PostGIS you have to modify this at several 
places.

armin



-------- Original-Nachricht --------
Datum: Mon, 21 Aug 2006 05:25:18 -0400 (EDT)
Von: "Radhika" <radhikadubey at infobase.in>
An: pmapper-users at faunalia.it
Betreff: [Pmapper-users] implement search based on expression

> 
>   Hi Armin,
>            P.mapper search can be performed on field value which
>            we write in text box, but if i want to perform search
>            based on expressions ( for example : population > 800000)
>            than how can i perform search based on logical expressions.
> 
>   regards
>      radhika.
> 
> 
> -----------------------------------------
> NOTICE: This e-mail message including any attachment (collectively the
> "e-mail")
> may contain privileged and confidential information. Except for personal
> use  by
> the intended recipient, or as expressly authorized by the sender, any
> person who
> receives this information is prohibited from disclosure, copy, distribute,
> or 
> take of any action in reliance on the contents of this e-mailed
> information.  If
> you are not the intended recipient, then please (i) do not read, forward,
> print,
> copy or otherwise disseminate this e-mail, (ii) notify us of the error by
> a reply,
> and (iii) delete this e-mail from your computer. Nothing in this
> communication is 
> intended to operate as an electronic signature under applicable law.
> Compare 
> Infobase will not be responsible for loss or damage arising from the use
> of the
> information transmitted by this email including damage from virus or some
> other
> third party intervention
> 
> 
> _______________________________________________
> Pmapper-users mailing list
> Pmapper-users at faunalia.it
> http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Reply via email to