On Wed, Apr 23, 2014 at 10:35 PM, willucf <willpettyucf@anonymised.com> wrote:
Hi,
So we recently upgraded Geoserver to version 2.5, and I noticed the change
in WMSGetFeatureInfo requests. Does anyone know if there is a way to get
the
request to work when a user clicks on a text symbolizer?( it use to before
this update)
Actually we never supported the "click" on text symbolizers (or any
symbolizers,
really), we just had a search area around the point/line/polygon used for
labelling,
we were just doing a bbox query in the underlying data source.
But you're right, if now a layer only has a text symbolizer (one that does
not
paint the underlying geometry), we won't catch anything
at all, to get results back we need to modify the code and force the
rendering
subsystem to paint the point/line/polygon from which the label originates.
Could you open a ticket on jira.codehaus.org/browse/GEOS (if you don't have
an account,
get one at xircles.codehaus.org)?
We currently use custom fonts for symbols, and I am aware of TTF Marks in
point symbolizers, but can not use them because then I lose the vendor
options available to Text symbolizers.
So basically I lose click for text, or I lose the "priority" and
"spaceAround" options I use to de-clutter data.
Any ideas?
You can force GeoServer to use the old GetFeatureInfo subsystem by adding
the -Dorg.geoserver.wms.featureinfo.render.enabled=false parameter to the
JVM used by GeoServer (how you do that, depends on what kind of install
you have).
(Also just in case someone asks why we upgrade to version 2.5, apparently
it's needed for a specific plugin)
Hmm.. uh? Not sure which plugin requires 2.5, I'd be curious to know 
Cheers
Andrea
--
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------