Batch processing using multiple rois

There are a few issues with your files.

  1. The you need to remove the curly brackets. Wikipedia provides a good explanation on the format.
    Well-known text representation of geometry - Wikipedia
  2. The coordinates need to be lat/lon WGS84. I think you provide UTM coordinates.
  3. The ROIs need to be named differently. Currently both are nemd ‘geoRegion’. Name them roi1, roi2 and so on.
  4. If you only want to use one command line call, without a script, you need to add multiple subset nodes to the XML. One for each ROI.
  5. In the xml you can then use the rois from the properties file like this
    <geoRegion>${roi1}</geoRegion>
  6. You also need to add additional Idepix and Write nodes.
    Here I did something similar: Split product bandwise into single GeoTiff files - GPF Graphs - STEP Forum (esa.int)