Patent ID: 8494554

Claim:
A method performed by a mobile device, comprising: detecting, on the mobile device, a plurality of wireless access devices; determining a closeness between the mobile device and each wireless access device, the closeness including an initial measurement of distance between the mobile device and each wireless access device; receiving location data associated with each of the detected wireless access devices, the location data including an estimated location of each detected wireless access device, an uncertainty value associated with the estimated location, and a reach of each detected wireless access device; weighting the estimated locations using the uncertainty values, the reaches of the wireless access devices, and the closeness, wherein weighting the estimated locations comprises: determining a reach weight of the estimated location based on the reach of a corresponding wireless access device; determining an uncertainty weight of each estimated location based on the uncertainty value of the estimated location; determining a closeness weight of each estimated location based on the closeness between the mobile device and the corresponding wireless access device; and determining a weight of each estimated location using each of the reach weight of the corresponding estimated location, the uncertainty weight of the corresponding estimated location, and the closeness weight of the corresponding estimated location as a factor of the determining, wherein each of a smaller reach, a smaller uncertainty value, or a smaller closeness causes the weight to be larger; and determining the location of the mobile device based on the weighted locations.