|
POST
|
Verson 1.0.0.620 ArcGIS API for Silverlight 2.2.0.629 Windows Server 2003 R2, SP2 I have enabled pop-ups for a layer using the Silverlight Builder, but they do not show up in the published web app. I have tried clicking on the layer symbols and just hovering over the symbols with no luck. I have tried this in Mozilla Firefox (9.0.1) and Internet Explorer (9.0.8112.16421). The popups do not show up. http://help.arcgis.com/en/webapps/silverlightviewer/help/#/Pop_Ups/017700000029000000/ On this page it says that I should have the option to select "Show pop-ups" by "on click" or "on hover". But I do not see these options. It just says "Enable pop-ups for this layer" and I have it checked. In fact, my configuration window doesn't look like the one on the help document at all. I don't have a config options for symbology, table or filter. [ATTACH=CONFIG]11311[/ATTACH] Any idea what could be causing this? Stephanie
... View more
01-19-2012
07:37 AM
|
0
|
8
|
5182
|
|
POST
|
That all makes sense. I had the field size about 4 characters larger than I thought it needed to be, but perhaps there is a value in there that is bigger. Thanks for your advice 🙂 I'll give it a try.
... View more
12-03-2011
07:28 AM
|
0
|
0
|
2703
|
|
POST
|
No, that didn't work either. Error 539 - error running expression. I've had this issue before where a function will work in python and not ArcGIS. I keep thinking there is some small thing I'm not doing, that ArcGIS requires and python doesn't. Oh well. Thanks for your help!
... View more
12-02-2011
11:37 AM
|
0
|
0
|
2703
|
|
POST
|
That works Curtis, thanks. However, I'd still like to know why my definition worked in python IDLE but not the field calculator. I'm trying to improve my skills and just don't see why my definition would have failed.
... View more
12-02-2011
10:12 AM
|
0
|
0
|
2703
|
|
POST
|
The coordinate value length is inconsistent. That's why I do the find to determine the stop and start index for extraction. I'd prefer to do this in python as I plan to do future field calculations using python. But thanks for your suggestion.
... View more
12-02-2011
07:53 AM
|
0
|
0
|
2703
|
|
POST
|
I'd like to use python in the field calculator to extract a string. Basically the UTM North and East coordinates are in the same field and I'd like to parse them out. An example of a field value is "North: 4479928.51 East: 290941.79". When I run this very simple function in python, it works fine: >>> def utmn(inValue): utmn_start = inValue.find(":") + 2 utmn_stop = inValue.find("East") -1 return inValue[utmn_start:utmn_stop] >>> utmn(field) '4479928.51' However, when I try to run it in the ArcGIS field calculator, i get an error message that the row contains a bad value. None of the rows are null or contain text that is not in this format. Here's what I put in the field calculator. MERIDIAN_NAME_TEXT is the name of the field from which I am extracting the string. UTM_North is the name of the input field. Pre-Logic Script Code: def utmn(inValue): utmn_start = inValue.find(":") + 2 utmn_stop = inValue.find("East") -1 return inValue[utmn_start:utmn_stop] UTM_North = utmn(!MERIDIAN_NAME_TEXT!)
... View more
12-02-2011
07:15 AM
|
0
|
8
|
6453
|