itemnquery problems
Fawcett, David
David.Fawcett at STATE.MN.US
Wed Jan 9 12:01:38 PST 2008
Please share the html snippets used for each of your templates and we
can show you how to swap them around.
-----Original Message-----
From: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of william paul
Sent: Wednesday, January 09, 2008 1:55 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] itemnquery problems
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
----- Original Message ----
From: Richard Greenwood <richard.greenwood at GMAIL.COM>
To: MAPSERVER-USERS at LISTS.UMN.EDU
Sent: Wednesday, January 9, 2008 3:30:54 PM
Subject: Re: [UMN_MAPSERVER-USERS] itemnquery problems
On Jan 9, 2008 5:37 AM, william paul <williampaul28 at yahoo.com>
wrote:
>
> Hi:
> I am using itemnquery mode to display results obtained from a
database
> query. The url looks like:
>
>
...mode=itemnguery&qlayer=qlayer&qitem=fieldtoquery&qstring=/value1|valu
e2|valuen/
>
> The spatial extent of the image is correct and I can see all
the features
> selected, but the entire web page page is displayed 14 times
>
> Any help is appreciated
>
> Thank you
>
> William
Most likely you got 14 results, so MapServer drew 14 maps for
you. If
you want all 14 results shown in a single map, try moving your
template definition from TEMPLATE to HEAD, and using an empty
file for
the TEMPLATE.
Rich
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com <http://www.greenwoodmap.com/>
________________________________
Never miss a thing. Make Yahoo your homepage.
<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080109/3ea14815/attachment.htm>
More information about the MapServer-users
mailing list