On Wed, Sep 14, 2011 at 6:47 PM, Tito, Joseph <[email protected]>wrote:
> I’m running into an issue with GeoServer when I have multiple points that > are at the same location. **** > > ** ** > > I plotted 2 points at the exact same Lon/Lat. When a user clicks on a > feature, I do a getFeatureInfo request, but GeoServer is only returning > information on 1 of the 2 features at that location.**** > > ** ** > > Is there any way to tell GeoServer to get information on multiple points > that are at the same location? > By WMS spec, if not otherwise specified, you get back only the first result. You can get more result if you ask for more than one adding &FEATURE_COUNT=nn, for example: http://demo1.geo-solutions.it/playground/GeoSolutions/wms?REQUEST=GetFeatureInfo&EXCEPTIONS=application%2Fvnd.ogc.se_xml&BBOX=-32.60931%2C22.486191%2C69.31031%2C74.309727&SERVICE=WMS&VERSION=1.1.1&X=375&Y=174&INFO_FORMAT=text%2Fhtml&QUERY_LAYERS=GeoSolutions%3Acities&Layers=GeoSolutions%3Acities&WIDTH=649&HEIGHT=330&format=image%2Fpng&styles=&srs=EPSG%3A4326&FEATURE_COUNT=50 Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf -------------------------------------------------------
------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
