Designing a location database: QuadTrees and Hilbert Curves