Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Trying to convert a polygon to raster in ArcGIS gives me an error... I am wondering if there is another way around to do this? I am using ArcGIS 9.3.1.

The error i am getting is number 9999 when I try to use the feature class to raster tool. Here is what I did using the Conversion to Raster from polygon:

  1. Choose as a feature class from a file geodatabase
  2. Choose landcover as the value field
  3. Select cell center type
  4. 10 as a cellsize.

Is the tool I am using a bug? Is there better way to do this conversion? What about a arcscript?

share|improve this question
2  
Is the error perhaps 999999 instead of 9999? There is a bug, NIM042324, related to geodatabase conversion: forums.esri.com/Thread.asp?c=93&f=1727&t=290312 . It is documented at support.esri.com/en/bugs/nimbus/TklNMDQyMzI0 . –  whuber May 24 '11 at 15:48
1  
This tool works well for me! Try with another feature class or another value field to find what's possibly wrong with your source data. I say wrong, but it's more to find the limits of the tool. –  jeb May 24 '11 at 17:11
1  
if you're willing to try other tools, gdal_rasterize can perform the same action and is very robust: gdal.org/gdal_rasterize.html –  scw May 24 '11 at 18:11
    
For some reason it worked today, but it came out in black and white. It is 8 bit and the no data value is 255. How do I force it into color ? I think yesterday I get the error was because there was some processed going on my computer and that may have cause the error. –  PROBERT May 24 '11 at 18:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.