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

2009-03-21 Thread Richard Greenwood
On Thu, Mar 12, 2009 at 11:04 PM, Steve Lime steve.l...@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

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

2009-03-20 Thread Paul Spencer
Steve, we use this feature in Fusion via mapscript to save the result of a spatial or attribute query and then via the CGI (via OpenLayers by merging new params queryfile=) to draw the query when rendering the map. It is a *very* convenient and seemingly lightweight (at least in coding

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

2009-03-16 Thread BrainDrain
I need queryfiles to persist query results (serialize to string/binary method wanted!) as a part of whole map 'state'. But I need more convenient, handy way to configure style of queried (selected) features. Style section to setup {border (color, line pattern, transparency), filling (color, fill

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

2009-03-16 Thread Steve Lime
The problem we have is that to efficiently process result sets from database-based drivers we need to reference rows in the result set rather than rows in the dataset. That means the results (with those types of DATA/CONNECTIONs) can't be cached using the current mechanism. Shapefiles would still

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

2009-03-16 Thread Steve Lime
We may need to consider caching to a shapefile or something like that. You'd be free then to reference that file as a layer. Slinging ids around is another idea I've used with OpenLayers. You pass the id into a selection layer by changing an expression on-the-fly and in that case you'd have full

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

2009-03-15 Thread Martin Kofahl
We use them with MapScript. Maybe it's possibile to activate saved queries only with with a compiler option? Steve Lime 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

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

2009-03-12 Thread Steve Lime
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