A method and device for uploading a resource map

By associating Internet maps with 2D maps, configuring and displaying resources, it solves the problem of difficulty in integrating 2D maps with upper map resources, achieves rapid switching of multiple map services and efficient resource display, and reduces development costs and difficulties.

CN118245694BActive Publication Date: 2024-08-23智广海联(天津)大数据技术有限公司 +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410644053.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-23
Estimated Expiration
2044-05-23

AI Technical Summary

Technical Problem

In the existing technology, it is difficult to integrate the above-mentioned map resources with two-dimensional maps, and cannot effectively solve the problem of map resource replacement and display.

Method used

By associating the Internet map with the 2D map, configuring the map resource information, inputting the legend resources into the data table, and displaying the resources on the 2D map according to the preset requirements, it supports rapid switching of multiple map services and efficient resource mapping.

Benefits of technology

It realizes fast switching of multiple map services and efficient resource mapping, which reduces development costs. Non-developers can also easily maintain and display map resources, improving work efficiency and comprehensive data display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118245694B
    Figure CN118245694B
Patent Text Reader

Abstract

The present invention discloses a method and device for mapping resources. The invention includes: associating at least one Internet map with a two-dimensional map, the two-dimensional map displays any Internet map and any Internet map resource, wherein the Internet map resource is a resource on the Internet map; configuring mapping resource information according to preset demand resources and Internet map resources, setting default mapping resources according to preset demand resources, wherein the preset demand is a resource that needs to be displayed on the two-dimensional map; entering legend resources into a data table according to the mapping resource information and uploading the data table, wherein the types of legend resources include point resources, line resources, surface resources, point-surface resources, and thermal resources; and displaying preset demand resources on the two-dimensional map according to the data table. Through the present invention, the problem of difficulty in replacing mapping resources on a two-dimensional map in the related art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of map service technology, and in particular to a method and device for mapping resources. Background Art

[0002] With the rapid development of my country's economy, one-network management of urban operations is the primary task to improve the level of modernization of urban governance, and is an important breakthrough for comprehensively promoting digital reform and creating "hard-core" results. "One Picture for Data" provides convenient, intuitive, and vivid business data display and analysis applications for government personnel, improves the level of intelligent business decision-making, and prompts government personnel to gradually shift from relying on experience to relying on data. It allows enterprises to quickly implement it in the process of implementation to meet the monitoring needs of different government commissions and offices.

[0003] In the related technologies, there is no effective solution to the technical problem of the difficulty of integrating two-dimensional maps with upper map resources. Summary of the invention

[0004] The main purpose of the present application is to provide a method and device for mapping resources, so as to at least solve the problem of difficulty in replacing resources on a two-dimensional map in the related art.

