POST
|
Rachel yes it does. Thanks I didn't see this until now!
... View more
09-23-2016
08:38 AM
|
0
|
0
|
567
|
POST
|
I am hoping to find the latest already built network dataset to use with NA. The last copy I have is using the 2013 data. I looked on AGOL, maybe I am looking the wrong location? Does anyone know if we have to create our own now? Thanks! Kara
... View more
04-04-2016
01:17 PM
|
0
|
3
|
5311
|
POST
|
Like many, wading into the kiddie pool of ArcGIS Pro and debating it's relevance to my workflows. One workflow needs a connection to a third party WMS. I can't for the life of me figure out how to add it. I have searched the help which is has taken me to adding it through a raster mosaic dataset? Does this sound right or is there an easier way to add a WMS?
... View more
12-23-2014
10:31 AM
|
0
|
1
|
3551
|
POST
|
Hi Mike a little late in response to this question, but I was just researching the same issue above. It appears that only the administrator log in works when signing in, the rest of the users in the group are unable to access the web application using their credentials. Is there something in the role I might need to adjust? Any suggestions? Thanks!
... View more
07-28-2014
01:26 PM
|
0
|
1
|
336
|
POST
|
This seems to work. Is there an easier way to do this I have a TON of labels that I need to dynamically populate based on the table values? I have too many constraints in order to use a label engine over multiple projects and make them all look the same way. We are trying to automate this process. Thanks! import arcpy from arcpy import env import string # Set the workspace mxd = arcpy.mapping.MapDocument("CURRENT") # Set the variable for each element epz_n = arcpy.mapping.ListLayoutElements(mxd, "TEXT_ELEMENT", "epz_n")[0] cur2_n = arcpy.SearchCursor("tbl_10_to_EPZ", "[Compass] = 'N'") epz_wnw = arcpy.mapping.ListLayoutElements(mxd, "TEXT_ELEMENT", "epz_wnw")[0] cur2_wnw = arcpy.SearchCursor("tbl_10_to_EPZ", "[Compass] = 'Wnw'") def intToStringWithCommas(x): if type(x) is not int and type(x) is not long: raise TypeError("Not an integer!") if x < 0: return '-' + intToStringWithCommas(-x) elif x < 1000: return str(x) else: return intToStringWithCommas(x / 1000) + ',' + '%03d' % (x % 1000) for row in cur2_n: value = row.getValue("POP_RATIO") epz_n.text = intToStringWithCommas(value) for row in cur2_wnw: value = row.getValue("POP_RATIO") epz_wnw.text = intToStringWithCommas(value) mxd.save() del mxd
... View more
01-04-2012
10:42 AM
|
0
|
0
|
275
|
POST
|
Thanks Dan. I will give this a shot... Although I am not entirely sure where to insert this code or modify it to make it work for me. Do you have a suggestion?
... View more
01-04-2012
10:18 AM
|
0
|
0
|
275
|
POST
|
I have been successful at creating a very basic script when ran to populate labels inside of my layout view in ArcMap. I am no python master and have pieced this together from research. I also have to do this about 40 or so labels so if anyone as a way to write this easier, I am all ears/eyes! ************ import arcpy from arcpy import env import string # Set the workspace mxd = arcpy.mapping.MapDocument("CURRENT") # Set the variable for each element epz_n = arcpy.mapping.ListLayoutElements(mxd, "TEXT_ELEMENT", "epz_n")[0] cur2_n = arcpy.SearchCursor("tbl_10_to_EPZ", "[Compass] = 'N'") epz_wnw = arcpy.mapping.ListLayoutElements(mxd, "TEXT_ELEMENT", "epz_wnw")[0] cur2_wnw = arcpy.SearchCursor("tbl_10_to_EPZ", "[Compass] = 'WNW'") for row in cur2_n: epz_n.text = row.getValue("POP_RATIO") for row in cur2_wnw: epz_wnw.text = row.getValue("POP_RATIO") mxd.save() del mxd ***************** My question is how do I get that value to resemble a integer separated by commas? If my value is 15000 I want it to look like 15,000. Thanks for any suggestions.
... View more
01-04-2012
09:23 AM
|
0
|
3
|
552
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|