Hot answers tagged

3

I'm thinking this code is almost there, and the only problem might be the one you have have already identified as the source of the does not support item assignment error. While the item-wise assignment strategy is fancy and rather cool, if I were in a similar situation I would sort of simplify or dumb-down the code surrounding the error. Hopefully the ...


3

You're inputting your variables as string. Try without the quotes. outRas = Raster(in_raster1) * Raster(in_raster2) * Raster(in_raster3)


2

There is no need to define the workspace if you are explicitly defining the variable paths. Additionally, you are formatting the paths incorrectly--try using r'C:\path\to\your\data'. I would recommend writing the output raster to .tif or .img format. As your script is currently configured, it is trying to output a grid format raster. This is how I would ...


2

What you're looking for is the focal statistics function in your spatial analyst toolbox. You find the documentation of the function in your ArcGIS desktop help, or under this link. Focal statistics will go through your grid using the radius or neighbourhood you've defined and will then apply the selected statistics to each cell. I would recommend using ...


2

I'd use the 'Tabulate Area', creating a cross-reference table between reclassified Aspect to 1-8 or 1-16 classes, and vegetation type areas. The resulting table would have aspect class and vegetation association. Sorry for my english.


2

The comment above is incorrect. For work relating to environmental statements - ie for a windfarm OFFSETA needs to be the tip height of the turbine and OFFSETB is the height of the observer (general input of 2m). This is because you want to know if you were standing anywhere within a given radius of the wind farm would you see them. Hence you want to know ...


2

Yes you can use Spatial Analyst for this. I'm not a Spatial Analyst expert, but I would look at the Raster Math tools to accomplish this - starting with the Minus tool.


2

If you already have ArcGIS Desktop (ArcMap) with those extensions, ArcGIS Pro is licensed to use the same extensions - you won't need to buy the extensions again. You will need to set up your ArcGIS Pro Extension licenses in the same way as you set up your ArcGIS Pro licenses. Can I use my licensed ArcGIS for Desktop extensions with ArcGIS Pro? ...


1

To see the 3D/Spatial Analyst tools in ArcGIS Pro which require separate licensing you should consult these pages from the Help: 3D Analyst toolbox licensing Spatial Analyst toolbox licensing


1

According to the Python help file: If both x and y are finite, x is negative, and y is not an integer then pow(x, y) is undefined, and raises ValueError. May be this is the source of your error? The x needs to be a positive integer if you want y to be a double?


1

You need to save outRas: outRas.save("Multiplication_Raster") pd: GetParameterAsText should start with 0, not 1 as you have.


1

No, the values do not correspond to a probability but rather a confidence region. The 14 values are, a rather arbitrary, set of nominal representations of each of the predefined confidence regions. Analogously, think of a linear regression line with a set of confidence envelopes, with each incremental envelope indicating less certainty in the estimate. In ...


1

Go to ArcToolbox -> Spatial Analyst Tools -> Map Algebra -> Raster Calculator In the raster calculator, you can either write SetNull("raster_name"<0.92, "raster_name"). Or Double click SetNull from the menu under Conditional menu, then double click the raster layer from raster layer listed in the Table of content from inside raster calculator ...



Only top voted, non community-wiki answers of a minimum length are eligible