itemnquery problems
Richard Greenwood
richard.greenwood at GMAIL.COM
Wed Jan 9 13:50:09 PST 2008
On Jan 9, 2008 12:55 PM, william paul <williampaul28 at yahoo.com> wrote:
>
> Please, can you give an example (Rich or Siki)?
> I am using the same template for mapserver as for displaying the query
> results
>
> Thank you
>
> William
>
Below is the layer definition for the layer that displays my itemnquery results.
tc.html is my main map template file.
empty.html contains nothing at all.
The important thing is that tc.html is associated with the HEADER (or
FOOTER, as Siki pointed out), but not the TEMPLATE.
Layer
NAME "region_spatial"
TYPE polygon
DATA region
STATUS default
FILTERITEM pidn
FILTER "%pidn%"
HEADER "tc.html" # Use to display map
TEMPLATE "empty.html"
FOOTER "empty.html"
CLASS
OUTLINECOLOR 255 255 0
SYMBOL 'solid' SIZE 6
END # class
END
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
More information about the MapServer-users
mailing list