Feature Description
AI-assisted drawing is an intelligent polygon object collection tool based on a deep learning model (SegmentAnything algorithm). Click the target feature in the map, and the system will automatically identify and outline the object boundary, significantly reducing the workload of manual point-by-point drawing.
Application Scenarios
-
Need to quickly extract boundaries of polygon features such as buildings, water bodies, farmland, and vegetation from images.
-
Mass collection of a large number of polygon elements is needed in data production, where traditional manual drawing is inefficient.
Functional Condition Description
- Only supported for drawing on vector polygon layers.
- An image basemap must be loaded in the map as the data source for AI recognition.
- Requires installing the AI extension package and configuring the Python environment; otherwise, the function is unavailable.
Version Information
This function is supported from SuperMap iDesktopX 2026 onward.
Function Entry
- Edit Data tab -> Object Drawing group -> AI-assisted check box.
Operation Instructions
-
After configuring the AI extension package, on the Edit Data tab -> Object Drawing group, check the AI-assisted check box to enable AI-assisted drawing. You can also use the shortcut Alt+Q to quickly toggle AI-assisted mode.
-
Enable polygon layer editing: ensure the target vector polygon layer is editable and selected in the layer manager.
-
Set AI parameters (optional): Click the Settings button, and in the AI-assisted drawing setup dialog box, adjust the segmentation threshold and smoothness and other parameters:
-
Segmentation Threshold: Controls the sensitivity of AI recognition. Value range [0, 1], default 0.5. The higher the threshold, the stricter the recognition (boundary contraction); the lower the threshold, the wider the recognition range (boundary expansion).
-
Smoothness: Controls the smoothness of the drawn result boundary. Value range [0, 5], default 3. The larger the value, the more boundary nodes and the smoother the curve.
-
Regularize Building: Controls whether the building boundary drawn with AI assistance is regularized to right angles. When checked, the identified building outline is automatically corrected to straight segments, making the boundary a regular rectangle or L-shape, suitable for man-made buildings. When unchecked, the original natural boundary shape identified by AI is retained, suitable for irregular features (such as water bodies, green spaces, natural settlements).
After setting, click the OK button to save the parameters.
-
-
Select the polygon drawing tool: Click the Polygon drop-down button, and select "Polygon" or other polygon drawing tools.
-
Start drawing: Move the mouse pointer to the target image feature in the map. Left-click, and AI automatically identifies and highlights the feature boundary (if not fully identified, continue to left-click in other areas to expand the range). Hold Ctrl + left-click to exclude incorrectly selected areas and gradually delete excess boundary parts.
-
End drawing: Right-click in the map to complete the collection of one object. The system automatically applies a smooth line and saves the object to the current editable layer.
Related Topics