<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Earth Sci.</journal-id>
<journal-title>Frontiers in Earth Science</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Earth Sci.</abbrev-journal-title>
<issn pub-type="epub">2296-6463</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1081445</article-id>
<article-id pub-id-type="doi">10.3389/feart.2023.1081445</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Earth Science</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Hand-drawn sketch and vector map matching based on topological features</article-title>
<alt-title alt-title-type="left-running-head">Lu et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/feart.2023.1081445">10.3389/feart.2023.1081445</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Lu</surname>
<given-names>Yuefeng</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<xref ref-type="fn" rid="fn1">
<sup>&#x2020;</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2072222/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Sun</surname>
<given-names>Ying</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="fn" rid="fn1">
<sup>&#x2020;</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2066969/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Liu</surname>
<given-names>Shuo</given-names>
</name>
<xref ref-type="aff" rid="aff4">
<sup>4</sup>
</xref>
<xref ref-type="aff" rid="aff5">
<sup>5</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Li</surname>
<given-names>Jing</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Liu</surname>
<given-names>Yanru</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Yao</surname>
<given-names>Kaizhong</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Wang</surname>
<given-names>Yanjun</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1925870/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Fu</surname>
<given-names>Zhongliang</given-names>
</name>
<xref ref-type="aff" rid="aff6">
<sup>6</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Lu</surname>
<given-names>Shaofeng</given-names>
</name>
<xref ref-type="aff" rid="aff7">
<sup>7</sup>
</xref>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Shao</surname>
<given-names>Shiwei</given-names>
</name>
<xref ref-type="aff" rid="aff8">
<sup>8</sup>
</xref>
<xref ref-type="aff" rid="aff9">
<sup>9</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>School of Civil and Architectural Engineering</institution>, <institution>Shandong University of Technology</institution>, <addr-line>Zibo</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>State Key Laboratory of Resources and Environmental Information System</institution>, <institution>Institute of Geographical Sciences and Natural Resources Research</institution>, <institution>Chinese Academy of Sciences</institution>, <addr-line>Beijing</addr-line>, <country>China</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Hunan Provincial Key Laboratory of Geo-Information Engineering in Surveying</institution>, <institution>Mapping and Remote Sensing</institution>, <institution>Hunan University of Science and Technology</institution>, <addr-line>Xiangtan</addr-line>, <country>China</country>
</aff>
<aff id="aff4">
<sup>4</sup>
<institution>China Transport Telecommunications and Information Center</institution>, <addr-line>Beijing</addr-line>, <country>China</country>
</aff>
<aff id="aff5">
<sup>5</sup>
<institution>Guojiao Spatial Information Technology (Beijing) Co., Ltd.</institution>, <addr-line>Beijing</addr-line>, <country>China</country>
</aff>
<aff id="aff6">
<sup>6</sup>
<institution>School of Remote Sensing and Information Engineering</institution>, <institution>Wuhan University</institution>, <addr-line>Wuhan</addr-line>, <country>China</country>
</aff>
<aff id="aff7">
<sup>7</sup>
<institution>School of Computer Science and Engineering</institution>, <institution>Northeastern University</institution>, <addr-line>Shenyang</addr-line>, <country>China</country>
</aff>
<aff id="aff8">
<sup>8</sup>
<institution>Zhongzhi Software Technology Company Limited</institution>, <addr-line>Luoyang</addr-line>, <country>China</country>
</aff>
<aff id="aff9">
<sup>9</sup>
<institution>National-Local Joint Engineering Laboratory of Geo-Spatial Information Technology</institution>, <institution>Hunan University of Science and Technology</institution>, <addr-line>Xiangtan</addr-line>, <addr-line>Hunan</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1463408/overview">Wen Luo</ext-link>, Nanjing Normal University, China</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2098495/overview">Yuanwei Yang</ext-link>, Yangtze University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2137810/overview">&#x00D6;MER EREM</ext-link>, Istanbul Technical University, T&#x00FC;rkiye</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Yuefeng Lu, <email>yflu@sdut.edu.cn</email>; Shiwei Shao, <email>shaoshiwei@163.com</email>
</corresp>
<fn fn-type="equal" id="fn1">
<label>
<sup>&#x2020;</sup>
</label>
<p>These authors have contributed equally to this work and share first authorship</p>
</fn>
<fn fn-type="other">
<p>This article was submitted to Environmental Informatics and Remote Sensing, a section of the journal Frontiers in Earth Science</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>26</day>
<month>01</month>
<year>2023</year>
</pub-date>
<pub-date pub-type="collection">
<year>2023</year>
</pub-date>
<volume>11</volume>
<elocation-id>1081445</elocation-id>
<history>
<date date-type="received">
<day>27</day>
<month>10</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>13</day>
<month>01</month>
<year>2023</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2023 Lu, Sun, Liu, Li, Liu, Yao, Wang, Fu, Lu and Shao.</copyright-statement>
<copyright-year>2023</copyright-year>
<copyright-holder>Lu, Sun, Liu, Li, Liu, Yao, Wang, Fu, Lu and Shao</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>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.</p>
</abstract>
<kwd-group>
<kwd>topological characteristics</kwd>
<kwd>qualitative spatial relation</kwd>
<kwd>hand sketching</kwd>
<kwd>vector map</kwd>
<kwd>matching</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>In daily life, people often use &#x201c;addressing&#x201d; processes in order to discover the location of a certain target. The general &#x201c;addressing&#x201d; process involves the following: first, the use of human language and physical expression to describe the target, the reality of the entity and the description of the information with a one-by-one comparison and querying the process of the entity that conforms to the description of the information; secondly, by drawing a simple space scene map, and marking the location or scope, the drawn space scene and the real space scene in the real world have a one-to-one correspondence, to obtain the process of drawing the real space scene with the highest similarity to the drawing space scene; finally, the process of using text keywords or geographic coordinates for the retrieval of electronic maps and the realization of positioning in electronic maps, wherein the process of locating the target is achieved through the retrieval of the map, which is the process of &#x201c;map addressing.&#x201d; Map locating refers to the process of searching the entire extent of the map according to the input &#x201c;search criteria&#x201d; and querying the location of the content described in the &#x201c;search criteria&#x201d; in the map. At present, Baidu maps, Google Maps and other mainstream electronic maps widely use address as &#x201c;search conditions&#x201d; to find a location on their maps. However, when such text is unclear in the addressing process, people often use a simple sketch-map to assist in the process.</p>
<p>From a psychological perspective, the mental power of human beings to understand and manipulate the environment is called spatial cognitive ability, and the cognition of the environment essentially refers to psychological representation (cognitive mapping ability) and finding a way in the environment, and the main aspect of this is geospatial cognition (<xref ref-type="bibr" rid="B18">Lin, 2003</xref>). From a cartographic point of view, spatial cognition is &#x201c;people&#x2019;s knowledge of the environment in which they depend, including many of its things, phenomena and related locations, dependencies, and their changes and laws&#x201d; (<xref ref-type="bibr" rid="B7">Gao, 2004</xref>). Maps are an important tool for people to perceive the environment, a model of the objective world, a carrier of information records and a &#x201c;tool for spatial cognition and spatial thinking&#x201d; (<xref ref-type="bibr" rid="B2">Chen, 2000</xref>; <xref ref-type="bibr" rid="B8">Gao, 2012</xref>). A mental map, or cognitive map, is an abstract map in the human brain and is one of the core concepts of map cognition (<xref ref-type="bibr" rid="B34">ZHENG and Xue&#x2019;er, 2022</xref>). It refers to the formation of &#x201c;abstract alternatives&#x201d; in relation to the cognitive environment (space) in the mind after people obtain spatial information through a variety of means, reflecting a person&#x2019;s spatial cognitive ability (<xref ref-type="bibr" rid="B9">Gao, 1992</xref>). Mental maps exist in a variety of forms, for example, the application of a method to reproduce the human brain&#x2019;s impression of the surrounding environment, including shape, size or relative position (<xref ref-type="bibr" rid="B9">Gao, 1992</xref>). A hand-drawn map is one of physical form of a mental map, as an intuitive user interaction &#x201c;language&#x201d;; using its spatial relationship relative invariance, the spatial objects and the corresponding spatial objects in the vector map are mapped one by one. The establishment of this mapping relationship is the process of map matching but also the core step to achieving map positioning.</p>
<p>Hand-drawn sketches not only contain a lot of humanistic information in spatial information but also can be used to describe people&#x2019;s daily travel habits. People can use hand-drawn sketches for travel addressing or path analysis to meet some of their daily needs (<xref ref-type="bibr" rid="B22">Rovine and Weisman, 1989</xref>; <xref ref-type="bibr" rid="B25">Son, 2005</xref>; <xref ref-type="bibr" rid="B26">Tu Huynh and Sean, 2007</xref>). As a graphical interaction method that vaguely approximates the user&#x2019;s intention, hand-drawn sketching has the characteristics of intuitive and natural information input, and has been widely used in computer-aided design, virtual reality, visualization, artificial intelligence and other fields, and the relevant research focuses on the research of recognition technology of hand-drawn sketches (<xref ref-type="bibr" rid="B23">Schwering et al., 2014</xref>; <xref ref-type="bibr" rid="B12">Jan et al., 2015</xref>; <xref ref-type="bibr" rid="B3">Chipofya, 2016</xref>; <xref ref-type="bibr" rid="B12">Jan et al., 2017</xref>; <xref ref-type="bibr" rid="B31">Ali and Shahbazi, 2020</xref>).</p>
<p>However, the study of combining hand-drawn sketches with GIS is still in its infancy. Kettunen et al. (<xref ref-type="bibr" rid="B17">Kettunen et al., 2015</xref>) enabled people to combine cognitive recall and sketching of spatial scenes to the addressing process of night and day. Zardiny and Hakimpour (<xref ref-type="bibr" rid="B32">Zare Zardiny and Hakimpour, 2021</xref>) presented a new solution for matching routes from sketches to metric maps. It uses a genetic algorithm to measure the similarities between routes in two phases, and in each phase, a set of geometric/topological criteria is considered to improve the matching. Schwering and Wang (<xref ref-type="bibr" rid="B24">Schwering and Wang, 2010</xref>) developed an online system for matching hand-drawn sketches with metric maps, which combines hand-drawn sketch pre-processing, spatial relationship description and matching, providing an operational platform for subsequent research. Based on the research of Chipofya and other scholars on hand-drawn sketches, using the spatial relationship of each spatial object in the sketch as a registration condition with the measurement map, in the spatial relationship expression, the node is the spatial object, and the arc edge is the graph structure of the spatial relationship, and the registration process of the hand-drawn sketch and the measurement map is the map matching process (<xref ref-type="bibr" rid="B30">Yu et al., 2018</xref>; <xref ref-type="bibr" rid="B6">Dondi et al., 2020</xref>; <xref ref-type="bibr" rid="B33">Zhan et al., 2020</xref>; <xref ref-type="bibr" rid="B10">Hou et al., 2022</xref>; <xref ref-type="bibr" rid="B11">Hu et al., 2022</xref>).</p>
<p>Through the current research situation, it is understood that there is no clear concept or feature summary of the hand-drawn sketches applied in the field of geographic information, and there is no comprehensive classification summary of the types of spatial objects; the storage form of spatial relations in the computer is directly related to the efficiency of matching, and the current spatial relationship is mostly searched by tree structure, and its efficiency is low; the current graph matching method is based on the breadth priority and depth priority algorithm of the tree, which is improved or expanded, and its algorithm efficiency is low and occupies a large amount of memory. Furthermore, the matching accuracy rate cannot be guaranteed.</p>
</sec>
<sec id="s2">
<title>2 Optimized storage of spatial relationships for hand-drawn sketches</title>
<sec id="s2-1">
<title>2.1 Hand-drawn sketches</title>
<p>Sketching by hand is the most primitive and natural way for people to communicate. Sketches may be drawn on paper or on smart devices (e.g., with drawing tools on mobile phones and tablets, the CogSketch application, etc.) to extract spatial objects through image recognition technology. Hand-drawn sketches range from simple &#x201c;stick&#x201d; drawings to complex blueprints, and serve to bring to mind the memory of a spatial scene. The sketch used in this study is a hand-drawn map. As the name implies, hand-drawn sketches (or maps) do not use professional observation equipment or mapping technology, and only memory will serve to deliver information (e.g., road network structure, landmark position, familiarity with the shape of the surface area and position, etc.) to draw on paper or intelligent display devices, finally obtaining a visual cognitive map. This is a personalized recognition of the space environment. Space scenes are reflected in the human brain (<xref ref-type="bibr" rid="B34">Zheng And Xue&#x2019;er, 2022</xref>).</p>
<p>Hand-drawn sketches are easily and rapidly obtained, yet at the same time also expose the shortcomings of color simplification, being mostly black and white images that do not contain color and texture information. Furthermore, because of people&#x2019;s cognitive distortion and schematization, hand-drawn sketching is highly abstract and exaggerated, such that the measurement information in hand-drawn sketching is largely invalid and contains no reference to geographic coordinates, as do standard directions and coordinates.</p>
<p>
<xref ref-type="fig" rid="F1">Figure 1</xref> shows two examples of simple hand-drawn sketches. Both are largely drawn with simple black lines and simply marked ground objects. For example, the numbers in the left picture represent the corresponding dormitory building numbers, and the building name is abbreviated to the picture on the right. In hand-drawn sketching, people tend to abstract unnecessary details and aggregate a few objects that are typically more obscure or difficult to achieve by hand. In particular, road segments are one of the spatial objects that people habitually converge. According to investigations of hand-drawn sketching by Jia and Schwering (<xref ref-type="bibr" rid="B28">Wang and Schwering, 2009</xref>; <xref ref-type="bibr" rid="B27">Wang and Schwering, 2015</xref>), even with a high degree of aggregation and less professional and metric information, hand-drawn sketching contains many relatively invariable spatial relations, such as the relative position, size, orientation, and order of spatial objects. Similarly, according to Jan et al. (<xref ref-type="bibr" rid="B12">Jan et al., 2017</xref>), different person&#x2019;s cognition of the same spatial scene has 90% consistency in terms of the expression of spatial information. Therefore, regardless of the degree of distortion of a person&#x2019;s spatial cognition, the qualitative spatial relationship between spatial objects remains largely unchanged.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>
<bold>(A</bold>, <bold>B)</bold> Simple sketch examples.</p>
</caption>
<graphic xlink:href="feart-11-1081445-g001.tif"/>
</fig>
<p>Therefore, in the matching research of hand-drawn sketching, in order to match the hand-drawn map and vector map in this way, it is necessary to make full use of the qualitative spatial relations between the acquired spatial objects and make use of the constraints of single spatial relations or multiple spatial relations to match the hand-drawn map and the vector map.</p>
<p>Spatial objects are an objective reflection of space entities in human cognition. In this paper, space objects can be divided into roads, rivers, lakes, and other objects, and the shapes of entities can be divided into points, lines, and planes. A point is a spatial object that represents spatial location or location information, has no spatial scale, and is considered a 0-dimensional object. The locations of towns, shops, landmarks, by edges. Can be represented by points. Lines are represented by points connected sequentially, have no width, and are considered 1-dimensional objects. Rivers, roads, routes, etc. Can be represented by polylines or curves. A plane is a closed region belonging to a 2-dimensional object. Lakes, reservoirs, administrative areas, construction areas, green areas, and so on can be expressed by planes.</p>
<p>In this study, points, lines, and planes are taken as the basic objects of space,namely:<disp-formula id="e1">
<mml:math id="m1">
<mml:mrow>
<mml:mi mathvariant="normal">S</mml:mi>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>&#x2006;</mml:mo>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">b</mml:mi>
<mml:mi mathvariant="normal">j</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>
</p>
<p>Recalling that points form lines and lines in turn form surfaces, relevant spatial data information can therefore be obtained from points. The hierarchical structure of the spatial objects is shown in <xref ref-type="fig" rid="F2">Figure 2</xref>.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Spatial object hierarchy.</p>
</caption>
<graphic xlink:href="feart-11-1081445-g002.tif"/>
</fig>
</sec>
<sec id="s2-2">
<title>2.2 Spatial relations and expression methods in hand-drawn sketches</title>
<p>Interventionary studies involving animals or humans, and other studies that require ethical approval, must list the authority that provided approval and the corresponding ethical approval code.</p>
<p>Yingxinyang (<xref ref-type="bibr" rid="B29">Ying, 2003</xref>) analyzed spatial relations among spatial objects, including measurement relations (e.g., size, area, distance, angle, etc.), order relations (direction), and a variety of topological relations among points, lines, and planes. Considering the overall characteristics of hand-drawn sketches compared to the characteristics of the typical spatial object, hand-drawn sketches contain neither precise geometric features nor detailed semantic expressions. Therefore, prioritizing the topology relationship of spatial relations is invariant for hand-drawn sketches and vector maps. Spatial relations will become expressed through hand-drawn sketches by matching similarity measurements and matching the research focus of the vector map.</p>
<p>As mentioned earlier, standardized extraction and classification of spatial objects in hand-drawn sketches comprise three main types of spatial objects: points, lines and planes. The spatial relations expressed by different spatial objects are varied, and the detailed classifications and expressions are as follows:<list list-type="simple">
<list-item>
<p>(1) Topological relationships of road segments. The spatial relationship of roads generally includes the topological relationship of road segments, the connections between adjacent road segments, and the spatial relationship of fork points. At present, road section topological relationship models constructed based on the above feature space include the DRA7 (<xref ref-type="bibr" rid="B20">Oliver Wallgr&#xfc;n et al., 2010</xref>), DRA24 (<xref ref-type="bibr" rid="B19">Moratz and Ragni, 2008</xref>), and DRA72 (<xref ref-type="bibr" rid="B19">Moratz and Ragni, 2008</xref>) models, and the expression precision is successively from low to high.</p>
</list-item>
<list-item>
<p>(2) Spatial orientation relationship of road nodes. Orientation is a relative spatial relation; thus, it requires a certain frame of reference. Currently, the most widely used direction relation models are CM (cone model), two-dimensional character model, projection model and DRM (direction relation matrix). In terms of spatial cognition, the most familiar models are the 4-direction, 8-direction and 16-direction cone models. The 4-direction cone model takes the center of mass of the space object as the reference origin, and two straight lines perpendicular to each other divide the entire space into four unbounded regions, and assign a main direction to each unbounded region. The principal direction of the area in which the target space object resides is the relative orientation relative to the centroidal space object. The cone model has the flexibility to adjust the number of main directions. For example, the 8-direction and 16-direction cone models are based on the 4-direction, increasing the number of main directions, which are improved cone models that can judge more complex azimuth relationships.</p>
</list-item>
<list-item>
<p>(3) Relationship between ground features and road segments. Jan et al. (<xref ref-type="bibr" rid="B13">Jan et al., 2015</xref>) proposed a type of left-right model that can roughly express the relative position of the ground object and road section. This model contains six basic relations, which are the landmarks or ground objects along the road section titled: left_of, right, cross, crossed by, front_of, and back_of.</p>
</list-item>
<list-item>
<p>(4) Linear arrangement of ground objects along the road section. The linear arrangement relationship between ground features along the road and the road section refers to the sequence relationship of landmarks and ground features in the hand-drawn sketch along the direction of the road section. Jan et al. (<xref ref-type="bibr" rid="B12">Jan et al., 2017</xref>) mentioned that Allen&#x2019;s interval algebra (IAS) was used to express the spatial relationship of the linear arrangement of ground objects along the path.</p>
</list-item>
<list-item>
<p>(5) Circulating arrangement of ground features at fork points. Osmani (<xref ref-type="bibr" rid="B1">Aomar, 1999</xref>) compensated the cycle time for the IAS relation and proposed a cycle time relation.</p>
</list-item>
<list-item>
<p>(6) Region topology relationships. The spatial logic method was proposed by Randle et al. (<xref ref-type="bibr" rid="B21">Randell et al., 1992</xref>) on the basis of the theory of regional connectivity, also known as the RCC (region connect calculate) model. RCC5 and RCC8 are the most widely used models. RCC5 and RCC8 distinguish five and eight different topological relationships, respectively, providing a flexible choice for application selection at different levels of granularity. Wenzheng et al. (<xref ref-type="bibr" rid="B5">Wenzheng, 2015</xref>) elaborated on the RCC8 relationship model, which specifies eight basic relationships between two spatial regions: DC (disjoint), EC (touch), PO (overlap), EQ (equal), TPP (cover) and <inline-formula id="inf1">
<mml:math id="m2">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> (cover by), NTPP (contain) and <inline-formula id="inf2">
<mml:math id="m3">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> (within). The topological relationship is shown in the figure. RCC5 is non-region boundary-sensitive, so DC and EC in the RCC8 relationship are merged into DR in the RCC5 relationship, TPP and NTPP in the RCC8 relationship are merged into PP in the RCC5 relationship, and TPP and NTPP in the RCC8 relationship are merged into PP in the RCC5 relationship. The RCC11 model considers the dimensions of the intersection and the line-to-point connection relationship (<xref ref-type="bibr" rid="B4">Clementini et al., 1993</xref>). The topological relationship is shown in <xref ref-type="fig" rid="F3">Figures 3</xref>, <xref ref-type="fig" rid="F4">4</xref>.</p>
</list-item>
<list-item>
<p>(7) Topological relationships between ground objects and regions. The RCC11 model is more sensitive to the boundary detection of spatial objects. However, sensitivity to boundary detection is not allowed for the expression of topological relations between ground objects (points) and regions (planes). Considering the time complexity of the algorithm, the sensitivity to boundary detection is used for the expression of topological relations between ground objects (points) and regions (planes). The RCC5 model satisfies the need for matching.</p>
</list-item>
</list>
</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>The basic topology relations based on RCC5 and RCC8.</p>
</caption>
<graphic xlink:href="feart-11-1081445-g003.tif"/>
</fig>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>The 11 topological relations in RCC11.</p>
</caption>
<graphic xlink:href="feart-11-1081445-g004.tif"/>
</fig>
<p>The above seven spatial relations include topological relations, azimuth relations and sequence relations, and refer to ways in which the spatial relations in the hand-drawn sketch can be obtained in a more comprehensive way.</p>
</sec>
<sec id="s2-3">
<title>2.3 Spatial relation matrix</title>
<p>Suppose a graph has two basic representations: an adjacency list and an adjacency matrix. These two basic representations can be used to represent both undirected and directed graphs. The expression <inline-formula id="inf3">
<mml:math id="m4">
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:mi>V</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>E</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is generally used to represent a sparse graph (i.e., the number of edges is far less than the number of node squares), while the adjacency matrix is usually used to represent either a dense graph (i.e., the number of edges is close to the number of node squares), or to judge whether there are connecting edges between two given nodes.</p>
<p>A graph is a commonly used data structure in computers, and are considered to define many interesting computational problems. It can be assumed that the spatial relation obtained by hand-drawn sketching is the input graph, and the spatial relation in the vector map is the reference graph. Given an input graph and a target graph, the task of matching is to establish a one-to-one mapping relationship between all nodes in the input graph and nodes in the target graph.</p>
<p>Assume that R is the set of spatial relations, where N is the node, E is the edge of the graph, and I is the mapping function. The matching mapping function of the input graph (<inline-formula id="inf4">
<mml:math id="m5">
<mml:mrow>
<mml:mi mathvariant="normal">G</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">I</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>) and target graph (<inline-formula id="inf5">
<mml:math id="m6">
<mml:mrow>
<mml:mfenced open="" close=")" separators="|">
<mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="normal">G</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="normal">N</mml:mi>
</mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">E</mml:mi>
</mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="normal">I</mml:mi>
</mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula>) <inline-formula id="inf6">
<mml:math id="m7">
<mml:mrow>
<mml:mi>&#x3c6;</mml:mi>
<mml:mo>:</mml:mo>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mo>&#x2192;</mml:mo>
<mml:msup>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mo>&#x222a;</mml:mo>
<mml:mo>&#x22a5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is the matching relationship between the input node and the target node; if the input node N does not find a matching target node, it is expressed as <inline-formula id="inf7">
<mml:math id="m8">
<mml:mrow>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mo>&#x2192;</mml:mo>
<mml:mo>&#x22a5;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. The mapping function then maps the target node <inline-formula id="inf8">
<mml:math id="m9">
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> unidirectionally; that is, two different input nodes will not map to the same target node.</p>
<p>
<xref ref-type="fig" rid="F5">Figure 5</xref> shows a hand-drawn sketch near the south gate of the informatics department and its topological relationship based on RCC8 and the vector of the same area and its topological relationship based on RCC8. Spatial objects and qualitative spatial relations in hand-drawn sketches and vector maps are, respectively, expressed by an adjacency matrix, with spatial objects as nodes and qualitative spatial relations as the weight of edges. The expression results are shown in <xref ref-type="table" rid="T1">Tables 1</xref>, <xref ref-type="table" rid="T2">2</xref>. However, it is very difficult to realize the matching process of graphs using two independent adjacency matrices. The essence of graph matching is that any point in the hand-drawn sketch and any node in the vector map forms a point pair to be matched. Further, it is also judged whether the weight of the corresponding edge of any two point pairs to be matched is consistent. If so, the two-point pair is considered to be matched.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>RCC8-based topological relationship both sketch map and vector maps near the south gate of the informatics department.</p>
</caption>
<graphic xlink:href="feart-11-1081445-g005.tif"/>
</fig>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>The adjacency matrix of space relations of sketch maps in <xref ref-type="fig" rid="F6">Figure 6</xref>.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Nodes</th>
<th align="left">a3</th>
<th align="left">a5</th>
<th align="left">&#x2014;</th>
<th align="left">a11</th>
<th align="left">a12</th>
<th align="left">cb5</th>
<th align="left">cb6</th>
<th align="left">&#x2014;</th>
<th align="left">&#x2026;</th>
<th align="left">cb9</th>
<th align="left">cb10</th>
<th align="left">cb11</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">a3</td>
<td align="left">EQ</td>
<td align="left">DC</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
</tr>
<tr>
<td align="left">a5</td>
<td align="left">DC</td>
<td align="left">EQ</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
</tr>
<tr>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
</tr>
<tr>
<td align="left">a11</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x2014;</td>
<td align="left">EQ</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">NTPP</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
</tr>
<tr>
<td align="left">a12</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">EQ</td>
<td align="left">NTPP</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
</tr>
<tr>
<td align="left">cb5</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">NTPP</td>
<td align="left">EQ</td>
<td align="left">EC</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">EC</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
</tr>
<tr>
<td align="left">cb6</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x2014;</td>
<td align="left">NTPP</td>
<td align="left">&#x22a5;</td>
<td align="left">EC</td>
<td align="left">EQ</td>
<td align="left">&#x2014;</td>
<td align="left">EC</td>
<td align="left">&#x22a5;</td>
<td align="left">EC</td>
<td align="left">&#x22a5;</td>
</tr>
<tr>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x2014;</td>
</tr>
<tr>
<td align="left">cb9</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">EC</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">EQ</td>
<td align="left">EC</td>
<td align="left">&#x22a5;</td>
</tr>
<tr>
<td align="left">cb10</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">EC</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">EC</td>
<td align="left">EQ</td>
<td align="left">EC</td>
</tr>
<tr>
<td align="left">cb11</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x2014;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x22a5;</td>
<td align="left">&#x2014;</td>
<td align="left">EC</td>
<td align="left">&#x22a5;</td>
<td align="left">EC</td>
<td align="left">EQ</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>The adjacency matrix of space relations of vector maps in <xref ref-type="fig" rid="F6">Figure 6</xref>.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Nodes</th>
<th align="center">M1</th>
<th align="center">M2</th>
<th align="center">&#x2014;</th>
<th align="center">M8</th>
<th align="center">M9</th>
<th align="center">B1</th>
<th align="center">B2</th>
<th align="center">&#x2014;</th>
<th align="center">B10</th>
<th align="center">B11</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">M1</td>
<td align="center">EQ</td>
<td align="center">EC</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">EC</td>
<td align="center">&#x22a5;</td>
<td align="center">NTPP</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
</tr>
<tr>
<td align="center">M2</td>
<td align="center">EC</td>
<td align="center">EQ</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
</tr>
<tr>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
</tr>
<tr>
<td align="center">M8</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x2014;</td>
<td align="center">EQ</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">NTPP</td>
</tr>
<tr>
<td align="center">M9</td>
<td align="center">EC</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">EQ</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
</tr>
<tr>
<td align="center">B1</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">EQ</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
</tr>
<tr>
<td align="center">B2</td>
<td align="center">NTPP</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">EQ</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
</tr>
<tr>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
</tr>
<tr>
<td align="center">B10</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x2014;</td>
<td align="center">EQ</td>
<td align="center">&#x22a5;</td>
</tr>
<tr>
<td align="center">B11</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x2014;</td>
<td align="center">NTPP</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x22a5;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x22a5;</td>
<td align="center">EQ</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Notes: The node set of the input graph is expressed by: <inline-formula id="inf9">
<mml:math id="m10">
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mn>3</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>a</mml:mi>
<mml:mn>5</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi>a</mml:mi>
<mml:mn>13</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>5</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>11</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>. The reference target node set is expressed by: <inline-formula id="inf10">
<mml:math id="m11">
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>B</mml:mi>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi>B</mml:mi>
<mml:mn>10</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>B</mml:mi>
<mml:mn>11</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>M</mml:mi>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi>M</mml:mi>
<mml:mn>8</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<p>In <xref ref-type="fig" rid="F5">Figure 5</xref>, it is assumed that there are potential matching point pairs <inline-formula id="inf11">
<mml:math id="m12">
<mml:mrow>
<mml:msup>
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>8</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>M</mml:mi>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf12">
<mml:math id="m13">
<mml:mrow>
<mml:msup>
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>7</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>M</mml:mi>
<mml:mn>4</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>, where the spatial relation of the edge corresponding to <inline-formula id="inf13">
<mml:math id="m14">
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>8</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>7</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula> is represented by EC, and the spatial relation of the edge corresponding to <inline-formula id="inf14">
<mml:math id="m15">
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>M</mml:mi>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>M</mml:mi>
<mml:mn>4</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula> is also represented by EC. Therefore, <inline-formula id="inf15">
<mml:math id="m16">
<mml:mrow>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>8</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>7</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>M</mml:mi>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>M</mml:mi>
<mml:mn>4</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> satisfies the mapping relationship. On the other hand, if there are potential matching points for <inline-formula id="inf16">
<mml:math id="m17">
<mml:mrow>
<mml:msup>
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>8</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>M</mml:mi>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf17">
<mml:math id="m18">
<mml:mrow>
<mml:msup>
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>7</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>M</mml:mi>
<mml:mn>9</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>, then <inline-formula id="inf18">
<mml:math id="m19">
<mml:mrow>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>8</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>7</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf19">
<mml:math id="m20">
<mml:mrow>
<mml:msup>
<mml:mi>I</mml:mi>
<mml:mo>,</mml:mo>
</mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>M</mml:mi>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>M</mml:mi>
<mml:mn>9</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2260;</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>C</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf20">
<mml:math id="m21">
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>8</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
<mml:mn>7</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf21">
<mml:math id="m22">
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>M</mml:mi>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>M</mml:mi>
<mml:mn>9</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula> are not matched. Therefore, the row and row of the improved adjacency matrix are composed of the node pairs of the input graph and the target graph, and the value in the cell indicates whether the weights of the corresponding edges of the matching point pair are the same: 1 indicates that the spatial relationship of the point pair is the same, and 0 indicates that it is not. The improved adjacency matrix formed by the spatial relationship in <xref ref-type="fig" rid="F5">Figure 5</xref> is shown in <xref ref-type="table" rid="T3">Table 3</xref>.</p>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Improved adjacency matrix.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Node pairs</th>
<th align="center">(a3,B1)</th>
<th align="center">(a3,B2)</th>
<th align="center">&#x2014;</th>
<th align="center">(cb5,B1)</th>
<th align="center">&#x2014;</th>
<th align="center">(cb10,B1)</th>
<th align="center">&#x2014;</th>
<th colspan="2" align="center">(cb11,B11)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">(a3,B1)</td>
<td align="center">1</td>
<td align="center">0</td>
<td align="center">&#x2014;</td>
<td align="center">0</td>
<td align="center">&#x2014;</td>
<td align="center">0</td>
<td align="center">&#x2014;</td>
<td colspan="2" align="center">0</td>
</tr>
<tr>
<td align="center">(a3,B2)</td>
<td align="center">0</td>
<td align="center">1</td>
<td align="center">&#x2014;</td>
<td align="center">1</td>
<td align="center">&#x2014;</td>
<td align="center">1</td>
<td align="center">&#x2014;</td>
<td colspan="2" align="center">0</td>
</tr>
<tr>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
</tr>
<tr>
<td align="center">(cb5,B1)</td>
<td align="center">0</td>
<td align="center">1</td>
<td align="center">&#x2014;</td>
<td align="center">1</td>
<td align="center">&#x2014;</td>
<td align="center">0</td>
<td align="center">&#x2014;</td>
<td colspan="2" align="center">0</td>
</tr>
<tr>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td colspan="2" align="center">&#x2014;</td>
</tr>
<tr>
<td align="center">(cb10,B1)</td>
<td align="center">0</td>
<td align="center">1</td>
<td align="center">&#x2014;</td>
<td align="center">0</td>
<td align="center">&#x2014;</td>
<td align="center">1</td>
<td align="center">&#x2014;</td>
<td colspan="2" align="center">0</td>
</tr>
<tr>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td align="center">&#x2014;</td>
<td colspan="2" align="center">&#x2014;</td>
</tr>
<tr>
<td align="center">(cb11,B11)</td>
<td align="center">0</td>
<td align="center">0</td>
<td align="center">&#x2014;</td>
<td align="center">0</td>
<td align="center">&#x2014;</td>
<td align="center">0</td>
<td align="center">&#x2014;</td>
<td colspan="2" align="center">1</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>
<xref ref-type="fig" rid="F6">Figure 6</xref> shows the construction process of the improved adjacency matrix, including the analysis of its features, removal of the point pairs that do not have matching values, and making of the adjacency matrix sparse, so as to obtain further matching point pair combinations. Where <xref ref-type="table" rid="T1">Tables 1</xref>, <xref ref-type="table" rid="T2">2</xref> are the matrices corresponding to the marked portions in <xref ref-type="fig" rid="F6">Figure 6</xref>.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Characteristics and construction rules of the improved adjacency matrix.</p>
</caption>
<graphic xlink:href="feart-11-1081445-g006.tif"/>
</fig>
<p>The characteristics of the improved adjacency matrix are as follows:<list list-type="simple">
<list-item>
<p>(1) If the spatial relation of the hand-drawn sketch is orthogonal, then all the compatibility matrices are also orthogonal.</p>
</list-item>
<list-item>
<p>(2) Each square matrix is obtained by multiplying the value in the hand-drawn sketch by the adjacency matrix of the vector map. The matrix size is the same as the adjacency matrix of the vector map.</p>
</list-item>
<list-item>
<p>(3) The adjacency matrix of the hand-drawn sketch and vector map has symmetry, so the improved adjacency matrix also has symmetry.</p>
</list-item>
<list-item>
<p>(4) The diagonal direction of the hand-drawn sketch consistently represents the equality relation, thus it follows that the value on the diagonal is the equality relation. In this case, the elements on the diagonal do not have the searching value of one-to-one matching relation, thus the value can be assigned as the &#x201c;orthogonal matrix&#x201d; to make the matrix sparse.</p>
</list-item>
<list-item>
<p>(5) Let the number of spatial objects in the hand-drawn sketch be m, the number of spatial objects in the vector map be n, the improved adjacency moment be a square matrix, and the number of rows and columns are both <inline-formula id="inf22">
<mml:math id="m23">
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, such that the matrix size is <inline-formula id="inf23">
<mml:math id="m24">
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
</list>
</p>
</sec>
</sec>
<sec id="s3">
<title>3 Matching method based on the improved tabu search (TS) algorithm</title>
<sec id="s3-1">
<title>3.1 Tabu search algorithm principle</title>
<p>Glover proposed an algorithm based on local neighborhood search to achieve a global optimal search, the tabu search (TS) algorithm, which is considered as the best simulation of human brain activities and aims to solve typical optimization problems. The TS algorithm is based on two important basic theories: local search and tabu criterion. As a local search algorithm, the TS algorithm selects the optimal scheme for the current searched neighborhood in each iteration. In the TS algorithm, tabu criteria and a tabu table are introduced to avoid repeated searches, and then amnesty criteria are adopted to release the high-quality scheme of the tabu, thus the final global optimization is guaranteed. The TS algorithm is considered to have the closest functionality to human brain activity among the current intelligent optimization algorithms. By marking the local optimal solution and then iterating the search, tabu objects can be avoided as far as possible in the search process. However, through the amnesty criterion, tabu objects can be searched in a circular manner in order to realize the search for a global optimal solution. The basic search steps of the TS algorithm are as follows:<list list-type="simple">
<list-item>
<p>(1) Set the initial solution <inline-formula id="inf24">
<mml:math id="m25">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and clear the tabu list <inline-formula id="inf25">
<mml:math id="m26">
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>b</mml:mi>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>(2) Take the current solution as <inline-formula id="inf26">
<mml:math id="m27">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and the current optimal solution as <inline-formula id="inf27">
<mml:math id="m28">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>o</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>f</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>(3) Calculate the fitness function <inline-formula id="inf28">
<mml:math id="m29">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>o</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>f</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>
</p>
</list-item>
<list-item>
<p>(4) The current solution is moved to generate a neighborhood solution <inline-formula id="inf29">
<mml:math id="m30">
<mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and several candidate solution sets <inline-formula id="inf30">
<mml:math id="m31">
<mml:mrow>
<mml:msub>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> are determined from the neighborhood solutions.</p>
</list-item>
<list-item>
<p>(5) If <inline-formula id="inf31">
<mml:math id="m32">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is not in <inline-formula id="inf32">
<mml:math id="m33">
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>b</mml:mi>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> or in <inline-formula id="inf33">
<mml:math id="m34">
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>b</mml:mi>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and meets the amnesty criteria, then <inline-formula id="inf34">
<mml:math id="m35">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is better than <inline-formula id="inf35">
<mml:math id="m36">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>o</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>f</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and step 6 is performed. If <inline-formula id="inf36">
<mml:math id="m37">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is in <inline-formula id="inf37">
<mml:math id="m38">
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>b</mml:mi>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> but does not meet the amnesty criteria, then the tabu attribute in <inline-formula id="inf38">
<mml:math id="m39">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is judged, non-tabu <inline-formula id="inf39">
<mml:math id="m40">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and the improved <inline-formula id="inf40">
<mml:math id="m41">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are selected as the new <inline-formula id="inf41">
<mml:math id="m42">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and step (6) is performed.</p>
</list-item>
<list-item>
<p>(6) <inline-formula id="inf42">
<mml:math id="m43">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf43">
<mml:math id="m44">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>o</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>f</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf44">
<mml:math id="m45">
<mml:mrow>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>b</mml:mi>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is updated with the tabu status corresponding to <inline-formula id="inf45">
<mml:math id="m46">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</p>
</list-item>
<list-item>
<p>(7) Perform step 4 until the current solution of <inline-formula id="inf46">
<mml:math id="m47">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> satisfies the termination condition, and then outputs <inline-formula id="inf47">
<mml:math id="m48">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>o</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>f</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
</list>
</p>
</sec>
<sec id="s3-2">
<title>3.2 Improving the matching process of the TS algorithm</title>
<p>In this study, the traditional tabu search algorithm is improved from the two aspects of the selection of the optimal initial solution and the setting of the adaptive value function, so as to make the TS algorithm more suitable for the process of graph matching, improve the matching efficiency, and obtain the optimal matching results. The two main steps used are described as follows:<list list-type="simple">
<list-item>
<p>(1) Select the initial solution. In order to avoid the low efficiency of the algorithm caused by improper selection of the initial solution, this study first randomly generated a group of initial solutions, then executed a complete matching process to obtain a group of effective solutions under the initial solution, and took the effective solution as the optimal initial solution for the formal matching process.</p>
</list-item>
<list-item>
<p>(2) Determine the adaptation value function setting. Generally, the improved adjacency matrix is constructed by the consistency of the spatial relation expression of all potential matching point pairs. In the matching process, to ensure the realization of a one-to-one matching relationship, there is only one effective matching point pair in the same row and column. If there are two or more valid point pairs to be matched in the same row and column, it is considered a &#x201c;collision.&#x201d; In this study, we needed to search the improved adjacency matrix to identify the point pair sequence that could guarantee a &#x201c;no conflict&#x201d; situation by referring to the queen placement method of the N queen problem. Let the number of conflicts of the effective point pairs corresponding to row i and column j be <inline-formula id="inf48">
<mml:math id="m49">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf49">
<mml:math id="m50">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2265;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> and function <inline-formula id="inf50">
<mml:math id="m51">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> be the conflicts in the current matching sequence. Then, after 10,000 iterations, <inline-formula id="inf51">
<mml:math id="m52">
<mml:mrow>
<mml:mi>min</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> was solved, and the constraint condition was <inline-formula id="inf52">
<mml:math id="m53">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2265;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> where the number of point pairs in the matching sequence was uncertain. When <inline-formula id="inf53">
<mml:math id="m54">
<mml:mrow>
<mml:mi>min</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> was the minimum, the optimal matching point pair sequence was found, as expressed in the following equation:</p>
</list-item>
</list>
<disp-formula id="e2">
<mml:math id="m55">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:munder>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>v</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:munder>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
</p>
<p>Using the TS process, in this study the adjacency matrix of the hand-drawn sketch and vector map was first obtained as the original input matching data. According to the construction principle of the improved adjacency matrix, the corresponding improved adjacency matrix containing spatial relationship consistency information was constructed as the &#x201c;checkerboard&#x201d; of the tabu search. For the initial solution of the tabu search, a set of initial solutions were generated randomly for the first time, and an optimal solution under the initial solution was obtained according to the following steps of the tabu search, and the modified optimal solution was taken as the initial solution of the second matching process. The steps for the tabu search used in this study are as follows:<list list-type="simple">
<list-item>
<p>(1) The tabu list was emptied. The initialized tabu length L was the number of objects in the hand-drawn sketch, that is, the number of iterations of the tabu solution in the tabu list. The tabu length of the tabu solution in each iteration was correspondingly reduced by 1 and released from the tabu list until reaching 0. The tabu frequency was F, the number of objects in the hand-drawn sketch was multiplied by the number of objects in the vector map, that is, the number of tabu solutions appearing in the tabu list. When the tabu solution entered the tabu list, the number of tabu solutions entering the list was recorded. If this number was greater than F, it was considered to be a solution with a low matching result and would not be released again.</p>
</list-item>
<list-item>
<p>(2) The total number of collisions <inline-formula id="inf54">
<mml:math id="m56">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> of the initial solution <inline-formula id="inf55">
<mml:math id="m57">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> was calculated, and the initial solution was assigned to the current solution <inline-formula id="inf56">
<mml:math id="m58">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, which is considered to be the optimal solution <inline-formula id="inf57">
<mml:math id="m59">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>b</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>o</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>(3) It was then judged whether the target number of overlapped reaches was reached, set as 10,000 in this study; if not, the process was continued. If the number of iterations was reached, the current solution was input, that is, the optimal matching point pair sequence, and the algorithm ended.</p>
</list-item>
<list-item>
<p>(4) The neighborhood solution of <inline-formula id="inf58">
<mml:math id="m60">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> was generated, the conflict number of each adjacency solution was calculated, and the corresponding solution with the smallest conflict number was obtained as the candidate solution <inline-formula id="inf59">
<mml:math id="m61">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>(5) It was then judged whether a candidate solution existed in the tabu list. If so, the better solution in the above neighborhood solution was considered as the candidate solution <inline-formula id="inf60">
<mml:math id="m62">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and then step 5 was used for judgment. If not, then step 6 was performed, assuming that all the neighborhood solutions existed in the tabu table, all solutions in the tabu table were evaluated, and the optimal solution in the tabu solution was taken as the candidate solution <inline-formula id="inf61">
<mml:math id="m63">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>(6) It was determined whether the conflict number of the candidate solution was less than the conflict number of the current solution, that is <inline-formula id="inf62">
<mml:math id="m64">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, and the candidate solution was exchanged with the current solution, that is, <inline-formula id="inf63">
<mml:math id="m65">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, then Step 3 was executed.</p>
</list-item>
</list>
</p>
<p>The specific matching method flow is shown in <xref ref-type="fig" rid="F7">Figure 7</xref>.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Flow chart of sketch and vector map matching methodology.</p>
</caption>
<graphic xlink:href="feart-11-1081445-g007.tif"/>
</fig>
</sec>
</sec>
<sec id="s4">
<title>4 Experiment and analysis</title>
<p>The data of hand-drawn sketches in this study were collected on the campus of the Information Department of Wuhan University. The Information Department has a typical campus structure, in that the campus is surrounded by a commercial district, which contains a large number of iconic buildings and a complex road network. The campus features a network of roads, including vehicular roads, pedestrian paths, and ornamental walking paths, which are divided into teaching, dormitory, and residential areas, as well as landmarks such as iron towers and sculptures. A campus map is shown in <xref ref-type="fig" rid="F8">Figure 8</xref>.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>The range of sketch and vector maps.</p>
</caption>
<graphic xlink:href="feart-11-1081445-g008.tif"/>
</fig>
<p>Of the 20 sketches collected, eight were excluded because they contained insufficient spatial information, and the remaining 12 were determined as valid maps for the experiment. A total of 304 road segments, 278 landmarks, and 124 plane-like areas were identified in the 12 sketches collected. The experimental data diagram is shown in <xref ref-type="fig" rid="F9">Figure 9</xref>. For evaluation of matching, first observe the matching rate, which is a direct evaluation of the quality of topological relations. Secondly, the running time of the algorithm is monitored to evaluate the efficiency of the algorithm. If there is only one model for a spatial relationship, only the standard deviation is used as the evaluation difference range. For two or more expression models under the same spatial relationship, in addition to the standard deviation, Mann Whitney U test is added to jointly test the reliability of the matching results.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Experimental data diagrams.</p>
</caption>
<graphic xlink:href="feart-11-1081445-g009.tif"/>
</fig>
<sec id="s4-1">
<title>4.1 Matching evaluation</title>
<p>Assuming that the spatial objects and their spatial relation diagram of <inline-formula id="inf64">
<mml:math id="m66">
<mml:mrow>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> in the hand-drawn sketch correspond to the reference vector map in Figure <inline-formula id="inf65">
<mml:math id="m67">
<mml:mrow>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, the number of spatial objects in <inline-formula id="inf66">
<mml:math id="m68">
<mml:mrow>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is <inline-formula id="inf67">
<mml:math id="m69">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>n</mml:mi>
<mml:msub>
<mml:mi>t</mml:mi>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, the number of spatial objects in <inline-formula id="inf68">
<mml:math id="m70">
<mml:mrow>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is <inline-formula id="inf69">
<mml:math id="m71">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>n</mml:mi>
<mml:msub>
<mml:mi>t</mml:mi>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and the spatial objects (nodes) in the hand-drawn sketch are recorded by <inline-formula id="inf70">
<mml:math id="m72">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>n</mml:mi>
<mml:msub>
<mml:mi>t</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, then the matching accuracy of the hand-drawn sketch can be expressed as:<disp-formula id="e3">
<mml:math id="m73">
<mml:mrow>
<mml:mi>M</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>y</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>n</mml:mi>
<mml:msub>
<mml:mi>t</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>n</mml:mi>
<mml:msub>
<mml:mi>t</mml:mi>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>_</mml:mo>
<mml:mi>s</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>
</p>
<p>Standard deviation was used to identify the difference between the matching results. The larger the standard deviation, the larger the variance of the matching results and the greater the difference of the matching results. In this paper, matching experiments are carried on two spaces near the school gate and in the student dormitory area. Eight valid hand drawings are collected for experiment in each space. The <inline-formula id="inf71">
<mml:math id="m74">
<mml:mrow>
<mml:mfenced open="{" close="}" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula> is used to represent the set of <italic>k</italic>-frame hand-drawn sketches that successfully matching the number of space object collections in the same space, <inline-formula id="inf72">
<mml:math id="m75">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> for the ith image matching success by the number of space objects, the standard deviation between the matching results of hand-drawn sketches in the same space can be expressed as follows:<disp-formula id="e4">
<mml:math id="m76">
<mml:mrow>
<mml:msub>
<mml:mi>s</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x22c5;</mml:mo>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mi>k</mml:mi>
</mml:mfrac>
</mml:msqrt>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>
</p>
<p>Assuming that for two projections of the same space, the same spatial objects and their spatial relations are present in each projection, and different qualitative expression models are used for the same spatial relationships, the purpose of the Mann&#x2013;Whitney <italic>U</italic> test is to test the difference between different qualitative expression models under the same spatial relationship, and to judge whether there is a significant difference in matching results. According to cognitive research, people maintain 90% of the correct relationship between the drawn object and reality, thus the threshold of no significant difference given in this study is <italic>p</italic>&#x3d;0.05. The specific process of the Mann&#x2013;Whitney <italic>U</italic> test method in this study can be described as follows:<list list-type="simple">
<list-item>
<p>(1) Determine hypothesis <inline-formula id="inf73">
<mml:math id="m77">
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and alternative hypothesis <inline-formula id="inf74">
<mml:math id="m78">
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>;</p>
</list-item>
<list-item>
<p>(2) Set the significant difference level p;</p>
</list-item>
<list-item>
<p>(3) Mix the two matching result sets, arrange them in ascending order, and arrange the rank.</p>
</list-item>
</list>
</p>
<p>If the values are the same, then the average value of each grade is calculated as follows:<list list-type="simple">
<list-item>
<p>(1) Calculate grades <inline-formula id="inf75">
<mml:math id="m79">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>A</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf76">
<mml:math id="m80">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>B</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, then calculate ranks <inline-formula id="inf77">
<mml:math id="m81">
<mml:mrow>
<mml:msub>
<mml:mi>R</mml:mi>
<mml:mi>A</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf78">
<mml:math id="m82">
<mml:mrow>
<mml:msub>
<mml:mi>R</mml:mi>
<mml:mi>B</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>;</p>
</list-item>
<list-item>
<p>(2) Calculate <inline-formula id="inf79">
<mml:math id="m83">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>A</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>A</mml:mi>
</mml:msub>
<mml:mo>&#xd7;</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>B</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>A</mml:mi>
</mml:msub>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>A</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>R</mml:mi>
<mml:mi>A</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf80">
<mml:math id="m84">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>B</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>A</mml:mi>
</mml:msub>
<mml:mo>&#xd7;</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>B</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>B</mml:mi>
</mml:msub>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>B</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>R</mml:mi>
<mml:mi>B</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>;</p>
</list-item>
<list-item>
<p>(3) Select the minimum values of <inline-formula id="inf81">
<mml:math id="m85">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>A</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf82">
<mml:math id="m86">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>B</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and compare <inline-formula id="inf83">
<mml:math id="m87">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> with p. When <inline-formula id="inf84">
<mml:math id="m88">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, then <inline-formula id="inf85">
<mml:math id="m89">
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is false and <inline-formula id="inf86">
<mml:math id="m90">
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is true</p>
</list-item>
</list>
</p>
</sec>
<sec id="s4-2">
<title>4.2 Discussion</title>
<sec id="s4-2-1">
<title>4.2.1 Matching based on topological relationship of road segments</title>
<p>For the topological relationship of road segments, this paper evaluates the DRA72 and DRA7 topological relationship qualitative expression models. DRA72 and DRA7 models are used to express the topological relationship of all road segments in the freehand sketch and vector map, which are represented as <inline-formula id="inf87">
<mml:math id="m91">
<mml:mrow>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf88">
<mml:math id="m92">
<mml:mrow>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> respectively, forming a matching constraint graph. <inline-formula id="inf89">
<mml:math id="m93">
<mml:mrow>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>k</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the input diagram and <inline-formula id="inf90">
<mml:math id="m94">
<mml:mrow>
<mml:msub>
<mml:mi>G</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the matching reference diagram.</p>
<p>According to <xref ref-type="table" rid="T4">Tables 4</xref>, <xref ref-type="table" rid="T5">5</xref>, the average correct matching rate of DRA7 is 79.1%. The standard deviation and Mann&#x2013;Whitney <italic>U</italic> test (<inline-formula id="inf91">
<mml:math id="m95">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>14</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>,; <inline-formula id="inf92">
<mml:math id="m96">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>5</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>; <inline-formula id="inf93">
<mml:math id="m97">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
<mml:mo>&#x3e;</mml:mo>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> at the critical value of 0.05) show that there is no significant difference in the matching results of DRA7 in experimental areas I and II. Therefore, DRA7 model is more widely used.</p>
<table-wrap id="T4" position="float">
<label>TABLE 4</label>
<caption>
<p>Matching results and statistical calculation table based on different spatial relations.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Experimental areas</th>
<th align="center">Spatial relation description</th>
<th align="center">Presentation model</th>
<th align="center">Matching rate (%)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td rowspan="10" align="center">I</td>
<td rowspan="2" align="center">Topological relationships of road segments</td>
<td align="center">DRA72</td>
<td align="center">51.21</td>
</tr>
<tr>
<td align="center">DRA7</td>
<td align="center">81.1</td>
</tr>
<tr>
<td align="center">The features are oriented relative to the road segment</td>
<td align="center">Left-Right</td>
<td align="center">77.2</td>
</tr>
<tr>
<td align="center">The features line up along the road section</td>
<td align="center">IAs</td>
<td align="center">76.5</td>
</tr>
<tr>
<td align="center">Circulating arrangement of ground features at the fork</td>
<td align="center">CIA</td>
<td align="center">82.3</td>
</tr>
<tr>
<td rowspan="3" align="center">Ground features and surface blocks</td>
<td align="center">RCC5</td>
<td align="center">82.5</td>
</tr>
<tr>
<td align="center">RCC8</td>
<td align="center">72.7</td>
</tr>
<tr>
<td align="center">RCC11</td>
<td align="center">65.3</td>
</tr>
<tr>
<td rowspan="2" align="center">Topological relationship between surface blocks</td>
<td align="center">RCC11</td>
<td align="center">79.8</td>
</tr>
<tr>
<td align="center">String model</td>
<td align="center">85.1</td>
</tr>
<tr>
<td rowspan="10" align="center">II</td>
<td rowspan="2" align="center">Topological relationships of road segments</td>
<td align="center">DRA72</td>
<td align="center">41.4</td>
</tr>
<tr>
<td align="center">DRA7</td>
<td align="center">77.0</td>
</tr>
<tr>
<td align="center">The features are oriented relative to the road segment</td>
<td align="center">Left-Right</td>
<td align="center">75.5</td>
</tr>
<tr>
<td align="center">The features line up along the road section</td>
<td align="center">IAs</td>
<td align="center">72.33</td>
</tr>
<tr>
<td align="center">Circulating arrangement of ground features at the fork</td>
<td align="center">CIA</td>
<td align="center">76.7</td>
</tr>
<tr>
<td rowspan="3" align="center">Ground features and surface blocks</td>
<td align="center">RCC5</td>
<td align="center">79.0</td>
</tr>
<tr>
<td align="center">RCC8</td>
<td align="center">69.3</td>
</tr>
<tr>
<td align="center">RCC11</td>
<td align="center">62.3</td>
</tr>
<tr>
<td rowspan="2" align="center">Topological relationship between surface blocks</td>
<td align="center">RCC11</td>
<td align="center">82.5</td>
</tr>
<tr>
<td align="center">String model</td>
<td align="center">83.2</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T5" position="float">
<label>TABLE 5</label>
<caption>
<p>Standard deviation based on DRA7&#x26;DRA72 of each data in experimental area I and II.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th colspan="2" align="center">Samples</th>
<th rowspan="2" align="center">1</th>
<th rowspan="2" align="center">2</th>
<th rowspan="2" align="center">3</th>
<th rowspan="2" align="center">4</th>
<th rowspan="2" align="center">5</th>
<th rowspan="2" align="center">6</th>
<th rowspan="2" align="center">Standard deviation</th>
</tr>
<tr>
<th colspan="2" align="center">Experimental areas</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td rowspan="2" align="center">I</td>
<td align="center">DRA72</td>
<td align="center">0.548</td>
<td align="center">0.48</td>
<td align="center">0.454</td>
<td align="center">0.571</td>
<td align="center">0.518</td>
<td align="center">0.500</td>
<td align="center">0.0433</td>
</tr>
<tr>
<td align="center">DRA7</td>
<td align="center">0.871</td>
<td align="center">0.720</td>
<td align="center">0.727</td>
<td align="center">0.828</td>
<td align="center">0.815</td>
<td align="center">0.813</td>
<td align="center">0.0597</td>
</tr>
<tr>
<td rowspan="2" align="center">II</td>
<td align="center">DRA72</td>
<td align="center">0.391</td>
<td align="center">0.429</td>
<td align="center">0.458</td>
<td align="center">0.400</td>
<td align="center">0.444</td>
<td align="center">0.364</td>
<td align="center">0.0356</td>
</tr>
<tr>
<td align="center">DRA7</td>
<td align="center">0.783</td>
<td align="center">0.857</td>
<td align="center">0.708</td>
<td align="center">0.800</td>
<td align="center">0.833</td>
<td align="center">0.636</td>
<td align="center">0.0829</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>DRA72 is a detailed spatial relationship expression model, which contains both the topological relationship between road segments and the relative direction attribute. Therefore, when DRA72 model is used for matching, there are many wrong matching of road segments, and the matching rate is only 46.31%. The Mann&#x2013;Whitney <italic>U</italic> test result of DRA72 is that <inline-formula id="inf94">
<mml:math id="m98">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> (less than <inline-formula id="inf95">
<mml:math id="m99">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>&#x3b1;</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>5</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>), so DRA72 has significant matching difference in the two experimental areas.</p>
</sec>
<sec id="s4-2-2">
<title>4.2.2 Matching based on ground figures and road segments</title>
<p>Left-Right indicates the relative orientation between the features and adjacent road sections, with an average matching rate of 76.7%. Left-Right will recognize the adjacent figures of the figure as the extended space object, and obtain the relative orientation relationship between them. Due to the high aggregation of people&#x2019;s spatial cognition, the objects in the freehand sketch do not necessarily have one-to-one correspondence with the spatial objects in the corresponding vector map, which may be a one to many relationship. Therefore, the freehand sketch objects will have multiple matching correspondences in the vector map, reducing the accuracy of the matching.</p>
<p>According to the standard deviation in <xref ref-type="table" rid="T6">Table 6</xref> and Mann&#x2013;Whitney <italic>U</italic> test (<inline-formula id="inf96">
<mml:math id="m100">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>11</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>), the matching difference of the algorithm is small, which can be considered as a more reliable matching result.</p>
<table-wrap id="T6" position="float">
<label>TABLE 6</label>
<caption>
<p>Standard deviation based on Left-Right of each data in experimental area I and II.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Samples</th>
<th rowspan="2" align="center">1</th>
<th rowspan="2" align="center">2</th>
<th rowspan="2" align="center">3</th>
<th rowspan="2" align="center">4</th>
<th rowspan="2" align="center">5</th>
<th rowspan="2" align="center">6</th>
<th rowspan="2" align="center">Standard deviation</th>
</tr>
<tr>
<th colspan="2" align="center">experimental areas</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">I</td>
<td align="center">0.78</td>
<td align="center">0.82</td>
<td align="center">0.79</td>
<td align="center">0.75</td>
<td align="center">0.74</td>
<td align="center">0.75</td>
<td align="center">0.0306</td>
</tr>
<tr>
<td align="center">II</td>
<td align="center">0.74</td>
<td align="center">0.80</td>
<td align="center">0.80</td>
<td align="center">0.71</td>
<td align="center">0.76</td>
<td align="center">0.72</td>
<td align="center">0.0389</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s4-2-3">
<title>4.2.3 Matching based on linear arrangement of figures</title>
<p>This section uses the rough IAs linear arrangement relationship to express the linear arrangement order relationship between adjacent figures along the road alignment and road segments. <xref ref-type="table" rid="T4">Table 4</xref> shows the matching accuracy of experimental areas I and II and the running of the algorithm. It can be observed that the matching accuracy is about 75%, with a small gap. By calculating the standard deviation in <xref ref-type="table" rid="T7">Table 7</xref> of the matching rate of experimental samples and the Mann&#x2013;Whitney <italic>U</italic> test (<inline-formula id="inf97">
<mml:math id="m101">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>min</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>6</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>), it is concluded that the deviation of IAs model matching results is small.</p>
<table-wrap id="T7" position="float">
<label>TABLE 7</label>
<caption>
<p>Standard deviation based on IAs of each data in experimental area I and II.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Samples</th>
<th rowspan="2" align="center">1</th>
<th rowspan="2" align="center">2</th>
<th rowspan="2" align="center">3</th>
<th rowspan="2" align="center">4</th>
<th rowspan="2" align="center">5</th>
<th rowspan="2" align="center">6</th>
<th rowspan="2" align="center">Standard deviation</th>
</tr>
<tr>
<th colspan="2" align="center">experimental areas</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">I</td>
<td align="center">0.75</td>
<td align="center">0.78</td>
<td align="center">0.75</td>
<td align="center">0.77</td>
<td align="center">0.79</td>
<td align="center">0.75</td>
<td align="center">0.018</td>
</tr>
<tr>
<td align="center">II</td>
<td align="center">0.75</td>
<td align="center">0.78</td>
<td align="center">0.70</td>
<td align="center">0.71</td>
<td align="center">0.68</td>
<td align="center">0.72</td>
<td align="center">0.036</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>It is precisely because the freehand sketch does not accurately describe the contour of the figure, compared with the spatial relationship of the corresponding spatial objects in the vector map, this uncertainty will lead to different mapping. Therefore, the clustering of spatial relations by rough IAs model is just conducive to keeping the two spatial relations consistent and improving the matching rate.</p>
</sec>
<sec id="s4-2-4">
<title>4.2.4 Matching based on figure loop relation</title>
<p>Because the adjacent ground objects at the fork show the characteristics of circular arrangement, this section uses the CIA circular relationship expression model to express the spatial relationship of the objects at the fork in hand drawn sketches and vector maps, and obtain a rough circular arrangement relationship. It can be seen from <xref ref-type="table" rid="T4">Tables 4</xref>, <xref ref-type="table" rid="T8">8</xref> that the average matching rate of CIA experimental area I and II is 79.5%, and the inconsistent matching results are caused by the inaccurate contour of the ground object and the dislocation of the adjacent ground object at the fork.</p>
<table-wrap id="T8" position="float">
<label>TABLE 8</label>
<caption>
<p>Standard deviation based on CIA of each data in experimental area I and II.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Samples</th>
<th rowspan="2" align="center">1</th>
<th rowspan="2" align="center">2</th>
<th rowspan="2" align="center">3</th>
<th rowspan="2" align="center">4</th>
<th rowspan="2" align="center">5</th>
<th rowspan="2" align="center">6</th>
<th rowspan="2" align="center">Standard deviation</th>
</tr>
<tr>
<th colspan="2" align="center">experimental areas</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">I</td>
<td align="center">0.84</td>
<td align="center">0.85</td>
<td align="center">0.83</td>
<td align="center">0.82</td>
<td align="center">0.79</td>
<td align="center">0.81</td>
<td align="center">0.022</td>
</tr>
<tr>
<td align="center">II</td>
<td align="center">0.76</td>
<td align="center">0.79</td>
<td align="center">0.80</td>
<td align="center">0.73</td>
<td align="center">0.76</td>
<td align="center">0.77</td>
<td align="center">0.025</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s4-2-5">
<title>4.2.5 Matching based on topological relationship between figures and blocks</title>
<p>For the topological relationship between the surface features and urban area blocks, this section uses three classical regional connection relationship models, RCC5, RCC8 and RCC11, to extract the spatial relationship, and compares the matching accuracy and significant difference level among the three. As shown in <xref ref-type="table" rid="T4">Table 4</xref>, RCC5 shows a high matching rate. This is because RCC5 ignores the boundary intersection between ground objects when acquiring topological relationships. This formal fuzzy relationship description overcomes the imprecise drawing of hand drawn sketches on the boundary. Compared with the other two relationship models, RCC5 is more suitable for matching topological relationships based on ground objects and area blocks.</p>
<p>According to the calculation of the Mann&#x2013;Whitney <italic>U</italic> test values (7, 7.5 and 3.5 respectively) and the standard deviation in <xref ref-type="table" rid="T9">Table 9</xref>, RCC11 shows significant differences in the topological relationship between the surface features and the regional surface blocks in different regions, while RCC5 and RCC8 show no significant differences. Compared with the matching rate, RCC5 is relatively higher.</p>
<table-wrap id="T9" position="float">
<label>TABLE 9</label>
<caption>
<p>Standard deviation based on RCC5/RCC8/RCC11 of each data in experimental area I and II.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th colspan="2" align="center">Samples</th>
<th rowspan="2" align="center">1</th>
<th rowspan="2" align="center">2</th>
<th rowspan="2" align="center">3</th>
<th rowspan="2" align="center">4</th>
<th rowspan="2" align="center">5</th>
<th rowspan="2" align="center">6</th>
<th rowspan="2" align="center">Standard deviation</th>
</tr>
<tr>
<th colspan="2" align="center">experimental areas</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td rowspan="3" align="center">I</td>
<td align="center">RCC5</td>
<td align="center">0.82</td>
<td align="center">0.85</td>
<td align="center">0.84</td>
<td align="center">0.83</td>
<td align="center">0.81</td>
<td align="center">0.80</td>
<td align="center">0.019</td>
</tr>
<tr>
<td align="center">RCC8</td>
<td align="center">0.74</td>
<td align="center">0.76</td>
<td align="center">0.73</td>
<td align="center">0.70</td>
<td align="center">0.71</td>
<td align="center">0.72</td>
<td align="center">0.026</td>
</tr>
<tr>
<td align="center">RCC11</td>
<td align="center">0.65</td>
<td align="center">0.68</td>
<td align="center">0.67</td>
<td align="center">0.64</td>
<td align="center">0.65</td>
<td align="center">0.63</td>
<td align="center">0.019</td>
</tr>
<tr>
<td rowspan="3" align="center">II</td>
<td align="center">RCC5</td>
<td align="center">0.76</td>
<td align="center">0.83</td>
<td align="center">0.81</td>
<td align="center">0.79</td>
<td align="center">0.78</td>
<td align="center">0.77</td>
<td align="center">0022</td>
</tr>
<tr>
<td align="center">RCC8</td>
<td align="center">0.68</td>
<td align="center">0.72</td>
<td align="center">0.70</td>
<td align="center">0.72</td>
<td align="center">0.67</td>
<td align="center">0.67</td>
<td align="center">0.023</td>
</tr>
<tr>
<td align="center">RCC11</td>
<td align="center">0.61</td>
<td align="center">0.65</td>
<td align="center">0.62</td>
<td align="center">0.63</td>
<td align="center">0.62</td>
<td align="center">0.61</td>
<td align="center">0.015</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s4-2-6">
<title>4.2.6 Matching RCC11 and string based on topological relationship between blocks</title>
<p>Jan et al. (<xref ref-type="bibr" rid="B12">Jan et al., 2017</xref>) have verified that RCC11 has a high matching accuracy for the topological relationship between area blocks, and RCC and RCC8 models have lost significant topological structure, such as the distinction between line adjacency and point connection between area blocks, resulting in inconsistent and untrustworthy matching results. The string representation model with the same granularity as the RCC11 model has not been matched and verified in previous experiments. <xref ref-type="table" rid="T4">Table 4</xref> shows that the average matching rate of RCC11 is 81.15%, and the average matching rate of strings is 84.15%. Therefore, the matching rate of the two remains at the same level.</p>
<p>As shown in <xref ref-type="table" rid="T10">Table 10</xref>, in terms of <italic>U</italic> test and standard deviation evaluation, the value of RCC11 is 3.5 and that of circular string is 10. Therefore, in terms of matching difference, circular string has significant difference in matching results.</p>
<table-wrap id="T10" position="float">
<label>TABLE 10</label>
<caption>
<p>Standard deviation based on RCC11 and String of each data in experimental area I and II.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th colspan="2" align="center">Samples</th>
<th rowspan="2" align="center">1</th>
<th rowspan="2" align="center">2</th>
<th rowspan="2" align="center">3</th>
<th rowspan="2" align="center">4</th>
<th rowspan="2" align="center">5</th>
<th rowspan="2" align="center">6</th>
<th rowspan="2" align="center">Standard deviation</th>
</tr>
<tr>
<th colspan="2" align="center">experimental areas</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td rowspan="2" align="center">I</td>
<td align="center">RCC11</td>
<td align="center">0.78</td>
<td align="center">0.82</td>
<td align="center">0.79</td>
<td align="center">0.78</td>
<td align="center">0.81</td>
<td align="center">0.81</td>
<td align="center">0.017</td>
</tr>
<tr>
<td align="center">String model</td>
<td align="center">0.82</td>
<td align="center">0.89</td>
<td align="center">0.85</td>
<td align="center">0.82</td>
<td align="center">0.86</td>
<td align="center">0.87</td>
<td align="center">0.028</td>
</tr>
<tr>
<td rowspan="2" align="center">II</td>
<td align="center">RCC11</td>
<td align="center">0.82</td>
<td align="center">0.85</td>
<td align="center">0.81</td>
<td align="center">0.82</td>
<td align="center">0.83</td>
<td align="center">0.82</td>
<td align="center">0.014</td>
</tr>
<tr>
<td align="center">String model</td>
<td align="center">0.81</td>
<td align="center">0.88</td>
<td align="center">0.83</td>
<td align="center">0.82</td>
<td align="center">0.84</td>
<td align="center">0.81</td>
<td align="center">0.026</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>A single spatial relationship was used as a constraint to carry out the matching experiment on each hand-drawn sketch. The following six spatial relationships, as well as the nine expression models, were analyzed. <xref ref-type="table" rid="T11">Table 11</xref> shows a summary of their average matching rates in experimental areas I and II:</p>
<table-wrap id="T11" position="float">
<label>TABLE 11</label>
<caption>
<p>Statistical table of the average matching rate of different spatial relations.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th colspan="2" align="center">Spatial relation description</th>
<th align="center">Qualitative representation model</th>
<th align="center">Matching success rate (%)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td rowspan="2" colspan="2" align="center">Topological relationships of road segments</td>
<td align="center">DRA72</td>
<td align="center">46.31</td>
</tr>
<tr>
<td align="center">DRA7</td>
<td align="center">79.1</td>
</tr>
<tr>
<td rowspan="3" align="center">Road sections and features</td>
<td align="center">The features are oriented relative to the road segment</td>
<td align="center">Left-Right</td>
<td align="center">76.7</td>
</tr>
<tr>
<td align="center">The features line up along the road section</td>
<td align="center">IAS</td>
<td align="center">74.41</td>
</tr>
<tr>
<td align="center">Circulating arrangement of ground features at the fork</td>
<td align="center">CIA</td>
<td align="center">79.5</td>
</tr>
<tr>
<td rowspan="3" colspan="2" align="center">Ground features and surface blocks</td>
<td align="center">RCC5</td>
<td align="center">80.75</td>
</tr>
<tr>
<td align="center">RCC8</td>
<td align="center">71.0</td>
</tr>
<tr>
<td align="center">RCC11</td>
<td align="center">63.8</td>
</tr>
<tr>
<td rowspan="2" colspan="2" align="center">Topological relationship between surface blocks</td>
<td align="center">RCC11</td>
<td align="center">81.15</td>
</tr>
<tr>
<td align="center">String model</td>
<td align="center">84.5</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec id="s4-3">
<title>4.3 Hierarchical matching of multi-constraint relations</title>
<p>To improve the credibility of the matching result in practical applications, we did not select only one constraint relation for matching and instead usually used two or more spatial relations as constraints for the matching process.</p>
<p>Before selecting two or more spatial relationships for matching, the characteristics of the experimental area were analyzed. For experimental area I, near the south gate of the university, the road network relationship is complex and the road structure is irregular. Therefore, the topological relationship of the road segments was the main constraint condition for matching. For experimental area II, the student dormitory area, which mainly expresses the relative position relationship of the dormitory group, the road is relatively regular. Therefore, the relative order relationship between ground features and road sections and the topological relationship between ground features and regional surface blocks were selected as the main constraint conditions for matching.</p>
<p>To apply multiple spatial relations in the matching process, this study adopted the hierarchical method for matching; that is, multiple spatial relations were matched in turn.</p>
<p>Based on road segment priority matching, the left-right symmetric model was first used to match the adjacent ground features of adjacent road segments, and the selection of the best matching ground features was helpful in refining the topological relationship of streets. Then, the DRA7 model was used to strengthen the topological relationship of the road segments, and the road segments with the highest matching rate were identified as the basis for the next matching. Finally, according to the selected optimal and correctly matched road segments, the linear sequence of ground features along the road segment or the cyclic sequence of ground features at the fork could be matched. In this step, the relative positioning of the ground features could be performed to find the relatively correctly matched ground features. Matching process based on road is shown in <xref ref-type="fig" rid="F10">Figure 10</xref>. And matching rate based on road segment matching process is shown in <xref ref-type="table" rid="T12">Table 12</xref>.</p>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>Street segment priority matching diagrams.</p>
</caption>
<graphic xlink:href="feart-11-1081445-g010.tif"/>
</fig>
<table-wrap id="T12" position="float">
<label>TABLE 12</label>
<caption>
<p>Matching rate based on road segment matching process.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Experimental areas</th>
<th align="center">Matching rate (%)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Near the south gate of the university</td>
<td align="center">85.4</td>
</tr>
<tr>
<td align="center">Near the dormitory area</td>
<td align="center">89.2</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Based on the matching between ground objects and regional surface blocks, the RCC11 model had a good matching rate for the topological relationship between ground objects and the regional surface under a single constraint relationship. Therefore, basic matching could be performed based on the RCC11 model. First, the ground object with the highest matching rate was identified as the basis for the next matching. Then, the RCC5 model was used to match the regional surface blocks. Finally, the linear sequence relationship between ground objects and road segments and the cyclic sequence relationship at fork points were used for matching.</p>
<p>The above matching process involved four kinds of spatial relations to match in turn as constraint conditions, and each step selected the spatial object correctly matched in the previous step as the basis. Based on the matching process of landmark and city block priority is shown in <xref ref-type="fig" rid="F11">Figure 11</xref>. The matching rate and algorithm complexity were further used to evaluate the matching process, as shown in <xref ref-type="table" rid="T13">Table 13</xref>.</p>
<fig id="F11" position="float">
<label>FIGURE 11</label>
<caption>
<p>Landmark and city block priority matching diagrams.</p>
</caption>
<graphic xlink:href="feart-11-1081445-g011.tif"/>
</fig>
<table-wrap id="T13" position="float">
<label>TABLE 13</label>
<caption>
<p>Matching rate based on the matching process between ground objects and regional surface blocks.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Experimental areas</th>
<th align="center">Matching rate (%)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Near the south gate of the university</td>
<td align="center">82.4</td>
</tr>
<tr>
<td align="center">Near the dormitory area</td>
<td align="center">88.1</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec sec-type="conclusion" id="s5">
<title>5 Conclusion</title>
<p>In this paper, the matching method of hand-drawn sketches and vector mapping was investigated. The characteristics and expression models of spatial relations under different dynamics are summarized from the perspective of cognitive distortion characteristics of hand-sketched sketches and the features of extracted spatial objects. According to the expression characteristics of spatial relations in the figures, the global and local spatial relation matrices were designed, and the dimension and quality of the local spatial relation matrix were evaluated, providing a search space for the matching method. Finally, according to the actual application of this study, the heuristic optimization (TS) algorithm was improved and applied in a number of matching experiments. The search process is optimized by obtaining the optimal initial solution through two matching processes. Based on the improved adjacency matrix, an adaptive function is designed to calculate the conflict number. The smaller the function value is, the better the matching sequence is. The results not only realized the matching between hand-drawn sketching and vector mapping, but also verified the effectiveness of the matching method. The disadvantage of this paper is that it only studies the matching of hand-drawn sketches and vector graphics when the sketches are more realistic, and does not specifically compare it with the existing technology, which will be the topic we will study next.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s6">
<title>Data availability statement</title>
<p>The data analyzed in this study is subject to the following licenses/restrictions: The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation. Requests to access these datasets should be directed to <ext-link ext-link-type="uri" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://yflu@sdut.edu.cn">yflu@sdut.edu.cn</ext-link>.</p>
</sec>
<sec id="s7">
<title>Author contributions</title>
<p>Conceptualization, YuL; data curation, YaL and KY; methodology, YuL and ZF; project administration, YuL and YW; supervision, SaL and SS; writing&#x2014;original draft, YS, SuL, and JL; writing&#x2014;review and editing, YuL, YW, and ZF. All authors have read and agreed to the published version of the manuscript.</p>
</sec>
<sec id="s8">
<title>Funding</title>
<p>This research was funded by the Major Project of High Resolution Earth Observation System of China (No. GFZX0404130304); the Open Fund of Hunan Provincial Key Laboratory of Geo-Information Engineering in Surveying, Mapping and Remote Sensing, Hunan University of Science and Technology (No. E22201); a grant from State Key Laboratory of Resources and Environmental Information System; the Innovation Capability Improvement Project of Scientific and Technological Small and Medium-sized Enterprises in Shandong Province of China (No. 2021TSGC1056).</p>
</sec>
<ack>
<p>The authors are grateful to the editors and the referees for their valuable comments and suggestions.</p>
</ack>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of interest</title>
<p>Authors SuL and SS were employed by Guojiao Spatial Information Technology (Beijing) Co., Ltd. and Zhongzhi Software Technology Company Limited.</p>
<p>The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s10">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Aomar</surname>
<given-names>O.</given-names>
</name>
</person-group> (<year>1999</year>). &#x201c;<article-title>Introduction to reasoning about cyclic intervals</article-title>,&#x201d; in <conf-name>Proceedings of the International Conference on Industrial and Engineering Applications of Artificial Intelligence and Expert Systems: Multiple Approaches To Intelligent Systems</conf-name>, <conf-loc>New Orleans, LA, USA</conf-loc>, <conf-date>September 1999</conf-date>.</citation>
</ref>
<ref id="B2">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2000</year>). <source>Map spatial cognition theory research</source>. <publisher-name>Zhengzhou Information Engineering University</publisher-name>. <publisher-loc>Zhengzhou, China</publisher-loc>.</citation>
</ref>
<ref id="B3">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Chipofya</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2016</year>). &#x201c;<article-title>Matching qualitative constraint networks with online reinforcement learning</article-title>,&#x201d; in <conf-name>Proceedings of the 2nd Global Conference on Artificial Intelligence</conf-name>, <conf-loc>Berlin, Germany</conf-loc>, <conf-date>October 2016</conf-date>.</citation>
</ref>
<ref id="B4">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Clementini</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Di Felice</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Van Oosterom</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>1993</year>). &#x201c;<article-title>A small set of formal topological relationships suitable for end-user interaction</article-title>,&#x201d; in <conf-name>Proceedings of the International Symposium on Advances in Spatial Databases</conf-name>, <conf-loc>Singapore</conf-loc>, <conf-date>June 1993</conf-date>.</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wenzheng</surname>
<given-names>C.</given-names>
</name>
</person-group>(<year>2015</year>). <article-title>Consistent cuts of RCC8 and cutting algorithms</article-title>. <source>Comput. Eng. Appl.</source> <volume>51</volume> (<issue>1</issue>), <fpage>143</fpage>&#x2013;<lpage>150</lpage>.</citation>
</ref>
<ref id="B6">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Dondi</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Mauri</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Zoppis</surname>
<given-names>I.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Complexity issues of string to graph approximate matching</article-title>,&#x201d; in <source>language and automata theory and applications. LATA 2020</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Leporati</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Mart&#xed;n-Vide</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Shapira</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Zandron</surname>
<given-names>C.</given-names>
</name>
</person-group> (<publisher-loc>Midtown Manhattan, NY, USA</publisher-loc>: <publisher-name>Springer Cham</publisher-name>), <volume>12038</volume>.</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gao</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2004</year>). <article-title>Cartographic tetrahedron: Explanation of cartography in the digital era</article-title>. <source>Acta Geod. Cartogr. Sinica</source>. <volume>33</volume> (<issue>1</issue>), <fpage>6</fpage>&#x2013;<lpage>11</lpage>.</citation>
</ref>
<ref id="B8">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Gao</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2012</year>). <source>Cartography tracking: Papers of academician Gao jun</source>. <publisher-loc>Beijing, China</publisher-loc>: <publisher-name>Serveying &#x26; Mapping Publishing House</publisher-name>.</citation>
</ref>
<ref id="B9">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Gao</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>1992</year>). &#x201c;<article-title>Map cognition and cognitive cartography</article-title>,&#x201d; in <conf-name>Proceedings of the 4th Seminar on Cartography Theory and Method. Sinomaps</conf-name>, <conf-loc>Cape Town, South Africa</conf-loc>, <conf-date>August 1992</conf-date>.</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hou</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Yuan</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>He</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Schwertfeger</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Matching maps based on the area graph</article-title>. <source>Intel. Serv. Robot.</source> <volume>15</volume>, <fpage>69</fpage>&#x2013;<lpage>94</lpage>. <pub-id pub-id-type="doi">10.1007/s11370-021-00392-5</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Graph matching beyond perfectly-overlapping Erd&#x151;s&#x2013;R&#xe9;nyi random graphs</article-title>. <source>Stat. Comput.</source> <volume>32</volume>, <fpage>19</fpage>. <pub-id pub-id-type="doi">10.1007/s11222-022-10079-1</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jan</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Schwering</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Schultz</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Chipofya</surname>
<given-names>M. C.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Cognitively plausible representations for the alignment of sketch and geo-referenced maps</article-title>. <source>J. Spat. Inf. Sci.</source> <volume>14</volume>, <fpage>31</fpage>&#x2013;<lpage>59</lpage>.</citation>
</ref>
<ref id="B13">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Jan</surname>
<given-names>Sahib</given-names>
</name>
<name>
<surname>Schultz</surname>
<given-names>Carl</given-names>
</name>
<name>
<surname>Schwering</surname>
<given-names>Angela</given-names>
</name>
<name>
<surname>Chipofya</surname>
<given-names>Malumbo</given-names>
</name>
</person-group> (<year>2015</year>). &#x201c;<article-title>Spatial rules for capturing qualitatively equivalent configurations in sketch maps</article-title>,&#x201d; in <conf-name>Proceedings of the Workshop on Logics for Qualitative Modelling &#x26; Reasoning</conf-name>, <conf-loc>&#x141;&#xf3;d&#x17a;, Poland</conf-loc>, <conf-date>September 2015</conf-date>. <pub-id pub-id-type="doi">10.15439/2015F372</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Kettunen</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Putto</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Gyselinck</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Christina</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Sarjakoski</surname>
<given-names>L. T.</given-names>
</name>
</person-group> (<year>2015</year>). &#x201c;<article-title>Perception and recall of landmarks for personal navigation in nature at night versus day</article-title>,&#x201d; in <source>Modern trends in cartography</source> (<publisher-loc>Midtown Manhattan, NY, USA</publisher-loc>: <publisher-name>Springer cham</publisher-name>), <fpage>281</fpage>&#x2013;<lpage>301</lpage>.</citation>
</ref>
<ref id="B18">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Lin</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2003</year>). <source>Dictionary of psychology</source>. <publisher-name>Shanghai Education Press</publisher-name>. <publisher-loc>Shanghai , China</publisher-loc>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Moratz</surname>
<given-names>Reinhard</given-names>
</name>
<name>
<surname>Ragni</surname>
<given-names>Marco</given-names>
</name>
</person-group> (<year>2008</year>). <article-title>Qualitative spatial reasoning about relative point position</article-title>. <source>J. Vis. Lang. Comput.</source> <volume>19</volume> (<issue>1</issue>), <fpage>75</fpage>&#x2013;<lpage>98</lpage>. <pub-id pub-id-type="doi">10.1016/j.jvlc.2006.11.001</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Oliver Wallgr&#xfc;n</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Diedrich</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Richter</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2010</year>). &#x201c;<article-title>Qualitative matching of spatial information</article-title>,&#x201d; in <conf-name>Proceedings of the ACM Sigspatial International Symposium on Advances in Geographic Information Systems</conf-name>, <conf-loc>San Jose, CA, USA</conf-loc>, <conf-date>November 2010</conf-date>.</citation>
</ref>
<ref id="B21">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Randell</surname>
<given-names>D. A.</given-names>
</name>
<name>
<surname>Cui</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Cohn</surname>
<given-names>A. G.</given-names>
</name>
</person-group> (<year>1992</year>). &#x201c;<article-title>An interval logic for space based on "connection"</article-title>,&#x201d; in <conf-name>Proceedings of the European Conference on Artificial Intelligence</conf-name>, <conf-loc>Vienna, Austria</conf-loc>, <conf-date>August 1992</conf-date>.</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rovine</surname>
<given-names>M. J.</given-names>
</name>
<name>
<surname>Weisman</surname>
<given-names>G. D.</given-names>
</name>
</person-group> (<year>1989</year>). <article-title>Sketch-map variables as predictors of way-finding performance</article-title>. <source>J. Environ. Psychol.</source> <volume>9</volume> (<issue>3</issue>), <fpage>217</fpage>&#x2013;<lpage>232</lpage>. <pub-id pub-id-type="doi">10.1016/s0272-4944(89)80036-2</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Schwering</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Chipofya</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Jan</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Broelemann</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>SketchMapia: Qualitative representations for the alignment of sketch and metric maps</article-title>. <source>Spatial Cognition Comput.</source> <volume>14</volume>, <fpage>220</fpage>&#x2013;<lpage>254</lpage>. <pub-id pub-id-type="doi">10.1080/13875868.2014.917378</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Schwering</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2010</year>). &#x201c;<article-title>SketchMapia&#x2013;A framework for qualitative mapping of sketch maps and metric maps</article-title>,&#x201d; in <conf-name>Proceedings of the Las Navas Anniversary Meeting on Cognitive and Linguistic Aspects of Geographic Space</conf-name>, <conf-loc>Las Navas, Spain</conf-loc>, <conf-date>July 2010</conf-date>.</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Son</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2005</year>). <article-title>The measurement of tourist destination image: Applying a sketch map technique</article-title>. <source>Int. J. Tour. Res.</source> <volume>7</volume> (<issue>4-5</issue>), <fpage>279</fpage>&#x2013;<lpage>294</lpage>. <pub-id pub-id-type="doi">10.1002/jtr.532</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tu Huynh</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Sean</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2007</year>). <article-title>Digital sketch-map drawing as an instrument to collect data about spatial cognition</article-title>. <source>Cartogr. Int. J. Geogr. Inf. Geovisualization</source> <volume>42</volume> (<issue>4</issue>), <fpage>285</fpage>&#x2013;<lpage>296</lpage>. <pub-id pub-id-type="doi">10.3138/carto.42.4.285</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Schwering</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Invariant spatial information in sketch maps&#x2014;A study of survey sketch maps of urban areas</article-title>. <source>J. Spatial Inf. Sci.</source> <volume>2015</volume> (<issue>11</issue>).</citation>
</ref>
<ref id="B28">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Schwering</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2009</year>). &#x201c;<article-title>The accuracy of sketched spatial relations: How cognitive errors affect sketch representation</article-title>,&#x201d; in <conf-name>Proceedings of the Conference on Spatial Information Theory</conf-name>, <conf-loc>Aber Wrac&#x27;h, France</conf-loc>, <conf-date>July 2009</conf-date>.</citation>
</ref>
<ref id="B29">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Ying</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2003</year>). <source>Study on topological spatial relationship and spatial reasoning in geographic information system</source>. <publisher-loc>Chongqing ,China</publisher-loc>: <publisher-name>Chongqing University</publisher-name>.</citation>
</ref>
<ref id="B30">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Yu</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Yan</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2018</year>). &#x201c;<article-title>Incremental multi-graph matching via diversity and randomness based graph clustering</article-title>,&#x201d; in <source>Computer vision &#x2013; ECCV 2018 lecture notes in computer science</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Ferrari</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Hebert</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Sminchisescu</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Weiss</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<publisher-loc>Midtown Manhattan, NY, USA</publisher-loc>: <publisher-name>Springer Cham</publisher-name>), <volume>11217</volume>.</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ali</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Shahbazi</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Sketch maps for searching in spatial data</article-title>. <source>Trans. GIS</source> <volume>24</volume>, <fpage>780</fpage>&#x2013;<lpage>808</lpage>. <pub-id pub-id-type="doi">10.1111/tgis.12619</pub-id>
</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zare Zardiny</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Hakimpour</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Route matching in sketch and metric maps</article-title>. <source>J. Geogr. Syst.</source> <volume>23</volume>, <fpage>381</fpage>&#x2013;<lpage>405</lpage>. <pub-id pub-id-type="doi">10.1007/s10109-020-00343-1</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhan</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhao</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Lin</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Niu</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Graph matching based on local and global information of the graph nodes</article-title>. <source>Multimed. Tools Appl.</source> <volume>79</volume>, <fpage>11567</fpage>&#x2013;<lpage>11590</lpage>. <pub-id pub-id-type="doi">10.1007/s11042-019-08516-x</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zheng</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Xue&#x2019;er</surname>
<given-names>L. I.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Home leading by mental map</article-title>. <source>Geomatics Inf. Sci. Wuhan Univ</source>. <volume>47</volume>(<issue>12</issue>), <fpage>2159</fpage>-<lpage>2158</lpage>. <pub-id pub-id-type="doi">10.13203/j.whugis20220068</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>