Skip to main content
4 votes

How to write Con expression in Raster Calculator

It looks like you are trying to save a raster layer to a database with a comma in the name of the file. Remove the comma from your file name. See this link for naming conventions in ArcGIS Pro. https:...
GBG's user avatar
  • 10.5k
3 votes
Accepted

Raster Calculator Python Error 00539 for friction surface

When creating raster data in geodatabase, you do not need to add file extension such as .tif. This a mentioned in the help of Create Raster Dataset: When storing a raster dataset in a geodatabase, do ...
ahmadhanb's user avatar
  • 41.4k
2 votes

Distance Accumulation script execution in ArcGIS Pro

Along with what @Vince said about using the faster modern cursors, here are some first thoughts: You are saving your rasters as ESRI grids, it's possible that the full path name you build is ...
Hornbydd's user avatar
  • 44.6k
2 votes
Accepted

Raster calculation with multiple rasters using ArcGIS Desktop?

I used the same formula as yours and it worked without any problem: I used ERDAS Imagine Format (.img) for my input and output raster calculation to avoid the limitation of 13 characters in ESRI GRID ...
ahmadhanb's user avatar
  • 41.4k
1 vote

Error 010240 while running cell statistics operations

Two things that I would check are: First change: ws="E:\Karun\MTech_Project\MB_RasterAnalysis.gdb" to: ws=r"E:\Karun\MTech_Project\MB_RasterAnalysis.gdb" I think there is a good chance that ...
PolyGeo's user avatar
  • 65.4k
1 vote
Accepted

Error 010240: Can't save my con statement as a tiff?

Make sure your output path is correct (i.e. you can't save tiffs to a GDB). You have a number of errors in your code, try the following: actualrd = Raster('actualrd.tif') #Make template a Raster ...
user2856's user avatar
  • 69.6k
1 vote

Arcpy batch raster reclassify script unable to save

As noted here you have to specify output raster format: When you name your output raster dataset, specify: .bil for Esri BIL, .bip for Esri BIP, .bmp for BMP, .bsq for Esri BSQ, .dat for ENVI, .gif ...
Comrade Che's user avatar
  • 8,208

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