New answers tagged

0

This is a documented bug: Bug BUG-000083280 Using in_memory workspaces causes the PATHCOST field to result in zero values.


0

Use a free software called 'Geospatial Modelling Environment' instead. It does this task very quickly without any errors. Just have to install it and run a tool called isectpolyrst. No additional steps needed. In my experience it has worked better than the Zonal statistics as a table tool of ArcGIS. It creates a new field for mean values directly in your ...


1

Because you have 42 tiles of 800,000 point you have more data than a TIN can hold-you will need to build and populate a Terrain. Using the tools available in the 3D Analyst toolbox-construct an ESRI Terrain dataset , populate the Terrain with your point data, then use the contour tool to construct 1 ft contours. Here is a link to working with Terrains in 10....


0

Dear dof1985 thanks for your comment I did it by the following code : import arcpy from arcpy import env from arcpy.sa import * import arcpy, os import arcpy.da env.workspace = "E:/spring/cases/main/9_jan_2016/New Folder/output" output1=r"E:\main\9_jan_2016\New Folder" output=r"E:\main\9_jan_2016\New Folder\output\test" output2=r"E:\main\9_jan_2016\...


0

Based on the help for the Maximum Likelihood Classification tool, and the text in the help page How Maximum Likelihood Classification Works, I'm pretty sure the codes match these values. The help page should list these - I dropped a request on their web page to include a table like this. 14 <= .005 13 >0.005 to 0.01 12 >0.01 to 0.025 11 0.025 (etc)...


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 ...


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? ...


0

Just like with ArcGIS for Desktop (that you'll receive if you buy ArcGIS Pro and vice versa) extensions must be purchased . Note that with ArcGIS Pro, you'll be able to visualize layers in 3D (but you won't have access to the tools of the 3D Analyst toolbox if you don't buy it). For both Desktop applications, you can evaluate any extension during (I think) 2 ...


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


0

there are a few things to check, but your error could be a missing indentation, "con" without a capital letter or the missing () after ListRasters. I've replaced some part of your code (not all changes are necessary) and added the save. import arcpy, os from arcpy.sa import * arcpy.CheckOutExtension('Spatial') arcpy.env.workspace = r"D:\MODIS-NDVI\...


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.


0

If you have the license you could use the Extract Values to Point tool to add the aspect raster value to your point layer and then carry on with whatever method you will use to run your density analysis. Extracts the cell values of a raster based on a set of point features and records the values in the attribute table of an output feature class.


0

If you have completed a suitability analysis then you have some raster cells attributed as suitable and the other cells unsuitable (or more suitable and less suitable). Use reclassify to convert the desired suitable cells to a value of 1 and the unsuitable cells to a value of NoData. Finally, you can the convert the reclassified values to a polygon to get ...


-1

I can't find this in Esri doc, but this blog suggests that the ** operator means "to the power of" so "dataset.tif" ** 1.5 may get you what you want.


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?


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 ...


0

As your DEM data is in a file geodatabase then you will note 3 things about the file names: They do not start with a number They do not have spaces in their names They are unique names As @Paul says in the comment you can create a list and loop through this. You could just use the name of the DEM for the output name of your slope raster, that would be ...


3

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


1

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


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 ...


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 ...


0

I'll go out on a limb here and link this page: ESRI FAQ Question Why does the data bit depth increase when a raster is projected, rotated, or >clipped? Answer Pixel depth is increased to provide the space to store 'nodata' values. This allows changes, such as a shift or a mask, to be applied to the raster. Pixels within the new raster's ...


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 ...


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 ...



Top 50 recent answers are included