POST
|
The code I'm running is: >>> import arcpy ... from arcpy import env ... from arcpy.sa import * ... env.workspace = "C:/nova" ... inPoints = TopoPointElevation([['rand_1.shp', 'Elev_m']]) ... outTTR = TopoToRaster(inPoints,30,"","20","","","ENFORCE","SPOT") ... outTTR.save("C:/nova/test") And the information regarding Python is given by: >>> import sys ... import matplotlib ... import numpy ... import scipy ... print(sys.version) ... print(matplotlib.__version__) ... print(numpy.__version__) ... print(scipy.__version__) ... 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] 1.5.2 1.9.3 0.17.0
... View more
10-12-2019
02:44 PM
|
0
|
1
|
108
|
POST
|
- Yes, from the UI it succeds in both. - I've just done it to both ESRI grid and .tif with no errors. I noticed that when I run the script ArcGIS crashes when executing the "Computing min-max ranges", as this appears at the bottom left corner of ArcMap UI.
... View more
10-12-2019
01:39 PM
|
0
|
3
|
638
|
POST
|
Correctly, I refer myself to the builtin python window
... View more
10-07-2019
05:10 PM
|
0
|
0
|
638
|
POST
|
1. When it succeeds I get a raster of 19200 cells (192 x 100) which is the result of interpolating a simple shapefile of 30 points with a cellsize of 30 m. 2. Checking in ArcGIS admnistrator I can't locate it. 3. Yep, I just got it to run sucessfully with the same inputs mentioned in 1. 4. When running topo to raster from the UI it always succeds, while in the Python window I am able to run it just with in foreground. Thanks!
... View more
10-07-2019
04:39 PM
|
0
|
2
|
638
|
POST
|
Thanks for the quick reply. Actually, I have a felling that the problem is not parameter related. I ran a test using a simple shapefile of elevation points (leaving the optional parameters as default) and, again, it runs perfectly with background processing option activated, but not with foreground processing. I also ran the code snippet of a sucessful manual topo to raster interpolation, but had the same problem. Just repaired ArcGIS installation, but the problem persists. Can you think of anything else that could be causing the problem?
... View more
10-07-2019
04:39 AM
|
0
|
4
|
638
|
POST
|
Hi, I'm quite new in using ArcPy and have been struggling with it. I was trying to run a python script that has a loop containing the Topo to Raster tool. The code runs smoothly just until this tool is executed, and at this moment ArcMap suddenly shuts down without any message. After a couple of tests I discovered that the script runs smoothly with the background processing option activated, and the shutting down just occurs when it's deactivated. I just can't let the background processing option activated since the computational time would be too large for the purpouse of the script. Anyone has already experienced this type of problem? Any tips of how to fix it? Kind Regards, Felipe.
... View more
10-06-2019
07:49 PM
|
0
|
11
|
937
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|