[Geoserver-users] About railway SLD

Hello everybody!

I would like to describe railroad tracks on the map in black-white style, could anyone tell me how to define SLD?

Thanks for your attention!

Youni

_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn

Are you wanting something that looks like traditional railroad tracks?
--|--|--|--|--|--|--|

You can draw a small image that contains one section of the railway
tracks, --|, and place that in your SLD directory. Then you can use a
GraphicStroke in your line symbolizer and have it use that image. It
should repeat the image across the line, and bend it around corners.

Here is the specification for SLD and it talks about GraphicStrokes in
LineSymbolizers: https://portal.opengeospatial.org/files/?artifact_id=1188

It should look something like this:
<LineSymbolizer>
<GraphicStroke>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="tracks.png"/>
<Format>image/png</Format>
</ExternalGraphic>
</GraphicStroke>
</LineSymbolizer>

Brent Owens
(The Open Planning Project)

ÓÆ ÄÝ wrote:

Hello everybody!

I would like to describe railroad tracks on the map in black-white
style, could anyone tell me how to define SLD?

Thanks for your attention!

Youni

_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------------------------------------------------

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