Thank you very much Rich and Siki. It's working nice William
----- Original Message ---- From: Richard Greenwood <[EMAIL PROTECTED]> To: william paul <[EMAIL PROTECTED]> Cc: mapserver mapserver <[email protected]> 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] www.greenwoodmap.com ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
