Git Product home page Git Product logo

coordinate-conversion-addin-dotnet's Introduction

coordinate-conversion-addin-dotnet

Beginning at ArcGIS Pro 2.6 this functionality is installed with ArcGIS Pro. This repository will only be updated with critical fixes to ArcGIS Desktop.

Coordinate Conversion window in ArcGIS Pro 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).

Image of Coordinate Conversion Addin

Features

  • Convert several coordinate formats in one dialog
  • Copy coordinates to support other applications
  • Customize output format for converted coordinates
  • Import and export coordinate lists

Sections

Requirements

Build Requirements

Run Requirements

  • ArcGIS for Desktop
    • ArcMap 10.4.1+
    • ArcGIS Pro 2.2+

Instructions

General Help

Getting Started with the Coordinate Conversion Addin (.NET)

Development Environment

  • 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 2015 | Visual Studio Tools | Developer Command Prompt for VS2015
      • cd coordinate-conversion-addin-dotnet\source\CoordinateConversion
      • msbuild CoordinateConversion.sln /property:Configuration=Release
    • To run Unit test from command prompt
      • Open a Visual Studio Command Prompt: Start Menu | Visual Studio 2015 | Visual Studio Tools | Developer Command Prompt for VS2015
      • cd coordinate-conversion-addin-dotnet\source\CoordinateConversion\CoordinateConversionLibrary.Tests\bin\Release
      • MSTest /testcontainer:CoordinateConversionLibrary.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

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.

Repository Points of Contact

Contact the Military Tools team

Licensing

Copyright 2018 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.

coordinate-conversion-addin-dotnet's People

Contributors

adgiles avatar bobbooth avatar csmoore avatar dfoll avatar dhagens avatar f1x3d avatar jmccausland avatar jmhauck avatar joebayles avatar kgonzago avatar lfunkhouser avatar ljuru avatar mfunk avatar nfeuerstein avatar pashcovich avatar phill5136 avatar pshowalter avatar saip 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coordinate-conversion-addin-dotnet's Issues

Automatically read coordinates from user inputs

I was working with a customer this week where they created a Java Applet that was very similar to what we are trying to do with this Addin.

One feature they had that I do not think we do is the ability to let the user enter any coordinates and the tool just understands what the coordinate type has been entered instead of having to choose the coordinate type.

Default name for adding coordinate types

@jmccausland @mcalamito When adding a new coordinate to the add-in the name should default to the name of the coordinate instead of Temp. As a user Temp does not make sense. We want to take as much of the leg work out of the add-in for the end user as possible.

I understand that all names have to be unique, but the default should be set to the coordinate type.

Copy coordinates enhancement

Having the ability to capture all coordinates that are being viewed in the tool dialog could be useful to the end user.

Use the "Flash" Call Inherent to ArcMap for Flash button

Customer Feedback from on-site visit on 18FEB2016. Currently the Flash button pans-to and creates a graphic at the coordinate location. What if the graphic is the same symbology as a feature at the same location? When clicking the "Flash" button, the user thought it would act just like the inherent "Flash" call in ArcMap.

This isn't identical to Issue #67, but does overlap when speaking about the graphic being placed in the Data Frame.

Icon and UI on High Resolution Display

I noticed that the icon size and text font/input size is extremely large in ArcMap on high resolution displays. I remember at one point we had to make high resolution icons for the toolbars, not sure if this is related.

This screenshot is from my laptop with a 3200X1800 resolution.
image

Flash AND Pan-to When Enter is Pressed

Direct Customer feedback - They would like to be able to Pan-to the coordinate entered when clicking the Enter button on the keyboard. If the coordinate they enter is out of the Data Frame View, they will never see it flashing. This occurs very often.

Consider Batch Coordinate Notation Conversion

Currently the "Convert Coordinate Notation" tool does batch conversion for tables or feature classes. This new add-in is much more dynamic and a batch conversion that follows the user experience of this new add-in should be considered. From a user perspective: How would I best convert a list of twenty target coordinates that I received in an email?

Point Flash Graphic

The Flash Tool works great in identifying the point on the map (Red Star in ArcGIS Pro, Green Diamond in ArcMap).

Attempting to remove the graphic, however, is proving difficult. In ArcMap, I have to clear graphics from the Draw toolbar. In ArcGIS Pro, I can't seem to clear the graphic.

I would suggest either engineering the flash to clear itself automatically, or add a "Flash Clear" button.

This is a fresh install of the coordinate tool from today (February 19th, 2016).
ArcGIS Pro 1.2 (Build 5022)
ArcMap 10.4 Final (Build 5524)

Change the name of the tool and the repo

  • The add-in should be called Coordinate Conversion ArcMap 10.3.1
  • The add-in should be called Coordinate Conversion ArcGIS Pro 1.2
  • The repo should be called coordinate-conversion-addin

Coord Tool reads local GCS and not GCS_WGS_1984 - issues for interoperability

The Coord Tool assumes that the local GCS is GCS_WGS_1984 and makes no correction should the Data Frame be in another datum such as when the projection is British National Grid. There is no indication to the user that the coordinates are not suitable for use with other systems which would be assuming GCS_WGS_1984.

Attached is a text CSV file which has the coordinates in GCS_OSGB_1936, BNG and GCS_WGS_1984 as generated by Projection Engine and using the OSGB_1936_To_WGS_1984_7 transformation.

