Topological Data Processing (topodataprocess)
Introduction
Demonstrate drawing points, lines, faces, erase, merge, splitting and other topological editing, as well as topology capture and topology construction surfaces.
Operation effect
Figure: Topological Data Processing Operation Effect |
Location
Android Studio
- Product package: Product package\SampleCode\SampleCode_AndroidStudio\AndroidStudioSampleCode\topodataprocess
ADT
- Product package: Product package\SampleCode\SampleCode_ADT\TopoDataprocess
Data
Storage location
- Product package: Product package\SampleData\TopoDataprocessData
Deployment Location: mobile device internal storage\SampleData\TopoDataprocessData
License
Offline license, copy the license file to the "mobile device internal storage\SuperMap\License" folder.
Library
jar |
---|
com.supermap.data.jar, com.supermap.mapping.jar, com.supermap.analyst.jar |
so |
libimb2d.so, libgnustl_shared.so, libQt5Core.so, libQt5Gui.so, libQt5Svg.so, libQt5Widgets.so(Note: Starting from version 11.1, the last five so libraries need to be added.) |
Key types/members
Control/Class | Method |
---|---|
MapControl | setSnapSetting(), setAction(), undo(), redo() |
SnapSetting | openAll(), openDefault() |
snapClose | closeAll() |
TopoBuild | topoBuildRegion() |
Basic steps
- Click Topological capture to enable snap.
- Click Topological edit, select actions for topological editing to perform topological editing.