<div class="gmail_quote">On Wed, Sep 14, 2011 at 6:47 PM, Tito, Joseph <span dir="ltr"><<a href="mailto:Joseph.Tito@cobham.com">Joseph.Tito@cobham.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">I’m running into an issue with GeoServer when I have multiple points that are at the same location. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Is there any way to tell GeoServer to get information on multiple points that are at the same location?</p></div></div></blockquote><div><br></div><div>By WMS spec, if not otherwise specified, you get back only the first result.</div>
<div>You can get more result if you ask for more than one adding &FEATURE_COUNT=nn, for example:</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div><a href="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">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</a></div>
<div><br></div><div>Cheers</div><div>Andrea</div></div><div><br></div>-- <br>-------------------------------------------------------<br>Ing. Andrea Aime<br>GeoSolutions S.A.S.<br>Tech lead<br><br>Via Poggio alle Viti 1187<br>
55054 Massarosa (LU)<br>Italy<br><br>phone: +39 0584 962313<br>fax: +39 0584 962313<br><br><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a><br><a href="http://geo-solutions.blogspot.com/" target="_blank">http://geo-solutions.blogspot.com/</a><br>
<a href="http://www.youtube.com/user/GeoSolutionsIT" target="_blank">http://www.youtube.com/user/GeoSolutionsIT</a><br><a href="http://www.linkedin.com/in/andreaaime" target="_blank">http://www.linkedin.com/in/andreaaime</a><br>
<a href="http://twitter.com/geowolf" target="_blank">http://twitter.com/geowolf</a><br><br>-------------------------------------------------------<br>