Select to view content in your preferred language

Sample tool: NoData vs Zero

2114
2
02-24-2011 03:01 AM
MichelleGreve
New Contributor
I have used the sample tool to create tables from several raster datasets. According to the help file for this tool, cells with NoData values should be displayed as 'Missing' in the output table. However, when I run sample, all values with 'NoData' in the original raster are converted to 0 (zero) in the output table, which makes it impossible to distinguish values of zero from NoData values. Any suggestions?
0 Kudos
2 Replies
isburns
Regular Contributor
I had the same problem in ArcGIS 9.3.1 with current service packs.  The online help indicates NoData cells should be -9999 but they are 0 for me.  I just replaced the NoData cells in the input with -9999 using CON and IS NULL to get the same results.
http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=6230&pid=6215&topicname=Sample

Shea
0 Kudos
EricRice
Esri Regular Contributor
Greetings,

What kind of table are you outputting?

-Eric
0 Kudos