1. A computer-implemented method for ordering vertices in a stream of image frames encapsulating Earth-viewing data, the computer-implemented method comprising: a. receiving, in the stream of image frames, an image frame including four vertices of a terrestrial area, acquired by an optical sensor at an image plane of a remote sensing camera; b. assigning a provisional index to each of the four vertices; c. establishing a first point of intersection of primary lines defined by pairwise ordered sets of vertices; d. loading the first point of intersection into computer memory; e. interrogating the first point of intersection as to a sign of a signed remainder with respect to each of two secondary lines defined by the pairwise ordered sets of vertices; f. in the case of opposite remainder sign with respect to the two secondary lines, swapping a first and a second of the provisional indices to obtain a rectified index for each of the four vertices; g. establishing a second point of intersection of primary lines defined by the pairwise ordered sets of vertices; h. loading the second point of intersection into computer memory; i. interrogating the second point of intersection as to a sign of a signed remainder with respect to each of the two primary lines defined by the pairwise ordered sets of vertices; j. in the case of opposite remainder sign with respect to the two primary lines, swapping a second and a third of the provisional indices to obtain a rectified index for each of the four vertices, and otherwise using the provisional index of each of the four vertices as the rectified index of each of the four vertices; and k. fitting the four vertices into a tiling of the surface of the Earth based on the rectified indices of each of the four vertices.