[mapserver-users] How do a GetFeatureInfo on a group layers

Andrea Peri aperi2007 at gmail.com
Fri Jul 27 11:39:28 PDT 2012


Hi Eichner,

thx for hint.
I try without the addition-layer.
The GetFeatureInfo now work.
But as a indesiderable secondary effect is disappeared the Group-name from
the getcapabilities.

There is some workaround to add a group-name to the getcapabilities ?

Thx,
Andrea.


2012/7/27 Eichner, Andreas - SID-NLKM <Andreas.Eichner at sid.sachsen.de>

>
> > I need to call for a GetFeatureInfo on a layer-group
> > (rt_cat.idcatbdfog).
> >
> > I guess it should return identify result from every layer of
> > the group.
>
> MS does exactly that. Specifying a layer group in QUERY_LAYERS is
> basically equivalent to specifying every layer corresponding to that
> group.
>
> Simply ommit that additional layer:
>
> >   LAYER
> >     NAME "rt_cat.idcatbdfog"
> >     TYPE POLYGON
> >     METADATA
> >      ....
> >       "ows_include_items" "all"
> >     END
> >     TEMPLATE 'void'
> >   END
>
> > Instead it is say-ing:
> >
> > msShapefileOpen(): Unable to access file. No (NULL) filename provided.
> > msBuildPath: Unable to access file.
> > msShapefileOpen(): Unable to access file. No (NULL) filename provided.
> > msBuildPath: Unable to access file.
> > msBuildPath: Unable to access file.
>
> MS is somewhat confused and tries to query that layer which has no data.
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120727/dc8efa59/attachment.htm>


More information about the MapServer-users mailing list