Giter VIP home page Giter VIP logo

military-planner-application-csharp's Introduction

military-planner-application-csharp

This is an Esri ArcGIS Runtime for .NET Application Prototype Template that can be used for demonstrating military operations planning.

Image of Military Planner Application

Features

  • Time enabled layers, grouped by Courses of Action and Phases of the Operation
  • Order of Battle Widget customizable for individual units
  • What You See Is What You Get (WYSIWYG) editing of military symbols and control measures
  • Military symbol search
  • MIL-STD-2525C symbology

Sections

Requirements

Instructions

General Help

Getting Started with the Military Planner Application (.NET)

  • Building

    • To Build Using Visual Studio
      • Open and build solution file
    • To use MSBuild to build the solution
      • Open a Visual Studio Command Prompt: Start Menu | Visual Studio 2013 | Visual Studio Tools | Developer Command Prompt for VS2013
      • cd military-planner-application-csharp\source
      • msbuild MilitaryPlanner.sln /property:Configuration=Release
  • Running

    • Run or debug from Visual Studio
    • To run from a stand-alone deployment
      • A pre-built application folder has been provided
      • You may add the runtime deployment folder (ex. arcgisruntime10.2.7) to this folder to quickly create a runtime deployment (ex. ./application/arcgisruntime10.2.7)
      • Run MilitaryPlanner.exe from the deployment folder

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. Please see our guidelines for contributing.

Licensing

Copyright 2015 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: Military Defense ArcGIS Runtime .NET Planning WPF ArcGISSolutions) [](Esri Language: C-Sharp)

military-planner-application-csharp's People

Contributors

csmoore avatar jmccausland avatar joebayles avatar jrweakland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

military-planner-application-csharp's Issues

Save button does nothing

Run the app. Drag symbols from the Org Chart to the map. Mouse over the top of the map to display the menu. Click Save. Nothing happens. Instead, a save dialog should appear.

Workaround: type Ctrl-S.

Using a license code to license this app

Hello,

I want to license this app using following code:
Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.License.SetLicense(
"runtimestandard,101,rux00000,none, XXXXXXX",
"runtimespatial,101,rux00000,none, XXXXXXX",
"runtime3d,101,rux00000,none, XXXXXXX");

I've got the licenses from ESRI for each of the following:
ArcGIS runtime standard, runtimespatial and runtime3d. I'm replacing rux00000 in the above code with licenses that I got from ESRI. But I'm getting invalid license error. Please let me know if I'm doing somrthing wrong, or I need to replace XXXXXXX part in above code with something else.

Thanks,
Sam

Ability to delete a phase

A user will want to be able to delete a phase of an operation if that phase was not approved by the commander.

Preserve window position and size

Currently the application window always opens at the same size. A more advanced solution would be to remember the window position and size when the application closes and use that position and size next time the app runs. That seems to be what many Windows applications do.

Problems when app was closed while minimized on previous run

Make a mission XML file if you don't have one.

Run the app. It displays fine. Minimize the app, right-click it in the Windows taskbar, and choose Close window. The app closes.

Run the app again. This time it starts minimized. Restore or maximize it, and the map is blank. Instead, the map should display. Now try to load a mission XML file, and the app crashes. Instead, it should either load the mission properly or handle a failure gracefully.

Military Symbology

Hello,

Can I use modifiers fields from Symbol Dictionary to change the symbols at runtime? For example to convert an Infantry to Platoon or Squad, etc.?
Because currently Company, Platoon,Squad, etc are separate symbols in this application and to create a Squad, for example, I have to add Infantry symbol and on top of this infantry symbol, I also need to add Squad symbol, which makes Squad created by me as two different symbols. But I want Squad as a single symbol.
I think one of the modifiers fields mentioned in below link can be used for this purpose.
https://github.com/Esri/military-features-data/tree/master/data/mil2525c#modifier-label-fields

Please let me know how should I go about this?

Regards,
Sam

Adding text

Hello,

I wanted to add text (using TextSymbol) on message layer with every symbol added on the map. Please let me know how to go about this.

Thanks,
Sam

Ability to change the symbol modifier code for a unit, equipment, and installation symbol in the org chart

A user will need the ability to change the symbol modifier code of a unit, equipment, and installation symbol in the org chart by changing position 11 and 12 of the SIDC in the OOB xml file.

We need the following symbol modifier codes to work:

  • A - Headquarters (HQ)
  • B - Task Force (TF) HQ
  • C - Feint Dummy (FD) HQ
  • D - Feint Dummy/Task Force (FD/TF) HQ
  • E - Task Force (TF)
  • F - Feint Dummy (FD)
  • G - Feint Dummy/Task Force (FD/TF)
  • H - Installation
  • HB Feint Dummy Installation
  • MO Mobility Wheeled/Limited Cross Country
  • MP Mobility Cross Country
  • MQ Mobility Tracked
  • MR Mobility Wheeled and Tracked Combination
  • MS Mobility Towed
  • MT Mobility Rail
  • MU Mobility over the Snow
  • MV Mobility Sled
  • MW Mobility Pack Animals
  • MX Mobility Barge
  • MY Mobility Amphibious
  • NS Towed Array (Short)
  • NL Towed Array
  • - A Team/Crew
  • - B Squad
  • - C Section
  • - D Platoon/Detachment
  • - E Company/Battery/Troop
  • - F Battalion/Squadron
  • - G Regiment/Group
  • - H Brigade
  • - I Division
  • - J Corps/MEF
  • - K Army
  • - L Army Group/Front
  • - M Region
  • - N Command
  • - - NULL

