[mapserver-users] QUERYFILE and SAVEQUERY

Steve Lime steve.lime at dnr.state.mn.us
Wed Aug 7 14:05:56 EDT 2002


A queryfile stores the RESULTS of a query, that is for each layer what
layers
have query results and what features are in that result set. The query
file
does not capture the nature of the original query (i.e. what mode,
query point
or whatever). It was designed to allow browsing of a query without
having to
redo it. Make sense?

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> "Ryan, Adam" <ARyan at co.linn.or.us> 08/06/02 07:00PM >>>

I've been experimenting with SaveQuery and QueryFile, and I'm not clear
on
what the .qy file is telling mapserver.

Does the .qy file specify the qlayer?  More specifically, if I
originally
queried with qlayer = "Taxlots1", could I then set my qlayer =
"Taxlots2"
and apply the queryfile to Taxlots2 (assuming that the data source was
the
same)?

What I really want to do is set the data source (I've got that done)
and the
visible features (the results of my query) of my queried layer to a
generic
'select' layer, and then browse around without calling the query
template.

Am I making any sense?

Thanks for any ideas on this,

Adam Ryan
Linn County  

 



More information about the mapserver-users mailing list