Subset Operator: GUI vs GPT

Hello everyone,

can someone tell me why there is a difference between the subset operation when it is done using the GUI vs using the GPT, even though the same xml file is used?

The GUI version seems to match how gdalwrap -cutline “POLYGON()” -crop_to_cutline works. But i dont understand why the gpt version would be any different.

Left: done with the GUI
Right: done with the GPT

Thanks for the help
ORB_BN_TN_CAL_SPCK_TC_Subset.xml (5.8 KB)

Hi Tontschman,

I’ve looked at the generated images and found what I believe is a potential difference in the process order.

It appears that the GUI performed subsetting before terrain correction, while the GPT result performed terrain correction before subsetting.

I might be wrong about this interpretation, so could we please confirm if the exact same process (including step order) was used for both? Any clarification would be very helpful.

Thanks,