No Output from Polygon or Feature to Raster Tool

1263
7
07-31-2019 10:30 AM
Highlighted
New Contributor

Hello!

I'm having a problem with a polygon (or feature?) layer converting to raster. The tool appears to convert it (it takes a while, produces no errors) but the output is a blank layer with an empty attribute table.

The feature layer: a map of wetlands in a region of California. It is a feature layer, but the "geometry type" is polygon, so I tried both tools. There are various types of wetland, so I originally tried converting using the wetland type (eg "riverine") as the value field. When that didn't work, I realized that it didn't matter what kind of wetland it was, so I added a column filled with 1's and used that as the value field. This still did not work.

I've tried changing the cell size to values ranging from .1 to 3500. One time (apparently a fluke) I did get an output, but it was too low resolution (cell size 50). Other than that, I've gotten nothing. Very frustrating, appears to be a glitch. My OS and ArcGIS Pro 2.4.0 are up to date.

Thanks for your help! A bit of a noobie here.

Adam

Reply
0 Kudos
7 Replies
Highlighted
Esri Regular Contributor

Adam

What is the default cell size that appears in the dialog when the feature class is entered?

What are the coordinate's units, degrees decimal or meters, ...?

What is your output format, a file geodatabase raster?

Thanks

-Steve

Reply
0 Kudos
Highlighted
New Contributor

Hi Steve,

Thanks for the quick response!

Default cell size: 3517.74818233734

Coordinate Units (found under Source -> Spatial Reference -> Linear Unit):

Feet. I don't see any other unit listed under Source tab.

Output Format: File Geodatabase Raster

Hope that helps.

Adam

Reply
0 Kudos
Highlighted
Esri Regular Contributor

Adam

You do get a raster when you use the defaults?

File geodatabase rasters cannot hold a value if the output has only 1 column and row.

I guess that you are specifying a cell size that'll produce a single cell output. Try changing the output to a file based raster, for example, c:\temp\mytif.tif and then look at the properties, right click on the raster layer in the table of contents -> Properties -> Source -> Raster Information.

Reply
0 Kudos
Highlighted
New Contributor

Hi Steve,

I don't get any output when I use the default. I also tried a variety of

much smaller cell sizes, including 0.1, 1, 5, 10, 50, and 3000. I got an

output one time for a cell size of 50, but this was too low-resolution for

my needs. Cell sizes smaller than 1 lead to very long processing times.

When I re-run it with the same settings as the one successful run, I get no

output. This is what makes me think this is a software glitch, but I am

definitely open to trying other things.

I tried specifying the output raster dataset with the name

"WetlandRaster.tif" and I got an error 000445: "extension is invalid for

the output raster format."

As far as I can tell, the polygon to raster tool in ArcGIS Pro has no

option for specifying an output format.

Thanks again for your help/patience.

Adam

Reply
0 Kudos
Highlighted
Esri Regular Contributor

Adam

You can't save a .tif in a file geodatabase. It has to be to a folder.

Can you email (slynch@esri.com) me the polygon feature class?

-Steve

Reply
0 Kudos
Highlighted
New Contributor

Hi Steve,

As I was exporting it to send to you, I figured it out. The convert polygon

to raster tool works if I open the attribute table, select the whole table

with ctrl + A, and then run the tool.

This seems silly to someone new to ArcGIS, but maybe has some internal

logic?

Thank you for taking the time!

Adam

Reply
0 Kudos
Highlighted
Esri Regular Contributor

Adam

You don't need to do the select all part. To rule out the possibility of an earlier selection, run the tool again but rather than use the layer as input browse to the data and use the feature class on disk as input. Or, open a fresh project and try again.

-Steve

Reply
0 Kudos