1. A computer-implemented method, comprising: estimating a location of a mobile device in a venue having pathways represented by a path network that includes segments connected by junctions, the estimating including determining a first set of candidate locations for the mobile device, mapping some of the candidate locations to updated candidate locations that are on or closer to one or more segments of the path network based on distances between the candidate locations and respective segments, resulting in a second set of candidate locations for the mobile device, and deriving the location of the mobile device from the second set of candidate locations.