[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for mapping resources is provided. The method includes: associating at least one Internet map with a two-dimensional map, wherein the two-dimensional map displays any Internet map and any Internet map resource, wherein the Internet map resource is a resource on the Internet map; configuring the mapping resource information according to the preset demand resources and the Internet map resources, and setting the default mapping resource according to the preset demand resources, wherein the preset demand is a resource that needs to be displayed on the two-dimensional map; entering the legend resource into a data table according to the mapping resource information and uploading the data table, wherein the types of the legend resource include point resources, line resources, surface resources, point-surface resources, and thermal resources; and displaying the preset demand resources on the two-dimensional map according to the data table.

[0006] Optionally, the coordinate system data of the Internet map is converted into a standard form; and a center point of the Internet map is set, wherein the center point of the Internet map includes an overall center point and an administrative division center point.

[0007] Optionally, the longitude, latitude and name corresponding to the legend resource are entered into a sheet page, wherein one type of legend resource corresponds to one sheet page.

[0008] Optionally, after entering the data form, verify the data form; interrupt the upload of the data form that fails the verification and give a prompt.

[0009] Optionally, determine whether the content of the sheet page corresponds to the type of the legend resource corresponding to the sheet page; and determine whether the format of the data entered in the data table is correct.

[0010] Optionally, each uploaded data table is stored, wherein each uploaded data table corresponds to a different version number; when the data table needs to be modified, any version of the data table is exported.

[0011] Optionally, the above resources are displayed on a two-dimensional map by default; set the display resources according to display requirements.

[0012] According to another aspect of the present application, a device for mapping resources is provided. The device includes: an association unit, which is used to associate at least one Internet map with a two-dimensional map, and the two-dimensional map displays any Internet map and any Internet map resource, wherein the Internet map resource is a resource on the Internet map; a configuration unit, which is used to configure the mapping resource information according to the preset demand resources and the Internet map resources, and set the default mapping resource according to the preset demand resources, wherein the preset demand is the resource that needs to be displayed on the two-dimensional map; an input unit, which is used to input the legend resource into a data table according to the mapping resource information and upload the data table, wherein the types of the legend resource include point resources, line resources, surface resources, point-surface resources and thermal resources; a display unit, which is used to display the preset demand resources on the two-dimensional map according to the data table.

[0013] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer-readable storage medium is provided, the computer-readable storage medium comprising a stored program, wherein the program executes any one of the above-mentioned methods for mapping a resource.

[0014] According to another aspect of the present application, there is provided an electronic device, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include a resource for executing any one of the methods shown above.

[0015] Through this application, the following steps are adopted: at least one Internet map is associated with a two-dimensional map, and the two-dimensional map displays any Internet map and any Internet map resource, wherein the Internet map resource is a resource on the Internet map; based on preset demand resources and Internet map resources, the upper map resource information is configured, and the default upper map resource is set according to the preset demand resources, wherein the preset demand is the resource that needs to be displayed on the two-dimensional map; according to the upper map resource information, the legend resource is entered into a data table and the data table is uploaded, wherein the types of legend resources include point resources, line resources, surface resources, point-surface resources and thermal resources; according to the data table, the preset demand resources are displayed on the two-dimensional map, which solves the problem of difficulty in replacing the upper map resources of the two-dimensional map in the related technology, thereby achieving the effect of realizing fast switching of multiple map services and efficient resource mapping. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 A hardware structure block diagram of a mobile terminal for executing a method for uploading a resource provided in an embodiment of the present application is shown;

[0018] Figure 2 It is a flowchart of a method for mapping resources provided according to an embodiment of the present application;

[0019] Figure 3 It is a structural block diagram of a resource device provided according to an embodiment of the present application.

[0020] The above drawings include the following reference numerals:

[0021] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION

[0022] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] As introduced in the background technology, in the prior art, there are too few map resources and it is impossible to classify and view map resources. To solve the problem of difficulty in fusing map resources on a two-dimensional map, the embodiments of the present application provide a method and device for mapping resources.

[0026] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0027] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal of a resource uploading method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0028] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the method of the resource diagram in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0029] In this embodiment, a method for mapping resources running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0030] Figure 2 FIG. 1 is a flow chart of a method for mapping resources according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:

[0031] Step S201, associating at least one Internet map with a two-dimensional map, wherein the two-dimensional map displays any Internet map and any Internet map resource, wherein the Internet map resource is a resource on the Internet map;

[0032] Specifically, multiple Internet maps are converted into a unified form to facilitate the use of coordinates in the Internet map in the subsequent map uploading process. Each Internet map has a large number of map resources, and the resources displayed in the map uploading process are also derived from the Internet map. Through the built-in coordinate system conversion algorithm, the data of various coordinate systems are uniformly converted into a standard form that can be used for map uploading calculations and output. This solves the technical problem that one map cannot meet the needs of multiple scenarios, achieves the technical effect of integrating information resources of multiple maps, and facilitates user viewing and use.

[0033] Step S202, configuring the upper map resource information according to the preset demand resources and the Internet map resources, and setting the default upper map resource according to the preset demand resources, wherein the preset demand is the resource that needs to be displayed on a two-dimensional map;

[0034] Specifically, select the preset required resources from the Internet map resources, configure the resource information on the map, add resource legends, delete, modify, drag and drop to adjust the sorting position, and configure whether the legend icon is displayed and whether to default to the map. The default map resource will be directly displayed on the two-dimensional map when the resource is mapped. Set the display information according to the preset required resources. It makes it more convenient for users to use and improves work efficiency.

[0035] Step S203, entering the legend resources into a data table according to the resource information of the above diagram and uploading the data table, wherein the types of legend resources include point resources, line resources, surface resources, point-surface resources and thermal resources;