Adding Line Of Sight Tool functionality

Hello,

I've added Line of sight functionality to this application. I've done the following:

  1. Created an output using Line of sight tool in Arcmap 10.3.1
  2. Shared the result from above activity, as a service on ArcGis for server.
  3. Wrote a piece of code to consume this service and get the ouput.
    I'm getting the correct output, but I'm struggling to show the output correctly. Could you please help me to show the output correctly for Line of Sight? Could you point me to some code already available?

I've searched on internet and not able to find the code specific for showing output of Line of Sight.

Thanks,
Sam

Editing the current phase

When a user selects the Edit button the current phase that the user is editing should be the default not the first phase.

MeasureAction not in ArcGIS Runtime SDK for .NET 10.2.4

ArcGIS Runtime SDK for WPF has a MeasureAction to implement a measure tool. The SDK for .NET 10.2.4 does not contain these classes. It appears the .NET version has a "Mensuration" class that can do measurements but requires the layers web service to support mensuration.

Will need to reevaluate how to implement the measure tool.

Intended Current Release/Target - 10.2.4 or 10.2.5?

I did not realize that some AGS Runtime SDKs, such as the one for .NET had a formal 10.2.5 release:
http://blogs.esri.com/esri/arcgis/2015/02/05/arcgis-runtime-sdk-for-net-10-2-5-is-now-available/

(Note: to keep the current released versions straight, this is a good place to go to see all of the current SDK download versions: https://developers.arcgis.com/en/downloads/)

So I just wanted to check which version you were planning to release this repo with.

Retained information from a saved mission

As a user I would expect that when I load a saved mission that the information for the mission would automatically appear in the Phase Information area.

image

Right now I have to select the Edit button and the select OK for the phase information to appear from the save mission file.

image

Phase label blocks Add, Back, Next buttons when app window is narrow

Run the app and adjust the window width so that the Add, Back, and/or Next buttons are underneath the phase label in the upper left corner of the map. Try to click those buttons, and you can't because the phase label blocks them.

In this situation, the phase label isn't very readable anyway, so perhaps the button bar should be over the label.

Workaround: adjust the width so the buttons are not underneath the phase label.

Published EXE not work

I downloaded the zip file, re-created the expired license and used the ArcGISRuntime.dll V10.2.7.
The app running with no issues, but if i publish and try to open the output after setup, it does not work. (to verify the source of the problem, I created another sample app and i can publish and open exe file with no issues)

Could you help in this please?

Ability to load a saved mission

There is a button to save a mission after being planned. A user will need the ability to load a saved mission file and review the plan.

Ability to change basemaps

As a user, I want the ability to change the basemap depending on which phase of the operation I am planning.

Adding text to OOB symbols

Hello,

Is it possible to add text to OOB symbols? If yes, How should I go about it?

Thanks in advance.

-Sam

Routing only works for San Diego

The routing tool uses a service that only works in San Diego. The routing dialog in the application needs to indicate that fact to the user, who would have no idea and would assume it's broken.

Export military graphics to KML

Is there a property exposed that would give us the complete graphic points for drawing these symbols in Google Earth? We would like to be able to retrieve this information from the Graphic or the Message so that we can export it in a KML and it would look correct in Google Earth.

For example, a FLOT may have only two control points but could potentially have hundreds of drawn points to get it to look like it should. This is a request from our military customer.

Consider moving Palette and Org Chart tabs

The Palette and Org Chart tabs in the lower left corner of the application are very close to the Windows 7 start button. It makes it difficult to click the Palette tab without clicking the Windows start button.

To see this behavior, mouse over the Windows 7 start button, then mouse up onto the Palette tab. If you mouse up halfway over the Palette tab, even up to the top of the "e" in "Palette," the Windows start button is still glowing, and if you click, the Windows start menu opens.

The position of the tabs creates an even more annoying situation when the Windows taskbar is set to auto-hide.

Obviously this is not a bug, but perhaps the Palette and Org Chart tabs should be moved elsewhere to avoid this issue.

image
If you mouse over the start button first, clicking the area outlined in red opens the start menu instead of selecting the Palette tab.

Ability to change the standard identity/exercise amplifying descriptor for a unit, equipment, and installation symbol in the org chart

A user will need the ability to change the standard identity/exercise amplifying descriptor of a unit, equipment, and installation symbol in the org chart by changing position 2 of the SIDC in the OOB xml file.

We need all of the following descriptors to work:

  • P - Pending
  • U - Unknown
  • A - Assumed Friend
  • F - Friend
  • N - Neutral
  • S - Suspect
  • H - Hostile
  • G - Exercise Pending
  • W - Exercise Unknown
  • M - Exercise Assumed Friend
  • D - Exercise Friend
  • L - Exercise Neutral
  • J - Joker
  • K - Faker

Arabic version for military symbols

Hello,

I want to localize the military planner application to Arabic (ar-AE). Is it possible to get Arabic version for military symbols? Meaning category, names of symbols, etc. being displayed in Arabic. If it is possible then please let me know how should I go about it.

Regards,
Sam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.