06-12-2018 07:36 PM
I had a problem with spatial modeler batch processing. I already added port input at the front and back of modeler but still failed. Any advice for this problem? Tq for your help.
Solved! Go to Solution.
06-13-2018 06:48 AM
You should not use a Port Output opertator to specify a output filename/location. You actually need to use another Port Input and link this to the Filename in port.
06-24-2018 07:13 PM
I already used Port Input but still failed. For your information my ouput is in shapefile. Is it support shapefile for batch processing?
06-25-2018 06:30 AM
Your output variable in the Batch Editor doesn't seem correct. If you look in the Output column it's trying to use an output name of "img \temp\1.img" for the shapefile. Check the definitions for the "Output" Port Input in your model and also the defintion of the variable in the Batch Editor.
06-25-2018 06:40 AM
Here's my model:
...and here's the Port Input 2 definition:
...and the Batch Editor:
You may want to make sure you have Update 1 installed for ERDAS IMAGINE 2018.
09-25-2018 11:04 AM
I think that Jamal probably used the Variable Editor (Batch Command Editor > Edit button) to change his output variable definition from “…img \temp\1.img” to something like Ian suggested such as “…($PortInput1.root)_PortInput2.shp”.
@jamalbazlan, can you confirm?
Hexagon Geospatial Support