CN112699195B - Geospatial data processing method, device, computer equipment and storage medium - Google Patents

Geospatial data processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN112699195B
CN112699195B CN202011600728.XA CN202011600728A CN112699195B CN 112699195 B CN112699195 B CN 112699195B CN 202011600728 A CN202011600728 A CN 202011600728A CN 112699195 B CN112699195 B CN 112699195B
Authority
CN
China
Prior art keywords
target
information
attribute information
geographic
corresponding relation
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.)
Active
Application number
CN202011600728.XA
Other languages
Chinese (zh)
Other versions
CN112699195A (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.)
Guangzhou China Dci Co ltd
Original Assignee
Guangzhou China Dci Co ltd
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 Guangzhou China Dci Co ltd filed Critical Guangzhou China Dci Co ltd
Priority to CN202011600728.XA priority Critical patent/CN112699195B/en
Publication of CN112699195A publication Critical patent/CN112699195A/en
Application granted granted Critical
Publication of CN112699195B publication Critical patent/CN112699195B/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/29Geographical information 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/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • 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/31Indexing; Data structures therefor; Storage structures
    • G06F16/316Indexing structures
    • 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/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Remote Sensing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a geospatial data processing method, a geospatial data processing device, computer equipment and a storage medium, and relates to the field of geographic information systems. The server queries a geographic space database comprising a plurality of geographic space corresponding relations based on target keywords input by a user, determines at least one target geographic space corresponding relation through the query, wherein each geographic space corresponding relation comprises an index, coordinate information and attribute information, the index comprises keywords in the attribute information, and the keywords included in the index of the target geographic space corresponding relation are matched with the target keywords; and determining target geographic information from the coordinate information and the attribute information included in the at least one target geographic space corresponding relation, and outputting target coordinate information and target attribute information corresponding to the target geographic information. According to the technical scheme provided by the embodiment of the application, when the geographic information with part of the same attribute information is queried, the corresponding searching time is reduced, and the searching efficiency is improved.

Description

