I am trying to create an SLD that presents weather data as symbols. Due to
hemispheric variations and associated recognized protocols for data
presentation, i need to be able to create a mirror image of the symbols
depending on whether they are in the northern hemisphere or the southern
hemisphere.
Does anyone know whether a 'mirror' function exists?
I do not believe that this functionality is available. You can use the Rotation property to rotate the icon by 180° (equivalent to mirroring across both the vertical and horizontal axes.). If your icons are symmetric this might do the trick.
Otherwise I think the most expedient option is to create mirrored versions of your icons and select between them in your style. I have used GraphicsMagick in the past for this type of batch image editing. The style itself could use dynamic symbolizers or simple sld filters to select between the icons.
I am trying to create an SLD that presents weather data as symbols. Due to
hemispheric variations and associated recognized protocols for data
presentation, i need to be able to create a mirror image of the symbols
depending on whether they are in the northern hemisphere or the southern
hemisphere.
Does anyone know whether a ‘mirror’ function exists?
Try New Relic Now & We’ll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
I always thought i would have to create mirrored versions of the symbols
myself but thought i might try my luck and see if a helpful function
existed! Never mind!