Queryfile and Savequery CGI Help
Richard Greenwood
richard.greenwood at GMAIL.COM
Thu Jun 9 05:36:40 PDT 2005
David <dls <at> INFORMGIS.COM> writes:
>
> Hi All,
>
> I'm trying to use CGI mapserver and have run into some confusion about the
> queryfile and savequery parameters. The cgi reference manual says that
> you can use the queryfile parameter within a Browse mode to have your
> selection stay highlighted while you zoom/pan after performing the initial
> query.
In your initial query, set savequery=true. This will save the in your temp
directory with a unique (and rather long) name. Then on subsequent queries set
queryfile=/path/to/unique_long_name.qy
An example is at:
http://www2.tetonwyo.org/mapserver
Start out with a property search for 'smith' and then watch what happens on the
address bar.
Rich
More information about the MapServer-users
mailing list