Feature Editing prior to V5.8.0
5.4.0-5.6.N
Enter Feature Editing mode
In order to display the Feature Editing for a selected Layer you will need to select the Edit Features icon from the available Actions for the Layer.
The Select feature tab will be pre-selected so all you have to do is select the feature on the map if you wish to edit an existing feature or click on the New feature tab to create a new one.
Creating a new Feature
The first thing you have to do is to create the Geometry for your new Feature. Depending upon the type of layer you can click on the map to create a point, draw a line or polygon by clicking on the map for each node and then double clicking when you have reached the end.
Once you have drawn the feature on the map you will then be able to enter the Data into the fields in the Feature Editing panel.
Click Save to save your new feature or Discard to return to Feature Editing without creating your new feature. Once you have clicked Save the geometry and data will be saved and you will notice that the Select feature button has been selected, instead of the New feature.
Editing an existing Feature
Once you have selected the feature that you wish to edit by clicking on it on the map the point, line or polygon feature will be highlighted and the contents of the individual fields displayed in the left hand Feature Editing panel.
If you decide that you have selected the wrong feature you will need to click the Discard button before clicking on the map to pick a different feature.
If you should select more than one feature then you will be asked to Choose feature by clicking the Edit button of the entry you wish to edit. If you are not sure which you want either hover over the Details link and the feature will be highlighted on the map or click on the link to display more feature details. e.g.
If you would like to see a name / description for a feature in the Choose feature list - see the Address in the above example - then you will need to have specific field names in your layer.
- The unique field will always be added to the title (which is usually the ogc_fid)
- If you want certain information to be added to the title, the field name should be called either name, nam or title (or a combination thereof)
- You can add a description field by having one or more fields called (description, desc or descriptio)
Editing the Feature Data
To edit the feature data simply over-type or select new entries in the boxes provided e.g.
Editing the Feature Geometry
If you wish to move a point feature select it on the map and drag it to a new position. To move an entire line or polygon feature you need to find the node near the middle of the feature and drag it to a new position - see the node outlined in pink in the diagram below. You can also rotate a line or polygon by selecting the node just outside the feature - see the node outlined in red below.
If you wish to change the direction of a line or side of a polygon use the slightly more transparent nodes outlined in green above to drag to a new position. You can also select the existing nodes and drag them.
Saving your Changes
If you decide that you do not wish to keep your changes, or you wish to edit a different feature, then click the Discard button. To keep your changes click Save or to delete the entire feature click Delete.
Deleting an existing Feature
First you need to select the Feature that you wish to delete from the map. As with editing, if you should select more than one feature then you will be asked to Choose feature by clicking the Edit button of the entry you wish to edit.
Once you are happy that you have chosen the correct Feature, click the Delete button at the bottom of the Feature Editing panel and your feature will be instantly deleted.
Exit Feature Editing mode
To end Feature Editing click on the small cross to the left of the Feature Editing heading e.g.
If you exit Feature Editing without saving any changes that you have made to the layer will be discarded.