I need to convert several Rasterfiles (TIF) to polygon. To give some context: I saved the TIF-files in a local folder and I want to store the converted polygons in a database (to keep the information of shape length, etc.).
It works if I use the tool from modelbuilder: Raster to Polygon, for a single TIF file. But if I want to use the iterator; it always fails at the second iteration.
I make use of inline variables in the output of Raster to Polygon, but the problem is that this tool automatically adds an extension to the name (.shp) , which lead to a fail at the second iteration (Extension is manually removed at first iteration)
Does anyone has a solution for this?
I have to merge afterwards all this files to 1 polygonfile, I tried to other way around (Mosaic to new Raster and then Raster to Polygon ==> but this takes ages)
GeoTiff = workspace (folder on C-drive) : all files start with Grnkrt_* / The output is saved to my default.gdb FYI: I tried all possible inline variables already (%n%, %name,..)