Abstract: In the process of addressing, when people use words to express indistinctly, they often draw simple sketches to assist expression, which helps people to form a simple spatial scene in the brain and correspond to the actual scene one by one, and finally locate and find the target address. How to establish an one-to-one mapping relationship between the spatial objects in the hand-drawn sketch and in the vector map is the key to the realization of map addressing and location, and this process is also the process of map matching. This paper aims to address difficult problems associated with the features of hand-drawn sketches and vector map matching in order to improve the use of all potential matching points designed for application in hand-drawn sketches and spatial relation matrix structures of vector maps. To accomplish this, we use the N-queen problem solving process and improve the tabu search algorithm. In the matching process under the constraint of a single spatial relationship, and the hierarchical matching process under the constraint of multiple spatial relations, this study verifies the quality of the spatial relationship and the feasibility and effectiveness of the matching method of hand-drawn sketches and vector maps using the improved tabu search algorithm.
Introduction
When individuals describe locations, they frequently supplement verbal directions with hand-drawn sketches. These "mental maps" are essential for human communication but present significant challenges for automated Geographic Information Systems (GIS). Unlike professional vector maps, sketches are inherently distorted; they lack consistent scale, ignore precise coordinates, and often exaggerate or omit features based on the drawer's subjective memory.
Traditional map-matching algorithms, which rely on metric data such as exact distances and angles, typically fail when applied to the "rubbery" geometry of a hand-drawn sketch. However, while humans struggle with metric precision, they are remarkably consistent at representing topology—the spatial relationships such as adjacency, containment, and connectivity. This paper proposes a method to establish a one-to-one mapping between sketch objects and vector map objects by prioritizing these topological invariants.
Methodology
The proposed framework bridges the gap between human cognition and digital precision through a multi-step process:
1. Topological Modeling and Graph Representation
The system converts both the sketch and the vector map into adjacency matrices. Instead of coordinates, established spatial calculi are used to describe relationships: Region Connection Calculus (RCC8) for area-to-area relations and Directional Relation Algebra (DRA7) for road segments. In these graphs, nodes represent spatial objects (buildings, landmarks, road segments) and edges represent their topological relationships.
2. Improved Tabu Search (TS)
Matching two graphs is an NP-hard optimization problem. The authors adapted the Tabu Search algorithm—a local search meta-heuristic—to find the optimal node-to-node correspondence. To ensure a strict one-to-one mapping, they incorporated logic inspired by the N-queen problem, preventing "collisions" where multiple sketch objects might otherwise map to the same high-probability vector point.
3. Hierarchical Matching
The process follows a hierarchical approach that mirrors human spatial recall. "Anchor" features, such as major road networks, are matched first. These initial results then serve as constraints to narrow the search space for secondary features like landmarks or specific buildings.
Experimental Evaluation
The researchers evaluated the method using a custom dataset of 12 valid hand-drawn sketches of the Wuhan University Information Department campus. The test area comprised 304 road segments, 278 landmarks, and 124 plane-like areas.
The study tested several qualitative models to determine which best captured human sketching styles:
- Road Networks: The DRA7 model achieved an average matching success rate of 79.1%.
- Landmarks and Blocks: The RCC5 model performed best for area-based features with an 80.75% success rate.
- Complex Sequences: A "String model" for topological sequences between blocks reached the highest accuracy at 84.5%.
The improved Tabu Search significantly enhanced efficiency, reducing search space and memory consumption compared to standard breadth-first or depth-first tree searches.
Conclusion
This research demonstrates that topology is the most reliable invariant in human spatial memory and a robust foundation for sketch-to-map matching. By treating matching as an optimization problem constrained by N-queen logic, the system successfully aligns distorted human drawings with precise GIS data.
Future work will focus on handling even more abstract sketches and exploring how to integrate this topological matching into real-time mobile applications. Current limitations include a reliance on "realistic" sketches; significant topological errors (e.g., placing a building on the wrong side of a landmark) can still lead to matching failures.
Summary updated