POST
|
I will never use PythonWin again...Thank you Mathew!
... View more
03-15-2012
03:17 PM
|
0
|
0
|
1704
|
POST
|
This is nuts! I was having the same issue but importing the module in IDLE then running the script in PythonWin worked. This has to be a bug. The help files for version 9.3 included PythonWin instructions, but with issues like this how could anyone promote PythonWin? Thank you Greg!
... View more
03-14-2012
02:30 PM
|
0
|
0
|
1704
|
POST
|
Does anyone know how to add a vertical line onto a histogram. I'd like to have a second series (function) on my graph that shows the average (and standard deviation +-1 from the mean). I can get the graph to plot the average of the histrgram count (a horizontal line over the histogram), by adding a "New Function" but I can't figure out how to plot a vertical line over this histogram.
... View more
03-07-2012
09:46 AM
|
0
|
0
|
276
|
POST
|
Hi Steven, Did you ever get this to work? I was thinking about trying the same thing to automate the renderer/ classification of data layers on a map. Thanks, Guy
... View more
02-22-2012
11:43 AM
|
0
|
0
|
198
|
POST
|
Any chance this gets added as a service pack to 10.0? I miss VBA...but we must move on with Python in the name of "progress"!
... View more
02-22-2012
11:27 AM
|
0
|
0
|
212
|
POST
|
If I clear out the raster cell size and extent settings from ArcToolbox Environments the TOPO TO RASTER also runs in about 3 minutes (which is the same processing time as in 9.3.1). Frustrating...
... View more
10-28-2011
11:53 AM
|
0
|
0
|
300
|
POST
|
Installing SP3 for ArcGIS 10 did not resolve the issue. TOPO TO RASTER is still hanging...
... View more
10-26-2011
10:48 AM
|
0
|
0
|
300
|
POST
|
Is anyone having performance issues when running it in 10? When I run it in 10 my computer hangs forever...I watch the spinning circle of death (Windows 7). Using the same data in 9.3.1 (also Windows 7) it runs in 3 minutes! I'm running ArcGIS 10 SP2.
... View more
10-25-2011
05:51 PM
|
0
|
0
|
300
|
POST
|
Logan - accessing ArcObjects from Python sounds VERY promising indeed! But I can't find DemoTool.idl. Do you know where this should be? I've got visual studio, the WinSDK, and ran the comtypes exe from sourceforge.
... View more
04-15-2011
10:45 AM
|
0
|
0
|
360
|
POST
|
Thanks Dan & Teresa... Hmmm...I was hoping I wouldn't have to use Tkinter but yes I do see (sort of) how something could be put together for what I want. I think this might be one way that VBA was superior...maybe not surprising considering Windows and VBA are both Microsoft. Maybe I'll add this to the ArcGIS Ideas resource center. It seems to me that the forms / dialogs that ArcMap uses (or something like them built for Python using Tkinter) should be available as modules and callable with a single line of code.
... View more
04-14-2011
02:07 PM
|
0
|
0
|
360
|
POST
|
Hi all, Does anyone know if it's possible to call the file dialog to select multiple Feature Layers for input into a script run through PythonWin? That is to say, the nice litte file dialog that we have access to for selecting multiple feature layers when the script is run out of ArcToolbox. I'm trying to migrate from old VB6 & VBA and I'll admit that PYTHON is VERY efficient but I'm stuggling royally with the PYTHON IDE's...on a few levels. I find it easier to test and run out of PythonWin. On a completely unrelated note...why can't the toolbox results window simply recognize the print statement? I miss good old VBA. It may have taken a lot of code, but debugging was a dream. Python programming between PythonWin and code run through toolbox seems like it takes two different versions just to get some feedback! Thanks.
... View more
04-13-2011
02:16 PM
|
0
|
7
|
517
|
POST
|
OK - I solved this one on my own. If you set the extent like this it works. arcpy.env.extent = "677000 5527000 710000 5545000" This does not work. #arcpy.env.extent = arcpy.Extent("677000,5527000,710000,5545000")
... View more
04-06-2011
04:16 PM
|
0
|
0
|
186
|
POST
|
I'm trying to convert feature data to raster and have a defined coordinate extent that I want to use for the output grids. I don't, however, want to rely on using snap raster with an existing dataset to do this. This code does the conversion but it ignores the extent setting. import arcpy
arcpy.env.workspace = "C:\Test\ArcGIS_Python_Course\Roads"
arcpy.env.extent = arcpy.Extent("677000,5527000,710000,5545000")
#set local variables
cellSize = 100
inFeature = "Roads3.shp"
outRaster = "g3"
field = "GRID"
outGrid = arcpy.FeatureToRaster_conversion(inFeature, field, outRaster, cellSize)
print "Finishg processing..." Does anyone know how to set the grid extent for this tool without using an existing file? Thanks
... View more
04-06-2011
03:31 PM
|
0
|
1
|
548
|
POST
|
Upgrading the geodatabase from a 9.3.1 file geodatabase to a version 10 geodatabase solved the problem - Thanks for everyones help.
... View more
12-23-2010
05:11 PM
|
0
|
0
|
783
|
POST
|
Using ArcGIS 10 SP1 Interested to see if other's having these problems are using shapefiles or gdb's; if the latter, what version of gdb? I think that must be it! I created by File Geodatabase in ArcGIS 9.3.1 and am editing it in ArcGIS 10. I will try updating the geodatabase to 10 and see if this still happens. Thanks Dan.
... View more
12-21-2010
07:31 AM
|
0
|
0
|
783
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|