The itemnquery does not work
Holmand Darío Villalba Barajas
holmand24 at GMAIL.COM
Wed Sep 28 13:47:46 PDT 2005
I am doing a consultation for attributes with the itemnquery, but the
following mistake goes out for me:
msQueryByAttributes(): Query error. No query expression defined.
This is what I do:
<input type="hidden" name="item" value="CIUDAD">
<input type="hidden" name="atributo" value="nombre">
<input type="hidden" name="qlayer" value="Ciudades">
<input type="text" name="nombre" size="10">
<input type="submit" value="Consultar">
<input type="radio" name="mode" value="itemnquery">
LAYER
# name of layer
NAME "Ciudades"
GROUP "MAPAS_VECTORIALES"
# always returned with interface
STATUS ON
# actual data pointer
DATA "data/ciudades"
# what type of data is this?
TYPE POINT
FILTERITEM "CIUDAD"
FILTER "%nombre%"
TOLERANCE 5
#LABELITEM "CIUDAD"
# data is queryable
# query templates for HTML-based queries
HEADER "templates/ciudades_query_header.html"
TEMPLATE "templates/ciudades_query_body.html"
# how will this data look?
someone can say to me that it(he,she) is bad.
I use mapserver 4.x
Thank you.
More information about the MapServer-users
mailing list