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:
The error and the tool after it fails at second iteration:
Can anyone help me?