[mapserver-users] RE GetFeatureInfo on an WFS-Client-Layer

lars.schylberg at blixtmail.se lars.schylberg at blixtmail.se
Tue Jun 2 11:40:45 PDT 2015


I think that You need to declare a 

"wms_include_items" "all"

in the LAYER METADATA section.

or 

'wms_include_items' 'GEMEINDE, BEZIRK, BRW'

if You just would like to expose a some items.

/Lars S.



-----Originalmeddelande----- 
> Från: "Jörg Thomsen" <jt at mapmedia.de> 
> Till: mapserver-users at lists.osgeo.org 
> Datum: 2015-06-02 15:27 
> Ämne: Re: [mapserver-users] RE  GetFeatureInfo on an WFS-Client-Layer 
> 
> Am 02.06.2015 um 14:59 schrieb Steve.Toutant at inspq.qc.ca:
> > I'm confused , do you mean that you have a WFS layer that you want to
> > publish as a WMS?
> > Could you send the layer definition of your mapfile?
> > Also have a look at TEMPLATE and DUMP in the layer def
> 
> this is my mapfile:
> http://tib.osmct.de/berlin_boris_wfs.map
> 
> it has a template and dump is deprecated as I know.
> 
> Jörg
> 
> > *Jörg Thomsen <jt at mapmedia.de>@lists.osgeo.org*
> > Envoyé par : mapserver-users-bounces at lists.osgeo.org
> > 
> > 2015-06-02 08:51
> > Veuillez répondre à
> > jt at mapmedia.de
> > 
> > 
> >      
> > A
> >      "mapserver-users at lists.osgeo.org" <mapserver-users at lists.osgeo.org>
> > cc
> >      
> > Objet
> >      Re: [mapserver-users] RE  GetFeatureInfo on an WFS-Client-Layer
> > 
> > 
> >      
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Hello  Steve,
> > 
> > Am 02.06.2015 um 14:08 schrieb Steve.Toutant at inspq.qc.ca:
> >> GetFeatureInfo is a WMS request, not WFS.
> >> More details would help, to help..
> > 
> >>> I am confused, does GetFeatureInfo on an WFS-Client-Layer work?
> >>> The Capablites say the layer ist queryable, but the request-answer ist
> >>> 'no object fond'.
> > 
> > you are right. But my problem is a WFS-*client* Layer: My datasource is
> > a WFS and I want to provide a WMS. GetMap works on that wms-Layer, but
> > not GetFeatureInfo. GetFeatureInfo is enabled, but the answer is always
> > 'no object found'.
> > 
> > I would like to know if this generally should work, because I think
> > mapserver only requests the gml temporarily to render the map and then
> > there is no geodata for answering a later featureinfo-request.
> > 
> > I tested with 6.4
> > 
> > Jörg
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> > 
> > 
> > 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150602/2fdb054c/attachment.html>


More information about the mapserver-users mailing list