AVR-Tree: Speeding Up the NN and ANN Queries on Location Data -- Generalization-Based