CN116910131A - Linkage visualization method and system based on basic geographic entity database - Google Patents

Linkage visualization method and system based on basic geographic entity database Download PDF

Info

Publication number
CN116910131A
CN116910131A CN202311168584.9A CN202311168584A CN116910131A CN 116910131 A CN116910131 A CN 116910131A CN 202311168584 A CN202311168584 A CN 202311168584A CN 116910131 A CN116910131 A CN 116910131A
Authority
CN
China
Prior art keywords
geographic entity
database
data
entity
geographic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311168584.9A
Other languages
Chinese (zh)
Other versions
CN116910131B (en
Inventor
尹斌
王凤娇
平宗玮
王峰
刘现印
赵君
李玉琳
崔红霞
黄慧
侯立媛
孙小涛
王皎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Provincial Institute of Land Surveying and Mapping
Original Assignee
Shandong Provincial Institute of Land Surveying and Mapping
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Provincial Institute of Land Surveying and Mapping filed Critical Shandong Provincial Institute of Land Surveying and Mapping
Priority to CN202311168584.9A priority Critical patent/CN116910131B/en
Publication of CN116910131A publication Critical patent/CN116910131A/en
Application granted granted Critical
Publication of CN116910131B publication Critical patent/CN116910131B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/387Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/56Information retrieval; Database structures therefor; File system structures therefor of still image data having vectorial format

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Remote Sensing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a linkage visualization method and system based on a basic geographic entity database. The basic geographic entity database comprises a spatial database and a semantic relation database; the method comprises the following steps: obtaining a geographic entity query request; querying based on the spatial database and the semantic relation database respectively; based on the set initial display level, according to the geographic entity display condition corresponding to the initial display level, taking one or more target geographic entities as centers, visualizing map vector data in a spatial data view window, and determining a unique identification code list of the geographic entity which is currently displayed; visualizing the semantic relationship data within a semantic relationship data view window based on the unique identification code list; highlighting the one or more target geographic entities. According to the invention, the basic geographic entity database is constructed, so that the association inquiry and visualization of the space data and the semantic relation data are realized.

Description

Linkage visualization method and system based on basic geographic entity database
Technical Field
The invention relates to the technical field of multi-source geographic entity data visualization, in particular to a linkage visualization method and system based on a basic geographic entity database.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
The basic geographic entity is a geographic entity acquired and expressed through basic mapping, and is a positioning frame and a bearing foundation of other geographic entities and related information. The geographic entity data is the digital description of the geographic entity in the computer system, and comprises three parts, namely a graphic element, entity attributes and entity relation data, wherein the graphic element is a geometric construction unit of a basic geographic entity and mainly adopts vector data formats of point, line, surface and other types, and one entity comprises one (class) or a plurality of (class) graphic elements; the entity attribute data comprises basic attribute data and extended attribute data; the entity relationship data includes spatial relationship, generic relationship, time association relationship, geometric composition relationship data, and the like. For basic geographic entity data with various data types and structures, a mature management mechanism is lacking at present.
In addition, the current user queries for geographic entities mainly based on vector maps, such as map service software on the market, by inputting or clicking a place name or address of interest, a target map area is obtained and displayed, and in addition, when the user performs pointing or clicking operation on a specific position on a screen, attribute data of the geographic entity to which the position belongs is fed back to the user. However, such visualization methods have limited content and require re-querying if the user wants to learn other geographic entity information associated with the geographic entity.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a linkage visualization method and system based on a basic geographic entity database. By constructing a basic geographic entity database, the association inquiry and visualization of the space data and the semantic relation data are realized.
To achieve the above object, one or more embodiments of the present invention provide the following technical solutions:
the linkage visualization method based on a basic geographic entity database comprises a spatial database and a semantic relation database, wherein for the same basic geographic entity, the spatial database and the semantic relation database record unique identification codes of the spatial database and the semantic relation database; presetting a plurality of display levels of the space data and geographic entity display conditions corresponding to each display level; the method comprises the following steps:
obtaining a geographic entity query request;
inquiring based on the space database and the semantic relation database respectively to obtain the position and semantic relation data of one or more target geographic entities in map vector data;
based on the set initial display level, according to the geographic entity display condition corresponding to the initial display level, taking one or more target geographic entities as centers, visualizing map vector data in a spatial data view window, and determining a unique identification code list of the geographic entity which is currently displayed;
visualizing the semantic relationship data within a semantic relationship data view window based on the unique identification code list;
highlighting the one or more target geographic entities.
In some embodiments, the spatial database and the semantic relation database provide a resource access interface and an associated query service interface, respectively, and the geographic entity query request is obtained via the resource access interface or the associated query service interface.
In some embodiments, if the query request is obtained via the resource access interface, obtaining, according to the query request, unique identification codes of one or more target geographic entities and positions in map vector data based on the spatial database query; obtaining semantic relation data of the one or more target geographic entities based on the semantic relation database query according to the unique identification codes of the one or more target geographic entities;
if the query request is acquired through the associated query service interface, acquiring unique identification codes of one or more target geographic entities and corresponding semantic relationship data based on the query of the semantic relationship database according to the query request; and according to the unique identification codes of the one or more target geographic entities, obtaining the positions of the one or more target geographic entities in map vector data based on the space database query.
In some embodiments, the geographic entity query request is an associated query request for a geographic entity;
if the query request is acquired through the resource access interface, analyzing the query request to obtain a target geographic entity, an associated geographic entity and an association relationship between the target geographic entity and the associated geographic entity; acquiring a unique identification code of the target geographic entity based on a spatial database aiming at the target geographic entity; determining a corresponding semantic relation according to the association relation, combining the unique identification code of the target geographic entity and the associated geographic entity, and acquiring an associated geographic entity unique identification code list meeting the semantic relation with the target geographic entity based on a semantic relation database; acquiring the position of the associated geographic entity in map vector data based on a spatial database according to the unique identification code list;
if the query request is acquired through the associated query service interface, analyzing the query request to obtain a target geographic entity, an associated geographic entity and an association relationship between the target geographic entity and the associated geographic entity; aiming at the target geographic entity, acquiring a unique identification code of the target geographic entity based on a semantic relation database; determining a corresponding semantic relation according to the association relation, and acquiring an association geographic entity unique identification code list which meets the semantic relation with the target geographic entity; and acquiring the position of the associated geographic entity in the map vector data based on the spatial database according to the unique identification code list.
In some embodiments, optimally displaying the semantic relationship data includes:
constructing a semantic knowledge graph based on the semantic relation data;
selecting and rejecting the nodes in the semantic relation knowledge graph according to the density of the nodes in the semantic relation knowledge graph and the importance level of the corresponding geographic entity of each node;
establishing a 3D physical coordinate system, judging the display level of each node according to the importance level of the corresponding geographic entity of each node, and taking the display level as the z-axis coordinate level in the screen coordinate system, wherein the higher the display level is, the larger the z-axis coordinate is;
and determining the coordinates of the X axis and the Y axis of each node in the screen coordinate system according to the relative position relation of each node in the map vector data.
In some embodiments, the method further comprises: based on the display level of the spatial data, performing linkage visualization on the semantic relationship data specifically includes:
monitoring the current display level of the space data in real time, and determining a unique identification code list of the geographic entity to be displayed according to the display condition of the geographic entity under the display level;
and updating the displayed spatial data and semantic relation data according to the unique identification code list of the geographic entity to be displayed.
One or more embodiments provide a linkage visualization system based on a basic geographic entity database, where the basic geographic entity database includes a spatial database and a semantic relation database, and for the same basic geographic entity, the spatial database and the semantic relation database each record their unique identification codes; presetting a plurality of display levels of the space data and geographic entity display conditions corresponding to each display level; the system comprises:
the query request acquisition module is configured to acquire a geographic entity query request;
the geographic entity query module is configured to query based on the spatial database and the semantic relation database respectively to obtain the position and semantic relation data of one or more target geographic entities in the map vector data;
a linkage visualization module configured to:
based on the set initial display level, according to the geographic entity display condition corresponding to the initial display level, taking one or more target geographic entities as centers, visualizing map vector data in a spatial data view window, and determining a unique identification code list of the geographic entity which is currently displayed;
visualizing the semantic relationship data within a semantic relationship data view window based on the unique identification code list;
highlighting the one or more target geographic entities.
One or more embodiments provide an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the linked visualization method based on a base geographic entity database when the program is executed.
One or more embodiments provide a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the linked visualization method based on a base geographic entity database.
One or more embodiments provide a computer program product comprising computer-executable instructions that, when executed by a processor, implement the linked visualization method based on a base geographic entity database.
The one or more of the above technical solutions have the following beneficial effects:
by constructing the basic geographic entity database, the related query and visualization of the spatial data and the semantic relation data are realized, on one hand, the query mode is more flexible and the expression form is richer, and on the other hand, compared with a single visualization mode, the user can know the azimuth and the basic attribute of the spatial data and the semantic relation data through linkage visualization of the spatial data and the semantic relation data, and can also know other geographic entities related to the geographic entities, so that the information expression is enriched, and the user experience is enhanced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention.
FIG. 1 is a schematic diagram of a basic geographic entity data model in accordance with one or more embodiments of the present invention;
FIG. 2 is a flow diagram of a method for linkage visualization based on a base geographic entity database in one or more embodiments of the invention;
FIG. 3 is a diagram of a linkage visualization effect based on a base geographic entity database in one or more embodiments of the invention.
Detailed Description
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the invention. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present invention. As used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and furthermore, it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
Embodiments of the invention and features of the embodiments may be combined with each other without conflict.
The visualization method in one or more embodiments of the present invention is implemented based on a base geographic entity database. The basic geographic entity database comprises a spatial database and a semantic relation database. The space database is used for storing map vector data (or geometric data) and attribute data, and the semantic relation database is used for storing semantic relations between basic geographic entities.
For the same basic geographic entity, the space database and the semantic relation database record unique identification codes, and the association between space data and semantic relation data is realized through the unique identification codes. As will be appreciated by those skilled in the art, the unique identification code in the spatial database is recorded in the attribute data. In the spatial database, a class of geographic entities with the same attribute features is generally used as a layer, and each layer is managed by using two data files, namely a geometric data file and an attribute data file, which are respectively associated through a unique identification code. The attribute data is stored by adopting a relational database, each row corresponds to a geographic entity, each column represents an attribute item of the geographic entity, and common attribute items comprise a unique identification code, a geographic entity name, an entity classification code, an administrative county to which the entity belongs, an area, a perimeter and the like.
As shown in fig. 1, the basic geographic entity data model includes three-dimensional entity data, two-dimensional entity data, semantic relations and metadata, and performs serial connection of multi-storage-form data contents by using unique identification codes to realize complete storage management, so as to construct a basic geographic entity database. The two-dimensional entity data is stored and managed by adopting a space data set, and the geometric characteristics and attribute information of the geographic entity are recorded. Vector tiles are constructed based on the space element data, and the three-dimensional model data of tile forms are combined to support the efficient two-dimensional and three-dimensional visual expression of the geographic entities.
In some embodiments, the semantic relation database construction method comprises the following steps: acquiring semantic relation data stored based on a two-dimensional relation table, wherein each record in the two-dimensional relation table comprises unique identification codes of two geographic entities with semantic relation, source attribute data and relation between the two geographic entities; and analyzing based on the semantic relation data, and storing and managing in a triplet form based on a graph database.
Each record in the two-dimensional table includes unique identification codes of two geographic entities with semantic relationships, source attribute data and relationships between the two geographic entities, and it can be understood by those skilled in the art that for spatial data, each vector data layer corresponds to an attribute table, and the source attribute data can be a table name record. The vector data layer name and the geographic entity unique identification code can be stored in an Excel two-dimensional table, and the method comprises the following fields: source_id, source_ TABLE, RELATYPE, TRAGET _id, target_table.
Semantic relationships among various basic geographic entities (individual levels) are defined and configured from tenses, spatial positions, services and other dimensions based on basic geographic entity data, and comprise spatial relationships, generic relationships, geometric composition relationships, time association relationships and custom semantic relationships for service application.
The spatial relationship comprises spatial position, spatial distance and spatial topological relationship among different entities, and the spatial relationship instantiation expression is carried out in a form of < geographic entity, spatial relationship and geographic entity > triples.
Generic relationships include hierarchical relationships between different entity types, instance relationships of entity types and entity objects, containment relationships between different entities, and dependency relationships between different entities. The hierarchical relationship among different entity types is expressed in a form of a triplet of the entity type, the father-son relationship and the entity type. The instance relation between the entity type and the entity object is expressed in the form of a triplet of the entity type, the instance relation and the geographic entity. The inclusion relationship between different entities is expressed in the form of a < geographical entity, inclusion, geographical entity > triplet. The dependency relationship among different entities is expressed in a form of < geographic entity, dependency, geographic entity > triplet.
The geometric composition relationship includes the relationship between the entity and the primitive and the relationship between the entity and the two-dimensional expression form. The relation between the entity and the primitive adopts a < primitive, constitutes, and expresses the geographic entity > triplet, and the relation between the two three-dimensional expression forms of the entity adopts a < geographic entity, three-dimensional characteristics and monomer model > triplet.
The time association relationship includes an inheritance relationship and an evolution relationship. The unique identification codes are connected with the multi-state data of the same entity in series to form time-sequence data, and the time-sequence data is expressed in a form of < geographic entity, inheritance and geographic entity > triples. By comparing the geographic entity data in different periods, the evolution situation among the geographic entity objects is identified, and the expression is carried out in a form of < geographic entity, evolution and geographic entity > triples.
And constructing the semantic relation by associating different triples related to the semantic relation through the same-code geographic entity nodes. The same-code geographic entity is the basic geographic entity with the same unique identification code, and is essentially the same geographic entity.
In some embodiments, the semantic relationship further includes an attribute relationship, where the attribute relationship represents a correspondence between a geographic entity and an attribute, and by converting an attribute value of the geographic entity into a form of a triplet of < entity, attribute value >, various attribute items and value field information owned by the basic geographic entity are recorded.
In some embodiments, in order to realize a more flexible query function, the spatial database and the semantic relation database respectively provide a resource access interface and an associated query service interface, where the spatial database provides a basic geographic entity spatial data service resource access service through the resource access interface, including contents such as map mapping, vector tile production, service warehousing, service release, etc., and the semantic relation database realizes the associated query service through the associated query service interface based on a semantic relation knowledge graph stored in the map database, and based on the basic geographic entity database, one or more embodiments of the present invention provide a linkage visualization method based on the basic geographic entity database, through which a query is performed, a return result of the two databases can be obtained.
As shown in fig. 2, the method specifically includes the following steps:
step 1: a geographic entity query request is obtained.
Specifically, a geographic entity query request is obtained via the resource access interface or the associated query service interface or the question-answer sentence.
The geographic entity query request can be a query request aiming at a certain geographic entity or a query request aiming at certain geographic entities, wherein the query request is divided into geographic entity internal query parameters and geographic entity external query parameters, the geographic entity internal query parameters comprise and are not limited to attribute items such as geographic entity names, geographic entity unique identification codes, entity classification names, entity classification codes and the like, and the external query parameters mainly refer to geographic entity space data in a buffer range which can be queried by setting query parameters of non-geographic entities such as set points, lines, planes and the like on map data. For example, the query request may be obtained via the resource access interface by entering a name of a geographic entity, such as a school, park, etc.; and the query request can be obtained through frame selection on map data displayed on the interface, and the query is carried out on a certain area to obtain all geographic entities contained in the area. In another example, the query request may be obtained through the associated query service interface, where the name of a certain geographic entity is input, or a certain node may be clicked or framed on a knowledge graph displayed on the interface.
Step 2: and inquiring based on the space database and the semantic relation database respectively to obtain the position and semantic relation data of one or more target geographic entities in the map vector data.
If the query request is obtained via the resource access interface, the step 2 includes: according to the query request, obtaining unique identification codes of one or more target geographic entities and positions in map vector data based on the query of the spatial database; and obtaining semantic relation data of the one or more target geographic entities based on the semantic relation database query according to the unique identification codes of the one or more target geographic entities.
When inquiring based on the space database according to the inquiry request, if the inquiry request is a unique identification code, the position of one or more target geographic entities can be obtained directly based on map vector data; if the query request is other attribute items, such as a geographic entity name, firstly determining one or more geographic entity unique identification codes corresponding to the attribute items based on attribute data in a spatial database, and then determining the positions of one or more target geographic entities based on the one or more geographic entity unique identification codes.
As will be appreciated by those skilled in the art, the query process based on the attribute data is implemented using a relational database query method, i.e., the query request is received, a query search formula (e.g., a SELECT query statement in a MySQL database) is generated, and the query is executed based on the query search formula.
If the query request is obtained via the associated query service interface, the step 2 includes: according to the query request, obtaining unique identification codes of one or more target geographic entities and corresponding semantic relation data based on the query of the semantic relation database; and according to the unique identification codes of the one or more target geographic entities, obtaining the positions of the one or more target geographic entities in map vector data based on the space database query.
Step 3: a plurality of display levels of the space data and geographic entity display conditions corresponding to each display level are preset. Based on the set initial display level, according to the geographic entity display condition corresponding to the initial display level, taking one or more target geographic entities as centers, visualizing map vector data in a spatial data view window, and determining a unique identification code list of the geographic entity which is currently displayed; visualizing the semantic relationship data within a semantic relationship data view window based on the unique identification code list; highlighting the one or more target geographic entities.
The geographical entity display conditions corresponding to each display level are set, and the geographical entity display conditions are used for defining which conditions are met by the area, the length and the like under each display level to display.
In some embodiments, the visualization may be performed using a front-end map component for displaying map vector data containing the target geographic entity within the spatial data view window and a chart component for displaying a semantic relationship knowledge graph associated with the target geographic entity within the semantic relationship data view window.
Step 4: and carrying out linkage visualization on the semantic relation data based on the display level of the space data.
In some embodiments, the spatial data is map vector data, in order to facilitate quick display, graphic synthesis and element simplification are required to be performed on the vector data, meanwhile, in order to clearly display node, text and semantic relations, the displayed semantic relation elements are also required to be simplified in advance, and in order to keep consistency between the two, linkage visualization is performed on the map vector data and the semantic relation data based on a multi-layer cascade operation strategy, the linkage visualization is based on the display level of the map vector data, a user can zoom the map vector data, and the semantic relation data can be displayed in a linkage zoom manner. The step 4 specifically includes:
step 4.1: and monitoring the current display level of the map vector data in real time, and determining a unique identification code list of the geographic entity to be displayed according to the display condition of the geographic entity under the display level. It will be appreciated that the user may be able to zoom in and out on the map vector data at any time, with the display level changing accordingly.
Step 4.2: and updating the displayed map vector data and semantic relation data according to the unique identification code list of the geographic entity to be displayed.
When the target geographic entities of the query are more or the semantic relationship associated with the target geographic entities is complex, if the semantic relationship is directly visualized, the viewing is not facilitated. Therefore, the embodiment specifies the importance level of the geographic entity by presetting the display rule of the geographic entity. According to the general knowledge, the geographic entities are divided into three main types of entities of manual, natural and management, and the general principle of importance level setting is as follows: the importance level of the management entity is consistent with the management level, namely the importance level is displayed step by step from macroscopic level to microscopic level, and the importance level of the other two main categories is usually artificial > natural. The importance level of the artificial geographic entity is set as follows: building > courtyard > traffic > water conservancy > structure, field facilities > pipeline > landform, and importance level for natural geographic entities is set as: water system > agriculture and forestry land and soil > mountain body > sea > ice and snow. In addition, manual setting may be performed for the landmark geographic entity.
And synchronizing and simplifying the elements displayed by the map vector data in each display level and the elements displayed in the semantic relation space, and keeping the same display scale. On the basis, in order to enhance the readability of the semantic data, the semantic relationship data is optimally displayed, and the method specifically comprises the following steps:
(1) Constructing a semantic knowledge graph based on the semantic relation data;
(2) Selecting and rejecting the nodes in the semantic relation knowledge graph according to the density of the nodes in the semantic relation knowledge graph and the importance level of the corresponding geographic entity of each node;
(3) Establishing a 3D physical coordinate system, judging the display level of each node according to the importance level of the corresponding geographic entity of each node, and taking the display level as the z-axis coordinate level in the screen coordinate system, wherein the higher the display level is, the larger the z-axis coordinate is; specifically, the maximum and minimum values of the z-axis coordinate may be set, and the z-axis coordinate is determined according to the display level within the maximum and minimum value range; it will be appreciated that the larger the z-axis coordinate, the more forward the display.
(4) And determining the coordinates of the X axis and the Y axis of each node in the screen coordinate system according to the relative position relation of each node in the map vector data. Optionally, the x-axis and y-axis coordinates of each node in the screen coordinate system are determined in combination with the screen coordinate range corresponding to the semantic relation display view.
(5) And marking the nodes and edges in the semantic knowledge graph according to the attribute relationship data.
The annotation of the semantic relation knowledge graph is mainly used for describing nodes and edges, collision detection is needed for the annotation, and the transparency of the annotation arranged at the bottom is reduced according to the stacking relation of the annotation, so that the annotation arranged at the top layer can be rapidly identified. Specifically, the corresponding relation between different scales and marking font sizes is preset, grid units are defined in the current display view, one or more grids occupied by each node mark (such as a geographical entity name) are determined under the current display scale, conflict detection is carried out, if grids corresponding to the node marks are overlapped, transparency is adjusted according to importance levels of the geographical entities corresponding to the nodes, the display level is higher, and the transparency of the marks is larger.
In order to realize real-time collaborative visual display of the geographic entity vector data and the semantic knowledge graph, a view angle mapping relation between a geographic entity vector screen coordinate system and a 3D physical coordinate system is also established.
In order to improve the flexibility of the query, the geographic entity query request in the step 1 may be an association query request for a certain geographic entity, for example, a school near a certain industrial park is queried, the query request may be expressed by a sentence, query parameters may be obtained through natural language analysis, or may be obtained through a preset association query tool, where the association query tool includes a target geographic entity input box, an association relation option, and an association geographic entity input box, for example, a certain industrial park may be input in the target geographic entity input box, and a school may be input in the association relation option near the association geographic entity input box.
In the above case, if the query request is obtained via the resource access interface, the step 2 includes:
step 2.1: analyzing and obtaining a target geographic entity, an associated geographic entity and an association relation between the target geographic entity and the associated geographic entity according to the query request;
step 2.2: acquiring a unique identification code of the target geographic entity based on a spatial database aiming at the target geographic entity;
step 2.3: determining a corresponding semantic relation according to the association relation, combining the unique identification code of the target geographic entity and the associated geographic entity, and acquiring an associated geographic entity unique identification code list meeting the semantic relation with the target geographic entity based on a semantic relation database; specifically, a triplet query instruction < id, dependendon, type = associated geographic entity > is generated, and a query is executed based on a semantic relationship database.
Step 2.4: and acquiring the position of the associated geographic entity in the map vector data based on the spatial database according to the unique identification code list.
If the query request is obtained via the associated query service interface, the step 2 includes:
step 2.1: analyzing and obtaining a target geographic entity, an associated geographic entity and an association relation between the target geographic entity and the associated geographic entity according to the query request;
step 2.2: aiming at the target geographic entity, acquiring a unique identification code of the target geographic entity based on a semantic relation database;
step 2.3: determining a corresponding semantic relation according to the association relation, combining the unique identification code of the target geographic entity and the associated geographic entity, and acquiring an associated geographic entity unique identification code list meeting the semantic relation with the target geographic entity based on a semantic relation database; specifically, a triplet query instruction < id, dependendon, type = associated geographic entity > is generated, and a query is executed based on a semantic relationship database.
Step 2.4: and acquiring the position of the associated geographic entity in the map vector data based on the spatial database according to the unique identification code list.
Obtaining unique identification codes of one or more target geographic entities and corresponding semantic relation data based on the semantic relation database query; and according to the unique identification codes of the one or more target geographic entities, obtaining the positions of the one or more target geographic entities in map vector data based on the space database query.
An effect diagram of querying a nearby school for a particular industrial park is shown in fig. 3.
As an example, a service area along a highway is queried, and the method specifically comprises the following steps: (1) Acquiring a query request from a resource access interface or an associated query service interface, and querying geographic entities of a service area along a certain expressway; (2) Analyzing the expressway name, and acquiring a unique geographic entity identification code corresponding to the expressway based on a spatial database or a semantic relation database; (3) Generating triplet parameters, namely < id, dependendon, type=service area >, acquiring a service area unique identification code list based on a semantic relation database, and transmitting the unique identification code list to a resource access interface; (4) Acquiring service area graphics and attribute information based on a spatial database according to the unique identification code list; (5) And carrying out linkage visualization on the space data and the semantic relation data. When in visual display, a plurality of display levels are preset, for example, the center line of a highway can be set and displayed at the level 6-12, the clear center line is displayed at the level 12, the center line is thinned and displayed roughly along with the reduction of the level, and a service area is set as a roughly outsourced polygon; on the contrary, as the level increases, the peripheral surface form of the expressway is displayed, and the structures of the service area entity are gradually displayed.
One or more embodiments of the present invention further provide a linkage visualization system based on a basic geographic entity database, where the basic geographic entity database includes a spatial database and a semantic relation database, and for the same basic geographic entity, the spatial database and the semantic relation database each record its unique identification code; presetting a plurality of display levels of the space data and geographic entity display conditions corresponding to each display level; the system comprises:
the query request acquisition module is configured to acquire a geographic entity query request;
the geographic entity query module is configured to query based on the spatial database and the semantic relation database respectively to obtain the position and semantic relation data of one or more target geographic entities in the map vector data;
a linkage visualization module configured to:
based on the set initial display level, according to the geographic entity display condition corresponding to the initial display level, taking one or more target geographic entities as centers, visualizing map vector data in a spatial data view window, and determining a unique identification code list of the geographic entity which is currently displayed;
visualizing the semantic relationship data within a semantic relationship data view window based on the unique identification code list;
highlighting the one or more target geographic entities.
One or more embodiments of the present invention also provide an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing a linked visualization method based on a base geographic entity database when executing the program.
In some embodiments, the linked visualization method based on the underlying geographic entity database may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and/or installed to the electronic device via RAM and/or ROM and/or a communication unit. One or more steps of the methods described above may be performed when a computer program is loaded into RAM and/or ROM and executed by an electronic device.
The above embodiments realize management and application of basic geographic entity data, establish a basic geographic entity database for coupling basic geographic entity space data and semantic relation, further support the geographic entity knowledge service requirement, and realize the associated query and visualization of the space data and semantic relation knowledge graph. On the one hand, the query mode is more flexible, and on the other hand, compared with a single visual mode, the user can know the azimuth and the basic attribute of the user and other geographic entities related to the geographic entity through linkage visualization of the space data and the semantic relation data, so that the information expression is enriched, and the user experience is enhanced.
While the foregoing description of the embodiments of the present invention has been presented in conjunction with the drawings, it should be understood that it is not intended to limit the scope of the invention, but rather, it is intended to cover all modifications or variations within the scope of the invention as defined by the claims of the present invention.

Claims (10)

1. The linkage visualization method based on the basic geographic entity database is characterized in that the basic geographic entity database comprises a spatial database and a semantic relation database, and for the same basic geographic entity, the spatial database and the semantic relation database record unique identification codes of the spatial database and the semantic relation database; the space database comprises map vector data and attribute data, wherein the attribute data is stored by adopting a relational database, each row represents a geographic entity, each row represents an attribute item of the geographic entity, the attribute item comprises a unique identification code and other attributes, and the map vector data and the vector data are associated through the unique identification code; presetting a plurality of display levels of the space data and geographic entity display conditions corresponding to each display level; the method comprises the following steps:
obtaining a geographic entity query request;
inquiring based on the space database and the semantic relation database respectively to obtain the position and semantic relation data of one or more target geographic entities in map vector data;
based on the set initial display level, according to the geographic entity display condition corresponding to the initial display level, taking one or more target geographic entities as centers, visualizing map vector data in a spatial data view window, and determining a unique identification code list of the geographic entity which is currently displayed;
visualizing the semantic relationship data within a semantic relationship data view window based on the unique identification code list;
highlighting the one or more target geographic entities.
2. The linked visualization method based on a base geographic entity database of claim 1, wherein the spatial database and the semantic relation database provide a resource access interface and an associated query service interface, respectively, the geographic entity query request being obtained via the resource access interface or the associated query service interface.
3. The linkage visualization method based on the basic geographic entity database according to claim 2, wherein if the query request is acquired via the resource access interface, obtaining unique identification codes of one or more target geographic entities and positions in map vector data based on the spatial database query according to the query request; obtaining semantic relation data of the one or more target geographic entities based on the semantic relation database query according to the unique identification codes of the one or more target geographic entities;
if the query request is acquired through the associated query service interface, acquiring unique identification codes of one or more target geographic entities and corresponding semantic relationship data based on the query of the semantic relationship database according to the query request; and according to the unique identification codes of the one or more target geographic entities, obtaining the positions of the one or more target geographic entities in map vector data based on the space database query.
4. The linkage visualization method based on the basic geographic entity database according to claim 2, wherein the geographic entity query request is an association query request for a certain geographic entity;
if the query request is acquired through the resource access interface, analyzing the query request to obtain a target geographic entity, an associated geographic entity and an association relationship between the target geographic entity and the associated geographic entity; acquiring a unique identification code of the target geographic entity based on a spatial database aiming at the target geographic entity; determining a corresponding semantic relation according to the association relation, combining the unique identification code of the target geographic entity and the associated geographic entity, and acquiring an associated geographic entity unique identification code list meeting the semantic relation with the target geographic entity based on a semantic relation database; acquiring the position of the associated geographic entity in map vector data based on a spatial database according to the unique identification code list;
if the query request is acquired through the associated query service interface, analyzing the query request to obtain a target geographic entity, an associated geographic entity and an association relationship between the target geographic entity and the associated geographic entity; aiming at the target geographic entity, acquiring a unique identification code of the target geographic entity based on a semantic relation database; determining a corresponding semantic relation according to the association relation, and acquiring an association geographic entity unique identification code list which meets the semantic relation with the target geographic entity; and acquiring the position of the associated geographic entity in the map vector data based on the spatial database according to the unique identification code list.
5. The method for linkage visualization based on a base geographic entity database of claim 1, wherein optimally displaying semantic relationship data comprises:
constructing a semantic knowledge graph based on the semantic relation data;
selecting and rejecting the nodes in the semantic relation knowledge graph according to the density of the nodes in the semantic relation knowledge graph and the importance level of the corresponding geographic entity of each node;
establishing a 3D physical coordinate system, judging the display level of each node according to the importance level of the corresponding geographic entity of each node, and taking the display level as the z-axis coordinate level in the screen coordinate system, wherein the higher the display level is, the larger the z-axis coordinate is;
and determining the coordinates of the X axis and the Y axis of each node in the screen coordinate system according to the relative position relation of each node in the map vector data.
6. A linked visualization method based on a base geographic entity database as claimed in any one of claims 1 to 5, wherein the method further comprises: based on the display level of the spatial data, performing linkage visualization on the semantic relationship data specifically includes:
monitoring the current display level of the space data in real time, and determining a unique identification code list of the geographic entity to be displayed according to the display condition of the geographic entity under the display level;
and updating the displayed spatial data and semantic relation data according to the unique identification code list of the geographic entity to be displayed.
7. The linkage visualization system based on the basic geographic entity database is characterized in that the basic geographic entity database comprises a spatial database and a semantic relation database, and for the same basic geographic entity, the spatial database and the semantic relation database record unique identification codes of the spatial database and the semantic relation database; the space database comprises map vector data and attribute data, wherein the attribute data is stored by adopting a relational database, each row represents a geographic entity, each row represents an attribute item of the geographic entity, the attribute item comprises a unique identification code and other attributes, and the map vector data and the vector data are associated through the unique identification code; presetting a plurality of display levels of the space data and geographic entity display conditions corresponding to each display level; the system comprises:
the query request acquisition module is configured to acquire a geographic entity query request;
the geographic entity query module is configured to query based on the spatial database and the semantic relation database respectively to obtain the position and semantic relation data of one or more target geographic entities in the map vector data;
a linkage visualization module configured to:
based on the set initial display level, according to the geographic entity display condition corresponding to the initial display level, taking one or more target geographic entities as centers, visualizing map vector data in a spatial data view window, and determining a unique identification code list of the geographic entity which is currently displayed;
visualizing the semantic relationship data within a semantic relationship data view window based on the unique identification code list;
highlighting the one or more target geographic entities.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the linked visualization method of any of claims 1-6 based on a base geographic entity database when the program is executed.
9. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a linked visualization method based on a base geographical entity database as defined in any one of claims 1-6.
10. A computer program product comprising computer executable instructions which, when executed by a processor, implement a linked visualization method based on a base geographical entity database as claimed in any one of claims 1 to 6.
CN202311168584.9A 2023-09-12 2023-09-12 Linkage visualization method and system based on basic geographic entity database Active CN116910131B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311168584.9A CN116910131B (en) 2023-09-12 2023-09-12 Linkage visualization method and system based on basic geographic entity database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311168584.9A CN116910131B (en) 2023-09-12 2023-09-12 Linkage visualization method and system based on basic geographic entity database

Publications (2)

Publication Number Publication Date
CN116910131A true CN116910131A (en) 2023-10-20
CN116910131B CN116910131B (en) 2023-12-08

Family

ID=88356883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311168584.9A Active CN116910131B (en) 2023-09-12 2023-09-12 Linkage visualization method and system based on basic geographic entity database

Country Status (1)

Country Link
CN (1) CN116910131B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719146A (en) * 2009-11-17 2010-06-02 北京超图软件股份有限公司 Dynamic graphical method and device of geographic information application and analysis model
CN104731885A (en) * 2015-03-11 2015-06-24 中国石油大学(华东) Multiscale spatial data topological relation maintaining method based on level-semanteme
CN105931294A (en) * 2016-04-19 2016-09-07 西南交通大学 Method for converting BIM entity model into multiple levels of details (LOD) GIS standardized model
CN107633075A (en) * 2017-09-22 2018-01-26 吉林大学 A kind of multi-source heterogeneous data fusion platform and fusion method
CN110377648A (en) * 2018-04-11 2019-10-25 西安邮电大学 A kind of multi-source heterogeneous Data Analysis Platform towards intelligence manufacture
CN110909153A (en) * 2019-10-22 2020-03-24 中国船舶重工集团公司第七0九研究所 Knowledge graph visualization method based on semantic attention model
CN111143479A (en) * 2019-12-10 2020-05-12 浙江工业大学 Knowledge graph relation extraction and REST service visualization fusion method based on DBSCAN clustering algorithm
CN112035708A (en) * 2020-07-13 2020-12-04 第四范式(北京)技术有限公司 Knowledge graph display method and device, computer device and readable storage medium
CN112214642A (en) * 2020-09-17 2021-01-12 中国科学院沈阳应用生态研究所 Multi-video event blind area change process deduction method based on geographic semantic association constraint
CN112559757A (en) * 2020-11-12 2021-03-26 中国人民解放军国防科技大学 Time sequence knowledge graph completion method and system
CN112559907A (en) * 2020-12-09 2021-03-26 北京国研数通软件技术有限公司 Basic data retrieval and integrated display method based on spatio-temporal label spatio-temporal correlation
CN113065000A (en) * 2021-03-29 2021-07-02 泰瑞数创科技(北京)有限公司 Multisource heterogeneous data fusion method based on geographic entity
CN115272591A (en) * 2022-05-10 2022-11-01 泰瑞数创科技(北京)股份有限公司 Geographic entity polymorphic expression method based on three-dimensional semantic model
CN116467433A (en) * 2023-04-11 2023-07-21 浪潮智慧科技有限公司 Knowledge graph visualization method, device, equipment and medium for multi-source data
CN116628362A (en) * 2023-04-14 2023-08-22 山东省国土测绘院 Method and system for automatically constructing complex semantic relation based on geographic entity data

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719146A (en) * 2009-11-17 2010-06-02 北京超图软件股份有限公司 Dynamic graphical method and device of geographic information application and analysis model
CN104731885A (en) * 2015-03-11 2015-06-24 中国石油大学(华东) Multiscale spatial data topological relation maintaining method based on level-semanteme
CN105931294A (en) * 2016-04-19 2016-09-07 西南交通大学 Method for converting BIM entity model into multiple levels of details (LOD) GIS standardized model
CN107633075A (en) * 2017-09-22 2018-01-26 吉林大学 A kind of multi-source heterogeneous data fusion platform and fusion method
CN110377648A (en) * 2018-04-11 2019-10-25 西安邮电大学 A kind of multi-source heterogeneous Data Analysis Platform towards intelligence manufacture
CN110909153A (en) * 2019-10-22 2020-03-24 中国船舶重工集团公司第七0九研究所 Knowledge graph visualization method based on semantic attention model
CN111143479A (en) * 2019-12-10 2020-05-12 浙江工业大学 Knowledge graph relation extraction and REST service visualization fusion method based on DBSCAN clustering algorithm
CN112035708A (en) * 2020-07-13 2020-12-04 第四范式(北京)技术有限公司 Knowledge graph display method and device, computer device and readable storage medium
CN112214642A (en) * 2020-09-17 2021-01-12 中国科学院沈阳应用生态研究所 Multi-video event blind area change process deduction method based on geographic semantic association constraint
CN112559757A (en) * 2020-11-12 2021-03-26 中国人民解放军国防科技大学 Time sequence knowledge graph completion method and system
CN112559907A (en) * 2020-12-09 2021-03-26 北京国研数通软件技术有限公司 Basic data retrieval and integrated display method based on spatio-temporal label spatio-temporal correlation
CN113065000A (en) * 2021-03-29 2021-07-02 泰瑞数创科技(北京)有限公司 Multisource heterogeneous data fusion method based on geographic entity
CN115272591A (en) * 2022-05-10 2022-11-01 泰瑞数创科技(北京)股份有限公司 Geographic entity polymorphic expression method based on three-dimensional semantic model
CN116467433A (en) * 2023-04-11 2023-07-21 浪潮智慧科技有限公司 Knowledge graph visualization method, device, equipment and medium for multi-source data
CN116628362A (en) * 2023-04-14 2023-08-22 山东省国土测绘院 Method and system for automatically constructing complex semantic relation based on geographic entity data

Also Published As

Publication number Publication date
CN116910131B (en) 2023-12-08

Similar Documents

Publication Publication Date Title
CN104008162B (en) A kind of one-touch thematic maps automatic mapping method and system based on template
CN108765567A (en) A kind of system for building urban design digitlization sand table
Hampe et al. MRDB applications for data revision and real-time generalisation
qizi Olimova THEORETICAL BASIS FOR THE USE OF MODERN GIS TECHNOLOGIES IN THE CREATION OF NATURAL CARDS
Lock et al. Visualizing spatial data: the importance of Geographic Information Systems
Borisov et al. An automated process of creating 3D city model for monitoring urban infrastructures
Zhou et al. Green urban garden landscape simulation platform based on high-resolution image recognition technology and GIS
CN116910131B (en) Linkage visualization method and system based on basic geographic entity database
Gregory Using geographical information systems to explore space and time in the humanities
CN114490907A (en) Method and device for constructing famous city management database and storage medium
Bartelme Geographic information systems
CN114676299A (en) 3D visualization display method and system for classical garden knowledge graph
Hardy Map production from an active object database, using dynamic representation and automated generalisation
Hampe et al. Real-time integration and generalization of spatial data for mobile applications
Senanayake et al. Development of Geo-Database to Recommend Suitable Crops at Village Level in Sri Lanka
CN111382165A (en) Mobile homeland management system
Ojiako et al. Topographic Information System of Federal School of Surveying, Oyo East Local Government Oyo State Nigeria
Zlatanova 3D modelling for augmented reality
Cocks et al. Evolution of a continental-scale geographical information system
CN116702299B (en) Garden design method based on garden simulation
Rakićević An Automated Process of Creating 3D City Model for Monitoring Urban Infrastructures
Willenborg et al. Semantic 3D city models serving as information hub for 3D field based simulations
Liu et al. Fusing multiscale charts into 3D ENC systems based on underwater topography and remote sensing image
Xiajie et al. Establishment and improvement of urban green space management system—Taking Wuxi city as an example
Borkowski et al. USE OF THE CDE ENVIRONMENT IN TEAM COLLABORATION IN BIM

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant