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

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

Info

Publication number
CN112699195A
CN112699195A CN202011600728.XA CN202011600728A CN112699195A CN 112699195 A CN112699195 A CN 112699195A CN 202011600728 A CN202011600728 A CN 202011600728A CN 112699195 A CN112699195 A CN 112699195A
Authority
CN
China
Prior art keywords
target
geospatial
information
attribute information
keywords
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
CN202011600728.XA
Other languages
Chinese (zh)
Other versions
CN112699195B (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

Images

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 method and a device for processing geospatial data, computer equipment and a storage medium, and relates to the field of geographic information systems. The server queries a geospatial database comprising a plurality of geospatial corresponding relations based on target keywords input by a user, determines at least one target geospatial corresponding relation 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 in the index of 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 at least one target geographic space corresponding relation, and outputting the target coordinate information and the 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, geospatial data processing device, computer equipment and storage medium
Technical Field
The present application relates to the field of geographic information systems, and in particular, to a method and an apparatus for processing geospatial data, a computer device, and a storage medium.
Background
Geographic Information Systems (GIS) technology is a system that provides diverse spatial and dynamic Geographic Information for Geographic research and Geographic decision-making services based on geospatial. With the continuous development of geographic information systems, geographic information contained in geographic space is more and more, and users have the need of inquiring target geographic information which the users want as soon as possible, wherein the target geographic information comprises coordinate information and attribute information of objects distributed in the earth surface space, the attribute information is used for representing what the earth surface objects are, and the coordinate information is used for representing the exact position where the earth surface objects occur.
In the prior art, when a user queries target geographic information in a geographic information system, the user needs to input or select specific coordinate information and specific attribute information of the target geographic information for querying.
However, when a user queries information with partially the same attribute, the search response time is long and the search efficiency is low in the prior art.
Disclosure of Invention
Based on this, the embodiments of the present application provide a geospatial data processing method, an apparatus, a computer device, and a storage medium, which can improve the efficiency of searching for target geographic information by a user.
In a first aspect, a geospatial data processing method is provided, the method comprising:
querying a geospatial database based on target keywords input by a user, and 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 an index, coordinate information and attribute information, the index comprises the keywords in the attribute information, and the keywords in the index of 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 at least one target geographic space corresponding relation, and outputting the target coordinate information and the target attribute information corresponding to the target geographic information.
In one embodiment, the query of the geospatial database based on target keywords input by a user to determine at least one target geospatial correspondence by the query further comprises: and querying a geospatial database based on coordinate data input by a user, and determining at least one target geospatial corresponding relationship through query, wherein the target geospatial corresponding relationship is matched with the coordinate information.
In one embodiment, querying the geospatial database based on target keywords entered by a user to determine at least one target geospatial correspondence via the query comprises: querying a geospatial database according to the target keywords, and determining a target index through query, 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.
In one embodiment, before querying the geospatial database based on the target keywords 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; performing word segmentation on the attribute information, and establishing a plurality of words obtained after word segmentation as indexes; and 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 corresponding relationship between historical coordinate information and historical attribute information stored in a local database before the target time, and a corresponding relationship between new-added coordinate information and new-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 the data into a JSON format according to the index, the coordinate information and the attribute information for storage.
In one embodiment, further determining target geographic information from coordinate information and attribute information included in at least one target geospatial correspondence, and outputting target coordinate information and target attribute information corresponding to the target geographic information, includes: further determining target geographic information according to the coordinate information and the attribute information included in at least one target geographic space corresponding relation, wherein the target geographic information includes target coordinate information and target attribute information; and converting the target coordinate information from vector data into 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 geospatial database based on target keywords input by a user and 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 an index, coordinate information and attribute information, the index comprises the keywords in the attribute information, and the keywords in the index of the target geospatial corresponding relation are matched with the target keywords;
the determining module is used for further determining target geographic information from the coordinate information and the 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.
In one embodiment, the query module is further configured to: inquiring a geospatial database based on coordinate data input by a user, and determining at least one target geospatial corresponding relation through inquiry, wherein the target geospatial corresponding relation is matched with 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 through the query, comprising: querying a geospatial database according to the target keywords, and determining a target index through query, 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.
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 establishing module is used for segmenting the attribute information and establishing a plurality of words obtained after segmentation as 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 corresponding relationship between historical coordinate information and historical attribute information stored in a local database before the target time, and a corresponding relationship between new-added coordinate information and new-added attribute information acquired according to user input and response to the user after the target time.
In one embodiment, the database building module is specifically configured to: and formatting the data into a JSON format according to the index, the coordinate information and the attribute information for storage.
In one embodiment, the determining module is specifically configured to: further determining target geographic information according to the coordinate information and the attribute information included in the at least one target geographic space corresponding relation; the output module is specifically configured to: and converting the target coordinate information from vector data into raster data for display.
In a third aspect, a computer device is provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the geospatial data processing method according to any one of the above first aspects when executing the computer program.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the geospatial data processing method of any of the above-mentioned first aspects
In the geospatial data processing method, the device, the computer equipment and the storage medium, the terminal firstly queries a geospatial database based on target keywords input by a user, determines at least one target geospatial corresponding relation in the geospatial database through query, each geospatial corresponding relation comprises an index, coordinate information and attribute information, the index comprises keywords in the attribute information, and the keywords 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 at least one target geographic space corresponding relation, and outputting the target coordinate information and the 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 inquiry for many times, the search response time is long, and the search efficiency is low. According to the technical scheme, at least one target geographic space corresponding relation is inquired through the target key words, and the obtained multiple target geographic space corresponding relations all comprise indexes corresponding to the target key words, so that when information with part of the same attributes is inquired, the indexes can be matched according to the information with the same attributes, a database is inquired, the corresponding target geographic space corresponding relation is obtained, specific attribute information is searched based on the obtained target geographic space corresponding relations with the same indexes, the corresponding searching 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 apparatus according to an embodiment of the present application;
fig. 5 is a block diagram of a geospatial data processing apparatus according to an embodiment of the present application;
fig. 6 is an internal structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Geographic Information Systems (GIS) technology is a system that provides diverse spatial and dynamic Geographic Information for Geographic research and Geographic decision-making services based on geospatial. With the continuous development of geographic information systems, geographic information contained in geographic space is more and more, and users have the need of inquiring target geographic information which the users want as soon as possible, wherein the target geographic information comprises coordinate information and attribute information of objects distributed in the earth surface space, the attribute information is used for representing what the earth surface objects are, and the coordinate information is used for representing the exact position where the earth surface objects occur.
In the prior art, when a user queries target geographic information in a geographic information system, the user needs to input or select specific coordinate information and specific attribute information of the target geographic information for querying.
However, when a user queries information with partially the same attribute, the search response time is long and the search efficiency is low in the prior art.
In view of this, embodiments of the present application provide a geospatial data processing method, an apparatus, a computer device, and a storage medium, which can improve the efficiency of searching for target geographic information by a user.
Next, an implementation environment related to the geospatial data processing method provided by the embodiment of the present application will be described.
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 over a network. The terminal 101 inputs a target keyword to the server 102 through a network, and the server 102 outputs target coordinate information and target attribute information to the terminal 101 by executing the geospatial data processing method provided by the embodiment of the application. The terminal 101 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 102 may be implemented by an independent server or a server cluster formed by a plurality of servers.
Referring to fig. 2, a flowchart of a geospatial data processing method provided by an embodiment of the present application is shown, and 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 geospatial database based on target keywords input by the user, and determines at least one target geospatial corresponding relation through query.
The geospatial database comprises a plurality of geospatial corresponding relations, each geospatial corresponding relation comprises an index, coordinate information and attribute information, the index comprises the coordinate information and keywords in the attribute information, and the keywords in the index of the target geospatial corresponding relation are matched with the target keywords.
In the embodiment of the application, the attribute information may be a certain town or a construction plan of a certain town in a certain year, such as "west-salty new district in west-ampere city" or "recent construction plan (2008-.
The coordinate information may be the exact location in the area of a certain town or a certain year of construction plan, wherein an area may refer to the surface of the earth in a broad sense or a predefined part of the area in the surface of the earth. For example, when the area is defined as the province of Shaanxi, the coordinate information may be the exact location in the province of Shaanxi, i.e., the longitude and latitude information of the specific location, which is planned for construction in a certain town or a certain year. When the attribute information is 'west salty new district of west city' or 'recent construction plan of west salty new district of west city (2008 + 2010)', the coordinate information is vector data of specific positions of the recent construction plan of west salty new district of west city (2008 + 2010) and west salty new district of west city 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 "the recent construction plan of the west salty new area in west city (2008 + 2010)", the index can be set to "west city", "west salty new area", "construction", "plan", "2008", "2010" … ….
In summary, one geographic spatial correspondence in the embodiment of the present application may be:
indexing: "xi' an city", "west salty new district", "construction", "plan", "2008", "2010" … …;
attribute information: "recent construction planning of Xian City Xixi New district (2008-2010)"
Coordinate information: and (3) recently constructing and planning vector data of specific positions in Shaanxi province in the Xixi New district of Xian city (2008-2010).
Another geospatial correspondence in the present application may be:
indexing: "xi' an city" and "Xixi Xixian Xin district";
attribute information: "Xian West salty New district of Xian city";
coordinate information: vector data of a specific position in Shaanxi province in the Xixi salty New district of Xian 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 index, the attribute information and the coordinate information are matched to determine the target geographic space corresponding relation. For example, when the target keyword is "west salty new district", the target geospatial correspondence relationship corresponding to the attribute information including "recent construction plan of west ampere city west salty new district (2008-2010)" and "west ampere city west salty new district" may be obtained.
In an optional embodiment of the present application, the terminal queries the geospatial database based on keywords filled in by the user; and/or querying a geospatial database based on user-selected keywords.
For example, the user inputs the keywords to be queried into the front end page of the geospatial database in the terminal to perform query, or the user performs query through the keywords displayed on 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 through the query, where the target geospatial correspondence matches the coordinate information. For example, the user may input longitude and latitude vector data of the new west city and a specific location of the recent construction plan (2008-2010) of the new west city in shanxi province in the input box, the user may select a grid image in an area displayed on a front end page of the geospatial database to input longitude and latitude vector data corresponding to the grid image, 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 not only match the target geospatial correspondence in the geospatial data database through the input or selected keywords, but also match the target geospatial correspondence in the geospatial data database through the input or selected coordinate information.
Step 202, the server determines the target geographic information from the coordinate information and the attribute information included in the at least one target geospatial correspondence.
In this embodiment of the present application, each keyword may correspond to a plurality of target geospatial correspondences, for example, when a user inputs "west salty new area", the target geospatial correspondences that may be obtained may include:
(1) indexing: "xi' an city", "west salty new district", "king town", "plan", "2012";
attribute information: "Xian city west salty new district Dawang town planning, compile time 2012;
the coordinate information is vector coordinate data corresponding to the attribute information in the geospatial database.
(2) Indexing: "xi' an city", "xi Xixian Xin district", "Fengxi Xin city", "Nanpian district", "plan", "2011";
attribute information: ' the south area of the west salty and new area of the west city, the west city;
the coordinate information is vector coordinate data corresponding to the attribute information in the geospatial database.
(3) Indexing: "xi' an city", "xi xian xin district", "xi xin cheng feng", "south district", "plan" 2015 ";
attribute information: 'the area in the south of the West Ann city, the West salty New district, the West City, the West New district, the control detail planning, the programming time 2015';
the coordinate information is vector coordinate data corresponding to the attribute information in the geospatial database.
(4) Indexing: "xi' an city", "xi Xixian Xin district", "Fengxi Xin city", "north district", "plan", "2011";
attribute information: 'the north area of the New Fengxi city, the West salty New Fengxi city, is controlled and planned in detail, and the programming time is 2011 years';
the coordinate information is vector coordinate data corresponding to the attribute information in the geospatial database.
In the embodiment of the present application, the target geographic information is further determined according to the coordinate information and the attribute information included in at least one target geographic space corresponding relationship, where the target geographic information includes the target coordinate information and the target attribute information.
In an optional embodiment of the present application, the number of the obtained target geospatial correspondences may be further input and selected to narrow down, for example, on the basis of inputting "west, salty, and new region", the keyword "west, where new city, professor" is selected may obtain (2), (3), (4) and exclude the target geospatial correspondence (1) from the target geospatial correspondences, and the keyword "south region" may further obtain (2) and (3) and exclude the target geospatial correspondence (4) from the target geospatial correspondence. When a user needs to compare the south China area of the Fengxi New City, the Xixi New district, the Fengxi New district, and the Nangu district, which are in different years, with the planning of the key words, namely, the input or selection of the key words, namely, the Xixi New district, the Fenxi New district, and the Nangu district, at least two target geospatial correspondences, namely, the target geospatial correspondences (2) and (3), can be obtained, compared with the prior art that the input of the attribute information needs to be completed when the detailed control planning of the south China area of the Xian City, the Xixi New district, the time 2015 and the detailed control planning of the south China area of the Xian Wexi New district, and the query of the attribute information of the time 2011 is carried out, in the embodiment of the application, the data in the geospatial database is locked under the index of the south China area, the Xixi New district, the Fenxi New district, and the whole geospatial database needs to be searched twice by inputting the key words, according to the embodiment of the application, only two times of retrieval are needed in the data ranges of the 'Xixi New district', 'Fengxi New City' and 'Nantablet district' in the geospatial database, so that the search response time is shortened.
And 203, outputting the target coordinate information and the target attribute information corresponding to the target geographic information by the server.
In the embodiment of the present application, by further determining the target geographic information according to the coordinate information and the attribute information included in the at least one target geospatial correspondence,
the target geographic information can be displayed as 'the controlled detailed planning of the south area of the new city, the west where the west is salty, the west, and the compilation time is 2011', and then the vector coordinate data of which the attribute information is 'the controlled detailed planning of the south area of the new city, the west, and the compilation time is 2011' can be obtained. In an alternative embodiment of the present application, the vector coordinate data is converted to raster data for presentation.
In the geospatial data processing method, the device, the computer equipment and the storage medium, the terminal firstly queries a geospatial database based on target keywords input by a user, determines at least one target geospatial corresponding relation in the geospatial database through query, each geospatial corresponding relation comprises an index, coordinate information and attribute information, the index comprises keywords in the attribute information, and the keywords 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 at least one target geographic space corresponding relation, and outputting the target coordinate information and the 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 inquiry for many times, the search response time is long, and the search efficiency is low. According to the technical scheme, at least one target geographic space corresponding relation is inquired through the target key words, and the obtained multiple target geographic space corresponding relations all comprise indexes corresponding to the target key words, so that when information with part of the same attributes is inquired, the indexes can be matched according to the information with the same attributes, a database is inquired, the corresponding target geographic space corresponding relation is obtained, specific attribute information is searched based on the obtained target geographic space corresponding relations with the same indexes, the corresponding searching 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 keywords 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 inquired by the existing Internet and has attribute information and corresponding coordinate information. In the embodiment of the application, the historical geographic information database comprises a corresponding relation between historical coordinate information and historical attribute information which are stored in a local database before a target time, and a corresponding relation between newly added coordinate information and newly added attribute information which are acquired according to input of a user and response of the user after the target time.
The correspondence between the newly added coordinate information and the newly added attribute information obtained after the target time according to the input of the user and the response of the user may be the correspondence between the newly added coordinate information and the newly added attribute information newly input by the database maintainer after the question database is established by the server.
Step 302, the server performs word segmentation on the attribute information, and establishes a plurality of words obtained after word segmentation 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 ' the south area of the west and west regions of the city, west and west, including the west and west new cities ', the south area ' … … ' and the like can be obtained after performing word segmentation on the formulation time 2011 ', and the words can be shielded by setting the words belonging to the common words in each attribute information, such as ' the formulation time ', ' the detail '. The obtained "west salty New district", "Fengxi New City", "south district" … … and the like are used as indexes of the attribute information.
Step 303, the server establishes a geospatial database according to the index, the coordinate information and the attribute information.
In the embodiment of the application, the server divides the attribute information into words, establishes a plurality of words obtained after word division as indexes, formats the words into a JSON format according to the indexes, the coordinate information and the attribute information, and stores the words, and establishes a geospatial database which comprises the indexes, the coordinate information and the attribute information and is in geospatial corresponding relation.
Referring to fig. 4, a block diagram of a geospatial data processing apparatus 400 provided by 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.
A query module 401, configured to query a geospatial database based on a target keyword input by a user, and determine at least one target geospatial correspondence through query, where the geospatial database includes multiple geospatial correspondences, each geospatial correspondence includes an index, coordinate information, and attribute information, the index includes a keyword in the attribute information, and the keyword included in the index of the target geospatial correspondence matches the target keyword;
a determining module 402, configured to further determine target geographic information from the coordinate information and the attribute information included in the at least one target geospatial correspondence;
an output module 403, configured to output the target coordinate information and the 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 through the query, comprising: querying a geospatial database according to the target keywords, and determining a target index through query, 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.
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 keywords selected by the user.
Referring to fig. 5, an embodiment of the present application further provides another geospatial data processing apparatus 500, where the geospatial data processing apparatus 500 includes, in addition to the various modules included in the geospatial data processing apparatus 400, optionally, the geospatial data processing apparatus 500 further includes an obtaining module 501, an index establishing module 502, and a database establishing module 503.
In an optional embodiment of the present application, the historical geographic information database includes a corresponding relationship between historical coordinate information and historical attribute information stored in a local database before the target time, and a corresponding relationship between new-added coordinate information and new-added attribute information acquired according to the input of the user and the response of the user after the target time.
In an optional embodiment of the present application, the database establishing module 503 is specifically configured to: and formatting the data into a JSON format according to the index, the coordinate information and the attribute information for storage.
In an alternative embodiment of the present application, the determining module 402 is specifically configured to: further determining target geographic information according to the coordinate information and the attribute information included in the at least one target geographic space corresponding relation; the output module 403 is specifically configured to: and converting the target coordinate information from vector data into raster data for display.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram 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 comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store 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 configuration shown in fig. 6 is a block diagram of only a portion of the configuration relevant to the present solution and does not constitute a limitation on the processing apparatus to which the present solution is applied, and a particular processing apparatus may include more or less components than shown in the drawings, or 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 a computer program stored therein, the processor implementing the following steps when executing the computer program:
querying a geospatial database based on target keywords input by a user, and 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 an index, coordinate information and attribute information, the index comprises the keywords in the attribute information, and the keywords in the index of 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 at least one target geographic space corresponding relation, and outputting the target coordinate information and the target attribute information corresponding to the target geographic information.
In one embodiment of the application, the processor when executing the computer program further performs the following steps: and querying a geospatial database based on coordinate information input by a user, and determining at least one target geospatial corresponding relationship through query, wherein the target geospatial corresponding relationship is matched with the coordinate information.
In one embodiment of the application, the processor when executing the computer program further performs the following steps: querying a geospatial database based on target keywords input by a user, determining at least one target geospatial correspondence through the query, comprising: querying a geospatial database according to the target keywords, and determining a target index through query, 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.
In one embodiment of the application, the processor when executing the computer program further performs the following steps: acquiring the corresponding relation between the coordinate information and the attribute information from a historical geographic information database; performing word segmentation on the attribute information, and establishing a plurality of words obtained after word segmentation as indexes; and establishing a geospatial database according to the index, the coordinate information and the attribute information.
In an embodiment of the present application, the historical geographic information database includes a corresponding relationship between historical coordinate information and historical attribute information stored in a local database before a target time, and a corresponding relationship between new coordinate information and new attribute information acquired according to user input and a response to a user after the target time.
In one embodiment of the application, the processor when executing the computer program further performs the following steps: and formatting the data into a JSON format according to the index, the coordinate information and the attribute information for storage.
In one embodiment of the application, the processor when executing the computer program further performs the following steps: further determining target geographic information according to the coordinate information and the attribute information included in at least one target geographic space corresponding relation, wherein the target geographic information includes target coordinate information and target attribute information; and converting the target coordinate information from vector data into raster data for display.
In an embodiment of the application, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of:
querying a geospatial database based on target keywords input by a user, and 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 an index, coordinate information and attribute information, the index comprises the keywords in the attribute information, and the keywords in the index of 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 at least one target geographic space corresponding relation, and outputting the target coordinate information and the target attribute information corresponding to the target geographic information.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: and querying a geospatial database based on coordinate information input by a user, and determining at least one target geospatial corresponding relationship through query, wherein the target geospatial corresponding relationship is matched with the coordinate information.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: querying a geospatial database according to the target keywords, and determining a target index through query, 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.
In one embodiment of the 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; performing word segmentation on the attribute information, and establishing a plurality of words obtained after word segmentation as indexes; and establishing a geospatial database according to the index, the coordinate information and the attribute information.
In an embodiment of the present application, the historical geographic information database includes a corresponding relationship between historical coordinate information and historical attribute information stored in a local database before the target time, and a corresponding relationship between new-added coordinate information and new-added attribute information acquired according to the input of the user and the response of the user after the target time.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: and formatting the data into a JSON format according to the index, the coordinate information and the attribute information for storage.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: further determining target geographic information according to the coordinate information and the attribute information included in at least one target geographic space corresponding relation, wherein the target geographic information includes target coordinate information and target attribute information; and converting the target coordinate information from vector data into raster data for display.
The implementation principle and technical effect of the computer-readable storage medium provided by this embodiment are similar to those of the above-described method embodiment, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile 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), RaMbus (RaMbus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A geospatial data processing method, the method comprising:
querying a geospatial database based on target keywords input by a user, and determining at least one target geospatial corresponding relationship through query, wherein the geospatial database comprises a plurality of geospatial corresponding relationships, each geospatial corresponding relationship comprises an index, coordinate information and attribute information, the index comprises the keywords in the attribute information, and the keywords in the index of the target geospatial corresponding relationship 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 the target coordinate information and the target attribute information corresponding to the target geographic information.
2. The method of claim 1, wherein querying a geospatial database based on target keywords entered by a user to determine at least one target geospatial correspondence via a query, further comprises:
and querying a geospatial database based on coordinate information input by a user, and determining at least one target geospatial corresponding relation through query, wherein the target geospatial corresponding relation is matched with the coordinate information.
3. The method of claim 1, wherein querying a geospatial database based on target keywords entered by a user to determine at least one target geospatial correspondence via a query comprises:
querying the geospatial database according to the target keywords, and determining a target index through query, 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 prior to querying a geospatial database based on user-entered target keywords, the method further comprises:
acquiring the corresponding relation between the coordinate information and the attribute information from a historical geographic information database;
performing word segmentation on the attribute information, and establishing a plurality of words obtained after word segmentation as indexes;
and establishing the geospatial database according to the index, the coordinate information and the attribute information.
5. The method according to claim 4, wherein the historical geographic information database includes a correspondence between historical coordinate information and historical attribute information stored in a local database before a target time, and a correspondence between new coordinate information and new attribute information acquired after the target time according to user input and a response to the user.
6. The method of claim 4, wherein said building the geospatial database from the index, the geographic information, and the spatial information comprises:
and formatting the information into a JSON format according to the index, the coordinate information and the attribute information for storage.
7. The method according to claim 1, wherein the determining target geographic information from the coordinate information and the attribute information included in the at least one target geospatial correspondence and outputting the target coordinate information and the target attribute information corresponding to the target geographic information comprises:
further determining target geographic information according to the coordinate information and the attribute information included in the at least one target geographic space corresponding relation, wherein the target geographic information includes target coordinate information and target attribute information;
and converting the target coordinate information from vector data into raster data for display.
8. A geospatial data processing apparatus, the apparatus comprising:
the query module is used for querying a geospatial database based on target keywords input by a user and 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 an index, coordinate information and attribute information, the index comprises the keywords in the attribute information, and the keywords in the index of the target geospatial corresponding relation are matched with the target keywords;
a determining module, configured to determine target geographic information from the coordinate information and the attribute information included in the at least one target geospatial correspondence;
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 a geospatial data processing method according to any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the geospatial data processing method according to any one 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 true CN112699195A (en) 2021-04-23
CN112699195B 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)

