Aerial Survey

Plugin Introduction:

This sample is used to simulate the survey extent during the aerial survey.

Control/Object/Interface:

Control/Object/Interface Properties Methods
Plugin   Initialize(), ExitInstance()
CtrlAction FormClass Run()
IFormScene SceneControl  
SceneControl Scene  
Scene TrackingLayer  
TrackingLayer   Clear(), Add()
GeoModel Position  
GeoRegion3D Style3D AddPart()
Point3Ds   Add()
Application ActiveApplication, Output  

Steps:

  1. Open AerialSurvey.sln in the SuperMap iDesktop 8C\SampleCode\AerialSurvey folder with Microsoft Visual Studio 2008 and compile it.
  2. When succeeded, you can find two files generated: SuperMap.Desktop.AerialSurvey.dll located in the SuperMap iDesktop 8C\Bin\Plugins\AerialSurvey folder and SuperMap.Desktop.AerialSurvey.config located in the SuperMap iDesktop 8C\WorkEnvironment\Default folder.
  3. Copy the SampleIcons folder from the SuperMap iDesktop 8C\SampleCode folder to SuperMap iDesktop 8C\SampleCode\Resources.
  4. Start SuperMap iDesktop 8C.
  5. Create a new scene. You will see the Aerial Survey tab with the Start and Stop buttons.
  6. Add AerialSurvey.KML, which is located in the SuperMap iDesktop 8C\SampleData\SampleCodeUsed folder to the scene.
  7. Click the Aerial Survey tab. In the Aerial Survey group, click the Start button to navigate to the aeroplane and start the aerial survey simulation.
  8. Click the Stop button in the Aerial Survey group to stop the simulation.

Data:

SuperMap iDesktop 8C\SampleData\SampleCodeUsed\AerialSurvey.KML and J7.3ds.

Note:

When you successfully compile AerialSurvey.sln, SuperMap.Desktop.AerialSurvey.dll and SuperMap.Desktop.AerialSurvey.config will be generated and copied to SuperMap iDesktop 8C\Bin\Plugins\AerialSurvey and SuperMap iDesktop 8C\WorkEnvironment\Default respectively. Each time you start SuperMap iDesktop 8C, the AerialSurvey plugin will be loaded.

If you want to remove the AerialSurvey plugin from SuperMap iDesktop 8C, you only need to delete SuperMap.Desktop.AerialSurvey.config in the SuperMap iDesktop 8C\WorkEnvironment\Default folder.