[mapserver-users] Prevalence of the use of queryfiles...

Richard Greenwood richard.greenwood at gmail.com
Sat Mar 21 08:56:48 EDT 2009


On Thu, Mar 12, 2009 at 11:04 PM, Steve Lime <Steve.Lime at dnr.state.mn.us> wrote:
> Hi all: Consider this a survey of sorts. I'm wondering how many of you make use of saving queries, either via the CGI or MapScript. It's an old feature that isn't terribly useful and I'm trying to understand the pain the community might incur if they go away in 6.0. If you didn't know they existed or how you might use them then it's safe to say you don't need 'em.
>
> Steve

This is more of a vote in support of the elimination of queryfiles and
my comments more for people who do use queryfiles. I used to use
queryfiles alot but I no longer do. The main reason that I stopped
using them is because of their limited persistence. If a user
highlights a result set and bookmarks it, and then I delete all
temporary files from my server in a nightly cron job, their link is
broken.

I have found that persisting the original query in the filter
parameter is just as easy as using queryfiles. Maybe this is slower
because the query gets executed each time the map is refreshed. And
maybe there are other benefits of queryfiles that I have never taken
advantage of.

Rich

-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com


More information about the mapserver-users mailing list