Cited By (2)

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

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080059889A1 (en) * 2006-09-01 2008-03-06 Cheryl Parker System and Method of Overlaying and Integrating Data with Geographic Mapping Applications
CN101350013A (en) * 2007-07-18 2009-01-21 北京灵图软件技术有限公司 Method and system for searching geographical information
US20130073535A1 (en) * 2010-05-31 2013-03-21 International Business Machines Corporation Method and apparatus for performing extended search
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
US20150254276A1 (en) * 2014-03-06 2015-09-10 International Business Machines Corporation Indexing geographic data
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
US20190018904A1 (en) * 2017-07-14 2019-01-17 Phylot Inc. Method and system for identifying and discovering relationships between disparate datasets from multiple sources
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

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080059889A1 (en) * 2006-09-01 2008-03-06 Cheryl Parker System and Method of Overlaying and Integrating Data with Geographic Mapping Applications
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
US20130073535A1 (en) * 2010-05-31 2013-03-21 International Business Machines Corporation Method and apparatus for performing extended search
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
US20150254276A1 (en) * 2014-03-06 2015-09-10 International Business Machines Corporation Indexing geographic data
CN107092680A (en) * 2017-04-21 2017-08-25 中国测绘科学研究院 A kind of government information resources integration method based on geographic grid
US20190018904A1 (en) * 2017-07-14 2019-01-17 Phylot Inc. Method and system for identifying and discovering relationships between disparate datasets from multiple sources
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
DINGFAN ZHANG ET AL.: "A GIS-based spatial multi-index model for flood risk assessment in the Yangtze River Basin, China", ELSEVIER SCIENCE, pages 1 - 13 *
赵鹏举等: "一种基于地理信息元数据标准的空间索引体系", 科技导报, no. 8, pages 84 - 88 *
高飞;: "基于GIS的馆藏空间地理信息***设计与实现", 情报杂志, no. 5, pages 47 - 49 *

