├── .gitignore ├── CONTRIBUTING.md ├── CoordinateConversion.png ├── README.md ├── application └── CoordinateConversionLibrary.dll.config ├── license.txt └── source └── CoordinateConversion ├── ArcMapAddinCoordinateConversion ├── ArcMapAddinCoordinateConversion.csproj ├── ArcMapCoordinateGet.cs ├── CCUserControlProxy.cs ├── Config.Designer.cs ├── Config.esriaddinx ├── ContextMenuCommands.cs ├── CoordinateConversionButton.cs ├── DockableWindowCoordinateConversion.xaml ├── DockableWindowCoordinateConversion.xaml.cs ├── Helpers │ ├── ArcMapHelpers.cs │ └── InputFormatHelper.cs ├── Images │ ├── ArcMapAddinCoordinateConversion.png │ ├── CoordinateConversionButton.png │ ├── CoordinateConversionButton1.png │ ├── DockableWindowCoordinateConversion.png │ ├── GenericErrorStop16.png │ └── coordinate-conversion-16.png ├── MainViewModel.cs ├── MapPointTool.cs ├── Models │ ├── AMGraphic.cs │ ├── AddInPoint.cs │ ├── CCAMGraphic.cs │ ├── FeatureClassUtils.cs │ └── KMLUtils.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── ValueConverters │ ├── IPointToStringConverter.cs │ └── OppositeBoolValueConverter.cs ├── ViewModels │ ├── ArcMapTabBaseViewModel.cs │ ├── CollectTabViewModel.cs │ ├── ConvertTabViewModel.cs │ └── SaveAsFormatViewModel.cs └── Views │ ├── SaveAsFormatView.xaml │ └── SaveAsFormatView.xaml.cs ├── CoordinateConversion.sln ├── CoordinateConversionLibrary.Tests ├── CoordinateConversionLibrary.Tests.csproj ├── CoordinateConversionLibraryTests.cs ├── Properties │ └── AssemblyInfo.cs ├── json │ ├── fromGeo2DDM.json │ ├── fromGeo2DMS.json │ ├── fromGeo2GARS.json │ ├── fromGeo2GEOREF.json │ ├── fromGeo2MGRS.json │ ├── fromGeo2UTMBand.json │ ├── fromGeo2UTMHem.json │ ├── mgrs2geo.json │ ├── processCoordinateStrings.json │ ├── toGeoFromDDM.json │ ├── toGeoFromDMS.json │ ├── toGeoFromGARS.json │ ├── toGeoFromGEOREF.json │ ├── toGeoFromMGRS.json │ ├── toGeoFromUTMBand.json │ └── toGeoFromUTMHem.json └── packages.config ├── CoordinateConversionLibrary ├── Attributes │ └── LocalizableDescriptionAttribute.cs ├── Behaviors │ └── WindowBehavior.cs ├── CoordinateConversionLibrary.csproj ├── Enums │ └── Enums.cs ├── Helpers │ ├── Constants.cs │ ├── ConversionUtils.cs │ ├── CoordinateConversionExtensions.cs │ ├── ExportCSV.cs │ ├── ImportCSV.cs │ ├── Mediator.cs │ ├── NotificationObject.cs │ ├── RelayCommand.cs │ ├── SerializableDictionary.cs │ ├── Storyboard.cs │ ├── UIHelpers.cs │ └── Wpf.cs ├── Images │ ├── Add_Point.png │ ├── Delete.png │ ├── EditCopy16.png │ ├── GenericDeleteRed32_d.png │ ├── GenericErrorStop16.png │ ├── GeoprocessingEnvironmentSettings16.png │ ├── RowHandle.png │ ├── SelectionSelectTool16.png │ ├── TableMinusCollaps16_d.png │ ├── TablePlusExpand16_d.png │ ├── copy.png │ ├── copyall.png │ ├── gears.png │ ├── hand.png │ ├── pointtool.png │ └── tip.png ├── MAResourceDictionary.xaml ├── Models │ ├── CoordinateBase.cs │ ├── CoordinateConversionLibraryConfig.cs │ ├── CoordinateDD.cs │ ├── CoordinateDDM.cs │ ├── CoordinateDMS.cs │ ├── CoordinateFormatterBase.cs │ ├── CoordinateGARS.cs │ ├── CoordinateGetBase.cs │ ├── CoordinateHandler.cs │ ├── CoordinateMGRS.cs │ ├── CoordinateUSNG.cs │ ├── CoordinateUTM.cs │ ├── DefaultFormatModel.cs │ └── OutputCoordinateModel.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── ValueConverters │ ├── EnumToFriendlyNameConverter.cs │ └── MaxHeightConverter.cs ├── ViewModels │ ├── BaseViewModel.cs │ ├── EditOutputCoordinateViewModel.cs │ ├── EditPropertiesViewModel.cs │ ├── MainViewModel.cs │ ├── OutputCoordinateViewModel.cs │ ├── SelectCoordinateFieldsViewModel.cs │ └── TabBaseViewModel.cs └── Views │ ├── AdditionalFieldsView.xaml │ ├── AdditionalFieldsView.xaml.cs │ ├── AmbiguousCoordsView.xaml │ ├── AmbiguousCoordsView.xaml.cs │ ├── CCCollectTabView.xaml │ ├── CCCollectTabView.xaml.cs │ ├── CCConvertTabView.xaml │ ├── CCConvertTabView.xaml.cs │ ├── EditOutputCoordinateView.xaml │ ├── EditOutputCoordinateView.xaml.cs │ ├── EditPropertiesView.xaml │ ├── EditPropertiesView.xaml.cs │ ├── InputCoordinateConversionView.xaml │ ├── InputCoordinateConversionView.xaml.cs │ ├── OutputCoordinateView.xaml │ ├── OutputCoordinateView.xaml.cs │ ├── SelectCoordinateFieldsCCView.xaml │ ├── SelectCoordinateFieldsCCView.xaml.cs │ ├── SelectCoordinateFieldsView.xaml │ └── SelectCoordinateFieldsView.xaml.cs └── ProAppCoordConversionModule ├── Common └── ValueConverters.cs ├── Config.daml ├── ContextMenuCommands.cs ├── CoordinateConversionDockpane.xaml ├── CoordinateConversionDockpane.xaml.cs ├── CoordinateConversionDockpaneViewModel.cs ├── CoordinateMapTool.cs ├── DarkImages ├── AddInDesktop16.png ├── AddInDesktop32.png ├── coordinate-conversion-16.png └── coordinate-conversion-32.png ├── Helpers ├── InputFormatHelper.cs └── MapPointHelper.cs ├── Images ├── AddInDesktop16.png ├── AddInDesktop32.png ├── CoordinateConversionIcon.png ├── DownArrow.png ├── GenericButtonBlue16.png ├── GenericButtonBlue32.png ├── GenericButtonPurple16.png ├── GenericButtonPurple32.png ├── GenericButtonRed16.png ├── GenericButtonRed32.png ├── coordinate-conversion-16.png └── coordinate-conversion-32.png ├── Models ├── AddInPoint.cs ├── CCProGraphic.cs ├── ColorCollection.cs ├── FeatureClassUtils.cs ├── KMLUtils.cs ├── ProGraphic.cs └── Symbol.cs ├── Module1.cs ├── ProAppCoordConversionModule.csproj ├── ProCoordinateGet.cs ├── Properties ├── AssemblyInfo.cs ├── FileResources.Designer.cs └── FileResources.resx ├── PropertiesButton.cs ├── Resources └── sr_out.csv ├── UI ├── CoordSysDialog.xaml ├── CoordSysDialog.xaml.cs ├── CoordSysPickerView.xaml ├── CoordSysPickerView.xaml.cs ├── CoordSysPickerViewModel.cs ├── FlashEmbeddedControl.xaml ├── FlashEmbeddedControl.xaml.cs └── FlashEmbeddedControlViewModel.cs ├── ViewModels ├── ProAmbiguousCoordsViewModel.cs ├── ProCollectTabViewModel.cs ├── ProConvertTabViewModel.cs ├── ProEditPropertiesViewModel.cs ├── ProOutputCoordinateViewModel.cs ├── ProSaveAsFormatViewModel.cs └── ProTabBaseViewModel.cs └── Views ├── ProAdditionalFieldsView.xaml ├── ProAdditionalFieldsView.xaml.cs ├── ProAmbiguousCoordsView.xaml ├── ProAmbiguousCoordsView.xaml.cs ├── ProEditOutputCoordinateView.xaml ├── ProEditOutputCoordinateView.xaml.cs ├── ProEditPropertiesView.xaml ├── ProEditPropertiesView.xaml.cs ├── ProOutputCoordinateView.xaml ├── ProOutputCoordinateView.xaml.cs ├── ProSaveAsFormatView.xaml ├── ProSaveAsFormatView.xaml.cs ├── ProSelectCoordinateFieldsView.xaml └── ProSelectCoordinateFieldsView.xaml.cs /.gitignore: -------------------------------------------------------------------------------- 1 | # Defense Template specific ignores 2 | NuGet.exe 3 | *.pyt.xml 4 | *.zip 5 | *.zip 6 | *-old.* 7 | *-old 8 | *-sav 9 | *-sav.* 10 | *.sav 11 | *- Copy.* 12 | 13 | ############# 14 | ## Python 15 | ############# 16 | 17 | *.py[co] 18 | 19 | # Packages 20 | *.egg 21 | *.egg-info 22 | dist 23 | build 24 | eggs 25 | parts 26 | bin 27 | var 28 | sdist 29 | develop-eggs 30 | .installed.cfg 31 | 32 | ################# 33 | ## Visual Studio 34 | ################# 35 | 36 | # Build Folders (you can keep bin if you'd like, to store dlls and pdbs) 37 | [Bb]in/ 38 | [Oo]bj/ 39 | *.vshost.* 40 | 41 | ################# 42 | ## Eclipse 43 | ################# 44 | 45 | # General 46 | .metadata 47 | bin/ 48 | tmp/ 49 | dist/ 50 | *.tmp 51 | *.bak 52 | *.swp 53 | *~.nib 54 | 55 | # Eclipse 56 | local.properties 57 | .classpath 58 | .settings/ 59 | .loadpath 60 | 61 | # External tool builders 62 | .externalToolBuilders/ 63 | 64 | # Locally stored "Eclipse launch configurations" 65 | *.launch 66 | 67 | # CDT-specific 68 | .cproject 69 | 70 | # PDT-specific 71 | .buildpath 72 | # mstest test results 73 | TestResults 74 | 75 | ## Ignore Visual Studio temporary files, build results, and 76 | ## files generated by popular Visual Studio add-ons. 77 | 78 | # User-specific files 79 | *.suo 80 | *.user 81 | *.sln.docstates 82 | 83 | # Build results 84 | [Dd]ebug/ 85 | [Rr]elease/ 86 | x64/ 87 | *_i.c 88 | *_p.c 89 | *.ilk 90 | *.meta 91 | *.obj 92 | *.pch 93 | *.pdb 94 | *.pgc 95 | *.pgd 96 | *.rsp 97 | *.sbr 98 | *.tlb 99 | *.tli 100 | *.tlh 101 | *.tmp 102 | *.log 103 | *.vspscc 104 | *.vssscc 105 | .builds 106 | 107 | # Visual C++ cache files 108 | ipch/ 109 | *.aps 110 | *.ncb 111 | *.opensdf 112 | *.sdf 113 | 114 | # Visual Studio profiler 115 | *.psess 116 | *.vsp 117 | *.vspx 118 | 119 | # Guidance Automation Toolkit 120 | *.gpState 121 | 122 | # ReSharper is a .NET coding add-in 123 | _ReSharper* 124 | 125 | # NCrunch 126 | *.ncrunch* 127 | .*crunch*.local.xml 128 | 129 | # Installshield output folder 130 | [Ee]xpress 131 | 132 | # DocProject is a documentation generator add-in 133 | DocProject/buildhelp/ 134 | DocProject/Help/*.HxT 135 | DocProject/Help/*.HxC 136 | DocProject/Help/*.hhc 137 | DocProject/Help/*.hhk 138 | DocProject/Help/*.hhp 139 | DocProject/Help/Html2 140 | DocProject/Help/html 141 | 142 | # Click-Once directory 143 | publish 144 | 145 | # Publish Web Output 146 | *.Publish.xml 147 | 148 | # NuGet Packages Directory 149 | packages 150 | 151 | # Windows Azure Build Output 152 | csx 153 | *.build.csdef 154 | 155 | # Windows Store app package directory 156 | AppPackages/ 157 | 158 | # Others 159 | [Bb]in 160 | [Oo]bj 161 | sql 162 | TestResults 163 | [Tt]est[Rr]esult* 164 | *.Cache 165 | ClientBin 166 | [Ss]tyle[Cc]op.* 167 | ~$* 168 | *.dbmdl 169 | Generated_Code #added for RIA/Silverlight projects 170 | 171 | # Backup & report files from converting an old project file to a newer 172 | # Visual Studio version. Backup files are not needed, because we have git ;-) 173 | _UpgradeReport_Files/ 174 | Backup*/ 175 | UpgradeLog*.XML 176 | 177 | ############ 178 | ## Windows 179 | ############ 180 | 181 | # Windows image file caches 182 | Thumbs.db 183 | 184 | # Folder config file 185 | Desktop.ini 186 | 187 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Esri welcomes contributions from anyone and everyone. Please see our [guidelines for contributing](https://github.com/esri/contributing). -------------------------------------------------------------------------------- /CoordinateConversion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Esri/coordinate-conversion-addin-dotnet/2ea17743bbc35f99436667e5a54792231ed37cca/CoordinateConversion.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # coordinate-conversion-addin-dotnet 2 | 3 | ## *This repository is no longer maintained.* 4 | 5 | ___Beginning at ArcGIS Pro 2.6 this functionality is installed with ArcGIS Pro.___ 6 | 7 | 8 | Coordinate Conversion window in ArcGIS Pro 9 | Coordinate Conversion allows analysts to input and quickly convert coordinates between several common formats, including Universal Transverse Mercator (UTM) and Military Grid Reference System (MGRS). 10 | 11 | ![Image of Coordinate Conversion Addin](CoordinateConversion.png) 12 | 13 | ## Features 14 | 15 | * Convert several coordinate formats in one dialog 16 | * Copy coordinates to support other applications 17 | * Customize output format for converted coordinates 18 | * Import and export coordinate lists 19 | 20 | ## Sections 21 | 22 | * [Requirements](#requirements) 23 | * [Instructions](#instructions) 24 | * [Resources](#resources) 25 | * [Issues](#issues) 26 | * [Contributing](#contributing) 27 | * [Licensing](#licensing) 28 | 29 | ## Requirements 30 | 31 | ### Build Requirements 32 | 33 | * Visual Studio 2015 34 | * Important Note: Visual Studio 2013 [may also be required if building on ArcGIS 10.4.1-10.5.1](https://support.esri.com/en/technical-article/000012659) 35 | * ArcGIS for Desktop 36 | * ArcMap 10.4.1+ 37 | * ArcGIS Pro 2.2+ 38 | * ArcGIS Desktop SDK for .NET 10.4.1+ 39 | * [ArcGIS Desktop for .NET Requirements](https://desktop.arcgis.com/en/desktop/latest/get-started/system-requirements/arcobjects-sdk-system-requirements.htm) 40 | * [ArcGIS Pro SDK](http://pro.arcgis.com/en/pro-app/sdk/) 2.2+ 41 | 42 | ### Run Requirements 43 | 44 | * ArcGIS for Desktop 45 | * ArcMap 10.4.1+ 46 | * ArcGIS Pro 2.2+ 47 | 48 | ## Instructions 49 | 50 | ### General Help 51 | 52 | * [New to Github? Get started here.](http://htmlpreview.github.com/?https://github.com/Esri/esri.github.com/blob/master/help/esri-getting-to-know-github.html) 53 | 54 | ### Getting Started with the Coordinate Conversion Addin (.NET) 55 | 56 | ## Development Environment 57 | 58 | * Building 59 | * To Build Using Visual Studio 60 | * Open and build solution file 61 | * To use MSBuild to build the solution 62 | * Open a Visual Studio Command Prompt: Start Menu | Visual Studio 2015 | Visual Studio Tools | Developer Command Prompt for VS2015 63 | * ` cd coordinate-conversion-addin-dotnet\source\CoordinateConversion ` 64 | * ` msbuild CoordinateConversion.sln /property:Configuration=Release ` 65 | * To run Unit test from command prompt 66 | * Open a Visual Studio Command Prompt: Start Menu | Visual Studio 2015 | Visual Studio Tools | Developer Command Prompt for VS2015 67 | * ` cd coordinate-conversion-addin-dotnet\source\CoordinateConversion\CoordinateConversionLibrary.Tests\bin\Release ` 68 | * ` MSTest /testcontainer:CoordinateConversionLibrary.Tests.dll ` 69 | * Note : Assembly references are based on a default install of the SDK, you may have to update the references if you chose an alternate install option 70 | 71 | 72 | 73 | ## Resources 74 | 75 | * [Coordinate Conversion online documentation](http://solutions.arcgis.com/defense/help/coordinate-conversion/) 76 | * [Military Tools for ArcGIS](https://esri.github.io/military-tools-desktop-addins/) 77 | * [Military Tools for ArcGIS Solutions Pages](http://solutions.arcgis.com/defense/help/military-tools/) 78 | * [ArcGIS for Defense Downloads](http://appsforms.esri.com/products/download/#ArcGIS_for_Defense) 79 | * [ArcGIS Blog](http://blogs.esri.com/esri/arcgis/) 80 | * [ArcGIS Solutions Website](http://solutions.arcgis.com/) 81 | 82 | ## Issues 83 | 84 | Find a bug or want to request a new feature? Please let us know by submitting an [issue](https://github.com/Esri/coordinate-tool-addin-dotnet/issues). 85 | 86 | ## Contributing 87 | 88 | Anyone and everyone is welcome to contribute. Please see our [guidelines for contributing](https://github.com/esri/contributing). 89 | 90 | ## Repository Points of Contact 91 | Contact the [Military Tools team](mailto:defensesolutions@esri.com) 92 | 93 | ## Licensing 94 | Copyright 2018 Esri 95 | 96 | Licensed under the Apache License, Version 2.0 (the "License"); 97 | you may not use this file except in compliance with the License. 98 | You may obtain a copy of the License at: 99 | 100 | http://www.apache.org/licenses/LICENSE-2.0. 101 | 102 | Unless required by applicable law or agreed to in writing, software 103 | distributed under the License is distributed on an "AS IS" BASIS, 104 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 105 | See the License for the specific language governing permissions and 106 | limitations under the License. 107 | 108 | A copy of the license is available in the repository's [license.txt](./License.txt) file. 109 | 110 | -------------------------------------------------------------------------------- /source/CoordinateConversion/ArcMapAddinCoordinateConversion/Config.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Esri/coordinate-conversion-addin-dotnet/2ea17743bbc35f99436667e5a54792231ed37cca/source/CoordinateConversion/ArcMapAddinCoordinateConversion/Config.Designer.cs -------------------------------------------------------------------------------- /source/CoordinateConversion/ArcMapAddinCoordinateConversion/Config.esriaddinx: -------------------------------------------------------------------------------- 1 | 2 | Coordinate Conversion 3 | {19b92973-746a-4114-9232-3467ca1fc631} 4 | Quickly convert coordinates between several formats 5 | 2.1.2 6 | Images\ArcMapAddinCoordinateConversion.png 7 | Esri 8 | Esri 9 | 11/30/2017 10 | 11 | 12 | 13 | 14 | 15 | 16 |