Query wildcards

Xin crazygecko at GMAIL.COM
Wed Apr 12 05:03:00 EDT 2006


Try

&qstring=('[KABELNAAM]'=/^RING.*/')

Remeber MapServer regular expressions are case sensitive.  To do an case
insensitive search, you will need to manually alter the expression to
something like:

&qstring=('[KABELNAAM]'=/^(r|R)(i|I)(n|N)(g|G).*/')

Good luck.

Xin

On 10/04/06, Bart van den Eijnden (OSGIS) <bartvde at xs4all.nl> wrote:
>
> I haven't tried but maybe use qitem=KABELNAAM&qstring= /^Z.*/
>
> Best regards,
> Bart
>
> Jelmer Baas wrote:
>
> > Bart van den Eijnden wrote:
> >
> >> You should use regex to get that behaviour, for instance LIKE Z*
> >> would be:
> >>
> >> EXPRESSION /^Z.*/
> >
> >
> > Awesome, thanks. Though, I have no clue how to put that in the query
> > below. Another bump in the right direction, please?
> >
> > Sorry, but I'm not used to regex'es.
> >
> >>> My current query is
> >>> &qstring=('[KABELNAAM]'='RING7')
> >>
> >
> >
> >
>
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060412/99a4ae4d/attachment.html


More information about the mapserver-users mailing list