POST
|
Great - Thanks! It would be great if there were a better error associated with it.
... View more
10-24-2010
03:53 PM
|
0
|
0
|
665
|
POST
|
This is the error I received from that code: Messages Executing: RasterCalculator SetNull( Not(IsNull( "protect" )), "nlcdforse" ) C:\temp\privfor Start Time: Thu Oct 21 15:08:06 2010 SetNull( Not(IsNull( Raster(r"protect") )), Raster(r"nlcdforse") ) ERROR 000539: Error running expression: rcexec() <type 'exceptions.NameError'>: name 'Not' is not defined Failed to execute (RasterCalculator). Failed at Thu Oct 21 15:08:06 2010 (Elapsed Time: 0.00 seconds) Any thoughts? Thanks Marcus
... View more
10-21-2010
11:12 AM
|
0
|
0
|
665
|
POST
|
Dan, I am using ArcMap 10. The error I received was a parsing syntax error. Maybe we can start with square one if you have time. I have a raster and I want to erase the area of all polygons in a single shapefile from it.
... View more
10-16-2010
05:14 PM
|
0
|
0
|
665
|
POST
|
Hi I am attempting to erase a series of polygons from a raster set. I have ArcView w/Spatial Analyst version 10.0. I have converted the polygon to a raster and tried to subtract the two and have tried this code to no avail. SetNull( Not IsNull( [PolyRaster] ), [MyRaster] ) Any help would be appreciated. Thanks Marcus
... View more
10-16-2010
07:55 AM
|
0
|
7
|
3644
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|