POST
|
just for reference, I found one issue in line 33: newVal = row[0] Should be: newVal = row[1]
... View more
03-21-2016
10:10 AM
|
1
|
0
|
1803
|
POST
|
Well I need the running cumulative average. After I run this loop, I need to be able to remove or select all the rows with a value greater than or less than a certain value that I choose for my analysis.
... View more
03-21-2016
09:32 AM
|
0
|
0
|
1803
|
POST
|
I am looking for a script that will calculate the cumulative sum of say population (based on a presorted table that I have created) as long as the variable of ID is the same. So it might look like ID POP CUMPOP 1 100 100 1 250 350 1 150 500 2 100 100 2 500 600 3 150 150 3 600 750 3 100 850 3 150 1000 this:
... View more
03-21-2016
08:44 AM
|
0
|
5
|
6213
|
POST
|
I am building a web based tool where information is collected on individuals as they are surveyed over a several month period. I am looking for a tool that can run custom queries to report that information. Are there tools out there that can accomplish that? I have found one tools (not free) called InstantAtlas (Online-mapping-tools-from-InstantAtlas ), but it seems that can not build reports with the queries you create. Can this be accomplished by creating widgets that can run the queries and show the results in chart form? Thanks for the input in advance!
... View more
10-19-2015
10:22 AM
|
0
|
0
|
2090
|
POST
|
Thank you so much for your help and patience with me! I fully understand about adding the text within my script and all that, my trouble is understanding what I need to do in model builder. Can you give a bit more detailed instruction for what I need to do within model builder such as setting a variable as derived and as text? thanks !!!!!!!!
... View more
09-14-2015
01:08 PM
|
0
|
2
|
1816
|
POST
|
Can you give an example of what a dummy ouput would look like and how to connect the script to the dummy ouput and then to the next process in Model builder? Thanks again!!
... View more
09-14-2015
12:50 PM
|
0
|
4
|
1816
|
POST
|
It does not. It just simply runs an update cursor calculation on a dataset updating a bunch of fields. here is my script: import arcpy, collections fc = r"E:\MATCH_WARD" fields = ('AMOUNT','PARTY_IDEOLOGY','UNK','REP','DEM','CONT_DEM_NUM','CONT_REP_NUM','CONT_UNK_NUM') with arcpy.da.UpdateCursor(fc, fields) as cursor: for row in cursor: if row[1] == "UNK": row[2]=row[0] row[7]=1 else: row[2]=0 row[7]=0 if row[1] == "REP": row[3]=row[0] row[6]=1 else: row[3]=0 row[6]=0 if row[1] == "DEM": row[4]=row[0] row[5]=1 else: row[4]=0 row[5]=0 cursor.updateRow(row) del row del cursor
... View more
09-14-2015
12:35 PM
|
0
|
6
|
1816
|
POST
|
Thanks/ When I try t set the precondition, I get a pop up that says: Can only Connect a Variable to a Process. The script is just a .py file that I have imported into my toolbox. Do I need to set up anything within that text file to get it to be set as a precondition?
... View more
09-14-2015
12:25 PM
|
0
|
8
|
1816
|
POST
|
I have a built a rather large Model in Model Builder that process several million records. Part of the model includes running an update cursor script before it does a Dissolve on that dataset. I have gotten the python script run, but not in the right order. In fact, it only runs at the very end of the whole model. As I am new to Model Builder, I cannot figure out how to get it to run in the proper order, before the Dissolve process and not at the very end of the whole model. Thanks for your help in advance!! I am running ArcGIS 10.3
... View more
09-14-2015
12:09 PM
|
0
|
10
|
5149
|
POST
|
It has been built! It must not have copied with the Network Dataset into from the arcsde file. let me try it again. However it is now 76 mb and to big to attach.
... View more
05-14-2015
12:00 PM
|
0
|
1
|
234
|
POST
|
I upgraded both Desktop and Server to 10.3.1 and issue still persists, and I am following that tutorial to a T. I created the Analyst Dataset in an SDE database, registered it with the server. I then created the map using the tutorial.
... View more
05-14-2015
08:50 AM
|
0
|
6
|
933
|
POST
|
It was not enabled to begin with....lol. I enabled it, and I am still getting the same error. I am going to update to server 10.3 next. Thanks, and I will post my results!
... View more
05-14-2015
05:31 AM
|
0
|
8
|
933
|
Title | Kudos | Posted |
---|---|---|
1 | 03-21-2016 10:10 AM | |
1 | 04-30-2015 09:41 AM | |
2 | 04-28-2015 05:45 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|