Hi all, I posted this query on another forum four days ago but while it
received some views there have been no replies so far. I sincerely hope it
isn't breaking netiquette to post it now, somewhat rephrased, here. Do
advice if this is the case however.
We are running an instance of the OpenGeo Suite, 3.0.1, with GeoServer 2.2.
For a lot of point symbology SVG graphics in the style of "pins" or
"pointers" are used (like an arrow pointing at a location). As such the
geographic points are not at the center of the symbol, and the symbols are
therefore offset.
The SVG point symbol offset can happen with a bunch of transparent pixels at
one end of the SVG file, as suggested here.
http://docs.geoserver.org/latest/en/user/styling/sld-extensions/pointsymbols.html
. If so then the transparent pixel area of the SVG symbol will still yield a
getFeatureInfo reply for the point when clicked:
<http://osgeo-org.1560.x6.nabble.com/file/n5064319/A.png>
The alternative is to use the "offset" function in the SLD. The SVG symbol
(without a bit of transparent pixels) is then visibly offset but the
getFeatureInfo search area still appears centered on the (coordinates of)
the actual point:
<http://osgeo-org.1560.x6.nabble.com/file/n5064319/B.png>
Is there a way to make the search area match the offset symbol rather than
the point in GeoServer?
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/SLD-point-symbology-offset-via-svg-or-SLD-function-getFeatureInfo-search-area-does-not-follow-tp5064319.html
Sent from the GeoServer - User mailing list archive at Nabble.com.