Geospatial data processing method, device, computer equipment and storage medium
Technical Field
The present invention relates to the field of geographic information systems, and in particular, to a geospatial data processing method, apparatus, computer device, and storage medium.
Background
Geographic information systems (GIS, geographic Information Systems) technology is a geospatial-based system that provides a variety of spatial and dynamic geographic information for geographic research and geographic decision services. With the continuous development of geographic information systems, more and more geographic information is contained in a geographic space, and users need to inquire about target geographic information as soon as possible, wherein the target geographic information comprises coordinate information and attribute information of things distributed in an earth indication space, the attribute information is used for representing what is specifically on the earth, and the coordinate information is used for representing the exact position where the things occur.
In the prior art, when a user queries target geographic information in a geographic information system, specific coordinate information and specific attribute information of the target geographic information need to be input or selected for query.
However, when the user queries information with some identical attributes, the search response time of the prior art is long, and the search efficiency is low.
Disclosure of Invention
Based on the above, the embodiments of the present application provide a geospatial data processing method, apparatus, computer device, and storage medium, which can improve the searching efficiency of a user for target geographic information.
In a first aspect, there is provided a geospatial data processing method, the method comprising:
inquiring a geographic space database based on target keywords input by a user, and determining at least one target geographic space corresponding relation through inquiry, wherein the geographic space database comprises a plurality of geographic space corresponding relations, each geographic space corresponding relation comprises an index, coordinate information and attribute information, the index comprises keywords in the attribute information, and the keywords included in the index of the target geographic space corresponding relation are matched with the target keywords; and determining target geographic information from the coordinate information and the attribute information included in the at least one target geographic space corresponding relation, and outputting target coordinate information and target attribute information corresponding to the target geographic information.
In one embodiment, querying the geospatial database based on the target keywords entered by the user, determining at least one target geospatial correspondence by querying, further comprises: and inquiring a geographic space database based on the coordinate data input by the user, and determining at least one target geographic space corresponding relation by inquiring, wherein the target geographic space corresponding relation is matched with the coordinate information.
In one embodiment, querying a geospatial database based on target keywords entered by a user, determining at least one target geospatial correspondence by querying, includes: inquiring a geographic space database according to the target keywords, and determining a target index through inquiry, wherein the keywords included in the target index are the same as the target keywords; and taking the geographic space corresponding relation of the target index as a target geographic space corresponding relation.
In one embodiment, before querying the geospatial database based on the target keyword entered by the user, the method further comprises: acquiring the corresponding relation between the coordinate information and the attribute information from a historical geographic information database; the attribute information is segmented, and a plurality of words obtained after segmentation are established as indexes; and establishing a geographic space database according to the index, the coordinate information and the attribute information.
In one embodiment, the historical geographic information database includes a correspondence between historical coordinate information and historical attribute information stored in the local database before the target time, and a correspondence between newly added coordinate information and newly added attribute information acquired according to user input and response to the user after the target time.
In one embodiment, building a geospatial database from the index, the geographic information, and the spatial information includes: and formatting into a JSON format for storage according to the index, the coordinate information and the attribute information.
In one embodiment, further determining target geographic information from coordinate information and attribute information included in at least one target geographic space corresponding relation, and outputting target coordinate information and target attribute information corresponding to the target geographic information, including: further determining target geographic information according to coordinate information and attribute information included in at least one target geographic space corresponding relation, wherein the target geographic information comprises target coordinate information and target attribute information; the target coordinate information is converted from vector data to raster data for display.
In a second aspect, there is provided a geospatial data processing apparatus comprising:
the query module is used for querying a geographic space database based on target keywords input by a user, determining at least one target geographic space corresponding relation through query, wherein the geographic space database comprises a plurality of geographic space corresponding relations, each geographic space corresponding relation comprises an index, coordinate information and attribute information, the index comprises keywords in the attribute information, and the keywords included in the index of the target geographic space corresponding relation are matched with the target keywords;
the determining module is used for further determining target geographic information from coordinate information and attribute information included in at least one target geographic space corresponding relation;
and the output module is used for outputting the target coordinate information and the target attribute information corresponding to the target geographic information.
In one embodiment, the query module is further configured to: inquiring a geographic space database based on coordinate data input by a user, and determining at least one target geographic space corresponding relation by inquiring, wherein the target geographic space corresponding relation is matched with the coordinate information;
in one embodiment, the query module is specifically configured to: querying a geospatial database based on target keywords input by a user, determining at least one target geospatial correspondence by querying, including: inquiring a geographic space database according to the target keywords, and determining a target index through inquiry, wherein the keywords included in the target index are the same as the target keywords; and taking the geographic space corresponding relation of the target index as a target geographic space corresponding relation.
In one embodiment, the geospatial data processing apparatus further comprises: the acquisition module is used for acquiring the corresponding relation between the coordinate information and the attribute information from the historical geographic information database; the index building module is used for segmenting the attribute information and building a plurality of words obtained after the segmentation into indexes; a database establishing module for establishing a geospatial database according to the index, the coordinate information and the attribute information
In one embodiment, the historical geographic information database includes a correspondence between historical coordinate information and historical attribute information stored in the local database before the target time, and a correspondence between newly added coordinate information and newly added attribute information acquired according to user input and response to the user after the target time.
In one embodiment, the database creation module is specifically configured to: and formatting into a JSON format for storage according to the index, the coordinate information and the attribute information.
In one embodiment, the determining module is specifically configured to: further determining target geographic information according to coordinate information and attribute information included in at least one target geographic space corresponding relation; the output module is specifically used for: the target coordinate information is converted from vector data to raster data for display.
In a third aspect, there is provided a computer device comprising a memory storing a computer program and a processor implementing the geospatial data processing method of any of the first aspects described above when the computer program is executed by the processor.
In a fourth aspect, a computer readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, implements a geospatial data processing method according to any of the first aspects above
In the geospatial data processing method, the device, the computer equipment and the storage medium, a terminal firstly queries a geospatial database based on target keywords input by a user, and determines at least one target geospatial corresponding relation in the geospatial database through query, wherein each geospatial corresponding relation comprises an index, coordinate information and attribute information, the index comprises keywords in the attribute information, and the keywords included in the index in the target geospatial corresponding relation are matched with the target keywords; and determining target geographic information from the coordinate information and the attribute information included in the at least one target geographic space corresponding relation, and outputting target coordinate information and target attribute information corresponding to the target geographic information. Compared with the prior art, when a user wants to inquire different attribute information in a certain area, the user needs to input specific coordinate information and specific attribute information for inquiring for many times, the search response time is long, and the search efficiency is low. According to the technical scheme provided by the embodiment of the application, at least one target geographic space corresponding relation is queried through the target keywords, and the obtained target geographic space corresponding relations all contain indexes corresponding to the target keywords, so that when information with partial same attributes is queried, the indexes can be matched according to the information with the same attributes and the database is queried to obtain the corresponding target geographic space corresponding relation, and specific attribute information is searched for further based on the obtained target geographic space corresponding relations with the same indexes, the searching corresponding time is short, and the searching efficiency is high.
Drawings
FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
FIG. 2 is a flowchart of a geospatial data processing method according to an embodiment of the present application;
FIG. 3 is a flowchart of a geospatial data processing method according to an embodiment of the present application;
FIG. 4 is a block diagram of a geospatial data processing device according to an embodiment of the present application;
FIG. 5 is a block diagram of a geospatial data processing device according to an embodiment of the present application;
fig. 6 is an internal structure diagram of a computer device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Geographic information systems (GIS, geographic Information Systems) technology is a geospatial-based system that provides a variety of spatial and dynamic geographic information for geographic research and geographic decision services. With the continuous development of geographic information systems, more and more geographic information is contained in a geographic space, and users need to inquire about target geographic information as soon as possible, wherein the target geographic information comprises coordinate information and attribute information of things distributed in an earth indication space, the attribute information is used for representing what is specifically on the earth, and the coordinate information is used for representing the exact position where the things occur.
In the prior art, when a user queries target geographic information in a geographic information system, specific coordinate information and specific attribute information of the target geographic information need to be input or selected for query.
However, when the user queries information with some identical attributes, the search response time of the prior art is long, and the search efficiency is low.
In view of this, embodiments of the present application provide a geospatial data processing method, apparatus, computer device, and storage medium, which can improve the efficiency of searching for target geographic information by a user.
An implementation environment related to the geospatial data processing method provided in the embodiment of the present application will be described below.
Fig. 1 is a schematic diagram of an implementation environment related to a geospatial data processing method according to an embodiment of the present application. As shown in fig. 1, the implementation environment may include a terminal 101 and a server 102, wherein the terminal 101 communicates with the server 102 through a network. The terminal 101 inputs the target keyword to the server 102 through the network, and the server 102 outputs the target coordinate information and the target attribute information to feed back to the terminal 101 by executing the geospatial data processing method provided in the embodiment of the present application. The terminal 101 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 102 may be implemented by a stand-alone server or a server cluster formed by a plurality of servers.
Referring to fig. 2, a flowchart of a geospatial data processing method according to an embodiment of the present application is shown, where the geospatial data processing method may be applied to the server 102 in the implementation environment described above. As shown in fig. 2, the geospatial data processing method may include the steps of:
step 201, the server queries a geographic space database based on target keywords input by a user, and determines at least one target geographic space corresponding relation through query.
The geographic space database comprises a plurality of geographic space corresponding relations, each geographic space corresponding relation comprises an index, coordinate information and attribute information, the index comprises keywords in the coordinate information and the attribute information, and the keywords included in the index of the target geographic space corresponding relation are matched with the target keywords.
In the embodiment of the present application, the attribute information may be a construction plan of a certain town or a certain town in a certain year, such as "xian city xishan Xin district" or "xian city xishan Xin district recent construction plan (2008-2010)".
The coordinate information may be the exact location in the area of a town or year construction plan, where the area is to be construed broadly and may refer to the earth's surface or a predetermined portion of the earth's surface. For example, when the region is defined as Shaanxi province, the coordinate information may be the exact position in Shaanxi province of a certain town or a certain year of construction plan, that is, the longitude and latitude information of a specific position. When the attribute information is "xian city xiyan new area" or "xian city xiyan new area recent construction plan (2008-2010)", the coordinate information is vector data of specific positions of xian city xiyan new area and xian city xiyan new area recent construction plan (2008-2010) in shanxi province, and the vector data can be stored in a kml format, an excel format and the like.
The index includes keywords in the attribute information, and can be obtained by word segmentation, for example, when the attribute information is "new western salty region recent construction plan (2008-2010)" in western city, the index can be set to "new western salty region", "construction", "plan", "2008", "2010" … … in western city ".
In summary, one geospatial correspondence in the embodiments of the present application may be:
index: "western Anshi city", "Western salty New district", "construction", "planning", "2008", "2010" … …;
attribute information: 'New West salty New district recent construction plan in Siam City (2008-2010)'
Coordinate information: vector data of a specific location in the Shaanxi province of recent construction planning (2008-2010) in the new West salty region of the West An city.
Another geospatial correspondence in this application may be:
index: "Simian City", "New West salty region";
attribute information: "New West salty district in Siam City";
coordinate information: vector data of specific positions in Shaanxi province in the West salty New region of West An city.
The server establishes a geographic space corresponding relation comprising an index, attribute information and coordinate information, and after a user inputs a target keyword, the target geographic space corresponding relation is determined by matching the index with the attribute information and the coordinate information. For example, when the target keyword is "new western salty region", a target geospatial correspondence relationship corresponding to attribute information including "new western salty region of western city recent construction plan (2008-2010)" and "new western salty region of western city" may be obtained.
In an alternative embodiment of the application, the terminal queries the geospatial database based on keywords filled in by the user; and/or querying a geospatial database based on the user selected keywords.
For example, the user can input the keywords to be queried into the front-end page of the geospatial database in the terminal to query, or query the keywords displayed by the front-end page of the geospatial database.
In another optional embodiment of the present application, the terminal may further query the geospatial database based on the coordinate information input by the user, and determine at least one target geospatial correspondence by querying, where the target geospatial correspondence matches the coordinate information. For example, a user may input longitude and latitude vector data of a new western-style salty region in western-style city and a specific position of a recent construction plan (2008-2010) in western-style salty region in shanxi province in an input box, and the user may also select a grid pattern in an area displayed on a front end page of a geospatial database to input longitude and latitude vector data corresponding to the grid pattern, and the user may obtain a geospatial correspondence based on the coordinate information by inputting the coordinate information.
In the embodiment of the application, a user can match a target geographic space corresponding relation in a geographic space data database through input or selected keywords, and can also match the target geographic space corresponding relation in the geographic space data database through input or selected coordinate information.
Step 202, the server determines target geographic information from coordinate information and attribute information included in at least one target geographic space corresponding relation.
In the embodiment of the present application, each keyword may correspond to a plurality of target geospatial correspondence relationships, for example, when a user inputs "new western salty region", the target geospatial correspondence relationships that may be obtained may include:
(1) Index: "Simian City", "New West salty region", "Da Wang Zhen", "plan", "2012";
attribute information: "West salty New district of Siam City was planned by Wang Zhen, programming time 2012";
the coordinate information is vector coordinate data corresponding to the attribute information in the geographic space database.
(2) Index: "Simian City", "West salty New district", "West New City Feng", "south tablet district", "planning", "2011";
attribute information: "the control detailed planning of the southern area of Fengxi New City in the West An City, programming time 2011";
the coordinate information is vector coordinate data corresponding to the attribute information in the geographic space database.
(3) Index: "Simian City", "West salty New district", "West New City Feng", "south tablet district", "plan", "2015";
attribute information: "control detailed planning of southern area of Fengxi New City in West An City, programming time 2015";
the coordinate information is vector coordinate data corresponding to the attribute information in the geographic space database.
(4) Index: "Simian City", "West salty New district", "West New City Feng", "North tablet district", "planning", "2011";
attribute information: "the control detailed planning of the north part of the New City of Feng xi Xincheng in the West An city, the programming time 2011";
the coordinate information is vector coordinate data corresponding to the attribute information in the geographic space database.
In the embodiment of the application, the target geographic information is further determined according to the coordinate information and the attribute information included in the at least one target geographic space corresponding relation, and the target geographic information includes the target coordinate information and the target attribute information.
In an alternative embodiment of the present application, the number of target geospatial correspondences obtained by narrowing the keywords may be further input and selected, for example, on the basis of inputting "xishanxinjun" the keyword "xishicheng" is selected, then (2) (3) (4) of the target geospatial correspondences may be obtained, and the target geospatial correspondences (1) are excluded, and further (2) and (3) of the target geospatial correspondences may be obtained by selecting the keyword "southern region", and the target geospatial correspondences (4) are excluded. When a user needs to compare the planning of the southwest section of the west salty new district of the west safe city in different years, at least two target geospatial corresponding relations, namely the target geospatial corresponding relations (2) and (3), can be obtained by inputting or selecting keywords of the west salty new district, the Feng west new district, the southwest section of the west salty new district of the west safe city, the planning time 2015 years, the planning time of the southwest section of the west salty new district of the west safe city, the planning time 2011 year, and the input attribute information of the required completion of the inquiry can be compared, the embodiment of the application can lock the data in the geospatial database below the indexes of the west salty new district, the Feng west new district, the southwest section of the west salty new district, compared with the prior art, the embodiment of the application needs to search in the whole geospatial database for two times, and the search time of the southwest section of the west salty new district in the whole geospatial database is reduced, and the search time of the southwest section of the southwest district in the whole is required.
Step 203, the server outputs target coordinate information and target attribute information corresponding to the target geographic information.
In the embodiment of the application, the target geographic information is further determined according to the coordinate information and the attribute information included in the at least one target geographic space corresponding relation,
the target geographic information can be displayed as 'the control detailed plan of the southern section of the New City of West New Yoghurt, the programming time 2011', the attribute information can be obtained as the control detailed planning of the southern section of the New City of Feng West New City of West An, and the vector coordinate data of the time 2011 is compiled. In an alternative embodiment of the present application, the vector coordinate data is converted into raster data for presentation.
In the geospatial data processing method, the device, the computer equipment and the storage medium, a terminal firstly queries a geospatial database based on target keywords input by a user, and determines at least one target geospatial corresponding relation in the geospatial database through query, wherein each geospatial corresponding relation comprises an index, coordinate information and attribute information, the index comprises keywords in the attribute information, and the keywords included in the index in the target geospatial corresponding relation are matched with the target keywords; and determining target geographic information from the coordinate information and the attribute information included in the at least one target geographic space corresponding relation, and outputting target coordinate information and target attribute information corresponding to the target geographic information. Compared with the prior art, when a user wants to inquire different attribute information in a certain area, the user needs to input specific coordinate information and specific attribute information for inquiring for many times, the search response time is long, and the search efficiency is low. According to the technical scheme provided by the embodiment of the application, at least one target geographic space corresponding relation is queried through the target keywords, and the obtained target geographic space corresponding relations all contain indexes corresponding to the target keywords, so that when information with partial same attributes is queried, the indexes can be matched according to the information with the same attributes and the database is queried to obtain the corresponding target geographic space corresponding relation, and specific attribute information is searched for further based on the obtained target geographic space corresponding relations with the same indexes, the searching corresponding time is short, and the searching efficiency is high.
In an alternative embodiment of the present application, as shown in fig. 3, before the server queries the geospatial database based on the target keyword input by the user, the method further includes the following steps:
step 301, the server obtains the corresponding relation between the coordinate information and the attribute information from the historical geographic information database.
The historical geographic information database refers to a database which can be queried by the existing internet and has attribute information and corresponding coordinate information. In this embodiment of the present application, the historical geographic information database includes a correspondence between the historical coordinate information and the historical attribute information stored in the local database before the target time, and a correspondence between the added coordinate information and the added attribute information acquired according to the input of the user and the response to the user after the target time.
The correspondence between the newly added coordinate information and the newly added attribute information acquired according to the input of the user and the response to the user after the target moment can be the correspondence between the newly added coordinate information and the newly added attribute information which are newly input by a database maintainer after the question database is established by the server.
Step 302, the server performs word segmentation on the attribute information, and a plurality of words obtained after word segmentation are established as indexes.
In the embodiment of the application, the server performs word segmentation on the obtained attribute information, for example, when the attribute information is "western-style new city is in western-style new city, and the control of the southern region of the western-style new city is planned in detail, after word segmentation is performed in the programming time 2011," western-style new region, "" the western-style new city, "" the southern region, "" … …, "and the like, because the" programming time, "" the detailed, "and the like belong to words commonly used in each attribute information, the words can be shielded through setting. The obtained "xixian new region", "keshi new city", "south region" … … and the like are used as indexes of the attribute information.
Step 303, the server builds a geospatial database according to the index, the coordinate information and the attribute information.
In the embodiment of the application, the server performs word segmentation on the attribute information, sets up a plurality of words obtained after word segmentation as indexes, formats the words into a JSON format according to the indexes, the coordinate information and the attribute information, stores the words, and sets up a geographic space database with the indexes, the coordinate information and the attribute information as geographic space corresponding relations.
Referring to fig. 4, a block diagram of a geospatial data processing apparatus 400 according to an embodiment of the present application is shown, where the geospatial data processing apparatus 400 may be configured in a server. As shown in fig. 4, the geospatial data processing apparatus 400 may include: a query module 401, a determination module 402, and an output module 403.
The query module 401 is configured to query a geospatial database based on target keywords input by a user, determine at least one target geospatial correspondence through query, where the geospatial database includes a plurality of geospatial correspondences, each geospatial correspondence includes an index, coordinate information, and attribute information, the index includes keywords in the attribute information, and the keywords included in the index of the target geospatial correspondence are matched with the target keywords;
a determining module 402, configured to further determine target geographic information from coordinate information and attribute information included in at least one target geographic spatial correspondence;
and the output module 403 is configured to output target coordinate information and target attribute information corresponding to the target geographic information.
In an alternative embodiment of the present application, the query module 401 is specifically configured to: querying a geospatial database based on target keywords input by a user, determining at least one target geospatial correspondence by querying, including: inquiring a geographic space database according to the target keywords, and determining a target index through inquiry, wherein the keywords included in the target index are the same as the target keywords; and taking the geographic space corresponding relation of the target index as a target geographic space corresponding relation.
In an alternative embodiment of the present application, the query module 401 is specifically configured to: querying the geospatial database based on the keywords filled in by the user; and/or querying the geospatial database based on the user-selected keywords.
Referring to fig. 5, another geospatial data processing apparatus 500 is provided in an embodiment of the present application, where the geospatial data processing apparatus 500 includes, in addition to the various modules included in the geospatial data processing apparatus 400, an acquisition module 501, an index building module 502, and a database building module 503, where the geospatial data processing apparatus 500 may also include an optional module.
In an alternative embodiment of the present application, the historical geographic information database includes a correspondence between the historical coordinate information and the historical attribute information stored in the local database before the target time, and a correspondence between the added coordinate information and the added attribute information acquired according to the input of the user and the response to the user after the target time.
In an alternative embodiment of the present application, the database establishing module 503 is specifically configured to: and formatting into a JSON format for storage according to the index, the coordinate information and the attribute information.
In an alternative embodiment of the present application, the determining module 402 is specifically configured to: further determining target geographic information according to coordinate information and attribute information included in at least one target geographic space corresponding relation; the output module 403 is specifically configured to: the target coordinate information is converted from vector data to raster data for display.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing geospatial data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a geospatial data processing method.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of a portion of the structure associated with the present application and does not constitute a limitation of the processing apparatus to which the present application is applied, and that a particular processing apparatus may include more or less components than those shown in the drawings, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
inquiring a geographic space database based on target keywords input by a user, and determining at least one target geographic space corresponding relation through inquiry, wherein the geographic space database comprises a plurality of geographic space corresponding relations, each geographic space corresponding relation comprises an index, coordinate information and attribute information, the index comprises keywords in the attribute information, and the keywords included in the index of the target geographic space corresponding relation are matched with the target keywords; and determining target geographic information from the coordinate information and the attribute information included in the at least one target geographic space corresponding relation, and outputting target coordinate information and target attribute information corresponding to the target geographic information.
In one embodiment of the present application, the processor when executing the computer program further performs the steps of: and inquiring a geographic space database based on the coordinate information input by the user, and determining at least one target geographic space corresponding relation by inquiring, wherein the target geographic space corresponding relation is matched with the coordinate information.
In one embodiment of the present application, the processor when executing the computer program further performs the steps of: querying a geospatial database based on target keywords input by a user, determining at least one target geospatial correspondence by querying, including: inquiring a geographic space database according to the target keywords, and determining a target index through inquiry, wherein the keywords included in the target index are the same as the target keywords; and taking the geographic space corresponding relation of the target index as a target geographic space corresponding relation.
In one embodiment of the present application, the processor when executing the computer program further performs the steps of: acquiring the corresponding relation between the coordinate information and the attribute information from a historical geographic information database; the attribute information is segmented, and a plurality of words obtained after segmentation are established as indexes; and establishing a geographic space database according to the index, the coordinate information and the attribute information.
In one embodiment of the present application, the historical geographic information database includes a correspondence between the historical coordinate information and the historical attribute information stored in the local database before the target time, and a correspondence between the added coordinate information and the added attribute information acquired according to the input of the user and the response to the user after the target time.
In one embodiment of the present application, the processor when executing the computer program further performs the steps of: and formatting into a JSON format for storage according to the index, the coordinate information and the attribute information.
In one embodiment of the present application, the processor when executing the computer program further performs the steps of: further determining target geographic information according to coordinate information and attribute information included in at least one target geographic space corresponding relation, wherein the target geographic information comprises target coordinate information and target attribute information; the target coordinate information is converted from vector data to raster data for display.
In one embodiment of the present application, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
inquiring a geographic space database based on target keywords input by a user, and determining at least one target geographic space corresponding relation through inquiry, wherein the geographic space database comprises a plurality of geographic space corresponding relations, each geographic space corresponding relation comprises an index, coordinate information and attribute information, the index comprises keywords in the attribute information, and the keywords included in the index of the target geographic space corresponding relation are matched with the target keywords; and determining target geographic information from the coordinate information and the attribute information included in the at least one target geographic space corresponding relation, and outputting target coordinate information and target attribute information corresponding to the target geographic information.
In one embodiment of the present application, the computer program when executed by the processor further performs the steps of: and inquiring a geographic space database based on the coordinate information input by the user, and determining at least one target geographic space corresponding relation by inquiring, wherein the target geographic space corresponding relation is matched with the coordinate information.
In one embodiment of the present application, the computer program when executed by the processor further performs the steps of: inquiring a geographic space database according to the target keywords, and determining a target index through inquiry, wherein the keywords included in the target index are the same as the target keywords; and taking the geographic space corresponding relation of the target index as a target geographic space corresponding relation.
In one embodiment of the present application, the computer program when executed by the processor further performs the steps of: acquiring the corresponding relation between the coordinate information and the attribute information from a historical geographic information database; the attribute information is segmented, and a plurality of words obtained after segmentation are established as indexes; and establishing a geographic space database according to the index, the coordinate information and the attribute information.
In one embodiment of the present application, the historical geographic information database includes a correspondence between the historical coordinate information and the historical attribute information stored in the local database before the target time, and a correspondence between the added coordinate information and the added attribute information acquired according to the input of the user and the response to the user after the target time.
In one embodiment of the present application, the computer program when executed by the processor further performs the steps of: and formatting into a JSON format for storage according to the index, the coordinate information and the attribute information.
In one embodiment of the present application, the computer program when executed by the processor further performs the steps of: further determining target geographic information according to coordinate information and attribute information included in at least one target geographic space corresponding relation, wherein the target geographic information comprises target coordinate information and target attribute information; the target coordinate information is converted from vector data to raster data for display.
The computer readable storage medium provided in this embodiment has similar principles and technical effects to those of the above method embodiment, and will not be described herein.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in M forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SyMchlimk) DRAM (SLDRAM), memory bus (RaMbus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the claims. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A method of geospatial data processing, the method comprising:
acquiring a corresponding relation between coordinate information and attribute information from a historical geographic information database, wherein the historical geographic information database comprises a corresponding relation between historical coordinate information and historical attribute information stored in a local database before a target moment, and a corresponding relation between newly-added coordinate information and newly-added attribute information acquired according to input of a user and response to the user after the target moment; the attribute information is segmented, and a plurality of words obtained after segmentation are established as indexes; establishing a geospatial database according to the index, the coordinate information and the attribute information;
inquiring the geographic space database based on target keywords input by a user, determining at least one target geographic space corresponding relation through inquiry, wherein the geographic space database comprises a plurality of geographic space corresponding relations, each geographic space corresponding relation comprises the index, coordinate information and attribute information, the index comprises keywords in the attribute information, the keywords included in the index of the target geographic space corresponding relation are matched with the target keywords, the attribute information is used for representing a construction plan of a target area in target time, and the coordinate information is used for representing the exact position of the construction plan in the target area;
and determining target geographic information from the coordinate information and the attribute information included in the at least one target geographic space corresponding relation, and outputting target coordinate information and target attribute information corresponding to the target geographic information.
2. The method of claim 1, wherein the querying the geospatial database based on the target keywords entered by the user, determining at least one target geospatial correspondence by querying, further comprises:
and inquiring a geographic space database based on coordinate information input by a user, and determining at least one target geographic space corresponding relation by inquiring, wherein the target geographic space corresponding relation is matched with the coordinate information.
3. The method of claim 1, wherein the querying the geospatial database based on the target keywords entered by the user, determining at least one target geospatial correspondence by querying, comprises:
inquiring the geographic space database according to the target keywords, and determining a target index through inquiry, wherein the keywords included in the target index are the same as the target keywords;
and taking the geographic space corresponding relation of the target index as the target geographic space corresponding relation.
4. The method of claim 1, wherein the building the geospatial database from the index, the geographic information, and the spatial information comprises:
and formatting the index, the coordinate information and the attribute information into a JSON format for storage.
5. The method according to claim 1, wherein determining target geographic information from the coordinate information and the attribute information included in the at least one target geospatial correspondence relation, and outputting target coordinate information and target attribute information corresponding to the target geographic information, comprises:
further determining target geographic information according to coordinate information and attribute information included in the at least one target geographic space corresponding relation, wherein the target geographic information comprises target coordinate information and target attribute information;
and converting the target coordinate information from vector data into raster data for display.
6. The method of claim 1, wherein the coordinate information includes latitude and longitude information and vector data.
7. The method according to claim 6, wherein the storage format of the vector data is any one of a kml format and an excel format.
8. A geospatial data processing apparatus, the apparatus comprising:
the system comprises a building module, a storage module and a processing module, wherein the building module is used for obtaining the corresponding relation between coordinate information and attribute information from a historical geographic information database, the historical geographic information database comprises the corresponding relation between the historical coordinate information and the historical attribute information stored in a local database before a target moment, and the corresponding relation between the newly-added coordinate information and the newly-added attribute information obtained according to the input of a user and the response to the user after the target moment; the attribute information is segmented, and a plurality of words obtained after segmentation are established as indexes; establishing a geospatial database according to the index, the coordinate information and the attribute information;
the query module is used for querying the geospatial database based on target keywords input by a user, determining at least one target geospatial corresponding relation through query, wherein the geospatial database comprises a plurality of geospatial corresponding relations, each geospatial corresponding relation comprises the index, coordinate information and attribute information, the index comprises keywords in the attribute information, the keywords included in the index of the target geospatial corresponding relation are matched with the target keywords, the attribute information is used for representing construction planning of a target area in target time, and the coordinate information is used for representing the exact position of the construction planning in the target area;
the determining module is used for determining target geographic information from coordinate information and attribute information included in the at least one target geographic space corresponding relation;
and the output module is used for outputting the target coordinate information and the target attribute information corresponding to the target geographic information.
9. A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, implements the geospatial data processing method of any of claims 1 to 7.
10. A computer readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, implements a geospatial data processing method according to any of claims 1 to 7.
CN202011600728.XA 2020-12-29 2020-12-29 Geospatial data processing method, device, computer equipment and storage medium Active CN112699195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011600728.XA CN112699195B (en) 2020-12-29 2020-12-29 Geospatial data processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011600728.XA CN112699195B (en) 2020-12-29 2020-12-29 Geospatial data processing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112699195A CN112699195A (en) 2021-04-23
CN112699195B true CN112699195B (en) 2023-12-19

Family

ID=75512166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011600728.XA Active CN112699195B (en) 2020-12-29 2020-12-29 Geospatial data processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112699195B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115329221B (en) * 2022-10-09 2023-08-01 北京邮电大学 Query method and query system for multi-source geographic entity
CN117290458B (en) * 2023-11-27 2024-03-19 潍坊威龙电子商务科技有限公司 Spatial database engine system, method, computer device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350013A (en) * 2007-07-18 2009-01-21 北京灵图软件技术有限公司 Method and system for searching geographical information
CN103617295A (en) * 2013-12-16 2014-03-05 北京锐安科技有限公司 Method and device for processing geographic information vector data
US8688519B1 (en) * 2009-12-30 2014-04-01 Google Inc. Targeting mobile applications through search query mining
CN104252516A (en) * 2014-01-07 2014-12-31 深圳市华傲数据技术有限公司 Method and device for displaying regional society information
CN107092680A (en) * 2017-04-21 2017-08-25 中国测绘科学研究院 A kind of government information resources integration method based on geographic grid
CN108052514A (en) * 2017-10-12 2018-05-18 南京航空航天大学 A kind of blending space Indexing Mechanism for handling geographical text Skyline inquiries
CN111324679A (en) * 2018-12-14 2020-06-23 阿里巴巴集团控股有限公司 Method, device and system for processing address information
CN111651535A (en) * 2019-09-24 2020-09-11 北京嘀嘀无限科技发展有限公司 Information query processing method and device, electronic equipment and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7925982B2 (en) * 2006-09-01 2011-04-12 Cheryl Parker System and method of overlaying and integrating data with geographic mapping applications
CN102262630A (en) * 2010-05-31 2011-11-30 国际商业机器公司 Method and device for carrying out expanded search
US11138243B2 (en) * 2014-03-06 2021-10-05 International Business Machines Corporation Indexing geographic data
US10997244B2 (en) * 2017-07-14 2021-05-04 Phylot Inc. Method and system for identifying and discovering relationships between disparate datasets from multiple sources

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350013A (en) * 2007-07-18 2009-01-21 北京灵图软件技术有限公司 Method and system for searching geographical information
US8688519B1 (en) * 2009-12-30 2014-04-01 Google Inc. Targeting mobile applications through search query mining
CN103617295A (en) * 2013-12-16 2014-03-05 北京锐安科技有限公司 Method and device for processing geographic information vector data
CN104252516A (en) * 2014-01-07 2014-12-31 深圳市华傲数据技术有限公司 Method and device for displaying regional society information
CN107092680A (en) * 2017-04-21 2017-08-25 中国测绘科学研究院 A kind of government information resources integration method based on geographic grid
CN108052514A (en) * 2017-10-12 2018-05-18 南京航空航天大学 A kind of blending space Indexing Mechanism for handling geographical text Skyline inquiries
CN111324679A (en) * 2018-12-14 2020-06-23 阿里巴巴集团控股有限公司 Method, device and system for processing address information
CN111651535A (en) * 2019-09-24 2020-09-11 北京嘀嘀无限科技发展有限公司 Information query processing method and device, electronic equipment and readable storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A GIS-based spatial multi-index model for flood risk assessment in the Yangtze River Basin, China;Dingfan Zhang et al.;Elsevier Science;第1-13页 *
一种基于地理信息元数据标准的空间索引体系;赵鹏举等;科技导报(第8期);第84-88页 *
基于GIS的馆藏空间地理信息***设计与实现;高飞;;情报杂志(第5期);第47-49页 *

Also Published As

Publication number Publication date
CN112699195A (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN109558404B (en) Data storage method, device, computer equipment and storage medium
CN109189799B (en) Service data query method, device, computer equipment and storage medium
CN112699195B (en) Geospatial data processing method, device, computer equipment and storage medium
CN111666370B (en) Semantic indexing method and device for multi-source heterogeneous space data
CN109597979B (en) List table generation method and device, computer equipment and storage medium
CN109783687A (en) A kind of recommended method based on graph structure, device, equipment and storage medium
CN113360789A (en) Interest point data processing method and device, electronic equipment and storage medium
CN110532437B (en) Electronic certificate prompting method, electronic certificate prompting device, computer equipment and storage medium
CN109213775B (en) Search method, search device, computer equipment and storage medium
CN114049463A (en) Binary tree data gridding and grid point data obtaining method and device
CN108595437B (en) Text query error correction method and device, computer equipment and storage medium
CN112115328B (en) Page flow map construction method and device and computer readable storage medium
CN112433753A (en) Interface document generation method, device, equipment and medium based on parameter information
CN109697234B (en) Multi-attribute information query method, device, server and medium for entity
CN109460500B (en) Hotspot event discovery method and device, computer equipment and storage medium
CN103530345A (en) Short text characteristic extension and fitting characteristic library building method and device
CN111008198A (en) Service data acquisition method and device, storage medium and electronic equipment
CN111897894A (en) POI retrieval heat determining method, device, equipment and storage medium
CN113360889B (en) Rights management method and apparatus, server, and computer-readable storage medium
CN112783866B (en) Data reading method, device, computer equipment and storage medium
CN109410069A (en) Settlement data processing method, device, computer equipment and storage medium
CN110245151B (en) Data point group query method and device, computer equipment and storage medium
CN114238334A (en) Heterogeneous data encoding method and device, heterogeneous data decoding method and device, computer equipment and storage medium
CN110874370B (en) Data query method and device, computer equipment and readable storage medium
KR20180044111A (en) Method for collecting data and device thereof

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