[Mapserver-users] execute two querys at the same time
Nicole Bömeke
bon at ivv-aachen.de
Mon May 5 04:18:59 PDT 2003
Hello list,
is it possible to execute two or more querys
over different layers at the same time
and mark the query results in different colors?
If yes, how can I define more than one qlayer?
And where can I determin the hilite color
for the query result of each layer?
To execute a query I'm using the following code:
template file:
------------------
<input type="hidden" name="mode" value="itemnquery">
<input type="hidden" name="mapext" value="shapes">
<input type="hidden" name="qlayer" value="rqF">
<input type="hidden" name="map_rqF_filter"
value="/0000156946|0000156957|0000156955|0000156956/">
mapfile:
-----------
QUERYMAP
STATUS ON
STYLE HILITE
COLOR 255 0 255
END
LAYER
NAME "rqF"
DATA "gesamt_fgo"
STATUS OFF
TYPE LINE
FILTERITEM "sStrNr"
FILTER "%map_rqF_filter%"
CLASS
NAME "rqF"
SYMBOL "circle"
SIZE 6
TEMPLATE "empty.html"
END
FOOTER "rrt_query_mode.html"
END
Nicole
More information about the MapServer-users
mailing list