Tag Info

New answers tagged

1

If you have the Spatial Analyst extension, it sounds like you may be able to make use of the Path Distance tool. You will need an elevation raster to serve as input. The tool will output a raster with a value in each cell that represents the shortest distance to one of your points from that cell, taking the topography into account in its calculations. Of ...


0

@James Hi James Keen to find out if you came write with the following. I'm busy with my Masters Thesis and Looking to multiprocess the Arc Hydro Terrain Preprocessing steps that use the same tools that can be found under Spatial Analyst Tools Hydrology.


1

I just ran into a similar problem and used the idea here to tell Python that my layers are rasters using Raster(). However, I did this not in the Con() function itself, but rather before that, when specifying the in_conditional raster, in_true_raster and in_false raster. E.g., inRaster1 = Raster("mydata1") inRaster2 = Raster("mydata2") outCon = ...


1

The surface area cannot be computed solely from the sum of slopes. (Think about what would happen for a perfectly horizontal surface: the sum of the slopes would be zero regardless of the surface's extent.) The area of each raster cell, which is a rectangle, is the product of the two cell sides--assuming you are using an equal area projection. (If you are ...


0

Typically you can look at the Layer Properties (by right-clicking the layer in the table of contents) and go to the "Source" tab and it should show you "Cell Size (X, Y) in the list of properties and values.


1

The general properties (cell size, coverage extent, geographic projections, datums, units, etc) of raster datasets can be viewed in numerous ways with ESRI products. In ArcMap, you can right-click on the raster and select 'Properties'. Under the 'Source' tab, you will see a dialog window with the many properties of your raster that you can use to determine ...


2

You should be able using the 'zonal statistics as table' tool that you mention. There is an option of what 'statistics type' to calculate, select "All" and the last column of the resulting table will be a sum of all pixels within each specified zone.


4

To check out the extension outside of ArcGIS, add this line at the beginning of the script, after the import statements. arcpy.CheckOutExtension("Spatial")


0

I found out that my issue was simply that statistics did not get recalculated when I reclassified my rasters


1

Try putting the output shapefile in a different folder - such as C:\temp\test_083c15_contour.shp. I think you might be having problems because 1 of your folders is named with a leading number or your output shapefile is named with a leading number.


0

I would first make a join of the two tables crime and population. Then I would add another column where I calculate the crime case per population, simply divide the crime case column by the population coloumn. Works if the numbers refer to the exact same areas. Then you can visualize this column in a choropleth map and immediately see where the crime is ...


1

I tested the ZonalStatistics function with overlapped polygons shapefile as zone data. Shapefile is converted into a raster, so overlapped areas are lost. As workaround I tried to extract every polygon feature from the shapefile and process the ZonalStatistics. The script does not contain def. Summing up what it does: Define the input variables Create ...


4

You can't give your existing cells a distance to the line feature as in the Point Distance tool for vector points. You can, however, calculate a new raster of distances to the line feature using the Euclidean Distance tool. You will have to ensure that you sent your cell size and snap raster to the original raster, so you get essentially a new raster with ...


0

have you tried "Euclidian distance" ? you can set up the environment so that the pixel size is the same as your other raster.


2

The first error message comes from the fact that your raster is in float, so you have more that 65535 (aka 16bit) possible unique values, but this does not mean that the values is larger than 65535. You should convert your a raster to integer (e.g. with copy raster or with Int(raster) in map algebra tools) if you want to be able to build unique values, but ...


3

A solution to this is discussed on the ESRI forum here: Every planar surface has a simple formula, Jesse, in the form (something)*x + (something else)*y + (constant). In the Raster Calculator, x is $$XMap and y is $$YMap. The trick is figuring out the coefficients. Often you want to specify a plane in terms of its slope (s), aspect (a), ...



Top 50 recent answers are included