protected static double convertDist( double value, DistType from, DistType to )
	{
		//first convert to nautical miles
		if( from == DistType.KILO )
			value *= 0.539957; 
		else if( from == DistType.MILES )
			value *= 0.868976;
		
		//now convert to the to type
		if( to == DistType.KILO )
			value *= 1.852;
		else if( to == DistType.MILES )
			value *= 1.15078;
		
		return value;
	}