[Mapserver-users] Use of qstring in CGI itemquerymap
Randy James
rjames57 at yahoo.com
Fri Oct 24 13:50:48 PDT 2003
Hi
So you are positive that the binary 3.6 and the binary 4.0
were compiled with the exact same version of regex? I did
not think it would compile, so thats it for my input, good
luck.
anyway i'll post a clip of my itemquery that works for me;
<!-- search form -->
<form method="get"
action="http://192.168.xx.xx/cgi-bin/mapserv";>
<input type="hidden" name="map"
value="/var/www/html/gis/maps/my-map.map">
<input type="hidden" name="mapext" value="shapes">
<input type="hidden" name="savequery" value="true">
<input type="hidden" name="mode" value="itemquery">
<input type="hidden" name="qlayer" value="my-shape-file">
<input type="hidden" name="qitem" value="my column name">
<input type="TEXT" size="30" name="qstring" value="">
<input type="submit" value="Search">
</form>
<!-- /search form -->
Cheers
Randy
--- "Martin, Daniel A" <Daniel.A.Martin at erac.com> wrote:
> Not necessarily true. I'm using Windows, with
> pre-compiled binaries. I tried the regular expressions
> that used to work, and they no longer seem to work in
> 4.0.
>
> Itemquery and itemquerymap only differ in that modes
> ending in "map" return only an image, and are used within
> an img tag, such as <img
>
src="http://myserver/cgi-bin/mapserv.exe&mode=itemquerymap&...
> This works with any mode available. Functionally they
> are nearly the same.
>
> -Dan
>
> > -----Original Message-----
> > From: Randy James [mailto:rjames57 at yahoo.com]
> > Sent: Friday, October 24, 2003 2:57 PM
> > To: Martin, Daniel A
> > Subject: Re: [Mapserver-users] Use of qstring in CGI
> itemquerymap
> >
> >
> > Hi
> >
> > The documentation for regex will be on your system you
> used
> > to compile mapserver. It depends on what version of
> regex
> > you used while compiling.
> >
> > But rereading your question i was thinking of itemquery
> not
> > itemquerymap.
> >
> > Cheers
> > Randy
> > --- "Martin, Daniel A" <Daniel.A.Martin at erac.com>
> wrote:
> > > I've found plenty of documentation about the new CGI
> > > attribute query techniques in MS 4.0, using qstring.
> But
> > > all this documentation says "Query string passed to
> the
> > > query function," or "a valid MapServer expression,
> string
> > > comparison, regular or logical".
> > >
> > > But I can't find any good documentation on what I
> need to
> > > do to get my itemquerymap working in 4.0 (was working
> in
> > > 3.6). I can't seem to find any helpful documentation
> on
> > > MapServer expressions.
> > >
> > > Any help is appreciated,
> > > Dan Martin
> > >
> > > _______________________________________________
> > > Mapserver-users mailing list
> > > Mapserver-users at lists.gis.umn.edu
> > >
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Shopping - with improved product search
> > http://shopping.yahoo.com
> >
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
More information about the MapServer-users
mailing list