convert raster to polygon (model builder - iterate)

Discussion created by r@cedilnik on Dec 20, 2017
Latest reply on Dec 24, 2017 by Dan_Patterson

I'm trying to convert multiple rasters to polygon and then vertices of those polygons convert to point and finally add XY coordinates. So my main tools for this process are:
- raster calculator (multiply raster with 0 to get just one band)
- raster to polygon
- feature vertices to points
- add xy coordinates

I'm trying to do this in model builder. If I use raster to polygon directly (without raster calculator), I get error that shp is bigger than 2GB. So far I manage to apply raster calculator which stores result in folder "raster_calculator". When I add raster to polygon I get error "ERROR 010157: Unable to open feature class..." (see picture "error.png").
I tried to use Calculate Value and Parse Path but I didn't succeed. Most likely because I don't know how to used them properly.

Can anyone please help me or give me an advice how to solve this in model builder.


P.S.: I know that in python this could be easier but I would like to do this in model builder because i don't understand python.