CN-116932629-B - Application method for applying APP to natural resources and planning data
Abstract
The invention provides an application method of a natural resource and planning data Application (APP), which comprises the steps of collecting natural resource and planning data, carrying out mapping on time-service natural resource and planning data to generate mxd files, utilizing a data processing tool to generate gpkg database files on a display object image layer, generating mbtiles grid tile data by using a graph cutting tool based on the mxd files, writing position information into the gpkg database files, carrying out association between the mbtiles grid tile data and the gpkg database through a natural resource and planning data Application (APP) setting function, reading data by the natural resource and planning data Application (APP), displaying a map through the mbtiles grid tile, and querying the gpkg database to realize attribute browsing. The invention can solve the problems of linkage of massive graphics and attributes, safe use of sensitive data and low data loading speed.
Inventors
- REN WEIYANG
- XIA YU
- SANG YONGQIANG
- SUN QIANG
- GUO QIANKUN
- XIA TIAN
- LIU CHENG
Assignees
- 雄安城市规划设计研究院有限公司
- 北京吉威数源信息技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20230621
Claims (4)
- 1. An application method for applying APP to natural resources and planning data, comprising: collecting natural resources and planning data; mapping the time service natural resources and the planning data to generate mxd files, wherein the method specifically comprises the following steps: After the data collection is completed, natural resources and planning data are processed into shp format data by using ARCGIS software, then the map configuration is completed, and the shp format data are saved as mxd format files; generating gpkg a database file from the display object layer using a data processing tool, specifically comprising: selecting a layer file needing to display attribute information from natural resources and planning data, and processing a display object layer by using a data processing tool to generate gpkg database files; based on the mxd file, generating mbtiles grid tile data using a graph cutting tool, specifically including: Importing the saved mxd file into an independently developed graph cutting tool, filling in information of a layer name and a data type, and exporting mbtiles grid tile data; writing position information into gpkg database files specifically comprises the following steps: in the data processing tool, writing position information which is the same as corresponding natural resources and planning data into gpkg database files, and realizing matching of attribute information and vector data; Applying an APP setting function through natural resources and planning data, and associating mbtiles grid tile data with the gpkg database file, wherein the method specifically comprises the following steps: On the basis of the natural resource and planning data application APP setting function, through mbtiles grid tile data path association, gpkg database files are synchronously hung, so that graph linkage display is realized; The application APP of natural resources and planning data reads data, displays a map through the mbtiles grid tiles, and queries gpkg database to realize attribute browsing, and specifically comprises: After the data information is communicated, the natural resource and planning data application APP reads mbtiles grid tiles and gpkg database files under two paths, and finally, a map and attribute browsing are displayed on a display interface.
- 2. The application method of a natural resource and planning data application APP according to claim 1, wherein the natural resource and planning data is vector data with spatial location information.
- 3. The application method of a natural resource and planning data application APP according to claim 1, wherein the data processing tool is a database format conversion tool.
- 4. The application method of a natural resource and planning data application APP according to claim 1, wherein the graph cutting tool is a software tool for vector data conversion raster data.
Description
Application method for applying APP to natural resources and planning data Technical Field The invention relates to the technical field of application software, in particular to an application method for applying APP to natural resources and planning data. Background The information construction of natural resources is continuous and deep, the application of natural resources and planning data based on a cloud terminal mode is very mature, but the application of the natural resources and the planning data based on government departments is mostly operated in a private cloud environment, and meanwhile, most of data cannot be browsed and analyzed on the Internet in order to ensure the safety of geographic space information due to the specificity of the natural resources and the planning data, and the user is out to research, field investigation, field command and scheduling and other scenes lack of data support. At present, under the scene, firstly, the natural resources and the space data are used and are mostly presented in the form of drawings, the characteristics of complex manufacturing process, low practicability and the like are presented, secondly, the small-range data screenshot information and partial statistical information are acquired by means of a mobile phone APP through an intranet-extranet interaction technology, the method solves the defects of a paper map to a certain extent, and meanwhile, the defects that the thematic map cannot be scaled and browsed steplessly, massive graphics and attributes are linked, sensitive data are used safely, and the data loading speed is low are also presented. Under the existing geospatial data protection system, how to realize fast browsing and efficient analysis of massive confidential or sensitive natural resources and planning data outdoors still has great difficulty, so new technical schemes are required to be provided for making up, improving and perfecting the existing data application modes and application technologies. Disclosure of Invention In order to overcome the defects of the prior art, the invention aims to provide an application method for applying APP to natural resources and planning data. In order to achieve the above object, the present invention provides the following solutions: an application method of a natural resource and planning data application APP, comprising: collecting natural resources and planning data; Carrying out map matching on time service natural resources and planning data to generate mxd files; generating gpkg a database file for the display object layer by using a data processing tool; generating mbtiles grid tile data using a graph cutting tool based on the mxd files; writing position information into gpkg database files; applying an APP setting function through natural resources and planning data, and carrying out association between the mbtiles grid tile data and the gpkg database; and the application APP of natural resources and planning data reads the data, displays the map through the mbtiles grid tiles, and queries gpkg database to realize attribute browsing. Preferably, the natural resources and planning data are vector data with spatial location information. Preferably, the data processing tool is a database format conversion tool. Preferably, the graph cutting tool is a software tool for converting vector data into raster data. According to the specific embodiment provided by the invention, the invention discloses the following technical effects: The invention provides an application method of a natural resource and planning data Application (APP), which comprises the steps of collecting natural resource and planning data, carrying out mapping on time-service natural resource and planning data to generate mxd files, utilizing a data processing tool to generate gpkg database files on a display object image layer, generating mbtiles grid tile data by using a graph cutting tool based on the mxd files, writing position information into the gpkg database files, carrying out association between the mbtiles grid tile data and the gpkg database through a natural resource and planning data Application (APP) setting function, reading data by the natural resource and planning data Application (APP), displaying a map through the mbtiles grid tile, and querying the gpkg database to realize attribute browsing. The invention can solve the problems of linkage of massive graphics and attributes, safe use of sensitive data and low data loading speed. Drawings In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. FIG. 1 is a flow chart of a m