Grid-partition index: a hybrid method for nearest-neighbor queries in wireless location-based services