[mapserver-users] Query all layers with blank qlayer?

Steve Lime Steve.Lime at dnr.state.mn.us
Mon Jul 21 13:17:50 PDT 2008


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
<348277DFCE9FF044B3812A6CF459CD37DCC725 at welshmail.welshco.com.local>, "Emerson,
Gabe" <gemerson at WelshCo.com> 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
> mapserver-users at lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list