[0036] Specifically, configure point resources: you can set the scattered point icon in the above picture, the icon effect after clicking, whether to display text, the default text effect and the effect after clicking, and the display position. Configure surface resources: you can set the default and click effects of the surface in the above picture, the effects before and after clicking the scattered point icon, whether to display text, and the default text effect and the effect after clicking. Configure line resources: you can set the default and click effects of the line in the above picture, whether to display text, the default text effect and the effect after clicking, whether to display animated images, and dynamically support uploading. Configure thermal resources: you can set the thermal type of the above picture, including the radius of a single point, transparency, blur, gradient color blocks, etc. After the above steps are set, you can download the Excel template and maintain the data in Excel according to the legend name, and import the data to complete the whole set of settings. And it supports two upload methods, Excel files or compressed packages. The configuration of resources enriches the types of data viewed by users and displays them more comprehensively. And through a simple table, the above picture operation can be realized, which reduces the difficulty of use. Solve the technical problem of difficult data maintenance in the above picture.

[0037] Step S204, displaying the preset demand resources on a two-dimensional map according to the data table;

[0038] Specifically, the data table contains the data of the legend that the user needs to display. When displaying resources on a two-dimensional map, the user can choose which resources to display according to his or her needs, and can also choose to replace the Internet map for display.

[0039] Through this embodiment, in the presentation of a two-dimensional map, different businesses or different scenarios require different data, and it is necessary to face the need to replace data and do data governance. This method solves the problem of not needing developers, as long as the operation and maintenance personnel who can operate Excel can maintain it. In the face of temporary demonstration reports, data can be replaced on the spot without being in a hurry. Through this method, costs can be saved, and non-developers can get started. The delivery speed is fast, and resources can be quickly displayed on the map through this tool, avoiding the need to do data governance during the previous demonstration. Two-dimensional GIS docking realizes multi-map services, can quickly switch maps, and reduce secondary development investment.

[0040] In an optional embodiment, the coordinate system data of the Internet map is converted into a standard form, and the map is loaded using openlayers, because openlayers is a javascript library package for developing Web GIS clients. Loading different map tiles requires coordinate projection and the corresponding coordinate system before they can be displayed on the map. The imported data is in the unified standard WGS-84 coordinate system format. When switching different maps, the coordinates of the above map will be converted into corresponding coordinates. Set the center point of the Internet map, where the center point of the Internet map includes the overall center point and the administrative division center point. In the basic configuration, you can configure and select several built-in Internet maps for switching, as well as select the overall center point of the map online, and support quick positioning of the administrative division selection center point.

[0041] Specifically, the steps to configure the loading of offline maps are as follows: Define Internet map projection: In order to achieve non-offset loading of Internet map offline tiles, because some Internet maps have their own unique projection system, it is necessary to customize the projection in openlayers. The core file for its implementation is bd09.js. Load offline tiles: This cannot be used , Designed for another Internet map, the two Internet maps use different projections, resolutions, and tile grids. Therefore, for the former Internet map, we use Customize the projection, resolution, and tile grid.

[0042] Specifically, the first step is to convert from WGS84 to GCJ02;

[0043] public static double[]transformWGS84ToGCJ02(double lng, double lat){if (outOfChina(lng, lat)) {

[0044] return new double[]{lng, lat};

[0045] } else {

[0046] double dLat=transformLat(lng-105.0,lat-35.0);

[0047] double dLng=transformLng(lng-105.0,lat-35.0);

[0048] double redLat = lat / 180.0 * PI;

[0049] double magic = Math.sin(redLat);

[0050] magic = 1 - EE * magic * magic;

[0051] double sqrtMagic = Math.sqrt(magic);

[0052] dLat=(dLat*180.0) / ((A*(1-EE)) / (magic*sqrtMagic)*PI);

[0053] dLng=(dLng*180.0) / (A / sqrtMagic*Math.cos(redLat)*PI);

[0054] double mgLat = lat + dLat;

[0055] double mgLng = lng + dLng;

[0056] return new double[]{mgLng, mgLat};

[0057] }

[0058] }

[0059] Step 2: Convert the converted GCJ02 into BD09 again;

