itemnquery problems

william paul williampaul28 at YAHOO.COM
Wed Jan 9 14:14:50 PST 2008


Thank you very much Rich and Siki. It's working nice

William


----- Original Message ----
From: Richard Greenwood <richard.greenwood at gmail.com>
To: william paul <williampaul28 at yahoo.com>
Cc: mapserver mapserver <mapserver-users at lists.umn.edu>
Sent: Wednesday, January 9, 2008 11:50:09 PM
Subject: Re: [UMN_MAPSERVER-USERS] itemnquery problems

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


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080109/2734b10a/attachment.htm>


More information about the MapServer-users mailing list