In Wi-Fi fingerprint positioning, what we should most care about is the distance relationship between the user and the reference points (RP). However, most of the existing weighted k-nearest neighbor (WKNN) algorithms use the Euclidean distance of received signal strengths (RSS) as distance measure for fingerprint matching, and the RSS Euclidean distance is not consistent with the position distance. To address this issue, this paper analyzes the relationship between RSS similarity and position distance, propose a novel WKNN based on signal similarity and spatial position. Firstly, we obtain the weighted Euclidean distance (WED) by balancing the size between the RSS difference and the signal propagation distance difference according to the attenuation law of the spatial signal. Then, we obtain the approximate position distance (APD) by making full use of the position distances and WEDs between RPs. Finally, the nearest RPs can be selected more accurately based on the APDs between the user and different RPs, and the position of user can be estimated by the proposed WKNN based on the APD (APD-WKNN) algorithm. In order to fully evaluate the proposed algorithm, we use three fingerprint databases for comparison experiments with eight fingerprint positioning algorithms. The results show that the proposed algorithm can significantly improve the positioning accuracy of WKNN algorithm. INDEX TERMS Fingerprint positioning, weighted k-nearest neighbor, RSS similarity, position distance. I. INTRODUCTION With the rapid development of Location-based Services (LBS), many positioning technologies and signal processing methods [1]-[5] have been proposed. Due to the obstruction of the building, the usability of indoor navigation satellite signals is poor. This makes the Global Navigation Satellite System (GNSS) unable to guarantee satisfactory positioning performance in the indoor environment [6]. Therefore, various indoor positioning technologies have been proposed, among which the Wi-Fi fingerprint positioning is widely used because it can achieve positioning using only existing network facilities. The basic idea of Wi-Fi fingerprint positioning is to use the received signal strength (RSS) of Wi-Fi signal to The associate editor coordinating the review of this manuscript and approving it for publication was Liangtian Wan .