Attribute queries have been tied to an individual layer for some time now although I don't recall what version started to strictly enforce this. The docs need an update I'm afraid...
Steve >>> On 7/21/2008 at 2:54 PM, in message <[EMAIL PROTECTED]>, "Emerson, Gabe" <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm running into trouble when I try to use ItemQuery and ItemNQuery with > a blank qlayer. Does the 5.0 release still support querying all layers > in this way? If not, what's the current method? I haven't been able to > find anything aside from Bill Kropla's text and the online list of CGI > controls, which states: > > If (qlayer) not specified then all layers are searched in turn. > > However, if I leave qlayer blank in my input form, or enter it in the > url with no value, I get the following: > > mapserv(): Web application error. Query layer not set or references an > invalid layer. > > I do have some layers which are displayed but not queryable (no > templates defined), do all layers have to be queryable before this > method will work? > > Thanks! > > -Gabe Emerson > > > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
