Stela Did you have a look at openlayers example http://openlayers.org/dev/examples/ See Feature Info in popup It will work with a Mapserver WMS.
You got to define an OL control You also have to make your layer queryable, in your mapfile define a tolerance and a template. Steve stela anders <stelaand...@gmail.com>@openlayers.org Envoyé par : users-boun...@openlayers.org 19/01/2010 07:37 AM A bwoodall <bwood...@bwoodall.org> cc openlayers user list <us...@openlayers.org>, mapserver-users <mapserver-users@lists.osgeo.org> Objet Re: [OpenLayers-Users] [Fwd: WMSGetFeatureInfo with Mapserver] Thanks, but do you have any sample and how use WMSGetFeatureInfo with Mapserver ? Stella 2010/1/19 stela anders <stelaand...@gmail.com> Thanks... 2010/1/14 bwoodall <bwood...@bwoodall.org> Howdy, Granted it has been awhile since I played with the OL WMS code, but I think the only way is to use the TOLERANCE and TOLERANCE-UNITS in the LAYER for mapserver to get the desired 'BBOX' type results. http://mapserver.org/mapfile/layer.html?highlight=tolerance Hope that helps ..Bill, On Thu, 2010-01-14 at 15:23 -0500, Stephen Woodbridge wrote: > Stella, > > I forwarded this to the lists because there are more people there that > might be able to help. If you are not signup to these lists I recommend > that you sign up. > > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > Users mailing list > us...@openlayers.org > http://openlayers.org/mailman/listinfo/users > > -Steve > > -------- Original Message -------- > Subject: WMSGetFeatureInfo with Mapserver > Date: Thu, 14 Jan 2010 15:57:34 -0300 > From: stela anders <stelaand...@gmail.com> > To: wood...@swoodbridge.com > > > > Hello! > > I´m trying to implement tha sample : > http://dev.openlayers.org/releases/OpenLayers-2.8/examples/getfeatureinfo-control.html > > with mapserver... > But I kind of lost... > Could you send-me any sample how to do that? > And is possible to use a BOX instead a POINT to query? > > Thanks for the help > > Stella > _______________________________________________ > Users mailing list > us...@openlayers.org > http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list us...@openlayers.org http://openlayers.org/mailman/listinfo/users
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users