hello there! Can anyone show me an example of SLD for mapserver which using OSM data (shapes). I have already done the styles for geoserver but it doesn't work like SLD files in the mapserver.<br>First, when I used osm-style for roads:<br>
..........<br><TextSymbolizer><br> <Label><br> <ogc:PropertyName>REF</ogc:PropertyName><br> </Label><br> <Font><br> <CssParameter name="font-family">Lucida Sans</CssParameter><br>
<CssParameter name="font-size">10</CssParameter><br> <CssParameter name="font-style">normal</CssParameter><br> <CssParameter name="font-weight">bold</CssParameter><br>
</Font><br> <Fill><br> <CssParameter name="fill">#ffffff</CssParameter><br> <CssParameter name="fill-opacity">1.0</CssParameter><br>
</Fill><br> <VendorOption name="group">yes</VendorOption><br> <VendorOption name="spaceAround">0</VendorOption><br> <VendorOption name="repeat">750</VendorOption><br>
<Graphic><br> <ExternalGraphic><br> <OnlineResource xlink:type="simple" xlink:href="symbols/tru_shield5.png"/><br> <Format>image/png</Format><br>
</ExternalGraphic><br> <Size>18</Size><br> </Graphic><br> </TextSymbolizer><br>........<br>I got this:<br>..........<br> LABEL<br> SIZE MEDIUM<br>
TYPE BITMAP<br> BUFFER 0<br> COLOR 255 255 255<br> FORCE FALSE<br> MINDISTANCE -1<br> MINFEATURESIZE -1<br> OFFSET 0 0<br> PARTIALS TRUE<br> POSITION CC<br> END<br>
STYLE<br> ANGLE 360<br> COLOR 168 218 168<br> SIZE 2<br> SYMBOL "sld_line_symbol"<br> WIDTH 1<br> END<br> TEXT ([REF])<br> END<br>SYMBOL<br> NAME "sld_line_symbol"<br>
TYPE ELLIPSE<br> FILLED TRUE<br> POINTS<br> 1 1<br> END<br> END<br>.............<br> Second, I tried to get style for the railroads like <br><LineSymbolizer><br> <Stroke><br>
<CssParameter name="stroke">#ffffff</CssParameter><br> <CssParameter name="stroke-width">5</CssParameter><br> <CssParameter name="stroke-linejoin">round</CssParameter><br>
</Stroke><br> </LineSymbolizer><br> <LineSymbolizer><br> <Stroke><br> <CssParameter name="stroke">#4B4B4B</CssParameter><br>
<CssParameter name="stroke-width">3</CssParameter><br> <CssParameter name="stroke-linejoin">round</CssParameter><br> </Stroke><br>
</LineSymbolizer><br> <LineSymbolizer><br> <Stroke><br> <CssParameter name="stroke">#ffffff</CssParameter><br>
<CssParameter name="stroke-width">2</CssParameter><br> <CssParameter name="stroke-linejoin">round</CssParameter><br> </Stroke><br>
</LineSymbolizer><br> <LineSymbolizer><br> <Stroke><br> <CssParameter name="stroke">#878787</CssParameter><br>
<CssParameter name="stroke-width">4</CssParameter><br> <CssParameter name="stroke-linejoin">round</CssParameter><br> <CssParameter name="stroke-dasharray">1 8</CssParameter><br>
</Stroke><br> </LineSymbolizer><br>.................<br>but I got the poor style.<br><br>Please, help me in this issue! I need osm-style.sld for roads,railroads,landuse... Mapserver version 5.6.6 <br clear="all">
<br>-- <br>lernen,lernen und lernen<br><br>