You can also use dynamic symbolizers for this, which may produce a shorter
SLD:
http://docs.geoserver.org/stable/en/user/styling/sld-extensions/pointsymbols.html#dynamic-symbolizers
On Tue, Jan 29, 2013 at 10:31 PM, mano3688 <[email protected]> wrote:
> I founded alternate solution for this issue.
> I have added static image instead of dynamic images.
> In my laver have 5 "Ikon" unique name is there and I have same name images
> in local folder.
> So I have modified sld like.
> <ogc:Filter>
> <ogc:PropertyIsEqualTo>
> <ogc:PropertyName>Ikon</ogc:PropertyName>
> <ogc:Literal>tag_bla</ogc:Literal>
> </ogc:PropertyIsEqualTo>
> </ogc:Filter>
> <PointSymbolizer>
> <Graphic>
> <ExternalGraphic>
> <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:type="simple"
> xlink:href="http://localhost:8080/mgmapper/icons/tag_bla.png"/>
> <Format>image/png</Format>.
>
> Same Way I wrote for other values also.
> Now I wrote 5 Rule in my sld file.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/Dynamic-url-s-is-not-working-for-external-graphics-in-SLD-tp5030289p5030835.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users