point query for multiple layers
Brent Pedersen
bpederse at NATURE.BERKELEY.EDU
Thu Jun 1 09:36:46 PDT 2006
hi,
using the mapserver CGI is it possible to do a point query on
multiple layers? im not familiar with templates, but
i'm using mode=query and sending in the list of visible layers but
TEMPLATE substitution only occurs for the last visible layer.
i have 3 layers and i'd like each of them to be queried.
do i need to do this with some code by querying each layer
independently?
thanks for any leads. layer defs below.
-brent
LAYER
NAME 'FRAP'
TYPE RASTER
TEMPLATE 'FRAP_query.html'
OFFSITE 255 0 0
DATA '/opt/web/fire/geoFRAP/firethreat.tif'
STATUS OFF
CLASS
NAME 'NA'
EXPRESSION ([pixel] = -1)
COLOR 205 204 153
END
.
.
.
END
LAYER
NAME 'WUI'
TYPE POLYGON
TEMPLATE 'WUI_query.html'
OFFSITE 255 0 0
DATA '/home/bpederse/firedata/CA_WUI'
STATUS OFF
CLASS
NAME 'Lowest'
EXPRESSION ([Cal_WUI] > 0)
OUTLINECOLOR 55 204 53
END
END
LAYER
NAME 'CODES'
TYPE POLYGON
TEMPLATE 'CODES_query.html'
OFFSITE 255 0 0
DATA '/home/bpederse/firedata/building_code'
STATUS OFF
CLASS
NAME 'Lowest'
EXPRESSION ([Building_c] > 0)
OUTLINECOLOR 255 0 0
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060601/27125685/attachment.htm>
More information about the MapServer-users
mailing list