Hi all,

I am trying to convert a slope tif file into vector. The problem is it says invalid field type in the field(optional) box. The original tif file did not have an attribute table when I downloaded it. I am not sure if that is the problem?I am trying to convert this into vector so that I could overlay it with vector land use data. The land use data sets were originally in raster format. I converted it into vector so that it was easier to calculate and would also decrease error.

The steps that I have done so far are

1)I changed the projection of the downloaded elevation tif file and then merged the required elevation data sets to create a mosaic tool. This created a new raster. Then, I used a raster calculator from the spatial analyst tool bar and then typed the code snippet: [seamless] = con(isNull([mosaic]),focalmean*([mosaic],rectangle,2,2),[mosaic]). This created a new data without seems.

2)Then I used the surface tool from the spatial analyst to calculate the slope.

3)I am having problems with converting raster slope data to polygon. I tried using raster to polygon toolset from the conversion tool but the field for the slope is unidentified. I am not sure how to solve this problem.

Are there any ways I could overlay raster with vector? Please help...

Best Regards,

Nitisha

I am trying to convert a slope tif file into vector. The problem is it says invalid field type in the field(optional) box. The original tif file did not have an attribute table when I downloaded it. I am not sure if that is the problem?I am trying to convert this into vector so that I could overlay it with vector land use data. The land use data sets were originally in raster format. I converted it into vector so that it was easier to calculate and would also decrease error.

The steps that I have done so far are

1)I changed the projection of the downloaded elevation tif file and then merged the required elevation data sets to create a mosaic tool. This created a new raster. Then, I used a raster calculator from the spatial analyst tool bar and then typed the code snippet: [seamless] = con(isNull([mosaic]),focalmean*([mosaic],rectangle,2,2),[mosaic]). This created a new data without seems.

2)Then I used the surface tool from the spatial analyst to calculate the slope.

3)I am having problems with converting raster slope data to polygon. I tried using raster to polygon toolset from the conversion tool but the field for the slope is unidentified. I am not sure how to solve this problem.

Are there any ways I could overlay raster with vector? Please help...

Best Regards,

Nitisha

You can only convert integer rasters into polygons. Slope is typically 32 bit floating point data unless its already been reclassified. The first bullet in the Raster to Polygon documentation indicates the input must be a valid integer raster dataset.

Regards,

Eric

I have generated a percent slope grid but I am not sure how to multiply by 10 or 100 and then run an INT. I haven't done any of these steps before so any help in achieving these two steps would be helpful. Thank you so much for your time.

Best Regards,

Nitisha

Patrick

Here are the steps I used

1. Since I had already generated the percent slope grid, I added 0.5 to my raster before running the INT tool. I used Spatial Analyst Tools>Map Algebra>Raster Calculator. Then I added 0.5 to my slope percent ("slopepercopy" + 0.5) and clicked OK.

2. Similarly, I used Spatial Analyst Tools>Map Algebra>Raster Calculator. Then with the new dataset I typed Int("slope_add1") and clicked OK.

3. I used Conversion Tool> From Raster>Raster to Polygon. It works but is takes forever to load and I was not sure if I was doing every step correctly. I have attached an image of my watershed (I tried changing the value field from ID to gridcode but it takes a while to load).

One more question- If this step works, how would I reclassify the new ploygon ? I have used this tool before but I was wondering how would I know what grid code belongs to a particular percent slop.

Once again thank you so muchhh.

Best Regards,

Nitisha

## Attachments