The add-in provides the ability to create geodesic features such as lines, circles, ellipses and range rings. Features can be exported to a file geodatabase, shapefile, or KML.
- Creates geodesy lines, circles, ellipses and range rings.
- Inputs can be entered manually or via a known coordinate.
- Features can be exported to a file geodatabase, shapefile, or KML.
- Addin for ArcMap 10.3.1
- Visual Studio 2013
- ArcGIS Desktop SDK for .NET 10.3.1
###New to Github
- 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 distance-and-direction-addin-dotnet\source\DistanceAndDirection\ArcMapAddinDistanceAndDirection
msbuild ArcMapAddinDistanceAndDirection.sln /property:Configuration=Release
- To run Unit test from command prompt
- Open a Visual Studio Command Prompt: Start Menu | Visual Studio 2013 | Visual Studio Tools | Developer Command Prompt for VS2013
cd distance-direction-addin-dotnet\source\DistanceAndDirection\ArcMapAddinDistanceAndDirection.Tests\bin\Release
MSTest /testcontainer:ArcMapAddinDistanceAndDirection.Tests.dll
*
- 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
- To Build Using Visual Studio
- Running the add-in
- To run from a stand-alone deployment
- ArcMap
- Install the add-in from the latest Release on Github (https://github.com/Esri/distance-direction-addin-dotnet/releases)
- Add the add-in command to a toolbar via menu option
- Customize -> Customize mode
- Select Commands Tab
- Select Add-In Controls
- Drag/Drop Show Distance and Direction command onto a toolbar
- Close customize mode
- Open tool by clicking the Show Distance and Direction command you just added
- Dockable Distance and Direction tool appears
- If you add this to a toolbar that you contstantly use the add-in will stay. To remove the add-in delete your Normal.MXT file
- ArcMap
- To run from a stand-alone deployment
- Choose the Lines tab on the Distance and Direction Tool
- Choose the type of line that is needed to be created
- Start an interactive session by selecting the Map Point Tool (arrow icon)
- Enter a starting and ending point on the map by clicking on the map
- Repeat until all desired graphics have been included
- Optional - Select the Save As button to export the Line features to a file geodatabase, shapefile, or KML
- Choose the type of line that is needed to be created
- Input the Starting Point where your line is going to start
- Input the Ending Point of where your line is going to end
- Press Enter key and the graphic will be drawn on the map
- Repeat until all desired graphics have been included
- Optional - Select the Save As button to export the Line features to a file geodatabase, shapefile, or KML
- Choose the type of line that you would like to create
- Choose Distance and Bearing from the second drop down (From) menu
- Input the Distance/Length of the line and choose the unit type
- Input the azimuth or Angle of the line
- Press Enter key and the graphic will be drawn on the map
- Optional - Select the Save As button to export the Line features to a file geodatabase, shapefile, or KML
- Choose the Circles tab on the Distance and Direction Tool
- Start an interactive session by selecting the Map Point Tool (arrow icon)
- Click on map to enter a centerpoint and then move the cursor out from center, a circle displays on map as you move the cursor.
- Click map to complete the circle.
- Optional - Select the Save As button to export the Circle features to a file geodatabase, shapefile, or KML
- Choose the Circles tab on the Distance and Direction Tool
- Start an interactive session by selecting the arrow icon
- Enter a starting point and the distance of the circles radius by clicking on the map
- Expand the Distance Calculator section
- Enter a Time
- Select a time unit using the drop down box
- Enter a Rate
- Select a rate unit using the drop down box
- Press Enter key and the graphic will be drawn on the map
- Optional - Select the Save As button to export the Circle features to a file geodatabase, shapefile, or KML
- Choose the Ellipse tab on the Distance and Direction Tool
- Start an interactive session by selecting the arrow icon next to the Center Point text box
- Choose the location where you want the ellipse to be started from
- Drag the cursor to the location where the major axis will end
- Select the orientation angle of the major axis
- Select the length of the minor axis
- Repeat until all desired graphics have been included
- Optional - Select the Save As button to export the Ellipse features to a file geodatabase, shapefile, or KML
- Choose the Ellipse tab on the Distance and Direction Tool
- Enter a cooridnate into the Center Point text box
- Enter a distance into the Major Axis text box
- Enter a distance into the Minor Axis text box
- Optionally change the axis Units using the drop down box
- Enter the desired angle in the Angle text box
- Optionally change the orientation Unit using the drop down box
- Press the ENTER key
- Repeat until all desired graphics have been included
- Optional - Select the Save As button to export the Ellipse features to a file geodatabase, shapefile, or KML
- Choose the Rings tab on the Distance and Direction Tool
- Check Interactive
- Select the Map Point Tool (arrow icon) next to the Center Point text box
- First click on the map sets the center point (green dot)
- Subsequent clicks draw rings from the center point
- Double-click to create final ring or select the Map Point Tool a second time to stop adding rings
- To start a second set of range rings, repeat steps 3 through 6.
- Optional - Select the Save As button to export the Range Ring features to a file geodatabase, shapefile, or KML
- Uncheck Interactive to return to manual entry
- Choose the Rings tab on the Distance and Direction Tool
- Select the Map Point Tool (arrow icon) next to the Center Point text box
- Optionally copy and paste, or type coordinates in the Center Point text box
- Choose the location of the Range Rings center by selecting the desired location on the map
- Fill in the associated parameters for Number of Rings, Ring Interval, Distance Units, and Number of Radials
- Press Enter key and the graphic will be drawn on the map
- Repeat until all desired graphics have been included
- Optional - Select the Save As button to export the Range Ring features to a file geodatabase, shapefile, or KML
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Anyone and everyone is welcome to contribute. Please see our guidelines for contributing.
Repository Owner: Joe
- Merge Pull Requests
- Creates Releases and Tags
- Manages Milestones
- Manages and Assigns Issues
Secondary: Lyle
- Backup when the Owner is away
Copyright 2016 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 Analyst Defense ArcGIS ArcObjects .NET WPF ArcGISSolutions ArcMap ArcPro Add-In) [](Esri Language: C#)