Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you want to manually edit the SLD for the selected Layer then click on the Advanced tab. 

...

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:

...

  • In Studio, select the Layer to which you wish to apply the SLD and click Modify Style.
  • Select the Advanced tab.
  • From iShare V5.6.30 or V5.8.2 or greater -
    • Click on the Import an external SLD icon on the toolbar.
Note

Any Rules with empty literals (typically added automatically by QGIS) will be removed upon Import e.g.

Paste code macro
<Rule>
  <Name></Name>
  <Description>
	<Title>ogc_fid is ''</Title>
  </Description>
  <Filter xmlns:ogc="http://www.opengis.net/ogc">
	<PropertyIsEqualTo>
	  <PropertyName>ogc_fid</PropertyName>
	  <Literal></Literal>
	</PropertyIsEqualTo>
  </Filter>
  <PolygonSymbolizer>
	<Fill>
	  <SvgParameter name="fill">#96ce6e</SvgParameter>
	</Fill>
	<Stroke>
	  <SvgParameter name="stroke">#000001</SvgParameter>
	  <SvgParameter name="stroke-width">1</SvgParameter>
	  <SvgParameter name="stroke-linejoin">bevel</SvgParameter>
	</Stroke>
  </PolygonSymbolizer>
</Rule>



...