[0060] public static double[] transformGCJ02ToBD09(double lng, double lat){

[0061] double z=Math.sqrt(lng*lng+lat*lat)+0.00002*Math.sin(lat*X_PI);

[0062] double theta=Math.atan2(lat,lng)+0.000003*Math.cos(lng*X_PI);

[0063] double bd_lng = z * Math.cos(theta) + 0.0065;

[0064] double bd_lat = z * Math.sin(theta) + 0.006;

[0065] return new double[]{bd_lng, bd_lat};

[0066] }

[0067] In an optional embodiment, the longitude, latitude and name corresponding to the legend resource are entered into a sheet page, wherein one type of legend resource corresponds to one sheet page.

[0068] Specifically, the sheet page is named after the name of the legend resource, and longitude, latitude and name are required items. Other information can be filled in as needed to facilitate subsequent query of data information.

[0069] In an optional embodiment, after the data form is entered, the data form is verified; uploading of the data form that fails the verification is interrupted and a prompt is given.

[0070] Specifically, after uploading the data form, the correctness and completeness of the data in the data form are verified. After verifying that the data form is incorrect, the data form upload is interrupted and the user is prompted that the data form is incorrect. The user can fill in the form again and continue the verification after uploading it again.

[0071] In an optional embodiment, it is determined whether the content of the sheet page corresponds to the type of the legend resource corresponding to the sheet page; and it is determined whether the format of the data entered in the data table is correct.

[0072] Specifically, the file size format is verified based on the uploaded Excel file, and then each sheet tab is identified and judged one by one with the legend tree. The table data format is judged according to different types. If the format does not match or the latitude and longitude format is incorrect, the upload will be interrupted and a prompt will be given. After the local modification is completed according to the prompt, the inspection will be repeated. After the inspection is completed, the data will continue to be uploaded and identified and stored until all the data is correct and merged into the inventory table.

[0073] In an optional embodiment, each uploaded data table is stored, wherein each uploaded data table corresponds to a different version number; when the data table needs to be modified, any version of the data table is exported.

[0074] Specifically, the system will record the results of each data upload and support data version switching. You don't have to worry about data loss and can roll back the data version at any time. Implementation method: Each data import and update will record a data version of this time, and add 1 based on the last version. Users can set the version number as needed; at the same time, insert a new data table into this version. When switching to the historical version, the corresponding data relationship will be found according to the version number for display switching. If there is new data that needs to be modified and maintained, don't worry about not being able to find the last Excel data file. You can export the latest version of the data online and edit it on this basis. Convenient data maintenance.

[0075] In an optional embodiment, the default map resource is displayed on the two-dimensional map; the display resource is set according to the display requirements. The default map resource is directly displayed on the two-dimensional map when the two-dimensional map is displayed, without the user's special selection. For the remaining map resources, the user can select according to the display requirements. The default map resource can also be selected to be displayed or not.

[0076] Specifically, when the cockpit 2D GIS is displayed, it will be calculated according to the configured information. First, verify whether there is a default map resource configured. If so, draw the graphics directly on the map and present it according to the style effect configured in the back end. At the same time, click to view the details in a pop-up window. The default map is read from the default map legend set, and the data under these legends and the legend type data are returned to the front end. The front end displays the effect after GIS mapping according to the set effect style. Click the pop-up window data to correspond to the previous setting end configuration, the data name and content entered in excel, and the system recognizes that this data has been stored in the database before. This process is just read out and displayed. The second step is to load the legend and present the combined data according to the legend selection set in the configuration. The third step is to operate the legend, and the resource can be mapped according to the configured effect. Read the content stored in the library and display it in the GIS map.

[0077] The embodiment of the present application also provides a kind of resource mapping device. It should be noted that the device of a resource mapping device of the embodiment of the present application can be used to execute the method for a resource mapping provided by the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions have been made and will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.

[0078] The following is an introduction to a resource diagram device provided in an embodiment of the present application.

