[mapserver-users] WMS GetFeatureInfo on a WFS layer

Yewondwossen Assefa yassefa at dmsolutions.ca
Thu Mar 25 06:55:14 PDT 2010


Hi Yves,

 Couple of things:
 
  First of all, you you should be able to do a GetFeatureInfo request on 
this WFS layer. There is a bug with latest versions of MapServer I 
believe trink and possibly 5.6 (I only test trunk). The bug is described 
at http://trac.osgeo.org/mapserver/ticket/3403, and It should now be 
fixed in svn. If you are builiding aginst trunk, please give it a try.

 Other notes on
   - I usually have a  "ows_latlonboundingbox" set on the wfs layer
   - I usually add &RADIUS=2 when doing a GetFeatureInfo request.

hope it helps.

best regards,

Yves Jacolin wrote:
> Hi Arnd,
>
> Thanks for your answer We will try an other way.
>
> The 2nd given url is really a WFS server, I successfully send a 
> GetFeature request with filter parameter. :)
>
> Thanks again,
>
> Y.
>
> 2010/3/24 Arnd Wippermann <arnd.wippermann at web.de 
> <mailto:arnd.wippermann at web.de>>
>
>     Hi,
>      
>     as I know, you cann't request a WMS or WFS through a connection in
>     your mapfile (results to "Search return no result"). Only with own
>     data added as shapefile and so on, you can get a result for
>     GetfeatureInfo requests. Wether mapinfo via ogr cann't request, i
>     have no clue. But I would think, it should be possible.
>      
>     I have checked, that the url is a valid wfs server, also it seems,
>     that it points to a wms server.
>      
>     Arnd
>
>     ------------------------------------------------------------------------
>     *Von:* mapserver-users-bounces at lists.osgeo.org
>     <mailto:mapserver-users-bounces at lists.osgeo.org>
>     [mailto:mapserver-users-bounces at lists.osgeo.org
>     <mailto:mapserver-users-bounces at lists.osgeo.org>] *Im Auftrag von
>     *Yves Jacolin
>     *Gesendet:* Mittwoch, 24. März 2010 10:24
>     *An:* mapserver-users
>     *Betreff:* [mapserver-users] WMS GetFeatureInfo on a WFS layer
>
>     Hi,
>
>     I added a WFS layer in my mapfile and I am using MapServer as a
>     WMS server. I would like to send a GetFeatureInfo request on this
>     WFS layer but I always get a "Search return no result" as answer.
>
>     Is it possible to request such layer? I get same problem with an
>     OGR connection (mapInfo file). Does the problem could occur only
>     with a polyline feature if we click always too far of the feature?
>
>     Or the problem occur from the WFS service?
>
>     The WFS service I want to request in my WMS service is
>     http://carto.ecologie.gouv.fr/MEDD/wms.php?service_idx=17W&map=sacarte.map
>     <http://carto.ecologie.gouv.fr/MEDD/wms.php?service_idx=17W&map=sacarte.map>
>
>     Thanks in advance for your help,
>
>     Y.
>     -- 
>     Yves Jacolin
>     Responsable Formation et Support
>     Camptocamp France SAS
>     Savoie Technolac, BP 352
>     73377 Le Bourget du Lac Cedex
>     Tel : + 33 (0)4 79 26 57 97
>     http://www.camptocamp.com
>     yves.jacolin at camptocamp.com <mailto:yves.jacolin at camptocamp.com>
>
>
>
>
> -- 
> Yves Jacolin
> Responsable Formation et Support
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac Cedex
> Tel : + 33 (0)4 79 26 57 97
> http://www.camptocamp.com
> yves.jacolin at camptocamp.com <mailto:yves.jacolin at camptocamp.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>   


-- 
----------------------------------------------------------------
Assefa Yewondwossen           
Software Analyst   

Email: yassefa at dmsolutions.ca    
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------





More information about the MapServer-users mailing list