[Mapserver-users] How can I get the query info programatically?
ealpert at digitalglobe.com
Wed May 19 11:20:39 EDT 2004
Ok I see how this is done it a perl script but this doesn't match how
I'm currently using mapserv. Perhaps I wasn't clear in my original
I have a LAYER defined using TEMPLATE, HEADER, FOOTER. Theses are used
to display spatial query results which are driven by dbox selections.
The problem for me is I'd like to do more inteligent things with the
results of the query but appear to be limited to HTML and client side
TEMPLATE,HEADER,FOOTER is html. I'd like to use php or perl in the page
to grab more information from my DB's to display based on the query
Does this make sense? Is there an alternative to using TEMPLATE,HEADER,
FOOTER in my mapfiles? Is it possible for TEMPLATE,HEADER,FOOTER to be
php files? I may be mistaken but I've been unable to find answers.
Also how does one search the archives by keyword? The mailman interface
displays only by date which doesn't make searching very practical.
From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com]
Sent: Tuesday, May 18, 2004 6:32 PM
To: Ethan Alpert; MapServer List
Subject: Re: [Mapserver-users] How can I get the query info
THere are ac bunch of Query examples at
for mapserver 3.5 but on the bottom is an example mapserver 4.2. Look at
the quake.pl I think that does some query stuff.
I also check the archives, because this has been asked before. I thought
there was a straight forward query example, but I can't seem to locate
the one I was thinking of. Once you get your example worked out you
might want to post it to the wiki for others.
Ethan Alpert wrote:
> Any chance you can be more specific? I've been to the docs several
> times looking for how to do this and I'm not finding what I'm looking
> I need to access information about items that were selected with a
> -----Original Message-----
> From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com]
> Sent: Tuesday, May 18, 2004 5:39 PM
> To: Ethan Alpert
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: Re: [Mapserver-users] How can I get the query info
> Yes, and there are examples. See
> Ethan Alpert wrote:
>>I'd like to get the information of the items selected in a query. The
>>template approach isn't quite what I'm looking for. Is there a way to
>>extract this info with perl (or php) mapscript?
>>Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu
More information about the mapserver-users