[0079] Figure 3 1 is a structural block diagram of a device for resource mapping according to an embodiment of the present application. Figure 3 As shown, the device includes: an association unit 301, which is used to associate at least one Internet map with a two-dimensional map, and the two-dimensional map displays any Internet map and any Internet map resource, wherein the Internet map resource is a resource on the Internet map; a configuration unit 302, which is used to configure the upper map resource information according to preset demand resources and Internet map resources, and set the default upper map resource according to the preset demand resources, wherein the preset demand is a resource that needs to be displayed on the two-dimensional map; an entry unit 303, which is used to enter the legend resource into a data table according to the upper map resource information and upload the data table, wherein the types of legend resources include point resources, line resources, surface resources, point-surface resources and thermal resources; a display unit 304, which is used to display the preset demand resources on the two-dimensional map according to the data table.

[0080] As an optional solution, the association unit 301 includes: a conversion subunit, used to convert the coordinate system data of the Internet map into a standard form; a first setting subunit, used to set the center point of the Internet map, wherein the center point of the Internet map includes the overall center point and the administrative division center point.

[0081] As an optional solution, the input unit 303 includes: an input subunit, which is used to input the longitude, latitude and name corresponding to the legend resource into a sheet page, wherein one type of legend resource corresponds to one sheet page.

[0082] As an optional solution, the input unit 303 includes: a verification subunit, which is used to verify the data form after the data form is input; and an interruption subunit, which is used to interrupt the upload of the data form that fails the verification and give a prompt.

[0083] As an optional solution, it is characterized in that the verification subunit includes: a first judgment module for judging whether the content of the sheet page corresponds to the type of the legend resource corresponding to the sheet page; and a second judgment module for judging whether the format of the data entered in the data table is correct.

[0084] As an optional solution, the input unit 303 includes: a storage subunit for storing each uploaded data table, wherein each uploaded data table corresponds to a different version number; and an export subunit for exporting any version of the data table when the data table needs to be modified.

[0085] As an optional solution, the display unit 304 includes: a display subunit, which is used to display the resources in the above map on the two-dimensional map by default; and a second setting subunit, which is used to set the display resources according to the display requirements.

[0086] The device shown in the figure above includes a processor and a memory. The above-mentioned association unit 301 and the like are stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to implement corresponding functions. The above-mentioned modules are all located in the same processor; or, the above-mentioned modules are located in different processors in any combination.

[0087] The processor includes a kernel, and the kernel calls the corresponding program unit from the memory. One or more kernels can be set, and the technical problem of difficulty in replacing the upper map resource of the two-dimensional map in the related technology can be solved by adjusting the kernel parameters.

[0088] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0089] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for mapping a resource.

[0090] Specifically, a method for mapping resources includes:

[0091] Step S201, associating at least one Internet map with a two-dimensional map, wherein the two-dimensional map displays any Internet map and any Internet map resource, wherein the Internet map resource is a resource on the Internet map;

[0092] Specifically, multiple Internet maps are converted into a unified form to facilitate the use of coordinates in the Internet map in the subsequent map uploading process. Each Internet map has a large number of map resources, and the resources displayed in the map uploading process are also derived from the Internet map. Through the built-in coordinate system conversion algorithm, the data of various coordinate systems are uniformly converted into a standard form that can be used for map uploading calculations and output. This solves the technical problem that one map cannot meet the needs of multiple scenarios, achieves the technical effect of integrating information resources of multiple maps, and facilitates user viewing and use.

[0093] Step S202, configuring the upper map resource information according to the preset demand resources and the Internet map resources, and setting the default upper map resource according to the preset demand resources, wherein the preset demand is the resource that needs to be displayed on a two-dimensional map;

[0094] Specifically, select the preset required resources from the Internet map resources, configure the resource information on the map, add resource legends, delete, modify, drag and drop to adjust the sorting position, and configure whether the legend icon is displayed and whether to default to the map. The default map resource will be directly displayed on the two-dimensional map when the resource is mapped. Set the display information according to the preset required resources. It makes it more convenient for users to use and improves work efficiency.

[0095] Step S203, entering the legend resources into a data table according to the resource information of the above diagram and uploading the data table, wherein the types of legend resources include point resources, line resources, surface resources, point-surface resources and thermal resources;