Cited By (3)

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

Also Published As

Publication number Publication date
CN112699195B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
CN101346000B (en) System for providing local mobile geographic information service based on GPS and mobile terminal
US20090083275A1 (en) Method, Apparatus and Computer Program Product for Performing a Visual Search Using Grid-Based Feature Organization
Huang et al. Continuous distance-based skyline queries in road networks
CN111666370B (en) Semantic indexing method and device for multi-source heterogeneous space data
CN107092623B (en) Interest point query method and device
CN112699195B (en) Geospatial data processing method, device, computer equipment and storage medium
CN111061766A (en) Business data processing method and device, computer equipment and storage medium
CN110399448B (en) Chinese place name address searching and matching method, terminal and computer readable storage medium
CN112417199A (en) Remote sensing image retrieval method, device, system and storage medium
CN111858613B (en) Service data retrieval method
CN114049463A (en) Binary tree data gridding and grid point data obtaining method and device
CN108427710B (en) Enterprise data visualization processing method, server and storage medium
CN112231317B (en) Data query method, device, electronic device and storage medium
CN110532437B (en) Electronic certificate prompting method, electronic certificate prompting device, computer equipment and storage medium
CN111949845A (en) Method, apparatus, computer device and storage medium for processing mapping information
CN111008198B (en) Service data acquisition method and device, storage medium and electronic equipment
CN109697234B (en) Multi-attribute information query method, device, server and medium for entity
CN111897894A (en) POI retrieval heat determining method, device, equipment and storage medium
CN110245151B (en) Data point group query method and device, computer equipment and storage medium
CN112416966A (en) Ad hoc query method, apparatus, computer device and storage medium
KR20180044111A (en) Method for collecting data and device thereof
US20230195761A1 (en) Spatial lsm tree apparatus and method for indexing blockchain based geospatial point data
CN116882408B (en) Construction method and device of transformer graph model, computer equipment and storage medium
CN112231541A (en) Data retrieval method, system, computer device and storage medium
CN117271484A (en) Online evaluation method and device based on POI fusion strategy change

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