Application method of natural resource and planning data application APP
By generating MXD files, GPKG database files, and MBTiles raster tile data, and combining them with a natural resources and planning data application app, the issues of slow data loading speed and security in outdoor scenarios were resolved, enabling fast browsing and efficient analysis.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- XIONGAN URBAN PLANNING & DESIGN RES INST CO LTD
- Filing Date
- 2023-06-21
- Publication Date
- 2026-05-12
AI Technical Summary
In outdoor scenarios, existing technologies struggle to enable rapid browsing and efficient analysis of massive amounts of classified or sensitive natural resource and planning data, and data loading is slow, making secure browsing and analysis on the internet impossible.
By generating MXD files, GPKG database files, and MBTiles raster tile data, and combining them with a natural resources and planning data application APP, offline data storage and display are achieved. It adopts efficient offline data storage technology, data index construction, and data compression methods, combined with CPU and GPU computing, to provide fast data query and secure data display.
It enables the linked display of massive graphics and attributes, improves data loading speed, ensures the secure use of sensitive data, significantly enhances user experience, and allows a single map file to respond quickly from a global perspective and achieve attribute queries in seconds.
Smart Images

Figure CN116932629B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of application software technology, and in particular to an application method for a natural resources and planning data application APP. Background Technology
[0002] As the informatization of natural resources continues to deepen, the application of natural resource and planning data based on the "cloud + terminal" model has become very mature. However, it mostly operates in private cloud environments built by government departments. Furthermore, due to the special nature of natural resource and planning data, to ensure geospatial information security, most of the data cannot be viewed and analyzed on the internet, leaving scenarios such as user field surveys, on-site inspections, and on-site command and dispatch lacking data support. Currently, in this scenario, firstly, the use of natural resource and spatial data is mostly presented in the form of maps, which suffers from complex production processes and low practicality; secondly, mobile apps are used to obtain small-scale data screenshots and some statistical information through internal and external network interaction technology. This method solves the shortcomings of paper maps to some extent, but it also has drawbacks such as the inability to infinitely zoom in on thematic maps, the need for linkage between massive graphics and attributes, the secure use of sensitive data, and slow data loading speeds.
[0003] Under the existing geospatial data protection system, there are still significant challenges in quickly browsing and efficiently analyzing massive amounts of classified or sensitive natural resource and planning data outdoors. Therefore, it is necessary to propose new technical solutions to compensate for, improve, and perfect the existing data application models and technologies. Summary of the Invention
[0004] In order to overcome the shortcomings of the existing technology, the purpose of this invention is to provide an application method for a natural resource and planning data application APP.
[0005] To achieve the above objectives, the present invention provides the following solution:
[0006] An application method for a natural resources and planning data application APP includes:
[0007] Collect data on natural resources and planning;
[0008] Maps are created to match time-based natural resource and planning data, and mxd files are generated.
[0009] Use data processing tools to generate a gpkg database file from the display object layer;
[0010] Based on the mxd file, use a tiling tool to generate mbtiles raster tile data;
[0011] Write location information to the gpkg database file;
[0012] The mbtiles grid tile data and the gpkg database are associated through the settings function of the Natural Resources and Planning Data Application APP;
[0013] The Natural Resources and Planning Data Application APP reads data, displays a map through the mbtiles raster tiles, and queries the gpkg database to enable attribute browsing.
[0014] Preferably, the natural resources and planning data are vector data with spatial location information.
[0015] Preferably, the data processing tool is a database format conversion tool.
[0016] Preferably, the slicing tool is a software tool for converting vector data into raster data.
[0017] According to specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0018] This invention provides an application method for a natural resources and planning data application app, comprising: collecting natural resources and planning data; mapping the time-synchronized natural resources and planning data to generate an MXD file; using a data processing tool to generate a GPKG database file from the display object layer; generating MBTiles raster tile data based on the MXD file using a tiling tool; writing location information into the GPKG database file; associating the MBTiles raster tile data with the GPKG database through the settings function of the natural resources and planning data application app; and having the natural resources and planning data application app read the data, display the map through the MBTiles raster tiles, and query the GPKG database to achieve attribute browsing. This invention can solve the problems of massive graphic and attribute linkage, secure use of sensitive data, and slow data loading speed. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 A flowchart of the method provided in an embodiment of the present invention;
[0021] Figure 2 This is a schematic diagram of the application process provided in an embodiment of the present invention. Detailed Implementation
[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0024] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, including a series of steps, processes, methods, etc., is not limited to the steps listed, but may optionally include steps not listed, or may optionally include other steps inherent to these processes, methods, products, or devices.
[0025] The purpose of this invention is to provide an application method for a natural resources and planning data application APP, which can solve the problems of massive graphics and attribute linkage, secure use of sensitive data, and slow data loading speed.
[0026] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0027] Figure 1 The method flowchart provided in the embodiments of the present invention is as follows: Figure 1 As shown, this invention provides an application method for a natural resources and planning data application APP, including:
[0028] Step 100: Collect natural resources and planning data;
[0029] Step 200: Map the time-synchronized natural resources and planning data to generate an MXD file;
[0030] Step 300: Use data processing tools to generate a gpkg database file from the display object layer;
[0031] Step 400: Based on the mxd file, use a tiling tool to generate mbtiles raster tile data;
[0032] Step 500: Write location information to the gpkg database file;
[0033] Step 600: Use the settings function of the Natural Resources and Planning Data Application APP to associate the mbtiles grid tile data with the gpkg database;
[0034] Step 700: The Natural Resources and Planning Data Application APP reads the data, displays the map through the mbtiles raster tiles, and queries the gpkg database to achieve attribute browsing.
[0035] Preferably, the natural resources and planning data are vector data with spatial location information.
[0036] Preferably, the data processing tool is a database format conversion tool.
[0037] Preferably, the slicing tool is a software tool for converting vector data into raster data.
[0038] like Figure 2 As shown, the specific steps in applying this embodiment include:
[0039] Step a: Natural Resources and Planning Data Collection
[0040] In this example, the data processing personnel collected and organized the relevant data according to the local coordinate system and named it in a standardized manner.
[0041] Step b1: Map the natural resources and planning data to generate an MXD file.
[0042] After the data collection was completed, the data processing personnel used ArcGIS software to process the natural resources and planning data into SHP format data, then completed the mapping and saved it as an MXD format file.
[0043] Step b2: Use data processing tools to generate a gpkg database file from the display object layer.
[0044] In this example, the layer file whose attribute information needs to be displayed is selected in the natural resources and planning data. Then, the data processing tool is used to process the display object layer to generate a gpkg database file, thus realizing the attribute query function.
[0045] Step c1. Use the tiling tool to generate mbtiles raster tile data.
[0046] Import the MXD file saved in step b1 into the self-developed tiling tool, fill in the layer name, data type and other information, and then export the mbtiles raster tile data to improve data security and optimize data loading speed.
[0047] Step c2. Write location information to the gpkg database file.
[0048] In the data processing tool, the same location information as the corresponding natural resources and planning data is written into the gpkg database file to achieve matching of attribute information with vector data.
[0049] d. Use the settings function of the Natural Resources and Planning Data Application APP to associate mbtiles raster tile data with the gpkg database.
[0050] In the settings of the Natural Resources and Planning Data Application APP, the mbtiles raster tile data path is linked to the gpkg database file to achieve linked display of map attributes.
[0051] e. The Natural Resources and Planning Data Application APP reads data, displays maps using mbtiles raster tiles, and queries the gpkg database to enable attribute browsing.
[0052] In this example, after the data information is connected, the Natural Resources and Planning Data Application APP reads the mbtiles raster tiles and gpkg database files from the two paths, and finally displays the map and attribute browsing on the display interface.
[0053] This embodiment utilizes efficient offline data storage technologies, such as data preprocessing, data index construction, and offline data compression package construction, to solve the problem of offline storage of massive amounts of data.
[0054] The software fully integrates CPU computing power at the underlying level, uses parallel computing for data computation, and calls GPU to assist in computing, achieving a response time of seconds in data application analysis and attribute query and location of tens of millions of map patches.
[0055] This embodiment provides vector data offline tile technology for vector data visualization, including a complete set of vector hierarchical indexing and rendering technology systems, including vector hierarchical slicing index, high-speed data cutting, and efficient rendering technology, to achieve efficient browsing and real-time querying of a set of data across large, medium and small scale ranges.
[0056] The beneficial effects of this invention are as follows:
[0057] This invention addresses the challenges that traditional apps cannot solve, such as massive image and attribute linkage, secure use of sensitive data, and slow data loading speeds. Compared to traditional apps using data formats like shapefiles, gdb, and kml, this invention significantly improves the speed of data display, patch attribute querying and location, and data application analysis, while providing a stable and secure environment for sensitive data. It enhances the user experience by accelerating data display. Through a combination of efficient map tiling encryption technology and offline use, it ensures the security of natural resource and planning data. In terms of application performance, a single map file can display an area exceeding 200,000 square kilometers, with a 1-second response time for browsing from a global perspective to the smallest patch, and a 1-second response time for querying attributes of 15 million patches.
[0058] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0059] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. Furthermore, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. An application method for a natural resources and planning data application APP, characterized in that, include: Collect data on natural resources and planning; Mapping of time-series natural resources and planning data to generate MXD files, specifically including: After the data collection is completed, use ArcGIS software to process the natural resources and planning data into SHP format data, then complete the map and save it as an MXD format file; Using data processing tools, a gpkg database file is generated from the display object layer, specifically including: In the natural resources and planning data, select the layer file from which you want to display attribute information, and then use the data processing tool to process the display object layer to generate a gpkg database file; Based on the aforementioned MXD file, mbtiles raster tile data is generated using a tiling tool, specifically including: Import the saved MXD file into the self-developed tiling tool, fill in the layer name and data type information, and then export the mbtiles raster tile data; The location information for writing to the gpkg database file specifically includes: In the data processing tool, the same location information as the corresponding natural resources and planning data is written into the gpkg database file to achieve matching of attribute information with vector data; The association between the mbtiles raster tile data and the gpkg database file is performed through the settings function of the Natural Resources and Planning Data Application APP, specifically including: In the settings of the Natural Resources and Planning Data Application APP, the mbtiles raster tile data path is associated with the gpkg database file to achieve linked display of map attributes. The natural resources and planning data application APP reads data, displays a map through the mbtiles raster tiles, and queries the gpkg database to achieve attribute browsing, specifically including: Once the data is connected, the Natural Resources and Planning Data Application APP reads the mbtiles raster tiles and gpkg database files from two different paths, and finally displays the map and attributes on the display interface.
2. The application method of the natural resources and planning data application APP according to claim 1, characterized in that, The natural resources and planning data are vector data with spatial location information.
3. The application method of the natural resources and planning data application APP according to claim 1, characterized in that, The data processing tool is a database format conversion tool.
4. The application method of the natural resources and planning data application APP according to claim 1, characterized in that, The slicing tool is a software tool for converting vector data into raster data.