Geographic information data display method and device compatible with multiple GIS map engines and medium
Through the unified processing of data formats and standards, as well as a unified coordinate system and projection method, the compatibility issues between different GIS engines are solved, and efficient display of geographic information data and user interaction are achieved.
Patent Information
- Application Number
- CN202510863033.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-25
- Publication Date
- 2025-09-26
AI Technical Summary
In the existing technology, due to the inconsistency of data formats and standards and mismatch of projection coordinate systems among different GIS engines, the display method of geographic information data relies on a single GIS map engine, which limits the compatibility of data and the flexibility of display.
By acquiring geographic information data from multiple GIS map engines, we determine whether the data formats and standards are unified. If not, we perform data standardization and format conversion, and use a unified coordinate system and projection method to display the data, thus solving the compatibility issues between different GIS engines.
It achieves efficient display and user interaction of geographic information data between different GIS map engines, solves the problem of difficulty in data sharing and exchange, and improves data compatibility and display flexibility.
Smart Images

Figure CN120705242A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of geographic information technology, and specifically relates to a geographic information data display method, device and medium compatible with multiple GIS map engines. Background Art
[0002] With the development of geographic information system (GIS) technology, geographic information data is being used more and more widely in many fields such as urban planning, environmental monitoring and traffic management.
[0003] Currently, a diverse range of GIS engines exist on the market, including but not limited to ArcGIS, MapInfo, GeoServer, MapServer, and SuperMap. These engines offer a wealth of geospatial data processing capabilities and analysis tools. With technological advancements, the GIS industry is increasingly focusing on 3D GIS and full-spatial data models, such as oblique photogrammetry and 3D laser scanning. Furthermore, the application of cloud platforms is making traditional GIS services more flexible and scalable. For example, WebGIS technology allows users to access geographic information through a web browser.
[0004] Although there are various GIS engines on the market, due to the lack of unified data formats and standards and mismatched projection coordinate systems among different GIS engines, existing methods for displaying geographic information data often rely on a single specific GIS map engine, which greatly limits the data compatibility and display flexibility. Summary of the Invention
[0005] This application aims to provide a geographic information data display solution that is compatible with multiple GIS map engines. It aims to solve the problem that the existing technology of geographic information data display methods often rely on a single specific GIS map engine, which greatly limits the compatibility of data and the flexibility of display.
[0006] According to the first aspect of the present application, the present application provides a method for displaying geographic information data compatible with multiple GIS map engines, comprising:
[0007] Obtain geographic information data corresponding to each GIS map engine in multiple GIS map engines;
[0008] When exchanging geographic information data corresponding to different GIS map engines, determine whether the geographic information data has a unified data format and standard;
[0009] If it is determined that the geographic information data does not have a unified data format and standard, then the geographic information data is subjected to data standardization and data format conversion processing to obtain geographic information data with a unified format and standard;
[0010] Display geographic information data with unified format and standards according to a unified coordinate system and projection method.
[0011] Preferably, in the above-mentioned geographic information data display method, the step of obtaining geographic information data corresponding to each GIS map engine in multiple GIS map engines includes:
[0012] Determine whether the version difference between multiple GIS map engines is greater than or equal to a predetermined version difference;
[0013] If it is determined that the version difference between the multiple GIS map engines is greater than or equal to the predetermined version difference, the multiple GIS map engines are upgraded to the same version;
[0014] Get geographic information data output by multiple GIS map engines of the same version.
[0015] Preferably, in the above-mentioned geographic information data display method, the step of performing data standardization and data format conversion on the geographic information data to obtain geographic information data with a unified format and standard includes:
[0016] Before importing geographic information data of the current GIS map engine into other GIS map engines, monitor the difference function between the current GIS map engine and other GIS map engines;
[0017] Determine whether the difference function impairs the import and display of geographic information data;
[0018] If the difference function impairs the import and display of geographic information data, use middleware or plug-ins to convert the difference function between the current GIS map engine and other GIS map engines.
[0019] Preferably, in the above-mentioned geographic information data display method, the step of performing data standardization and data format conversion on the geographic information data to obtain geographic information data with a unified format and standard includes:
[0020] Before transferring geographic information data of the current GIS map engine to other GIS map engines, the geographic information data is cleaned and defect preprocessed to obtain defect preprocessed geographic information data;
[0021] Use data conversion tools to convert the data format of geographic information data after defect preprocessing;
[0022] Import the converted geographic information data into other GIS map engines.
[0023] Preferably, in the above-mentioned geographic information data display method, the step of performing data standardization and data format conversion on the geographic information data to obtain geographic information data with a unified format and standard includes:
[0024] In the built-in function plug-in database of the backend server, the function plug-ins corresponding to the different functions in multiple GIS map engines are compared and imported into the function plug-in database;
[0025] When geographic information data is obtained, the corresponding function plug-in is obtained from the function plug-in database using a unified map viewing service program according to the GIS map engine corresponding to the geographic information data;
[0026] Use function plugins to process geographic information data.
[0027] Preferably, in the above-mentioned method for displaying geographic information data, the step of displaying geographic information data with a unified format and standard according to a unified coordinate system and projection method includes:
[0028] Use predefined coordinate system conversion tools to convert geographic information data into a unified coordinate system;
[0029] Use the predetermined projection conversion tool to convert geographic information data into a unified projection system according to the projection parameters corresponding to the target GIS map engine.
[0030] Preferably, in the above-mentioned method for displaying geographic information data, the step of displaying geographic information data with a unified format and standard according to a unified coordinate system and projection method includes:
[0031] Get the Vue component in the target web page environment where the geographic information data is located;
[0032] Use Vue components to compile the target web page corresponding to the geographic information data to obtain an HTML file;
[0033] Inject the rendering effect code corresponding to the target rendering effect into the HTML file to obtain the HTML rendered text;
[0034] In the target web page environment, use HTML to render text to display geographic information data.
[0035] Preferably, in the above-mentioned method for displaying geographic information data, the step of displaying geographic information data with a unified format and standard according to a unified coordinate system and projection method includes:
[0036] A unified font library is built into the backend server, which integrates special fonts corresponding to different GIS map engines;
[0037] Establish a mapping relationship between special fonts and standard fonts;
[0038] Special fonts in geographic information data are converted into standard fonts according to the mapping relationship;
[0039] For the geographic information data converted into a standard font, a data file copy corresponding to the geographic information data is generated;
[0040] Use the unified image viewing service program mentioned above to display a copy of the data file.
[0041] According to the second aspect of the present application, the present application further provides a geographic information data display device compatible with multiple GIS map engines, comprising:
[0042] A data acquisition module is used to obtain geographic information data corresponding to each GIS map engine in multiple GIS map engines;
[0043] The data judgment module is used to judge whether the geographic information data has a unified data format and standard when exchanging geographic information data corresponding to different GIS map engines;
[0044] A data processing module is used to perform data standardization and data format conversion on the geographic information data if it is determined that the geographic information data does not have a unified data format and standard, so as to obtain geographic information data with a unified format and standard;
[0045] The data display module is used to display geographic information data with unified format and standards according to a unified coordinate system and projection method.
[0046] According to the third aspect of the present application, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the program, it implements a geographic information data display method compatible with multiple GIS map engines as provided in any of the above technical solutions.
[0047] According to the fourth aspect of the present application, the present application also provides a computer storage medium on which a computer program is stored. When the computer program is executed, a geographic information data display method compatible with multiple GIS map engines as provided by any of the above technical solutions is implemented.
[0048] The technical solution of this application has at least the following technical effects:
[0049] The present application provides a geographic information data display solution compatible with multiple GIS map engines. By obtaining the geographic information data corresponding to each GIS map engine in multiple GIS map engines, when exchanging geographic information data of different GIS map engines, it is determined whether the geographic information data has a unified data format and standard. If it does not have a unified data format and standard, the format standard of the data is unified to obtain geographic information data with a unified format and standard. This can solve the problem of data sharing and exchange difficulties caused by different GIS software using different data formats and standards. After obtaining the geographic information data with a unified format and standard, the geographic information data with a unified format and standard is displayed according to a unified coordinate system and projection method. This can be compatible with the coordinate systems and projection methods of different GIS map engines, solving the problem of complex conversion caused by different GIS software using different projections and coordinate systems. Through the above method, a unified data format and standard can be used to display the geographic information systems corresponding to different GIS map engines in a unified coordinate system and projection method, thereby solving the problem that the existing technology relies on a specific GIS map engine, restricting the compatibility and display flexibility of map information data, and realizing efficient display and user interaction of geographic information data. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0051] Figure 1 A flowchart of a first method for displaying geographic information data compatible with multiple GIS map engines provided in an embodiment of the present application;
[0052] Figure 2 for Figure 1 A schematic flow chart of a method for acquiring geographic information data provided by the illustrated embodiment;
[0053] Figure 3 for Figure 1 A schematic flow chart of a first method for unifying data formats and standards provided by the illustrated embodiment;
[0054] Figure 4 for Figure 1 A schematic flow chart of a second data format and standard unification method provided by the illustrated embodiment;
[0055] Figure 5 for Figure 1 A schematic flow chart of a third data format and standard unification method provided by the illustrated embodiment;
[0056] Figure 6 for Figure 1 A schematic flow chart of a first method for unifying coordinates and projections of geographic information provided by the illustrated embodiment;
[0057] Figure 7 for Figure 1 A schematic flow chart of a second method for unifying coordinates and projections of geographic information provided by the illustrated embodiment;
[0058] Figure 8 A flowchart of a second method for displaying geographic information data compatible with multiple GIS map engines provided in an embodiment of the present application;
[0059] Figure 9 A schematic diagram of the structure of a geographic information data display device compatible with multiple GIS map engines provided in an embodiment of the present application;
[0060] Figure 10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] In order to more clearly illustrate the overall concept of the present application, a detailed description is given below in an illustrative manner in conjunction with the accompanying drawings.
[0062] The following description sets forth many specific details to facilitate a thorough understanding of the present application. However, the present application may also be implemented in other ways than those described herein, and therefore, the scope of protection of the present application is not limited by the specific embodiments disclosed below. It should be noted that the embodiments of the present application and the features of each embodiment may be combined with each other unless there is a conflict.
[0063] In this application, unless otherwise clearly specified and limited, a first feature "above" or "below" a second feature may be that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in an appropriate manner in any one or more embodiments or examples.
[0064] The existing technology has the following defects:
[0065] There are various GIS engines on the market. However, due to the inconsistency of data formats and standards and mismatch of projection coordinate systems among different GIS engines, existing methods of displaying geographic information data often rely on a single specific GIS map engine, which greatly limits the compatibility of data and the flexibility of display.
[0066] To solve the above problems, the following embodiments of this application provide a geographic information data display solution that is compatible with multiple GIS map engines. By unifying data formats and standardization, and using a unified projection and coordinate system to display geographic information data from different GIS map engines, it is possible to be compatible with geographic information data corresponding to different GIS map engines, thereby achieving efficient display of geographic information data and user interaction.
[0067] To achieve the above purpose, see Figure 1 , Figure 1 The following is a flow chart of a method for displaying geographic information data compatible with multiple GIS map engines provided in the embodiment of the present application. Figure 1 As shown, the geographic information data display method includes:
[0068] S110: Obtain geographic information data corresponding to each GIS map engine in multiple GIS map engines.
[0069] Existing GIS data display methods often rely on specific GIS map engines. Different versions of GIS map engines are often incompatible, which limits data compatibility and display flexibility. The embodiments of the present application address the above issues and can make geographic information data between two or more GIS map engines compatible.
[0070] Specifically, due to version compatibility issues, different versions of GIS software may have different data structures and file formats, resulting in compatibility issues when exchanging data between different versions. To solve this problem, the embodiment of this application requires version matching. Figure 2 In the method for displaying geographic information data compatible with multiple GIS map engines provided in the embodiment of the present application, the above-mentioned step S110: the step of obtaining geographic information data of multiple GIS map engines includes:
[0071] S111: Determine whether the version difference between the multiple GIS map engines is greater than or equal to the predetermined version difference.
[0072] S112: If it is determined that the version difference between the multiple GIS map engines is greater than or equal to the predetermined version difference, the multiple GIS map engines are upgraded to the same version.
[0073] S113: Obtain geographic information data output by the GIS map engine of the same version.
[0074] The technical solution provided by the embodiments of this application allows for the use of different versions of GIS software. Before exchanging data, the differences between the two versions should be understood. If the differences are significant, both software versions should be upgraded to the same version to avoid compatibility issues. This method enables version unification across multiple GIS maps, improving the compatibility of geographic information data output by different GIS map engines.
[0075] In addition, different GIS map engines may use different data formats and standards, which makes data sharing and exchange difficult. Because different GIS manufacturers have different software format standards, it is very troublesome for a project or engineering, and may even delay the progress and affect the accuracy of project functions. To solve this problem, Figure 1 The technical solution provided by the illustrated embodiment, after obtaining geographic information data from multiple GIS map engines, further includes:
[0076] S120: When exchanging geographic information data corresponding to different GIS map engines, determine whether the geographic information data has a unified data format and standard.
[0077] S130: If it is determined that the geographic information data does not have a unified data format and standard, data standardization and data format conversion are performed on the geographic information data to obtain geographic information data with a unified format and standard.
[0078] The technical solution provided in the embodiments of the present application unifies the data formats and standards of geographic information data corresponding to different GIS map engines through function comparison and adaptation, data cleaning and preprocessing, format conversion, etc. Through the above methods, geographic information data with unified formats and standards can be obtained, thereby achieving data compatibility between GIS map engines of different versions and types, and improving the efficient cross-GIS processing and display of geographic information data in the same project.
[0079] In view of the functional differences of different GIS map engines, in order to implement the above solution, as a preferred embodiment, Figure 3 As shown, step S130: performing data standardization and data format conversion on geographic information data to obtain geographic information data with a unified format and standard, includes:
[0080] S131: Before importing geographic information data of the current GIS map engine into other GIS map engines, monitoring the difference function between the current GIS map engine and other GIS map engines;
[0081] S132: Determine whether the difference function impairs the import and display of geographic information data;
[0082] S133: If the difference function impairs the import and display of the geographic information data, use middleware or plug-in to convert the difference function between the current GIS map engine and the other GIS map engines.
[0083] The technical solutions provided by the embodiments of this application enable functional comparison and adaptation between GIS map engines. Specifically, when transferring data from one GIS software to another, it is important to first understand the functional differences between the two software. If there are specific functions that cannot be converted, alternative methods can be used to find or bypass the function.
[0084] The embodiments of this application utilize middleware or plug-ins to achieve functional conversion. Specifically, middleware or plug-ins may exist for specific GIS map engines. These middleware or plug-ins can facilitate data import and export, as well as conversion between different GIS engines. For example, the Cesium for Unreal plug-in allows the use of 3D Tiles as spatial indexes in Unreal Engine, enabling the integration of GIS data with the game engine.
[0085] In addition, in view of the inconsistency of data formats, the embodiments of the present application can achieve data format conversion. Specifically, as a preferred embodiment, Figure 4 As shown, the above step S130: performing data standardization and data format conversion processing on geographic information data to obtain geographic information data with a unified format and standard, includes:
[0086] S134: Before transferring the geographic information data of the current GIS map engine to other GIS map engines, perform data cleaning and defect preprocessing on the geographic information data to obtain geographic information data after defect preprocessing.
[0087] S135: Use a data conversion tool to convert the data format of the geographic information data after defect preprocessing.
[0088] S136: Importing the geographic information data after data format conversion into other GIS map engines.
[0089] The technical solution provided in the embodiment of the present application can achieve data cleaning and preprocessing, as well as data format conversion. For data cleaning and preprocessing, data cleaning and preprocessing are first performed before the data is imported into different GIS engines, including cleaning missing values, outliers and duplicate values, etc., to ensure the accuracy and consistency of the data. In addition, for data format conversion, different GIS engines may support different data formats. Commonly used data conversion software includes GDAL / OGR and FME, which support conversion between multiple GIS data formats. For example, use the ogr2ogr tool to convert a Shapefile to a GeoJSON file.
[0090] In addition, the embodiment of the present application can also unify the geographic information data exported by different GIS map engines into a map viewing service program for unified viewing. The map viewing service program integrates functional plug-ins of different GIS map engines to realize the functions of different GIS map engines.
[0091] Specifically, as a preferred embodiment, Figure 5 As shown, in the above-mentioned method for displaying geographic information data compatible with multiple GIS map engines, step S130: performing data standardization and data format conversion on the geographic information data to obtain geographic information data with a unified format and standard, includes:
[0092] S137: comparing the function plug-in database built into the backend server and importing the function plug-ins corresponding to the different functions in the multiple GIS map engines into the function plug-in database;
[0093] S138: When the geographic information data is obtained, a unified map viewing service program is used to obtain a corresponding function plug-in from a function plug-in database according to the GIS map engine corresponding to the geographic information data;
[0094] S139: Use the functional plug-in to process the geographic information data to display the geographic information data.
[0095] The technical solution provided by the embodiment of the present application realizes the functions of different GIS map engines by building a function plug-in database in the background server and importing a large number of function plug-ins of different GIS map engines into the function plug-in database. In this way, a unified map viewing server program can use the function plug-ins to view different types of geographic information data at one time. In this way, the compatibility of different types of geographic information data can be achieved.
[0096] Figure 1 The technical solution provided by the illustrated embodiment, after performing data standardization and data format conversion on geographic information data to obtain geographic information data with a unified format and standard, further includes:
[0097] S140: Display geographic information data with unified format and standards according to a unified coordinate system and projection method.
[0098] Specifically, to solve the problem of projection mismatch, as a preferred embodiment, Figure 6 As shown, in the above-mentioned method for displaying geographic information data compatible with multiple GIS map engines, step S140: displaying geographic information data with a unified format and standard according to a unified coordinate system and projection method, includes:
[0099] Step S141: using a predetermined coordinate system conversion tool to convert geographic information data into a unified coordinate system.
[0100] Step S142: using a predetermined projection conversion tool, the geographic information data is converted into a unified projection system according to the projection parameters corresponding to the target GIS map engine.
[0101] In the technical solution provided by the embodiment of the present application, if the data projection does not match, projection conversion needs to be performed. Most GIS software provides projection conversion tools (such as ArcGIS, QGIS and online projection conversion tools) that can convert data from one projection system to another. When performing projection conversion, be sure to select the correct projection parameters and settings. In addition, for the problem of coordinate mismatch, the embodiment of the present application will ensure that all data sets use the same coordinate system through a unified coordinate system.
[0102] Unifying coordinate systems typically involves coordinate system conversion, which is achieved in embodiments of the present application using GIS software such as ArcGIS or QGIS. For example, in ArcGIS, the "Define Projection" tool can be used to define the correct geographic coordinate system or projected coordinate system for a dataset. In QGIS, coordinate system unification can also be achieved by selecting the correct target projection when exporting data.
[0103] In addition, existing GIS map engines have performance and rendering limitations. Especially in a web environment, GIS rendering performance is relatively weak due to factors such as the JavaScript execution environment and the browser's security sandbox. This application can improve the rendering capabilities of GIS map engines by using middleware or plug-ins.
[0104] Specifically, as a preferred embodiment, Figure 7 As shown, step S140 of the above-mentioned method for displaying geographic information data compatible with multiple GIS map engines: displaying geographic information data with a unified format and standard according to a unified coordinate system and projection method includes:
[0105] S143: Obtain the Vue component in the target web page environment where the geographic information data is located;
[0106] S144: Use the Vue component to compile the target webpage corresponding to the geographic information data to obtain an HTML file;
[0107] S145: injecting rendering effect code into the HTML file according to the target rendering effect of the geographic information data to obtain HTML rendering text;
[0108] S146: In the target web page environment, use HTML to render text to display geographic information data.
[0109] In addition, as a preferred embodiment, in the above-mentioned method for displaying geographic information data, the step of displaying geographic information data with a unified format and standard according to a unified coordinate system and projection method includes:
[0110] A unified font library is built into the backend server, which integrates special fonts corresponding to different GIS map engines;
[0111] Establish a mapping relationship between special fonts and standard fonts;
[0112] Special fonts in different GIS geographic information data are converted into standard fonts according to the mapping relationship.
[0113] The embodiment of the present application establishes a mapping relationship between special fonts and standard fonts, so that the text of geographic information data generated by different GIS map engines can be displayed using standard fonts.
[0114] For the geographic information data converted into a standard font, a data file copy corresponding to the geographic information data is generated; for example, a data file copy in PDF format.
[0115] Use the above-mentioned unified image viewing service program to display the data file copy.
[0116] Because geographic information data is too complex, it can be slow to open. Furthermore, some geographic information data needs to be kept confidential, requiring special methods to make its original files public. Generating a copy of the data file corresponding to the geographic information data can hide the special information in the original file, improving data confidentiality.
[0117] At this time, using a unified map viewing service program to display a copy of the data file corresponding to the geographic information data can improve the data display efficiency and enhance the confidentiality of the geographic information data.
[0118] In summary, the present application provides a method for displaying geographic information data compatible with multiple GIS map engines. By obtaining the geographic information data corresponding to each GIS map engine in multiple GIS map engines, when exchanging geographic information data of different GIS map engines, it is determined whether the geographic information data has a unified data format and standard. If it does not have a unified data format and standard, the format standard of the data format is unified, thereby obtaining geographic information data with a unified format and standard. This can solve the problem of data sharing and exchange difficulties caused by different GIS software using different data formats and standards; after obtaining the geographic information data with a unified format and standard, the geographic information data with a unified format and standard is displayed according to a unified coordinate system and projection method, which can be compatible with the coordinate systems and projection methods of different GIS map engines, solving the problem of complex conversion caused by different GIS software using different projections and coordinate systems. Through the above method, a unified data format and standard can be used to display the geographic information systems corresponding to different GIS map engines in a unified coordinate system and projection method, thereby solving the problem that the existing technology relies on a specific GIS map engine, restricting the compatibility and display flexibility of map information data, and realizing efficient display and user interaction of geographic information data.
[0119] In addition, if Figure 8 As shown, this application also provides a geographic information data display method compatible with multiple GIS map engines, including:
[0120] S201: Version matching.
[0121] S202: Function comparison and adaptation.
[0122] S203: Data cleaning and preprocessing.
[0123] S204: Data format conversion.
[0124] S205: Unify the coordinate system.
[0125] S206: Processing projection mismatch.
[0126] In summary, the technical solutions provided by the embodiments of this application can improve data compatibility and display flexibility. Specifically, the technical solutions adopted by this application are as follows: data preprocessing, which converts and cleans the input geographic information data to adapt to different GIS map engines; engine adaptation, which adapts the preprocessed data to at least two different GIS map engines, such as ArcGIS, MapInfo, GeoServer, and MapServer; data display, which uses the adapted GIS map engine to visualize the data; and user interaction, which allows users to interact with the displayed data through the interface and make real-time adjustments to the display effect.
[0127] In addition, the beneficial effects of the product embodiments provided in the following embodiments of this application are the same as the beneficial effects of the geographic information data display method compatible with multiple GIS map engines provided in the above embodiments, and the other technical features in the product embodiments are the same as the features disclosed in the above embodiment methods, which will not be repeated here.
[0128] See also Figure 9 , Figure 9 This is a schematic diagram of the structure of a geographic information data display device compatible with multiple GIS map engines provided in an embodiment of the present application. Figure 9 As shown, the geographic information data display device includes:
[0129] The data acquisition module 110 is used to acquire geographic information data corresponding to each of the multiple GIS map engines;
[0130] The data judgment module 120 is used to judge whether the geographic information data has a unified data format and standard when exchanging geographic information data corresponding to different GIS map engines;
[0131] The data processing module 130 is configured to perform data standardization and data format conversion on the geographic information data to obtain geographic information data with a unified format and standard if it is determined that the geographic information data does not have a unified data format and standard;
[0132] The data display module 140 is used to display geographic information data with a unified format and standard according to a unified coordinate system and projection method.
[0133] Reference below Figure 10 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present application. The electronic devices in the embodiments of the present application can include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 10 The device shown is only an example and should not limit the functions and scope of use of the embodiments of the present application.
[0134] like Figure 10As shown, the electronic device can include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. Various programs and data required for the operation of the electronic device are also stored in RAM 1004. The processing device 1001, ROM 1002, and RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can enable the above-mentioned electronic devices to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a model building device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0135] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the geographic information data display and viewing method that supports cross-platform font configuration and is compatible with multiple GIS map engines in the above-mentioned embodiment.
[0136] The computer-readable storage medium provided in this application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0137] The computer-readable storage medium carries one or more programs that, when executed by the model building device, can be written in one or more programming languages or a combination thereof to write computer program code for performing the operations of the present application, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, via the Internet using an Internet service provider).
[0138] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented using a dedicated hardware-based system that performs the specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.
[0139] The modules described in the embodiments of the present application can be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0140] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments.
[0141] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included in the protection scope of the present application.
Claims
1. A method for displaying geographic information data compatible with multiple GIS map engines, characterized in that: include: Obtain geographic information data corresponding to each GIS map engine in multiple GIS map engines; When exchanging geographic information data corresponding to different GIS map engines, determine whether the geographic information data has a unified data format and standard; If it is determined that the geographic information data does not have a unified data format and standard, then performing data standardization and data format conversion processing on the geographic information data to obtain geographic information data with a unified format and standard; The geographic information data in the format and standard are displayed in accordance with a unified coordinate system and projection method.
2. The method according to claim 1, wherein The step of obtaining geographic information data corresponding to each of the multiple GIS map engines includes: Determining whether the version difference between the multiple GIS map engines is greater than or equal to a predetermined version difference; If it is determined that the version difference between the multiple GIS map engines is greater than or equal to the predetermined version difference, the multiple GIS map engines are upgraded to the same version; Get geographic information data output by multiple GIS map engines of the same version.
3. The method according to claim 1, wherein The step of performing data standardization and data format conversion on the geographic information data to obtain geographic information data with a unified format and standard includes: Before importing geographic information data of the current GIS map engine into other GIS map engines, monitor the difference function between the current GIS map engine and other GIS map engines; determining whether the difference function impairs the importation and display of the geographic information data; If the difference function impairs the import and display of the geographic information data, a middleware or plug-in is used to convert the difference function between the current GIS map engine and the other GIS map engines.
4. The method according to claim 1, wherein The step of performing data standardization and data format conversion on the geographic information data to obtain geographic information data with a unified format and standard includes: Before transferring geographic information data of a current GIS map engine to another GIS map engine, performing data cleaning and defect preprocessing on the geographic information data to obtain defect-preprocessed geographic information data; Using a data conversion tool, converting the data format of the geographic information data after the defect preprocessing; The geographic information data after data format conversion is imported into the other GIS map engine.
5. The method according to claim 1 or 3, wherein: The step of performing data standardization and data format conversion on the geographic information data to obtain geographic information data with a unified format and standard includes: Importing the function plug-ins corresponding to the different functions in the multiple GIS map engines into the function plug-in database built into the backend server; When the geographic information data is obtained, a unified map viewing service program is used to obtain a corresponding function plug-in from the function plug-in database according to the GIS map engine corresponding to the geographic information data; The geographic information data is processed using the functional plug-in.
6. The method according to claim 1, wherein The step of displaying the geographic information data in a unified format and standard according to a unified coordinate system and projection method includes: Using a predetermined coordinate system conversion tool, converting the geographic information data into a unified coordinate system; The geographic information data is converted into a unified projection system using a predetermined projection conversion tool according to the projection parameters corresponding to the target GIS map engine.
7. The method according to claim 1, wherein The step of displaying the geographic information data in a unified format and standard according to a unified coordinate system and projection method includes: Obtain the Vue component in the target webpage environment where the geographic information data is located; Use the Vue component to compile the target web page corresponding to the geographic information data to obtain an HTML file; Injecting rendering effect code corresponding to the target rendering effect into the HTML file to obtain HTML rendered text; In the target web page environment, the geographic information data is displayed using the HTML rendered text.
8. The method according to claim 5, wherein The step of displaying the geographic information data in a unified format and standard according to a unified coordinate system and projection method includes: A unified font library is built into the backend server, and the unified font library integrates special fonts corresponding to different GIS map engines; Establishing a mapping relationship between the special font and the standard font; Convert special fonts in geographic information data into standard fonts according to the mapping relationship; For the geographic information data converted into a standard font, generating a data file copy corresponding to the geographic information data; The unified image viewing service program is used to display the data file copy.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for displaying geographic information data compatible with multiple GIS map engines as described in any one of claims 1 to 8 is implemented.
10. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the method for displaying geographic information data compatible with multiple GIS map engines as described in any one of claims 1 to 8 is implemented.