[0096] Specifically, configure point resources: you can set the scattered point icon in the above picture, the icon effect after clicking, whether to display text, the default text effect and the effect after clicking, and the display position. Configure surface resources: you can set the default and click effects of the surface in the above picture, the effects before and after clicking the scattered point icon, whether to display text, and the default text effect and the effect after clicking. Configure line resources: you can set the default and click effects of the line in the above picture, whether to display text, the default text effect and the effect after clicking, whether to display animated images, and dynamically support uploading. Configure thermal resources: you can set the thermal type of the above picture, including the radius of a single point, transparency, blur, gradient color blocks, etc. After the above steps are set, you can download the Excel template and maintain the data in Excel according to the legend name, and import the data to complete the whole set of settings. And it supports two upload methods, Excel files or compressed packages. The configuration of resources enriches the types of data viewed by users and displays them more comprehensively. And the above picture operation can be realized through a simple table, which reduces the difficulty of use. Solve the technical problem of difficult data maintenance in the above picture.

[0097] Step S204, displaying the preset demand resources on a two-dimensional map according to the data table;

[0098] Specifically, the data table contains the data of the legend that the user needs to display. When displaying resources on a two-dimensional map, the user can choose which resources to display according to his or her needs, and can also choose to replace the Internet map for display.

[0099] Optionally, the coordinate system data of the Internet map is converted into a standard form; and a center point of the Internet map is set, wherein the center point of the Internet map includes an overall center point and an administrative division center point.

[0100] Optionally, the longitude, latitude and name corresponding to the legend resource are entered into a sheet page, wherein one type of legend resource corresponds to one sheet page.

[0101] Optionally, after entering the data form, verify the data form; interrupt the upload of the data form that fails the verification and give a prompt.

[0102] Optionally, determine whether the content of the sheet page corresponds to the type of the legend resource corresponding to the sheet page; and determine whether the format of the data entered in the data table is correct.

[0103] Optionally, each uploaded data table is stored, wherein each uploaded data table corresponds to a different version number; when the data table needs to be modified, any version of the data table is exported.

[0104] Optionally, the above resources are displayed on a two-dimensional map by default; set the display resources according to display requirements.

[0105] An embodiment of the present invention provides a processor, which is used to run a program, wherein the method of mapping a resource is executed when the program is run.

[0106] Specifically, a method for mapping resources includes:

[0107] Step S201, associating at least one Internet map with a two-dimensional map, wherein the two-dimensional map displays any Internet map and any Internet map resource, wherein the Internet map resource is a resource on the Internet map;

[0108] Specifically, multiple Internet maps are converted into a unified form to facilitate the use of coordinates in the Internet map in the subsequent map uploading process. Each Internet map has a large number of map resources, and the resources displayed in the map uploading process are also derived from the Internet map. Through the built-in coordinate system conversion algorithm, the data of various coordinate systems are uniformly converted into a standard form that can be used for map uploading calculations and output. This solves the technical problem that one map cannot meet the needs of multiple scenarios, achieves the technical effect of integrating information resources of multiple maps, and facilitates user viewing and use.

[0109] Step S202, configuring the upper map resource information according to the preset demand resources and the Internet map resources, and setting the default upper map resource according to the preset demand resources, wherein the preset demand is the resource that needs to be displayed on a two-dimensional map;

[0110] Specifically, select the preset required resources from the Internet map resources, configure the resource information on the map, add resource legends, delete, modify, drag and drop to adjust the sorting position, and configure whether the legend icon is displayed and whether to default to the map. The default map resource will be directly displayed on the two-dimensional map when the resource is mapped. Set the display information according to the preset required resources. It makes it more convenient for users to use and improves work efficiency.

[0111] Step S203, entering the legend resources into a data table according to the resource information of the above diagram and uploading the data table, wherein the types of legend resources include point resources, line resources, surface resources, point-surface resources and thermal resources;

[0112] Specifically, configure point resources: you can set the scattered point icon in the above picture, the icon effect after clicking, whether to display text, the default text effect and the effect after clicking, and the display position. Configure surface resources: you can set the default and click effects of the surface in the above picture, the effects before and after clicking the scattered point icon, whether to display text, and the default text effect and the effect after clicking. Configure line resources: you can set the default and click effects of the line in the above picture, whether to display text, the default text effect and the effect after clicking, whether to display animated images, and dynamically support uploading. Configure thermal resources: you can set the thermal type of the above picture, including the radius of a single point, transparency, blur, gradient color blocks, etc. After the above steps are set, you can download the Excel template and maintain the data in Excel according to the legend name, and import the data to complete the whole set of settings. And it supports two upload methods, Excel files or compressed packages. The configuration of resources enriches the types of data viewed by users and displays them more comprehensively. And through a simple table, the above picture operation can be realized, which reduces the difficulty of use. Solve the technical problem of difficult data maintenance in the above picture.

