MapStudio provides the ability to edit features on layers derived from SuperMap iServer REST data services and structured data, which contains adding, copying, deleting features, and modifying the spatial and attribute information of features.

It should be noted that not all of the above types of layers can be edited. Whether a layer is editable is determined by factors such as whether the data itself allows editing, and whether the current user has editing permission. Details are as follows:

  • Whether the layers derived from SuperMap iServer REST data service allow editing is determined by whether the data service itself allows editing.
  • If the data is shared by other users, the current user cannot edit it.

Here we introduce the operations of adding, editing and deleting elements in the layer. You can also modify the attributes of features in the attribute table. Select the data in the data list and click 'Edit' to the right of the 'Add Data' button, or select the layer in the layers list and click icon > 'Edit' to start editing features.

Add features

When no feature is selected, there are buttons of adding new features and corresponding operation tips in the right panel. Click the 'Add feature' button to add new features to the current layer.

  1. For each type of layer, click on the map to add features of corresponding type. When adding line and polygon features, right-click after adding nodes in turn on the map to complete the addition. You can add polyline, Bezier curve in line layers, and add polygon, rectangle, circle in polygon layers.
  2. The attribute value of the adding feature is empty by default. Click the 'Edit' button in the right panel to add the attribute value;

It can add features by copying them. Select a feature, click  in the right sidebar to copy a new feature with the same shape and attribute information. The new feature will be automatically selected, and you can modify its spatial on the map and attribute information in the right panel.

Edit features

Select a feature or Ctrl + click to select multiple features , and you can edit selected features via editing fuctions in the right-hand panel. Currently supported feature editing functions include: edit nodes, group, ungroup, rotate/scale, split and merge. Hover over the function icon to view description of the function.

Edit Nodes

Select a point feature, you can input new coordinate values in the pop-up.

Select a line or polygon feature, click on the target node or click the ‘Edit Nodes’ function to edit the feature's nodes. After selecting a node, you can input new coordinate values in the pop-up, drag to move the node's position, click on the midpoint of a line to add a node, and click Delete to remove a node.

Dragging Features

Select a feature and drag it to change its location. If you need to batch modify the locations of multiple features, Ctrl + click multiple features, then move the mouse to any selected feature and drag it.

Rotate and Scale

You can change the location and size of features through rotating and scaling operations. Select a feature and click ‘rotate scale’ in the right sidebar, then hold and drag the rotation button above the feature clockwise or counterclockwise to adjust its rotation angle. Hold and drag the rectangular nodes around the feature inward or outward to scale its size.

Combine and Uncombine

Ctrl + click on multiple features, then click 'combine' in the right sidebar to merge multiple features into a multi-part feature.  On the contrary, select a multi-part feature and click 'Uncombine' in the right sidebar to split it into multiple features.

Split and Dissolve

Splitting means dividing a single feature into multiple independent features, such as dividing a long line into segments or a polygon into several polygons, often used to adjust feature shapes or extract partial data. Select a feature and click 'Split' in the right sidebar, then you can draw line or polygon features to divide the selected feature into multiple parts. The resulting features will inherit the attributes of the feature before splitting. Ctrl + click on multiple features to split them simultaneously.

Merging means combining multiple adjacent or overlapping features into a single feature, often used to simplify data or create continuous areas. Ctrl + clicking on multiple features, then click 'Merge' in the right sidebar to combine the selected features into a single feature. Select the attributes to retain for the merged feature in the pop-up.

Note: Merging multiple non-adjacent polygon features will result in a multi-part feature, similar to combining.

Edit attribute information

Select a feature, click the  button of the feature in the right panel to modify the attribute information in the input box.

Delete features

Select the feature, click  in the right panel to delete it, and click  to restore the deleted feature. If you need to delete features in batch, you can click Ctrl + multiple features at the same time, and then click at the top right panel to remove all selected features.

Feature Snapping

Click the  in the right sidebar to enable feature snapping. When enabled, during creating or editing features, the currently drawn or edited nodes can be automatically snapped to the nodes, endpoints and edges of existing features and features being drawn, improving the accuracy and efficiency of feature creation or editing.

After enabling feature snapping, you can check the snapping types and layers that support snapping in the pop-up. Currently supported snapping types include:

  • Point Snap on Endpoint: Snaps the currently drawn point to the endpoint of an existing line feature or the endpoint of a boundary line of a polygon feature.
  • Point Snap on Midpoint: Snaps the currently drawn point to the midpoint of an existing line feature.
  • Point Snap on Node: Snaps the currently drawn point to coincide with other point objects or nodes.
  • Point Snap on Line: Snaps the currently drawn point to an existing line feature.

Note: When the feature snapping is enabled, to optimize its performance, certain features may become unsnappable under the following circumstances:  

  1. When the total number of feature nodes within the view range exceeds 100,000 (default), all features in that range will be unsnappable. You can try zooming in to reduce the number of features or nodes, thereby restoring feature snapping.
  2. When the number of nodes for a single feature  within the view range (regardless of whether it is fully displayed within the view range) exceeds 100,000 (default), that feature will be unsnappable.  

You can modify the maximum supported node count for feature snapping through configuration, please see: MapStudio WebApp Extension Process.

Undo and Redo

You can click or icon on the right panel, you can redo or undo the last feature editing operations.

Save changes

Click 'Save changes' on the right panel to save all your operations such as adding, modifying and deleting features. Click 'Cancel changes' to restore the content saved last time.