Thanks, this works great. The input data I showed you was simplified. My real input data gives the latitude (from -90 to 90) & longitude (0 to 360) for each corner of the image. Now I am trying to adapt the code to these new requirements. The difficult part is that when an image crosses the 0 to 360 longitude line the code can't correctly identify what it overlaps with. I need an elegant solution to this.
In reply to Re^2: Permutation and comparison loop
by spacegeologist
in thread Permutation and comparison loop
by spacegeologist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |