1

I built a simple model for projecting raster from one coordinate system to another and it works fine but when i try to batch it, so i can convert more then one raster it generates only the first raster, in tiff, and on the same directory rather than the one i specify in the model using values and path. enter image description here

And when i use iterate raster it continues forever and generate only the raster one, the second and then that's it, it continue endlessly and it keeps deleting the first raster.

This is the other model enter image description here

and the iterate parameters enter image description here

Project raster parameters and output parameter enter image description here

enter image description here

  • 1
    Rather than running your model in batch model, consider using a raster iterator, conceptually easier to understand an use. So look at the Help file for model iterators. – Hornbydd Jun 30 '17 at 16:22
  • But want to manually select only some rasters from a certain folder – Shefqet LULJA Jun 30 '17 at 16:47
  • And when i use iterate raster it continues forever and generate only the raster one, the second and then that's it, it continue endlessly and it keeps deleting the first raster. – Shefqet LULJA Jun 30 '17 at 17:23
  • 1
    You need to amend your question and show us this new model with iterator Along with the iterator parameters. – Hornbydd Jun 30 '17 at 18:27
  • Thanks for updating the question, can you also show the parameters of the Project Raster tool too? Looking at your model I cannot see why it would "continue endlessly". It should only loop the number of jpeg files in the folder. Also I assume the Parse Path tooth creating %PATH% is being used to construct the full path name to the projected raster? This is why I am asking you to show the project parameters as it is not clear what you are doing with the output of the other Parse path tool? – Hornbydd Jul 1 '17 at 11:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.