[mapserver-users] ITEMNQUERY with regular expression filter

Richard Wood richard.wood at newgrove.com
Wed Nov 27 13:22:31 PST 2002


Hi,

I've been trying for hours now to get ITEMNQUERY to return a set of selected 
points. I'd be really grateful for some help.

The result I'm looking for is to select and zoom to more than one point with 
specific IDs. The regular expression seems to work (I tested it first as an 
EXPRESSION in the mapfile layer object). 

Thanks in advance (mapfile/CGI setting below).

Richard Wood
___________________
mode   : itemnquery
qlayer : test
filter : (([FEATID] eq 16895) or ([FEATID] eq 16880))
mapext : shapes

the mapfile contains the following layer setting

LAYER
  NAME test
  TYPE POINT
  DATA 'vectorEHCR\tblfeat'
  STATUS OFF
  
  FILTER '%filter%'
  
  CLASS
    SYMBOL 'FSSymbolHL'
    TEMPLATE 'selectTemplate.html'  
  END
END

_________________
GIS Developer
Newgrove Consultants Ltd.
118 Piccadilly 
London
W1J 7NW
Telephone: 00 44 (0) 207 569 6856
Fax: 00 44 (0) 207 569 6857
www.newgrove.com





More information about the MapServer-users mailing list