HowTo: change the styling of a mapService layer
...more details to come...
Services console login: "deegree" (without the quote signs) is the default password.
2. Change layer styling
Click on the link render styles.
From the list of available layers choose utah_cities and click Edit.
You are now able to edit the text of the configuration xml file:
The top line provides information on which file you are about to edit. Below is an xml syntax highlighting editor and control buttons to Save or Cancle changes made in the editor.
Now change the first rule for <MinScaleDenominator>2000000</MinScaleDenominator>:
Change point symboliser from "square" to "star": <WellKnownName>star</WellKnownName>.
Change the fill colour from red (#FF0000) to blue (#CCCCFF): <SvgParameter name="fill">#CCCCFF</SvgParameter>
Change the size values within the <Interpolate> section from 6 to 60 and from 10 to 100.
To apply the changes, you need to click the Save button at the top of the editor. The editor window will close and the Reload link in the top left corner will turn red to inform you about changes that have not been forwarded to the server side yet.
Click the Reload button to permanently store the changes in your configuration. (Message: Applying changes. Please wait).
3. Check success
- View the layer in the map:
Go to the integrated OpenLayers client by clicking on see layers, activate the Cities layer in the layer list on the rigt hand side, and, depending on the right scale, you will get pretty hughe stars as point symbolisers for larger cities in Utah. If you are seeing red squares as point symbolisers, you are too close and need to zoom out. Remember: the changes in the style definition where made for large scales above 2000000.
4. What next ?
5. Further reading
Other pages focusing on the deegree 3 services console:
Detailed description of the deegree 3 workspace and associated configuration pages: