Skip to content

The Military Feature Toolbox is a set of tools, scripts, and applications that provide specialized processing for ArcGIS Military Features and Military Symbology

License

Notifications You must be signed in to change notification settings

ACueva/military-feature-toolbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

military-feature-toolbox

The ArcGIS Defense and Intelligence Military Feature Toolbox is a set of tools, scripts, and applications for use in ArcGIS Desktop. These tools provide specialized processing and workflows for military feature symbology.

Image of Military Feature Toolbox

Features

  • Specialized geoprocessing models and tools for military features including
    • Tools for importing/appending non-military feature classes into a military feature geodatabase
    • Tools for converting military features to ArcGIS Runtime messages (and visa-versa)
    • Tools for setting the SIDC and representation rule fields on a military feature geodatabase

Requirements

  • ArcGIS Desktop 10.1 (or later) with Advanced License
    • ArcGIS Desktop Advanced License is required to change Representation Rules (e.g. in Append Military Features Tool)
  • Apache Ant - used to download and extract dependent data and run test drivers
  • To build the .NET Solution source in source\AppendMilitaryFeaturesCS you will also need
    • Visual Studio 2010 or later
    • ArcObjects .NET Engine or Desktop Development Kit
    • If you do not require the Append Military Features Tool, you may skip this requirement

Instructions

General Help

New to Github? Get started here.

Getting Started with the toolbox

  • Download required data dependencies
    • Install and configure Apache Ant
      • Download Ant from the Apache Ant Project and unzip to a location on your machine
      • Set environment variable ANT_HOME to Ant Install Location
      • Add Ant\bin to your path: %ANT_HOME%\bin
      • NOTE: Ant requires Java Runtime Environment (JRE) or Developer Kit (JDK) to be installed and the environment variable JAVA_HOME to be set to this location
      • To verify your Ant Installation: Open Command Prompt> ant -h and verify it runs and returns the ant help correctly
    • To download the data dependencies
      • Open Command Prompt>
      • cd military-feature-toolbox
      • > ant
      • Verify “Build Succeeded”
      • This will create a directory military-feature-toolbox/data with required data files
  • Update the local ArcGIS Military Style Files to the latest version
    • Navigate to the folder military-feature-toolbox\data\stylefiles
    • Update/copy all of the .style files from this folder into your ArcGIS Desktop Style folder (Overwrite if necessary)
    • For example, copy the style files from above location into this Desktop Folder:
      • {ArcGIS Install Location}\ArcGIS\Desktop10.1\Styles
  • Open and build the Visual Studio Solution at military-feature-toolbox\source\AppendMilitaryFeaturesCS
    • To use MSBuild to build the solution
      • Open a Visual Studio Command Prompt: Start Menu | Microsoft Visual Studio 2010/2012 | Visual Studio Tools | Developer Command Prompt for VS 2010/2012
      • cd military-feature-toolbox\source\AppendMilitaryFeaturesCS
      • msbuild AppendMilitaryFeatures2010.sln /property:Configuration=Release
        • NOTE: if you recieve an error message: 'msbuild' is not recognized
        • You may need to add the path the .NET Framework SDK (if multiple SDKs are installed)
        • E.g. set path=%path%;C:\Windows\Microsoft.NET\Framework\v4.0.30319
  • (Optional) Test the command line AppendMilitaryFeatures application
    • cd military-feature-toolbox\application
    • > AppendMilitaryFeatures.exe
    • Verify AppendMilitaryFeatures.exe Succeeded.
    • This will verify that the data, products, and licenses necessary to run the application are installed
    • Note: this will run with default values of (1) data\shapefiles\FriendlyForcesSmall.shp (2) data\geodatabases\test_outputs.gdb (3) Symbol_ID
  • (Optional) Start ArcMap or ArcCatalog and run the Append Military Features Geoprocessing Tool at military-feature-toolbox\toolboxes
    • IMPORTANT: the output military feature geodatabase must not be open in any other application or the tool will fail with "can not obtain Schema Lock" error
  • To run all GP Tool unit tests
    • Open Command Prompt>
    • > cd military-feature-toolbox\source\test\TestGPTools
    • > ant
    • Verify "Build Succeeded"

Resources

Issues

  • Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

  • Anyone and everyone is welcome to contribute.

Licensing

Copyright 2013 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.

[](Esri Tags: ArcGIS Defense and Intelligence Military Feature Military Features) [](Esri Language: Python)

About

The Military Feature Toolbox is a set of tools, scripts, and applications that provide specialized processing for ArcGIS Military Features and Military Symbology

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 51.7%
  • C# 46.8%
  • Shell 1.5%