mOverlaps Function Call

Function Arguments

/*-***********************************************************************/
/*                                                                       */
/*  mOverlaps                                                            */
/*                                                                       */
/*  Given a list of images, determines which ones overlap.  This program */
/*  assumes that the images are relatively small (i.e. not all-sky) and  */
/*  determines if there is overlap by going around the outside of each   */
/*  to see if any of the edge pixels are inside the other.               */
/*                                                                       */
/*   char  *tblfile        Image metadata file                           */
/*   char  *difftbl        Output table of overlap areas                 */
/*                                                                       */
/*   int    quickmode      Use faster but fairly accurate overlap check  */
/*                         rather than full geometry calculation         */
/*                                                                       */
/*   int    debug          Debugging output level                        */
/*                                                                       */
/*************************************************************************/

struct mOverlapsReturn *mOverlaps(char *tblfile, char *difftbl, int quickmode, int debug)

Return Structure

struct mOverlapsReturn
{
   int    status;        // Return status (0: OK, 1:ERROR)
   char   msg [1024];    // Return message (for error return)
   char   json[4096];    // Return parameters as JSON string
   int    count;         // Number of overlaps.
};