different datum

Coords.txt

Create Common Formats for each category

Each category currently has 1 default format.
There are many more common formats, it would be useful to have some more defaults.
This would prevent people from having to create their own custom format and would show them more examples of how to use the custom format expression.

For example.

DD with +/-
MGRS with Spaces

Pane vs View

Feedback came from (Eric Rice) that we might want to use a view instead of a pane.

@jmccausland says that he does not see an option for a view.

@topowright will get more clarity for our developers on what Eric meant by his comments and see if there are options that i can share.

Coordinate Tool addin - custom format with DMS does not work with dashes.

Installed Add-in 2/5 9:30 AM est.

Format string:
A0:B0:C0.0/X0:Y0:Z0.0 produces: 34:1:2.4/117:12:45.7
A0-B0-C0.0/X0-Y0-Z0.0 produces: 3412.4/117-1245.7

Dashes work fine in MGRS.

We have an Web Page Help example in the WAB CT widget for formatting DMS with dashes and a slash between lat/lon. I tried to replicate in the desktop addin, and can't get it to work. Other characters like ":" or "+" work, but not "-".

Edit Output coordinate - does not keep "custom" name if additional "configure" is needed.

Edit Output coordinate - does not keep "custom" name if additional "configure" is needed. I make a custom Output called DD_sign using: Y+-0.0 X+-0.0 and click Ok. I decide that I want to tweek it a bit, so I click "configure". "Name" defaults to DD, and DD_sign does not persist. I have to remember to type in DD_sign, or other name, though a message reminds me that DD already exists, so it does not overwrite DD (good). Can/should the Name DD_sign, persist in the configure form?
dd_sign_issue2

Create Ability to Have Custom Name for Each Coordinate Format in CT Widget

If we are giving the user the ability to add multiple Coordinate Outputs of the same Coordinate Type, we should add the ability to have a custom name. Otherwise, there is not much of a use case. Why? If I add two DD Coordinates, and I customize one of them, the both DD coordinates update. Therefore, there is no unique benefit to having multiple coordinate outputs of the same type unless we can make each of them unique.

Rename repo coordinate-tool-addin-dotnet to coordinate-conversion-addin-dotnet

@chinasio
@nicogis
@qjw2bqn
@Esriitalia

Follow direction from management the repository will be renamed to match name of the addin and will now be coordinate-conversion-addin-dotnet. This could cause issues with any existing forks, and it is therefore recommended that you re-fork the repository.

Since there are no open Pull Requests, the only thing I would only like to do is drop any dead feature branches. @jmccausland can we remove any unused ones in the next hour or so?

Create history of coordinates entered

As a user enters coordinates we should have a running log of those coordinates entered and allow for someone to go back and use a previously entered coordinate. When they select that coordinate it should display in the all the current outputs just like they had typed it in fresh.

This will allow for cases where someone changed the conversion properties or add new outputs after they already input coordinates.
We do not need to save this history between sessions.

Add tool tips

  • Add tool tip for last five coordinate drop down icon
  • Possibly add New Coordinate instead of just add

Display/Capture Live Coordinates Disables When Tool is Changed in ArcMap

Currently, live coordinates are only captured and displayed when the Coordinate Conversion Addin is in focus and the Map Point Tool has been enabled. The user hover the mouse over the Data Frame and populate coordinates. As soon as another tool (select elements, information tool, selection tool, etc.) is enabled, coordinate capture ceases. Is there anyway to keep this going in the background until the user proactively disables the Map Point Tool to lock into a specific coordinate?

MGRS in Tool is wrong for GCS_WGS_1984

wrong mgrs

utm_basics_20070319.docx
Using the NGA Guide I plotted the suggested MGRS using the XY Tool on a map based on GCS_WGS_1984. I also turned the Coordinate Frame to show MGRS in the bottom right corner. The plot and coordinates matched. I then used the Coordinate Tool to show the location and it produced the MGRS that one would expect for NAD27 or something based on Clarke 1866 Spheroid.

I suspect that the issue lies with the Mode being incorrectly portrayed. One would expect esriMGRSModeEnum.esriMGRSMode_NewStyle to be correct but if you use esriMGRSModeEnum.esriMGRSMode_Automatic or esriMGRSModeEnum.esriMGRSMode_USNG (which additionally adds spaces) then the result is correct.

There are 4 active uses of esriMGRSModeEnum.esriMGRSMode_NewStyle and one commented out that I suggest need updating.

Decrease Size of the add-in when tool is docked

Customer Feedback from on-site visit on 18FEB2016. Multiple users docked their Coordinate Tool window underneath the Table of Contents. This was their initial workflow/instinct. Neither right or wrong, this is the location that they placed it. In doing so, the Table of Contents had to be expanded in order to see the full output of coordinates in their output list. This reduced the amount of room the user had in their analyst window (Data Frame window).

If wanting to eliminate buttons, a few options could be to create Right-click options per Output row to allow the user to Configure and Delete/Remove the Coordinate Output. This would eliminate two buttons on the row. Buttons could also be combined into an over-arching settings button near the top of the Coordinate Tool window. There are numerous ways that this could be implemented, but just some ideas based on the users initial feedback regarding the buttons.
coordinate tool_docked2

Tool Icon generic

The tool icon for the Coordinate Conversion tool is the generic blue button. Should have an icon for Coordinate Conversion.

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.