Customer Service | Training | Contact Us
You are here: Home > Downloads > ArcScripts > Search Results > Script Details Login | Feedback | Help

Lon/Lat Readout in Projection ArcMap 8.x or 9.x



contact author | download help | add bookmark | view bookmarks
Author Trent Hare
File Name latlon_display_tool_arcMap.zip
Language Visual Basic
Last Modified Nov 14 2007
Status of work Public Domain
Software ArcGIS Desktop
File Size 77.16 kb
Downloads 3948

ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.


Summary
Updated Nov 14, 2007 v4.2

The DLL plug-in lonlat_display.dll will list via a user click the longitude and latitude in any ArcMap projected view at the bottom left corner.

ArcMap 8.3 - 9.1:
Hitting the key "C" will list and place the lon/lat values into the Windows clipboard. When holding down Shift the values will be reported in DMS. When longitude is less than 0, then it will also display longitudes in a 180 to 360 system (not to the clipboard) - often used in planetary mapping. Hit "x" to add projected X,Y values in current units to clipboard.

ArcMap 9.2:
Hitting the key "L" will list and place the lon/lat values into the Windows clipboard. When holding down Shift the values will be reported in DMS. When longitude is less than 0, then it will also display longitudes in a 180 to 360 system (not to the clipboard) - often used in planetary mapping. Hit "P" to add projected X,Y values in current units to clipboard.

Based off code from ESRI. The ability to display Lon/Lat is of course built-in to ArcMap, but I needed a clipboard tool.

History:
Sep 29, 2004: Added ArcMap 9 support.
Feb 12, 2004: Fixed icon to report true center not a hair off center.
Dec 19, 2003: Added X,Y to clipboard. Hit "x" to add X,Y in current units to clipboard.
Oct 27, 2003: Added DMS readout also. Changed from double click to key "c" for Clipboard copying.
May 15, 2003: bug squashed which fixes the tool from not turning on when an existing project was loaded.
Nov 14, 2007: In ArcMap 9.2 only I changed clipboard keys to "l", "L", and "P" because the original keys are now reserved by ArcMap.

Installation:
Uploaded as an VB DLL with VB project and code. Built in ArcMap 8.3 and ArcMap 9. Customize, add from file, creates a "USGS" catagory, drag "LL" icon to a toolbar. The tool will enable when a data frame has a geographic coordinate or projected coordinate system set.

Version 4.2, Nov 14, 2007

Trent Hare - USGS
http://webgis.wr.usgs.gov