Many of the ArcGIS Military Analyst and MOLE extension application programming interface (API) objects you have used in the past have equivalent or near equivalent objects in the ArcGIS 10 ArcObjects API. These new objects should now be used and do not require a Military Analyst extension or MOLE extension license. See Migrating from Military Analyst and MOLE for information on how to accomplish tasks in ArcGIS 10 that previously required the Military Analyst and MOLE APIs.
Instructions:
- Import the defensesolutions package.
- Create IWorkspaceFactory from AccessWorksSpaceFactory.
- Create IRasterWorkspaceEx using Workspace.
//Create DTED Catalog
public IMADtedLayer createMADtedLayer(com.esri.arcgis.geodatabase.IRasterWorkspaceEx
rasterWsExt, String name){
try{
// rasterWsExt represets the workspace where the raster catalog resides.
// name is the name of the MA Raster catalog// Open the raster catalog
IRasterCatalograsCatalog = rasterWsExt.openRasterCatalog(name);
// Create the MADtedLayer
IMADtedLayer maDtedLy = new MADtedLayer();
ITable table = new(ITableProxy)(rasCatalog);
if (maDtedLy.setup(t))
return maDtedLy;
}
catch (Exception ex){
ex.printStackTrace();
}
return null;
}
See Also:
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit: Military Analyst | Engine Runtime: Military Analyst |