I had already tried with "FEATURE_COUNT", but in my opinion this param is not related with this issue. When increasing "FEATURE_COUNT" the server is supposed to return several points for each layer. In this case, when I set "text/html" all these points belong to the first layer. Thank you.
Regards, Robert. > ----- Original Message ----- > From: Andrea Aime > Sent: 01/28/11 01:56 PM > To: Robert Holland > Subject: Re: [Geoserver-users] GetFeatureInfo for multiple layers in text > format does not work > > On Fri, Jan 28, 2011 at 1:40 PM, Robert Holland <[email protected]> > wrote: > > > > Hi, > > > > I am doing a GetFeatureInfo request for multiple layers. When I set the > > "INFO_FORMAT" param to "text/html" or "application/vnd.ogc.gml", it returns > > the information of all the specified layers. However, if I set this param > > to "text/plain", Geoserver just returns the information of the first layer. > > Is it the expected behavior? > > > > I am using Geoserver 2.0.2. > > I don't have a 2.0.2 handy but on a recent 2.0.x build it certainly > seems to be able > to return multiple layer response: > > http://demo.opengeo.org/geoserver/wms?REQUEST=GetFeatureInfo&EXCEPTIONS=application%2Fvnd.ogc.se_xml&BBOX=580470%2C4906552.851563%2C618510%2C4935157.148438&X=288&Y=180&INFO_FORMAT=text/plain&QUERY_LAYERS=sf%3Asfdem%2Cog%3Aroads%2Cog%3Astreams&FEATURE_COUNT=50&Layers=sf%3Asfdem%2Cog%3Aroads%2Cog%3Astreams&Styles=%2C%2C&Srs=EPSG%3A26713&WIDTH=512&HEIGHT=385&format=image%2Fpng > > Have you set the FEATURE_COUNT to a value > 1 in your request? > > Cheers > Andrea > > -- > Ing. Andrea Aime > Technical Lead > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584962313 > fax: +39 0584962313 > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.linkedin.com/in/andreaaime > http://twitter.com/geowolf > > ----------------------------------------------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
