Select to view content in your preferred language

Connecting Iterator to Model Tool

573
2
Jump to solution
08-24-2012 07:20 AM
MikeWissner
Emerging Contributor
Hello All,

I built a simple model to iterate through georeferenced images and Convert to KML.  On my first test run, the model performed exactly as I wanted but converted the same file over and over but named the outputs correctly.

I figured out what the problem was, but now when i try to connect the iterator output to the Layer to KML tool, I am only given the option to use it as an "Extent to Export" and not as the tool Input.  My rasters are in .jpg format.  Could this be the issue?


thanks, mike
0 Kudos
1 Solution

Accepted Solutions
KevinHibma
Esri Regular Contributor
You're almost there...
The Layer to KML tool only takes a Layer or a Layer File (.lyr) as input.
Inbetween the iterator the Layer to KML tool, stick the "Make Raster Layer" tool.
This tool, as it sounds, will make a raster layer which the KML tool will take as input

View solution in original post

0 Kudos
2 Replies
KevinHibma
Esri Regular Contributor
You're almost there...
The Layer to KML tool only takes a Layer or a Layer File (.lyr) as input.
Inbetween the iterator the Layer to KML tool, stick the "Make Raster Layer" tool.
This tool, as it sounds, will make a raster layer which the KML tool will take as input
0 Kudos
MikeWissner
Emerging Contributor
Thank you Kevin,

that was it.

much appreciated, m
0 Kudos