getNearestFeature gains dists.only parameter