importjava.io.BufferedReader;importjava.io.File;importjava.io.FileNotFoundException;importjava.io.FileReader;importjava.io.IOException;public classGpstest {final static int TABLESIZE=660*450;//#define ID(i, j) ((i) + 660 * (j))
static double[] TableX=new double[TABLESIZE];static double[] TableY=new double[TABLESIZE];static boolean bInitTable = false;static void InitTable() throwsIOException
{
File filename= new File("C://Mars2Wgsnew.txt");longlX1, lY1;
String tempString;
String[] tem;
bInitTable= false;
BufferedReader reader= new BufferedReader(newFileReader(filename));for(int i=0;;i++){
tempString=reader.readLine();if(tempString==null){break;
}//System.out.println(tempString);
tempString=tempString.replaceAll(" ","");
tem=tempString.split(",")