The existed approaches used in relative geomagnetic matching algorithms work on single element,which usually lead to the local optimum solutions.A new method is proposed.Using multiple geomagnetic elements and Beyes theorem,this method looks geomagnetic matching location as a multiple goal optimization.Simulation results show that the proposed method is prone to get the global optimum solution,greatly improve the matching probability and precision.