Skip to main content
edited tags
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

I need to vectorize some rasters to polygons and to do so, I use the "Raster to Polygon" tool in ArcGIS Desktop 10.4. As there are many rasters, I use a iteration in ModelBuilder.

The output workspace is a Geodatabase and here comes the problem. When the model runs, the first iteration works fine. However, at the second iteration, the model fails at the "Raster to Polygon" tool. When I open the tool (right-click) to check it, I see that the system automatically added a .shp extension to my polygon. As the output workspace is a GDB, the tool fails.

This problem occurs for any source of rasters.

Here are some screenshots to help you understand.

The model and the tool before I click run:   

model and tool pre-run

The error and the tool after it fails at second iteration:   

error and tool pos-run

Can anyone help me?

I need to vectorize some rasters to polygons and to do so, I use the "Raster to Polygon" tool in ArcGIS. As there are many rasters, I use a iteration in ModelBuilder.

The output workspace is a Geodatabase and here comes the problem. When the model runs, the first iteration works fine. However, at the second iteration, the model fails at the "Raster to Polygon" tool. When I open the tool (right-click) to check it, I see that the system automatically added a .shp extension to my polygon. As the output workspace is a GDB, the tool fails.

This problem occurs for any source of rasters.

Here are some screenshots to help you understand.

The model and the tool before I click run:  model and tool pre-run

The error and the tool after it fails at second iteration:  error and tool pos-run

Can anyone help me?

I need to vectorize some rasters to polygons and to do so, I use the "Raster to Polygon" tool in ArcGIS Desktop 10.4. As there are many rasters, I use a iteration in ModelBuilder.

The output workspace is a Geodatabase and here comes the problem. When the model runs, the first iteration works fine. However, at the second iteration, the model fails at the "Raster to Polygon" tool. When I open the tool (right-click) to check it, I see that the system automatically added a .shp extension to my polygon. As the output workspace is a GDB, the tool fails.

This problem occurs for any source of rasters.

Here are some screenshots to help you understand.

The model and the tool before I click run: 

model and tool pre-run

The error and the tool after it fails at second iteration: 

error and tool pos-run

Can anyone help me?

Bumped by Community user
edited tags
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345
Source Link

Raster to polygon fails in ModelBuilder iteration

I need to vectorize some rasters to polygons and to do so, I use the "Raster to Polygon" tool in ArcGIS. As there are many rasters, I use a iteration in ModelBuilder.

The output workspace is a Geodatabase and here comes the problem. When the model runs, the first iteration works fine. However, at the second iteration, the model fails at the "Raster to Polygon" tool. When I open the tool (right-click) to check it, I see that the system automatically added a .shp extension to my polygon. As the output workspace is a GDB, the tool fails.

This problem occurs for any source of rasters.

Here are some screenshots to help you understand.

The model and the tool before I click run: model and tool pre-run

The error and the tool after it fails at second iteration: error and tool pos-run

Can anyone help me?