[mapserver-users] Getting more results in itemnquery

Pedro A. Carrasco pcarrasco at iver.es
Tue Jul 30 08:07:13 EDT 2002


Hi all,
I'm making a query to de map file using the cgi paramenters, the URL is:

http://213.172.37.190/scripts/mapserv.exe?map=c:/Cartografia/mapa/spain.map&
mode=itemnquery&qlayer=buspobqr&name=Sitges

I'm trying to find Sitges and it find it, but, How can I made it to found
for example all the names that start in Sit?, the layer in the map file is
defined like:

  layer
    name "buspobqr"
    data "medianas"
    status ON
    type query
    filteritem "NOMBRE"
    filter "%name%"
    class
      template "buspobs.xml"
    end

and the template is:

<nombre>[NOMBRE]</nombre>
<mapa>[img]</mapa>

Thanks in advance.
Regards.
---------------------------------------------------------------------
Pedro A. Carrasco Ponce
IVER Sistemas de Información Geográfica
Dpto. Técnico
C/Salamanca, 50
46005 Valencia
Telf: +34 96 316 34 00
Fax: +34 96 316 2716
mail : pcarrasco at iver.es
web : http://www.iver.es
---------------------------------------------------------------------






More information about the mapserver-users mailing list