|
POST
|
I haven't had much luck finding a solution to this - which seems like it should be so easy. One of our servers is still running 9.3, and I have a daily python script that runs on it. One of the updates I would like to make is to be able to sort the records in a geodatabase based on the field 'Project Number' - in ascending order. I thought it was an easy addition of sort_management until I realized that this is only available after 10.0. Is there any way to accomplish this with 9.3? Any help is appreciated.
... View more
08-20-2015
09:16 AM
|
0
|
2
|
3417
|
|
POST
|
Thank you so much for the suggestion. I think that will do it!!!
... View more
12-30-2014
10:44 AM
|
0
|
0
|
1759
|
|
POST
|
The example table is a grid table and the zones are consistent. The GRIDs were created from joining a table to a grid table.
... View more
12-26-2014
04:03 PM
|
0
|
0
|
1759
|
|
POST
|
I probably didn't describe it accurately enough. The table showing is just one attribute table of 42 grids. I have 42 grids, each grid is a different year. Within each grid, there are about 78,000 cells - with a different ObjectID. Each cell as a water amount for each month. All the GRIDs have the same size cells and are overlapping. The goal was to somehow determine the average water amount for each cell. Cell Statistics seemed like the way to go, but I don't think the table is set up appropriately to do this. I may have to go back to the original tables and set those up differently before creating grids from them.
... View more
12-26-2014
03:57 PM
|
0
|
2
|
1759
|
|
POST
|
Thank you so much for your reply. Do you know if it is possible to get a 42 year average for each cell by month??
... View more
12-26-2014
02:58 PM
|
0
|
4
|
1759
|
|
POST
|
My brain is slowing down this Friday afternoon, and I am having trouble figuring this out. I have 42 GRIDs for a water basin (each representing a year). Each grid contains the attributes for January - December - so 12 attributes with the amount of water received for each month. Is there a way to create one final grid (or maybe one for each month) that contains the 42 year average of water for each month?? Any help or ideas is appreciated. This is what the attribute tables look like...
... View more
12-26-2014
01:54 PM
|
0
|
8
|
5682
|
|
POST
|
That worked like a charm --- and was about 100x faster processing! Thank you!
... View more
10-31-2014
04:22 PM
|
1
|
1
|
1054
|
|
POST
|
We do...we are running 10.2.1. I will check that out! Thank you!
... View more
10-30-2014
11:31 AM
|
0
|
3
|
1054
|
|
POST
|
I am new to Python, so this may have a simple answer. This is something that I used to write in AML in 10 minutes. I want to relate a feature class to a table, select all records in the feature class - which would select related records in the table, do a switch selection on the table and create a new feature from the table. My script does what it is supposed to when I use a small sample set, but totally crashes ArcMap so that it closes completely about 1/4 of the way through the full (13,000) records. I believe it has something to do with the nested cursors that I have going. How can I keep it from crashing and closing and finish the script? Any help would be great! Or if there is an easier way to do a relate in python?? This is the piece where is does a "relate" and ArcMap closes..........
# Create a search cursor to loop through the building_pt_sewer table
arcpy.SelectLayerByAttribute_management("building_clip", "NEW_SELECTION", "OBJECTID > 0")
buildings = arcpy.SearchCursor("building_clip")
parc_field = "parcels_ASSESSOR_N_1"
for building in buildings:
#Get Parcel Number of building
building_ID = building.getValue(parc_field)
# Create search cursor for looping through the buildings
sewers = arcpy.SearchCursor(DestinationTable)
sewer_field = "parcel_id"
for sewer in sewers:
#Get parc of sewer
sewer_parc = sewer.getValue(sewer_field)
query = "parcel_id = " + "'%s'" %building_ID
print query
arcpy.SelectLayerByAttribute_management(DestinationTable, "ADD_TO_SELECTION", query)
# break
del buildings, sewers
... View more
10-30-2014
10:33 AM
|
0
|
5
|
2336
|
|
POST
|
I was starting to wonder that. Thanks for your help. So, do you know, is it a no go to fix the browser caching in the compiled version? Besides, just doing it manually.
... View more
02-20-2013
02:28 PM
|
0
|
0
|
1401
|
|
POST
|
Hi Anthony, Yes, it is a compiled code version of application builder.
... View more
02-20-2013
01:54 PM
|
0
|
0
|
1401
|
|
POST
|
Rhett, I think I am making this a lot harder than it is. I can find those files in an older version that I have loaded on my computer, but not in my current folders. Are they going to be in the program folder 'ArcGIS Viewer for Flex' or within the application folder on the server side or in a completely different spot that I am not looking in? Thank you so much for your help!
... View more
02-20-2013
08:46 AM
|
0
|
0
|
1401
|
|
POST
|
Thank you for the link. I am really new to using Flex Viewer. Where would I find the ConfigManager.as, index.template.html and MapMananger.mxml in version 3.1? So far, I have only had success in finding the Index.html and when I alter that code to have a date/time stamp, there is no difference.
... View more
02-19-2013
02:32 PM
|
0
|
0
|
1401
|
|
POST
|
I have found a lot of solutions to prevent caching on the client side, but not for Flex Viewer 3.1. Does anyone know how to disable the client side caching in 3.1. We are creating an Application that the general public can use, but that I will need to make regular updates to. For those clients that may use the application repeatedly, I want to make sure that they are always seeing the updated version and not what is cached on their computers. Any help would be greatly appreciated!
... View more
02-19-2013
06:43 AM
|
0
|
11
|
3403
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-23-2017 03:14 PM | |
| 2 | 01-08-2020 09:01 AM | |
| 1 | 09-09-2016 08:50 AM | |
| 1 | 10-10-2019 10:45 AM | |
| 2 | 11-02-2018 11:23 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-20-2025
12:32 PM
|