If you want to manually edit the SLD for the selected Layer then click on the Advanced tab.
This is the actual code editing pane and shows the code for the SLD. If you wish to find a specific word in the SLD you may use Ctrl F to display a Find & Replace dialog.
Here you can manually configure the style of your OGC Layer. Astun supply some default SLD files in the folder specified in the iShare Settings General tab SldSnippetDefinitionPath. For more information on SLD please refer to the GeoServer documentation which has plenty of examples http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/index.html.
Toolbar
There is a Toolbar at the top of the Editing pane for common functions:
- Undo - the last action
- Redo - the last action
- Cut - the selected data
- Copy - the selected data to the clipboard
- Paste - from the clipboard into the cursor position
- Currently available snippets - allows you to insert a selected snippet at the current cursor position.
- Format the SLD - clicking this button will format the SLD for you.
Code Block | |||
---|---|---|---|
| |||
| |||
<Rule> <Name>Ward</Name> <PolygonSymbolizer> <Fill> <CssParameter name="fill">#008000</CssParameter> <CssParameter name="fill-opacity">0.25</CssParameter> </Fill> <Stroke> <CssParameter name="stroke">#004000</CssParameter> <CssParameter name="stroke-width">2</CssParameter> <CssParameter name="stroke-opacity">1</CssParameter> </Stroke> </PolygonSymbolizer> <TextSymbolizer> <Label> <ogc:PropertyName>name</ogc:PropertyName> </Label> <Font> <CssParameter name="font-family">arlrdbd</CssParameter> <CssParameter name="font-size">11</CssParameter> </Font> <LabelPlacement> <PointPlacement> <AnchorPoint> <AnchorPointX>0.5</AnchorPointX> <AnchorPointY>0.5</AnchorPointY> </AnchorPoint> <Displacement> <DisplacementX>0</DisplacementX> <DisplacementY>0</DisplacementY> </Displacement> </PointPlacement> </LabelPlacement> <Fill> <CssParameter name="fill">#004000</CssParameter> </Fill> <Halo> <Radius>0</Radius> <Fill> <CssParameter name="fill"></CssParameter> </Fill> </Halo> </TextSymbolizer> </Rule> |
<Rule>
<Name>.</Name>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>circle</WellKnownName>
<Fill>
<CssParameter name="fill">#80FF00</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#008000</CssParameter>
<CssParameter name="stroke-width">8</CssParameter>
</Stroke>
</Mark>
<Size>20</Size>
</Graphic>
</PointSymbolizer>
<TextSymbolizer>
<Font>
<CssParameter name="font-family">arial</CssParameter>
<CssParameter name="font-size">8</CssParameter>
</Font>
<Fill>
<CssParameter name="fill">#000000</CssParameter>
</Fill>
<Halo>
<Radius>3</Radius>
<Fill>
<CssParameter name="fill">FFFFFF</CssParameter>
</Fill>
</Halo>
</TextSymbolizer>
...