MOLE layer type detection


How to use

If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Build the project.
  2. Run the program by typing 'MoleLayers'. The steps being taken to produce the display are printed on the console. Once the display appears, it can be navigated with the toolbar.
  3. If you type 'noexts' after MoleLayers on the command line, it loads data from a database containing only non-MOLE feature classes. This demonstrates an alternate method of detecting MOLE symbology in feature classes that does not rely on the presence of MOLE class extensions.
  4. The IsForceElementFC function contains the predicates to determine if a feature class contains force elements.
  5. The IsTacticalGraphicFC function contains the predicates to determine if a feature class contains tactical graphics.
  6. The LoadLayer function contains combined logic to automatically load feature classes into MOLE and non-MOLE layers, without requiring the caller to know the type of features in advance.

MoleLayers.cpp Implementation file
Makefile Unix Makefile
NMakefile.mak Windows Makefile
Download the QT_CPP files

Download the files for all languages




Additional Requirements
  • QT4

Development licensing Deployment licensing
Engine Developer Kit: Military Overlay Editor Engine Runtime: Military Overlay Editor