[0113] Step S204, displaying the preset demand resources on a two-dimensional map according to the data table;

[0114] Specifically, the data table contains the data of the legend that the user needs to display. When displaying resources on a two-dimensional map, the user can choose which resources to display according to his or her needs, and can also choose to replace the Internet map for display.

[0115] Optionally, the coordinate system data of the Internet map is converted into a standard form; and a center point of the Internet map is set, wherein the center point of the Internet map includes an overall center point and an administrative division center point.

[0116] Optionally, the longitude, latitude and name corresponding to the legend resource are entered into a sheet page, wherein one type of legend resource corresponds to one sheet page.

[0117] Optionally, after entering the data form, verify the data form; interrupt the upload of the data form that fails the verification and give a prompt.

[0118] Optionally, determine whether the content of the sheet page corresponds to the type of the legend resource corresponding to the sheet page; and determine whether the format of the data entered in the data table is correct.

[0119] Optionally, each uploaded data table is stored, wherein each uploaded data table corresponds to a different version number; when the data table needs to be modified, any version of the data table is exported.

[0120] Optionally, the above resources are displayed on a two-dimensional map by default; set the display resources according to display requirements.

[0121] An embodiment of the present invention provides a device, comprising a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, at least the following steps are implemented: associating at least one Internet map with a two-dimensional map, wherein the two-dimensional map displays any Internet map and any Internet map resource, wherein the Internet map resource is a resource on the Internet map; configuring upper map resource information based on preset demand resources and Internet map resources, and setting a default upper map resource based on the preset demand resources, wherein the preset demand is a resource that needs to be displayed on the two-dimensional map; entering legend resources into a data table based on the upper map resource information and uploading the data table, wherein the types of legend resources include point resources, line resources, surface resources, point-surface resources, and thermal resources; and displaying the preset demand resources on the two-dimensional map based on the data table.

[0122] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0123] Optionally, the coordinate system data of the Internet map is converted into a standard form; and a center point of the Internet map is set, wherein the center point of the Internet map includes an overall center point and an administrative division center point.

[0124] Optionally, the longitude, latitude and name corresponding to the legend resource are entered into a sheet page, wherein one type of legend resource corresponds to one sheet page.

[0125] Optionally, after entering the data form, verify the data form; interrupt the upload of the data form that fails the verification and give a prompt.

[0126] Optionally, determine whether the content of the sheet page corresponds to the type of the legend resource corresponding to the sheet page; and determine whether the format of the data entered in the data table is correct.

[0127] Optionally, each uploaded data table is stored, wherein each uploaded data table corresponds to a different version number; when the data table needs to be modified, any version of the data table is exported.

[0128] Optionally, the above resources are displayed on a two-dimensional map by default; set the display resources according to display requirements.

[0129] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes at least the following method steps: associating at least one Internet map with a two-dimensional map, the two-dimensional map displaying any Internet map and any Internet map resource, wherein the Internet map resource is a resource on the Internet map; configuring the upper map resource information based on preset demand resources and Internet map resources, and setting the default upper map resource based on the preset demand resources, wherein the preset demand is a resource that needs to be displayed on the two-dimensional map; entering the legend resource into a data table based on the upper map resource information and uploading the data table, wherein the types of legend resources include point resources, line resources, surface resources, point-surface resources and thermal resources; and displaying the preset demand resources on the two-dimensional map based on the data table.

[0130] Optionally, the coordinate system data of the Internet map is converted into a standard form; and a center point of the Internet map is set, wherein the center point of the Internet map includes an overall center point and an administrative division center point.

[0131] Optionally, the longitude, latitude and name corresponding to the legend resource are entered into a sheet page, wherein one type of legend resource corresponds to one sheet page.

