[mapserver-users] How do a GetFeatureInfo on a group layers
Eichner, Andreas - SID-NLKM
Andreas.Eichner at sid.sachsen.de
Fri Jul 27 07:11:13 PDT 2012
> 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.
More information about the MapServer-users
mailing list