I get the following "NaN" in all boxes. Yet I still have Lat / Long being displayed in the bottom left corner of the map. I am using the geometry service that comes default with this widget, if I use my own service or another esri geometry service it says cannot find projection.... Any ideas on what is wrong. I am using the correct WKID's for my Coordinate systems drop down. And my .mxd was projected to WGS 1984 Web Mercator (Auxiliary Sphere). [ATTACH=CONFIG]11603[/ATTACH]
<coordinateSystems> <coordinateSystem name="NAD 1983 UTM Zone 17" wkid="26917" decimals="4"/> <coordinateSystem name="NAD 1927 UTM Zone 17" wkid="26717" decimals="4"/> <coordinateSystem name="World Mercator" wkid="54004" decimals="4"/> <coordinateSystem name="GCS WGS 1984 (Decimal Degrees)" wkid="4326" decimals=""/> <!-- <coordinateSystem name="GCS WGS 1984 (Decimal Degrees)" wkid="4326" decimals="2"/> --> </coordinateSystems>
An invaluable tool!! I would like to tweak this to be able to launch it from the header bar like all other widgets - would this require more work than it's worth or is this an easy task? Thanks!
rzufelt,That functionality is not configurable yetIf you want, you can modify the source code and recompile to get your desired functionality now.EDIT line 197, 198 in CoordinateMenuWidget.mxml to be the following... copyString = copyString.replace(/{X}/g, mPoint.x.toFixed(2)); //replace X copyString = copyString.replace(/{Y}/g, mPoint.y.toFixed(2)); // replace y I will try and add that functionality into the config next release..Thanks for the infoDrew
copyString = copyString.replace(/{X}/g, mPoint.x.toFixed(2)); //replace X copyString = copyString.replace(/{Y}/g, mPoint.y.toFixed(2)); // replace y
Great little widget, works like a charm.I can get the displayed coordinates to show only 2 decimal points, but can't figure out how to make the X,Y copied to the clipboard be only 2 decimal points.Especially would like to be able to set this for the copy Map coord to clipboard. Would be nice for the projected coordinates also, but mainly would like to get the map coords truncated.Am I missing something easy? If not, any suggestions?Thanks,R_Career ESRI beta tester
Drew,Any way to work with degrees minutes seconds in your widget?Thanks,~ Dan
Hi Drew,I've found out what it's happening. The data frame is ED50, but my service is ETRS89, and when you load my service in Arcmap, it doesn't apply any transformation by default (see attached screenshot1). However if I select the correct transformation method the location is fine (see attached screenshot2, we have a customized transformation that is more accurate, but you can test with ED_1950_To_ETRS_1989_7). I don't know how difficult is you include that in your widget, but I think it should be able to specify a coordinate system transformation method. What do you think of about?Thanks very much, Pedro.
Hi Drew,I'm totally sure about the coordinates I've provided you. Because the original orto (aerial image) is in ED50 and I've got the coordinates with ArcMap. Besides, even the location in ETRS89 that your widget provides is not totally accurate because the coordinates are the center of the traffic circle and your widget in ETRS89 displays the icon a little displaced (about 3 meters).Thanks.
Hi Drew,I'm facing a weird bug with your widget. It work fine until yesterday, when suddenly the option "Go to XY coordinates" shows always this message "Error projecting coordinates". The other tools included like copy to clipboard an project coordinates work well, the trouble in only with the Go to option. I use my own geometry service, then i switch for the ESRI geometry service but nothing happens. In addition the viewshed widget don't work since yesterday either.Could be an Flex upgrade that cause the bug?, my other widgets work fine and like said before the only tool broken is Go To XY.Thanks in advance for any helpPD. Sorry for my bad english.Esteban Koch
Hi Drew,I've created a sample for you can test it, in http://iderm.imida.es/drewThe following coordinate (x=664157, y=4206606) in coordinate system name="ETRS89 UTM Zona 30" wkid="25830", is the center of a traffic circle that you can see. And the following coordinate (x=664269, y=4206813) in coordinate system name="ED50 UTM Zona 30" wkid="23030" is the same location, however your widget displays it moved. Regards.
Great widget. However I've found a problem using Goto XY Custom, I hope you can clarify me. In my place I've the following lines in xml file: ... <coordinateSystem name="ETRS89 UTM Zona 30" wkid="25830" decimals="2"/> <coordinateSystem name="ED50 UTM Zona 30" wkid="23030" decimals="2"/> ...But I've noticed that coordinates in wkid=25830 works fine (that is, the location is accurate), however coordinates in wkid=23030 are moved about 170 meters, so that isn't suitable. Any idea?
Hello Everyone,I created a new widget that you might find useful.Tucked away in the map context menu are three XY operations 1. Copy XY 2. Project XY (configurable) 3. Go To XYReadMe.txt includedHope you find it useful!Click Here to demo and download the Coordinate Menu WidgetDrew
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.