On Wed, May 9, 2012 at 10:43 PM, cheesybiscuits <thomaschrist...@gmail.com> wrote: > I know this is an old thread but I was thinking about how getFeatureInfo > might work under the covers and Andrea's description of layer ordering and > only querying what the user can see is what I would expect to happen. > > Regarding "most servers just query all the layers without checking what is > hidden and what is visible graphically" does this include GeoServer (2.1.3)? > > I also assumed that the server would consider symbology, so if I have a > 250x250 px icon GeoServer would know that I didn't have to click on or near > the underlying geographic location to select it. > > Are my expectations / assumptions correct, or is GetFeatureInfo's logic > actually less sophisticated?
Hum, yes and no. The code in the released version tries to take into account all symbolizer sizes, but due to this bug https://jira.codehaus.org/browse/GEOS-5112 the buffer distance evaluator did not take into account the size of external graphics unless you explicitly declared it in the SLD file, but leaving instead the icon at its natural size. The issue should be fixed now, if you want to try out the fix try using the latest nightly build here: http://gridlock.opengeo.org/geoserver/2.1.x/ 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 mob: +39 339 8844549 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users