Geographic information processing method and system, electronic device and storage medium
By obtaining target data indications from the first geographic information system, sending requests to the second geographic information system, and converting the data format, the compatibility problem between geographic information systems is solved, and information processing of multiple geographic information systems is realized.
Patent Information
- Application Number
- CN202211017655.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2042-08-23
AI Technical Summary
Existing geographic information systems are incompatible with multiple geographic information systems, resulting in a lack of interoperability in information processing.
By obtaining the target data acquisition instruction from the first geographic information system, a target data acquisition request is sent to the second geographic information system, the data format is converted to GeoJSON format, and finally converted to a data format supported by the first geographic information system for display.
It enables the acquisition and processing of data from multiple geographic information systems within a single geographic information system, thus resolving compatibility issues between information systems.
Smart Images

Figure CN115374230B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of information processing, more particularly, to a geographic information processing method and system, an electronic device and a storage medium. BACKGROUND
[0002] A geographic information system (GIS) is also known as a "geoscience information system". It is a specific and very important spatial information system. It is a technical system that collects, stores, manages, calculates, analyzes, displays and describes relevant geographic distribution data in the entire or part of the earth's surface (including the atmosphere) space under the support of a computer hardware and software system.
[0003] Currently available geographic information systems, such as SuperMap, ArcGIS, GeoServer, and MapServer, can only implement information processing in their respective systems and cannot obtain information of other geographic information systems, i.e., poor compatibility. Therefore, how to implement information processing of multiple geographic information systems through one geographic information system has become a technical problem to be solved. SUMMARY
[0004] The present application provides a geographic information processing method and system, an electronic device and a storage medium, comprising the following technical solutions:
[0005] A geographic information processing method for a first geographic information system, the method comprising:
[0006] obtaining a target data acquisition instruction for a first target layer;
[0007] sending a target data acquisition request to a second geographic information system in response to the target data acquisition instruction;
[0008] after obtaining target data in a second data format returned by the second geographic information system, converting the target data from the second data format to a GeoJSON format;
[0009]
[0009] converting the target data from the GeoJSON format to a first data format supported by the first geographic information system;
[0010] displaying the target data in the first data format.
[0011] The above method, preferably, the sending of the target data acquisition request to the second geographic information system comprises:
[0012] obtaining a data service address corresponding to the first target layer;
[0013] resolving the data service address to determine a geographic information system to which the data service address belongs;
[0014] if the geographic information system to which the data service address belongs is the second geographic information system, sending a target data access request to the second geographic information system through an access interface corresponding to the second geographic information system, the target data access request carrying the data service address.
[0015] The method, preferably, the sending of the target data access request to the second geographic information system through the access interface corresponding to the second geographic information system comprises:
[0016] encapsulating the data service address into the target data access request according to an encapsulation format supported by the second geographic information system;
[0017] sending the target data access request through the access interface.
[0018] The method, preferably, the obtaining of the data service address corresponding to the first target image comprises:
[0019] obtaining a data service address corresponding to an identification of the first target layer according to a preset correspondence between layer identification and data service address;
[0020] The identification of the first target layer comprises a name of the first target layer or a display area of the first target layer.
[0021] The method, preferably, the target data access indication comprises a target data query indication or a data analysis indication, and the analysis result corresponding to the data analysis is the target data.
[0022] The displaying of the target data in the first data format comprises:
[0023] rendering the target data in the first data format onto the first target layer or displaying the target data in the first data format through a floating box.
[0024] The method, preferably, further comprises:
[0025] obtaining a second target layer loading indication;
[0026] sending a second target layer loading request to the second geographic information system in response to the second target layer loading indication;
[0027] After the second target layer data returned by the second geographic information system is obtained, the second target layer data is rendered to display the second target layer data.
[0028] Preferably, the first geographic information system is SuperMap geographic information system, and the second geographic information system is any one of the following geographic information systems: ArcGIS geographic information system, GeoServer geographic information system, and MapServer geographic information system.
[0029] A geographic information processing system, the geographic information system being a first geographic information system, comprising:
[0030] A first obtaining module, configured to obtain a target data acquisition instruction for a first target layer;
[0031] A sending module, configured to send a target data acquisition request to a second geographic information system in response to the target data acquisition instruction;
[0032] A converting module, configured to, after obtaining target data in a second data format returned by the second geographic information system, convert the target data from the second data format to a GeoJSON format, and convert the target data from the GeoJSON format to a first data format supported by the first geographic information system;
[0033] A display module, configured to display the target data in the first data format.
[0034] An electronic device, comprising:
[0035] A memory, configured to store a program;
[0036] A processor, configured to invoke and execute the program in the memory, and realize each step of the geographic information processing method according to any one of the above.
[0037] A readable storage medium, having a computer program stored thereon, the computer program being executed by a processor to realize each step of the geographic information processing method according to any one of the above.
[0038] It can be known from the above scheme that the geographic information processing method, system, electronic device and storage medium provided by the application obtain the target data acquisition instruction for the first target layer in the first geographic information system; in response to the target data acquisition instruction, the target data acquisition request is sent to the second geographic information system; after obtaining the target data in the second data format returned by the second geographic information system, the target data is converted from the second data format to the GeoJSON format; the target data is converted from the GeoJSON format to the first data format supported by the first geographic information system; and the target data in the first data format is displayed. The application can obtain the data in other geographic information systems in one geographic information system, and convert the data in other geographic information systems from the second data format to the GeoJSON format, and then convert the data from the GeoJSON format to the first data format which can be recognized by the local geographic information system, so as to realize the purpose of realizing the information processing of multiple geographic information systems through one geographic information system. BRIEF DESCRIPTION OF DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the embodiments of the application, the drawings required by the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0040] Figure 1 An implementation flowchart of the geographic information processing method provided by the embodiments of the application is provided.
[0041] Figure 2 An implementation flowchart of sending the target data acquisition request to the second geographic information system provided by the embodiments of the application is provided.
[0042] Figure 3 An implementation flowchart of the geographic information processing system provided by the embodiments of the application is provided.
[0043] Figure 4 An implementation flowchart of the electronic device provided by the embodiments of the application is provided.
[0044] The terms "first", "second", "third", "fourth" and the like (if any) in the description, claims and above drawings are used to distinguish similar parts, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than that illustrated herein. DETAILED DESCRIPTION
[0045] With reference to the drawings and the embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative effort belong to the scope of the present application.
[0046] The geographic information processing method provided in the embodiments of the present application is used in a geographic information system (for the convenience of description, referred to as a first geographic information system). As an example, the first geographic information system can be a SuperMap geographic information system, and of course can also be any one of other geographic information systems, such as an ArcGIS geographic information system, a GeoServer geographic information system, and a MapServer geographic information system. An implementation flowchart of the geographic information processing method provided in the embodiments of the present application is shown in FIG. 1, which can include the following steps. Figure 1
[0047] Step S101: Obtain a target data acquisition instruction for a first target layer.
[0048] In the first geographic information system, when a user wants to acquire relevant data (for the convenience of description and distinction, referred to as target data, such as attribute data or analysis data) of any one layer (for the convenience of description and distinction, referred to as a first target layer), a target data acquisition instruction can be triggered and generated for the first target layer.
[0049] As an example, the user can trigger and generate the target data acquisition instruction for the first target layer on an interface currently displayed by the first geographic information system. For example, the user can perform a preset operation (such as right-clicking the first target layer by using a mouse, or double-clicking the first target layer) for the first target layer, so as to trigger the first geographic information system to display a viewable data list. The user can select target data in the viewable data list, so as to trigger the first geographic information system to generate a target data acquisition instruction for the first target layer.
[0050] Step S102: In response to the target data acquisition instruction, send a target data acquisition request to a second geographic information system.
[0051] In the present application, if the first target layer is a layer in the second geographic information system, in response to the target data acquisition instruction, a target data acquisition request is sent to the second geographic information system.
[0052] The second geographic information system is different from the first geographic information system. For example, the first geographic information system is a SuperMap geographic information system, and the second geographic information system is any one of an ArcGIS geographic information system, a GeoServer geographic information system, and a MapServer geographic information system; or the first geographic information system is an ArcGIS geographic information system, and the second geographic information system is any one of a SuperMap geographic information system, a GeoServer geographic information system, and a MapServer geographic information system; or the like.
[0053] In the present application, the first geographic information system is provided with an access interface for accessing the second geographic information system.
[0054] If the first target layer is not a layer in the second geographic information system but a layer in the first geographic information system, the target data can be directly obtained in the first geographic information system.
[0055] Step S103: After obtaining the target data in the second data format returned by the second geographic information system, the target data is converted from the second data format into a GeoJSON format.
[0056] The data format of the target data returned by the second geographic information system (denoted as a second data format for convenience of description and differentiation) is a data format supported by the second geographic information system, that is, the present application does not need to improve the second geographic information system.
[0057] After the first geographic information system receives the target data in the second data format returned by the second geographic information system, the target data is first converted from the second format into a GeoJSON format. The conversion process of the data format can refer to an existing conversion scheme, and will not be described in detail here.
[0058] Step S104: The target data is converted from the GeoJSON format into a data format (denoted as a first data format for convenience of description and differentiation) supported by the first geographic information system.
[0059] After the first geographic information system converts the target data into the GeoJSON format, the target data in the GeoJSON format is converted into target data in the first data format.
[0060] Step S105: The target data in the first data format is displayed.
[0061] The geographic information processing method provided in the embodiments of the present application comprises the following steps: obtaining a target data acquisition instruction for a first target layer in a first geographic information system; sending a target data acquisition request to a second geographic information system in response to the target data acquisition instruction; converting the target data from a second data format into a GeoJSON format after obtaining the target data in the second data format returned by the second geographic information system; converting the target data from the GeoJSON format into a first data format supported by the first geographic information system; and displaying the target data in the first data format. The present application can obtain data in other geographic information systems in one geographic information system, and convert the data in other geographic information systems from a second data format into a GeoJSON format, and then convert the data from the GeoJSON format into a first data format recognizable by the local geographic information system, thereby achieving the purpose of realizing information processing of multiple geographic information systems through one geographic information system.
[0062] In an optional embodiment, an implementation flowchart of the above-mentioned sending of the target data acquisition request to the second geographic information system can comprise the following steps: Figure 2
[0063] Step S201: obtaining a data service address corresponding to the first target layer.
[0064] In the embodiments of the present application, the data service addresses of each layer in the second geographic information system are stored in the first information system in advance. After obtaining the target data acquisition instruction for the first target layer, the data service address corresponding to the identification identifier of the first target layer can be obtained according to the preset corresponding relationship between the layer identification identifier and the data service address, and the data service address corresponding to the identification identifier of the first target layer is taken as the data service address corresponding to the first target layer.
[0065] The identification identifier of the first target layer can comprise the name of the first target layer (such as road, building, plant, etc.), or the display area of the first target layer (such as xx city, xx park, etc.).
[0066] Step S202: analyzing the data service address to determine the geographic information system to which the data service address belongs.
[0067] As an example, it is assumed that the data service address is:
[0068] http: / / 192.168.200.52:16080 / arcgis / rest / services / SJCP / STBHZYXPJ / MapServer
[0069] By analyzing the above address, arcgis / rest / services in the address can be obtained, based on which it can be known that the geographic information system to which the data service address belongs is ArcGIS geographic information system, and thus the target data to be acquired is the data in the ArcGIS geographic information system.
[0070] As an example, assume that the data service address is:
[0071] http: / / 161.189.31.109:54115 / iserver / services / map-mvt-GYALL / restjsr / v1 / vectortile / maps / GYALL
[0072] By analyzing the above address, iserver / services / map- in the address can be obtained, based on which it can be known that the geographic information system to which the data service address belongs is SuperMap geographic information system, and thus the target data to be acquired is the data in the SuperMap geographic information system, specifically two-dimensional data.
[0073] As an example, assume that the data service address is:
[0074] http: / / 161.189.31.109:54115 / iserver / services / 3D-GYALL / rest / realspace / datas / F16_1_1%40GY / config
[0075] By analyzing the above address, iserver / services / 3D- in the address can be obtained, based on which it can be known that the geographic information system to which the data service address belongs is SuperMap geographic information system, and thus the target data to be acquired is the data in the SuperMap geographic information system, specifically three-dimensional data.
[0076] As an example, assume that the data service address is:
[0077] http: / / localhost:8080 / geoserver / gwc / rest / wmts / wzf:wafangdianshi_0 / {style} / {TileMatrixSet} / {TileMatrixSet}:{TileMatrix} / {TileRow} / {TileCol}?format=image / png
[0078] By parsing the address, / geoserver / in the address can be obtained, based on which it can be known that the geographic information system to which the data service address belongs is a GeoServer geographic information system, and thus the target data to be acquired is data in the GeoServer geographic information system.
[0079] For example, assume that the data service address is:
[0080] http: / / 127.0.0.1 / cgi-bin / mapserv.exe?map=mapfiles / boundries.map&mode=map
[0081] By parsing the address, / mapserv.exe? in the address can be obtained, based on which it can be known that the geographic information system to which the data service address belongs is a MapServer geographic information system, and thus the target data to be acquired is data in the MapServer geographic information system.
[0082] Step S203: If the geographic information system to which the data service address belongs is the second geographic information system, a target data acquisition request is sent to the second geographic information system through an access interface corresponding to the second geographic information system, and the target data acquisition request carries the data service address corresponding to the first target layer.
[0083] Optionally, the access interface corresponding to the second geographic information system can also be different according to different ways of acquiring target data. For example, if the target data acquisition indication includes a target data query indication, the access interface corresponding to the second geographic information system is a data query interface; if the target data acquisition indication includes a data analysis indication, and the analysis result corresponding to the data analysis is the target data, the access interface corresponding to the second geographic information system is a data analysis interface.
[0084] Optionally, the data service address can be encapsulated into the target data acquisition request in a packaging format supported by the second geographic information system. That is, the target data acquisition request is a data acquisition request conforming to the data packaging requirements of the second geographic information system.
[0085] The target data acquisition request is sent through the above access interface. Optionally, if the target data acquisition request is a data query request, the target data acquisition request is sent to the second geographic information system through the data query interface, and if the target data acquisition request is a data analysis request, the target data acquisition request is sent to the second geographic information system through the data analysis interface.
[0086] In an optional embodiment, one implementation of the above display of the target data in the first data format can be:
[0087] rendering the target data in the first data format onto the first target layer. That is, displaying the target data in the first data format in the form of an image.
[0088] In an optional embodiment, the above-mentioned implementation manner of displaying the target data in the first data format can be:
[0089] displaying the target data in the first data format through a floating box. That is, directly displaying the target data in the first data format.
[0090] The target data is usually text or symbols or graphics. In this application, the target data can be directly displayed or rendered onto the corresponding position on the first target layer for display.
[0091] In addition to querying or analyzing the data of the second geographic information system, further, the geographic information processing method provided in the embodiments of the present application can further include:
[0092] obtaining a second target layer loading indication. The second target layer is different from the first target layer. Of course, after loading the second target layer, a first target layer loading indication can also be obtained.
[0093] In response to the second target layer loading indication, sending a second target layer loading request to the second geographic information system.
[0094] Optionally, a data service address corresponding to the second target layer can be obtained, the data service address corresponding to the second target layer is parsed to determine the geographic information system to which the data service address belongs. If the geographic information system to which the data service address belongs is the second geographic information system, a second target layer loading request is sent to the second geographic information system through a layer loading interface corresponding to the second geographic information system, and the second target layer loading request carries the data service address corresponding to the second target layer.
[0095] After obtaining the second target layer data returned by the second geographic information system, the second target layer data is rendered and processed to display the second target layer data.
[0096] After the second address information system returns the second target layer data, since the second target layer data is image data, format conversion is not required, and the second target layer data can be directly rendered.
[0097] Corresponding to the method embodiments, the embodiments of the present application also provide a geographic information processing system. A structural schematic diagram of the geographic information processing system provided by the embodiments of the present application is shown in Figure 3 may include:
[0098] The first obtaining module 301, the sending module 302, the converting module 303 and the displaying module 304; wherein,
[0099] The first obtaining module 301 is configured to obtain a target data acquisition instruction for a first target layer;
[0100] The sending module 302 is configured to send a target data acquisition request to a second geographic information system in response to the target data acquisition instruction;
[0101] The converting module 303 is configured to, after obtaining target data in a second data format returned by the second geographic information system, convert the target data from the second data format to a GeoJSON format, and convert the target data from the GeoJSON format to a first data format supported by the first geographic information system;
[0102] The displaying module 304 is configured to display the target data in the first data format.
[0103] The geographic information processing system provided by the embodiments of the present application can obtain a target data acquisition instruction for a first target layer in a first geographic information system, send a target data acquisition request to a second geographic information system in response to the target data acquisition instruction, convert target data in a second data format returned by the second geographic information system to a GeoJSON format, convert the target data from the GeoJSON format to a first data format supported by the first geographic information system, and display the target data in the first data format. The present application can obtain data in other geographic information systems in one geographic information system, and convert the data in other geographic information systems from a second data format to a GeoJSON format, and then convert the data from the GeoJSON format to a first data format recognizable by the local geographic information system, thereby achieving the purpose of processing information of multiple geographic information systems through one geographic information system.
[0104] In an optional embodiment, the sending module 302 is configured to:
[0105] obtain a data service address corresponding to the first target layer;
[0106] parse the data service address to determine a geographic information system to which the data service address belongs;
[0107] if the geographic information system to which the data service address belongs is a second geographic information system, send a target data acquisition request to the second geographic information system through an access interface corresponding to the second geographic information system, and the target data acquisition request carries the data service address.
[0108] In an optional embodiment, when the sending module 302 sends a target data acquisition request to the second geographic information system through an access interface corresponding to the second geographic information system, the sending module 302 is configured to:
[0109] encapsulate the data service address into the target data acquisition request according to an encapsulation format supported by the second geographic information system;
[0110] send the target data acquisition request through the access interface.
[0111] In an optional embodiment, when the sending module 302 obtains the data service address corresponding to the first target image, the sending module 302 is configured to:
[0112] obtain the data service address corresponding to an identification of the first target layer according to a preset correspondence between the identification and the data service address;
[0113] The identification of the first target layer includes a name of the first target layer, or a display area of the first target layer.
[0114] In an optional embodiment, the target data acquisition indication includes a target data query indication, or a data analysis indication, and the analysis result corresponding to the data analysis is the target data.
[0115] The display module 304 is configured to:
[0116] render the target data in the first data format onto the first target layer, or display the target data in the first data format through a floating box.
[0117] In an optional embodiment, the method further includes:
[0118] a second obtaining module configured to obtain a second target layer loading indication;
[0119] The sending module 302 is further configured to send a second target layer loading request to the second geographic information system in response to the second target layer loading indication.
[0120] a rendering module configured to perform rendering processing on second target layer data returned by the second geographic information system after the second target layer data is obtained, so as to display the second target layer data.
[0121] In an optional embodiment, the first geographic information system is a SuperMap geographic information system, and the second geographic information system is any one of the following geographic information systems: an ArcGIS geographic information system, a GeoServer geographic information system, and a MapServer geographic information system.
[0122] Corresponding to the method embodiments, the application further provides an electronic device, a structural schematic diagram of which is shown in Figure 4 The electronic device can include at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4.
[0123] In the embodiments of the application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete communication with each other through the communication bus 4.
[0124] The processor 1 can be a central processing unit CPU, or an application specific integrated circuit ASIC, or one or more integrated circuits configured to implement the embodiments of the application, etc.
[0125] The memory 3 can include a high-speed RAM memory, and can also include a non-volatile memory, etc., such as at least one disk memory.
[0126] The memory 3 stores a program, and the processor 1 can call the program stored in the memory 3, and the program is used for:
[0127] obtaining a target data acquisition instruction for a first target layer;
[0128] in response to the target data acquisition instruction, sending a target data acquisition request to a second geographic information system;
[0129] after obtaining target data in a second data format returned by the second geographic information system, converting the target data from the second data format to a GeoJSON format;
[0130] converting the target data from the GeoJSON format to a first data format supported by the first geographic information system;
[0131] displaying the target data in the first data format.
[0132] Optionally, the detailed functions and extended functions of the program can refer to the description above.
[0133] The application further provides a storage medium, which can store a program suitable for a processor to execute, and the program is used for:
[0134] obtaining a target data acquisition instruction for a first target layer;
[0135] In response to the target data acquisition instruction, a target data acquisition request is sent to the second geographic information system;
[0136] After obtaining the target data in the second data format returned by the second geographic information system, the target data is converted from the second data format to a GeoJSON format;
[0137] The target data is converted from the GeoJSON format to a first data format supported by the first geographic information system;
[0138] The target data in the first data format is displayed.
[0139] Optionally, the refinement function and the extension function of the program can refer to the above description.
[0140] Those skilled in the art can appreciate that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solutions. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0141] In several embodiments provided in the present application, it should be understood that the disclosed system and method can be realized by other ways. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.
[0142] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e. they can be located in one place or distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0143] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit.
[0144] It should be understood that the features in the embodiments of the present application, the various embodiments, and the features can be combined with each other to achieve the solution to the foregoing technical problems.
[0145] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the parts that contribute to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0146] The above description of the disclosed embodiments enables a person skilled in the art to implement or use the present application. Various modifications to the embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A geographic information processing method for a first geographic information system, characterized by, The method comprises: obtaining a target data acquisition instruction for a first target layer; sending a target data acquisition request to a second geographic information system in response to the target data acquisition instruction; after obtaining target data in a second data format returned by the second geographic information system, converting the target data from the second data format to a GeoJSON format; converting the target data from the GeoJSON format to a first data format supported by the first geographic information system; displaying the target data in the first data format; wherein the sending of the target data acquisition request to the second geographic information system comprises: obtaining a data service address corresponding to the first target layer; parsing the data service address to determine a geographic information system to which the data service address belongs; if the geographic information system to which the data service address belongs is the second geographic information system, sending a target data acquisition request to the second geographic information system through an access interface corresponding to the second geographic information system, the target data access request carrying the data service address, the content of the target data acquisition request being different, and the access interface corresponding to the second geographic information system being different; wherein the sending of the target data acquisition request to the second geographic information system through the access interface corresponding to the second geographic information system comprises: encapsulating the data service address into the target data acquisition request according to an encapsulation format supported by the second geographic information system; sending the target data acquisition request through the access interface; wherein the first geographic information system is provided with an access interface for accessing the second geographic information system.
2. The method of claim 1, wherein, The obtaining of the data service address corresponding to the first target layer comprises: obtaining a data service address corresponding to an identification of the first target layer according to a preset correspondence between layer identification and data service address; the identification of the first target layer comprises a name of the first target layer or a display area of the first target layer.
3. The method of claim 1, wherein, The target data acquisition instruction comprises a target data query instruction or a data analysis instruction, and an analysis result corresponding to the data analysis is the target data; The displaying of the target data in the first data format comprises: rendering the target data in the first data format onto the first target layer; or displaying the target data in the first data format through a pop-up box.
4. The method of claim 1, wherein, Further comprising: obtaining a second target layer loading instruction; sending a second target layer loading request to the second geographic information system in response to the second target layer loading instruction; after obtaining second target layer data returned by the second geographic information system, performing rendering processing on the second target layer data to display the second target layer data.
5. The method of claim 1, wherein, The first geographic information system is a SuperMap geographic information system, and the second geographic information system is any one of the following geographic information systems: an ArcGIS geographic information system, a GeoServer geographic information system, and a MapServer geographic information system.
6. A geographic information processing system, the geographic information system being a first geographic information system, characterized by comprising: The first obtaining module is configured to obtain a target data acquisition instruction for a first target layer; The sending module is configured to send a target data acquisition request to a second geographic information system in response to the target data acquisition instruction; The conversion module is configured to convert the target data from a second data format into a GeoJSON format after obtaining the target data in the second data format returned by the second geographic information system, and convert the target data from the GeoJSON format into a first data format supported by the first geographic information system; The display module is configured to display the target data in the first data format. The sending of the target data acquisition request to the second geographic information system comprises: Obtaining a data service address corresponding to the first target layer; Analyzing the data service address to determine a geographic information system to which the data service address belongs; If the geographic information system to which the data service address belongs is the second geographic information system, sending a target data acquisition request to the second geographic information system through an access interface corresponding to the second geographic information system, the target data acquisition request carrying the data service address, the content of the target data acquisition request being different, and the access interface corresponding to the second geographic information system being different; The sending of the target data acquisition request to the second geographic information system through the access interface corresponding to the second geographic information system comprises: Encapsulating the data service address into the target data acquisition request according to an encapsulation format supported by the second geographic information system; Sending the target data acquisition request through the access interface. The first geographic information system is provided with an access interface for accessing the second geographic information system. 7.An electronic device comprising: a memory configured to store a program; a processor configured to invoke and execute the program in the memory, and realize each step of the geographic information processing method according to any one of claims 1-5 by executing the program. 8.A readable storage medium having a computer program stored thereon, the computer program being executed by a processor to realize each step of the geographic information processing method according to any one of claims 1-5.
Citation Information
Patent Citations
Map format conversion method and device and electronic equipment
CN113836255A
Navigation method, navigation device, electronic device and storage medium
CN113984086A