An electronic apparatus refers to location measurement information measured in the past at each time when the latest location measurement information is output from a location measurement module with a predetermined measurement period, if measurement accuracy is good and it is regarded that a direction change has been made, determines the latest location measurement information as saving “necessary” and stores the information. If the measurement accuracy is no good or it is regarded that a positioning point shown by the latest location measurement information is an intermediate point during linear traveling, the latest location measurement information is not saved. Therefore, a data size to be saved is made smaller than that in related art and draining of a battery taken for writing of data is reduced.