[Geoserver-users] SLD - mirror function?

Hi,

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?

Cheers,

Christine

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/SLD-mirror-function-tp5054581.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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.

Hope it helps.

David Winslow
OpenGeo - http://opengeo.org/

On May 21, 2013 6:24 AM, “cjones” <c.jones@anonymised.com> wrote:

Hi,

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?

Cheers,

Christine


View this message in context: http://osgeo-org.1560.x6.nabble.com/SLD-mirror-function-tp5054581.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


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


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi David,

Thanks for your quick reply.

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!

Thanks for your advice,

Christine

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/SLD-mirror-function-tp5054581p5054928.html
Sent from the GeoServer - User mailing list archive at Nabble.com.