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.
Can anyone help me?