Working with Attributes¶
In this section you will learn how to edit an Attribute, along the way we will explore the use of styling.
To start out with lets figure out the name of that city:
Select
from the menu bar.Select the Tasmanian cities in the Layers View.
Select the
command from the menu barIn the Catalog view expand the GeoServer Web Feature Service (WFS 1.0.0) entry and select Tasmania cities.
Right Click and select Add to Current Map.
Right click on Tasmania cities in the Layers view, and click on Change Style.
This opens the Style Editor dialog.
Define the point shape using style as follow:
Select the Points page from the list on the left hand side of the Style Editor.
Choose Simple Style to access the the built in shapes.
Choose circle from the list of built in shapes.
Configure the style properties for labeling:
Ensure that Tasmania cities is still selected in the layers view, and select the Table view.
The first time you use table view you will need to accept a warning that all the features will be loaded into memory.
The Table view shows all the features for the current layer.
Go ahead and rename the city after yourself. Change the CITY_NAME attribute and you can watch the map update.
Note
Not all aspects of a feature are editable. - bounds are derived from the geometry, and ID is dictated the WFS.
Press the Commit Changes button, in the tool bar, to send your changes off to the Web Feature Server.