|
POST
|
Maybe you could delete any existing rasters in that workspace first?
## you need to set the worspace first!
## for each Raster in the workspace, delete it
rasters = arcpy.ListRasters()
for r in rasters:
arcpy.Delete_management(r)
... View more
03-29-2013
04:20 AM
|
0
|
0
|
1067
|
|
POST
|
One of these fields is type Text or non-numeric sum([GrpField1New+GrpField2New+GrpField3New+GrpField4New+GrpField5New])
... View more
03-27-2013
11:50 AM
|
0
|
0
|
2158
|
|
POST
|
Posting on this thread to subscribe and follow along because I suspect this topic will continue on for a while. Unfortunately, it doesn't seem like there has been a whole lot of user-experience postings on this topic and can be difficult to get help. Also: I am doing much of my time-series animation work (interpolation results) manually but experiencing a lot of frustration getting things just right. I end up jumping between the Time Slider component and the Animation toolbar as they seem to work hand-in-hand. As well as the time properties of the raster(s) themselves. Q: Are you using a Raster Catalog? Q: Have you done what you want manually before attempting to script the process? This has been my workflow, which seems to be a great choice. However, my next step is to script'ize as much of this as possible -- hence my reason for posting on this thread (again sorry for not posting direct answers). 1. Generate a FGDB of all my Raster Datasets 2. Create a Raster Catalog and populate with the individual Rasters 3. Add a "Time" field and populate with consecutive dates (python/field calculator) 4. Set the time properties when adding the Raster Catalog to the TOC 5. Symbolize the raster catalog 6. Use the tools on the Time Slider to add the date/time stamp to the layout 7. Use the Animation Toolbar to export to Video (accepting the defaults). Good luck! j
... View more
03-27-2013
11:30 AM
|
0
|
1
|
1419
|
|
POST
|
I am wondering if this is just a strange quirk of the properties window that is reporting the Count value of the Classified Statistics. By running the same raster through a raster-to-point conversion, the output has the correct number of rows/points, while that count in the properties of raster is double that value.
... View more
03-21-2013
07:08 AM
|
0
|
0
|
734
|
|
POST
|
I have a user that has reported a strange (to me) issue that I cannot explain and hope to get some answers. When previewing the Classification properties of a raster (from a FGDB) that is loaded into ArcMap 10.1, the count is double what the row count * column count. For example, Cols & Rows: 1467, 1354 = 1986318 cells However, if we preview the symbology properties, Classified renderer (clicking the "Classify" button) it shows in the classification statistics pane: Count: 3972636 This count is double the cell count of cols * rows above. This only occurs on some rasters (there are other rasters that show the same count per the above example). Am I misunderstanding something simple here? Thanks for any input, j
... View more
03-21-2013
06:58 AM
|
0
|
1
|
1050
|
|
POST
|
The Windows snipping tool will capture a screenshot. 😕 You would need to create your own script. Most raster properties are easily accessible via arcpy.Describe, and those that are difficult to access Describe are available using the Get Raster Properties tool. If you have a good use case about what such a report would look like, make your suggestion @ http://ideas.arcgis.com. Thanks Curt, Guess this will be added to the list of Python tools to develop. They are adding up quick!
... View more
03-20-2013
08:33 AM
|
0
|
0
|
869
|
|
POST
|
In ArcCatalog 10.1 I can right-click a raster (say in a FGDB), select "Properties" from the menu to open the dialog that displays the basic information about that raster. Is there a way or a tool available that will save this information to a file? Thanks, J
... View more
03-20-2013
07:10 AM
|
0
|
2
|
1381
|
|
POST
|
How about saving as a .lyr file? Or if you need to replicate the classified rendering for the actual raster or other rasters, then you can save the Class breaks out to an .xml file and just reset/setup the renderer with the new raster by loading the class breaks. 1. Open the properties of the raster you have already classified. 2. On the Symbology tab, select/highlight all of the classes in the range. Right-click and select "Save Class Breaks". 3. This will save a .xml file that you can "Load" into an unclassified raster whenever you want. It may not keep the color scheme, but you will be able to quickly apply the class break properties.
... View more
03-20-2013
06:00 AM
|
0
|
0
|
2160
|
|
POST
|
Hi Grant, Unfortunately the Arcpy.mapping module will not work in ArcScene because the arcpy.mapping.MapDocument() module is looking for a map document and not a scene document. This is probably something that we should take into consideration though. You might want to add this to our ideas site: http://ideas.arcgis.com/ideaHome?c=09a300000004xET What is the status of this? We have some VBA that processes ArcScene (9.3.1) document contents and will need to come up with solution for the ArcGIS 10.1 environment.
... View more
03-15-2013
07:07 AM
|
0
|
0
|
1672
|
|
POST
|
James krigingModel = KrigingModelOrdinary("SPHERICAL") kRadius = RadiusVariable(12) kCellsize = "#" kOut = Kriging("ca_ozone_pts", "ELEVATION", krigingModel, kCellsize , kRadius ) see the tool help for more examples. Steve That'll work! Thank you.
... View more
03-11-2013
12:22 PM
|
0
|
0
|
701
|
|
POST
|
I am attempting to replicate the default settings of Kriging Interpolation that is performed in the Spatial Analyst Toolbox. That is, if I were to accept all the defaults per the tool, what would my settings/parameters be in python? Something like?: outKriging = Kriging(inFeatures, field, KrigingModelOrdinary("SPHERICAL", 200, 2.6, 542, 0), 200, RadiusFixed(12, 1)) Thanks for any input. j
... View more
03-11-2013
07:55 AM
|
0
|
2
|
1084
|
|
POST
|
TextPad for me -- the line and space numbers help with formatting and alignment. It's been challenging, but not overwhelmingly difficult to adjust --- most of my career has been developing COM/ArcObjects using languages that don't care about formatting and super functional IDE's.
... View more
02-28-2013
03:15 AM
|
0
|
0
|
2847
|
|
POST
|
You might need to setup an IEnumRelationshipClass to acquire the RC you need? Not sure what you currently have so far, but maybe you can pull some ideas from this older thread: http://forums.esri.com/Thread.asp?c=93&f=992&t=225805&mc=10#msgid686029
... View more
02-25-2013
05:08 AM
|
0
|
0
|
1229
|
|
POST
|
http://edndoc.esri.com/arcobjects/9.2/NET/2e097482-4f99-4224-896e-8027e6ab883e.htm
... View more
02-22-2013
03:41 AM
|
0
|
0
|
1229
|
|
POST
|
I think you need to reference an ITable object from the Many-To-Many RelationshipClass you setup in the Geodatabase. From what I understand, if you were to add this relationshipClass to ArcMap for example, it would be added as a table.
... View more
02-21-2013
03:52 AM
|
0
|
0
|
1229
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-17-2020 10:47 AM | |
| 1 | 10-25-2022 11:46 AM | |
| 1 | 08-08-2022 01:40 PM | |
| 1 | 02-15-2019 08:21 AM | |
| 2 | 08-14-2023 07:14 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-22-2025
02:28 PM
|