New answers tagged

1

No, you are not doing something wrong. Actually, a few minutes print time for a highly detailed vector basemap with maybe a few dozen vector layers, is not bad at all! The amount of processing needed to convert this to something printable, is quite considerable. The particular behaviour you are seeing, with repeated cycles of the same layer names appearing ...


0

I use this model to produce an ideal hiking routes through forests. If you have the DEM and a feature classes of a start and end point, all you need to do is follow my model below. Calculate the slope of DEM, reclassify it, then use weighted overlay to further narrow down the slope criteria for the road, then use the cost distance tool where you input the ...


2

I understand you'd like to design a route between 2 points in the mountains with slope being a constraint. The solution I use is neither quick or easy. Place equidistant points over dem. Connect them by lines, using triangulation. Calculate length and slope for each and assign cost of travel through it using both values. Calculate least cost path between ...


1

This was a bug in version 2.14. It will be fixed when 2.14.2 is released.


1

I'd say importing SA functions, setting workspace to fastest media possible using TableToNumpyArray might help as well: from arcpy.sa import * from arcpy import env env.workspace='in_memory' If in_memory doesn't work set it to folder (not FGDB) on fastest disk. This is where ArcGIS stores temp rasters RasterInt=Int(raster) numberOfCells ...


1

I second that NumPy is fast for calculations on rasters (although converting back to a raster file can seemingly take a long time for the few times I've used it). You could also calculate your area using the Raster properties. Something like this without the need of Int_3d: Edited to correct calculation area = (my_raster.width * my_raster.height) * ...


1

The following might be more of a set of a partial suggestions for your situation rather than a direct and complete answer, but have you considered performing the arcpy.Int_3d() , numberOfCells and area work using numpy arrays? I've tested the function below on some small (6k x 2.5k pixels) single-band rasters and I hope it will reduce your running time. I ...



Top 50 recent answers are included