[0132] Optionally, after entering the data form, verify the data form; interrupt the upload of the data form that fails the verification and give a prompt.

[0133] Optionally, determine whether the content of the sheet page corresponds to the type of the legend resource corresponding to the sheet page; and determine whether the format of the data entered in the data table is correct.

[0134] Optionally, each uploaded data table is stored, wherein each uploaded data table corresponds to a different version number; when the data table needs to be modified, any version of the data table is exported.

[0135] Optionally, the above resources are displayed on a two-dimensional map by default; set the display resources according to display requirements.

[0136] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0137] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0138] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0139] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0141] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0142] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0143] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0144] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0145] The above description is only the preferred 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 modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for mapping resources, characterized in that: include: Associating at least one Internet map with a two-dimensional map, wherein the two-dimensional map displays any one of the Internet maps and any one of the Internet map resources, wherein the Internet map resources are resources on the Internet map; configuring upper map resource information based on preset demand resources and the Internet map resources, and setting default upper map resources based on the preset demand resources, wherein the preset demand is a resource that needs to be displayed on the two-dimensional map; entering legend resources into a data table based on the upper map resource information and uploading the data table, wherein the types of the legend resources include point resources, line resources, surface resources, point-surface resources, and thermal resources; and Legend resources are entered into a data table and the data table is uploaded, including: entering the longitude, latitude and name corresponding to the legend resource into a sheet page, wherein one type of the legend resource corresponds to one sheet page; after entering the data table, verifying the data table; interrupting the upload of the data table that fails the verification and giving a prompt; after entering the data table, verifying the data table, including: determining whether the content of the sheet page corresponds to the type of the legend resource corresponding to the sheet page; determining whether the format of the data entered in the data table is correct; and displaying the preset required resources on the two-dimensional map according to the data table.

2. The method according to claim 1, characterized in that At least one Internet map is associated with a two-dimensional map, wherein the two-dimensional map displays any one of the Internet maps and any Internet map resource, including: converting the coordinate system data of the Internet map into a standard form; setting a center point of the Internet map, wherein the center point of the Internet map includes an overall center point and an administrative division center point.

3. The method according to claim 1, characterized in that Entering the legend resource into a data table according to the resource information of the above figure and uploading the data table, including: storing the data table uploaded each time, wherein each uploaded data table corresponds to a different version number; when the data table needs to be modified, exporting any version of the data table.

4. The method according to claim 1, characterized in that: Displaying the preset demand resources on the two-dimensional map according to the data table includes: displaying the default upper map resources on the two-dimensional map; and setting display resources according to display requirements.

5. A device for mapping resources, characterized in that: include: an associating unit, configured to associate at least one Internet map with a two-dimensional map, wherein the two-dimensional map displays any one of the Internet maps and any one of the Internet map resources, wherein the Internet map resources are resources on the Internet map; A configuration unit, configured to configure the upper map resource information according to the preset demand resources and the Internet map resources, and set the default upper map resource according to the preset demand resources, wherein the preset demand is the resource that needs to be displayed on the two-dimensional map; An input unit, used to input the legend resources into a data table according to the resource information of the above diagram and upload the data table, wherein the types of the legend resources include point resources, line resources, surface resources, point-surface resources and thermal resources; The input unit includes: an input subunit, which is used to input the longitude, latitude and name corresponding to the legend resource into a sheet page, wherein one type of the legend resource corresponds to one sheet page; after inputting the data table, verify the data table; interrupt the upload of the data table that fails the verification and give a prompt; The verification subunit includes: after entering the data table, verifying the data table, including: determining whether the content of the sheet page corresponds to the type of the legend resource corresponding to the sheet page; determining whether the format of the data entered in the data table is correct; A display unit is used to display the preset demand resources on the two-dimensional map according to the data table.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute a resource mapping method as described in any one of claims 1 to 4.

7. An electronic device, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing a resource map as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Geographical information system used for electric system

    CN101483342A

  • Data producing, organizing, storing and accessing method of an electronic atlas system

    CN109033238A

  • A multi-map-source map service engine

    CN109670011A

  • Resource mapping method and device

    CN114036222A

  • Tile-based track map display method and device, medium and equipment

    CN114661839A