CN114972671B - Vector tile rendering method based on hypergraph desktop fusion open source software - Google Patents

Vector tile rendering method based on hypergraph desktop fusion open source software Download PDF

Info

Publication number
CN114972671B
CN114972671B CN202210788964.1A CN202210788964A CN114972671B CN 114972671 B CN114972671 B CN 114972671B CN 202210788964 A CN202210788964 A CN 202210788964A CN 114972671 B CN114972671 B CN 114972671B
Authority
CN
China
Prior art keywords
vector
vector tile
file
hypergraph
style
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210788964.1A
Other languages
Chinese (zh)
Other versions
CN114972671A (en
Inventor
赵雅鹏
江彬
樊伟平
齐迹
陈子申
何高波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Arsc Underground Space Technology Development Co ltd
Original Assignee
Arsc Underground Space Technology Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Arsc Underground Space Technology Development Co ltd filed Critical Arsc Underground Space Technology Development Co ltd
Priority to CN202210788964.1A priority Critical patent/CN114972671B/en
Publication of CN114972671A publication Critical patent/CN114972671A/en
Application granted granted Critical
Publication of CN114972671B publication Critical patent/CN114972671B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A vector tile rendering method based on hypergraph desktop fusion open source software is realized, and step 1: vector data file preparation; step 2.1: supergraph desktop map configuration; step 2.2: deriving hypergraph vector tile patterns; step 3: geoserver vector tile service generation; step 4: checking whether the layer names in the pattern file are consistent with the layer names of the vector tile layer groups or not, and modifying the pattern file in a non-consistent manner; step 5: modifying the unsatisfactory structure in the style file according to mapbox vector tile style specifications; step 6: map framework openlayer loads vector tiles and renders styles in conjunction with the ol-mapbox-style plug-in; step 7: generating a preliminary vector tile map; step 8: comparing the hypermap styles by combining the step 2.1; step 9: a final vector tile map is formed. The method can quickly generate the available vector tile style of the open source software based on the usability of the domestic hypergraph software, and realize the exquisite vector tile electronic map free.

Description

Vector tile rendering method based on hypergraph desktop fusion open source software
Technical Field
The patent belongs to the technical field of geographic information data processing, relates to a vector tile map matching mode, and in particular relates to a vector tile rendering method based on hypergraph desktop fusion open source software.
Background
At present, vector tiles are used as a popular map matching production mode of a geographic information electronic map. With the gradual growth of geographic information open source communities, an open source electronic map, in particular an open source vector tile electronic map service is used as a preferred map display mode, and the vector tiles have the characteristics of small data size, stepless scaling and dynamically adjustable map patterns compared with the traditional grid tiles.
Hypergraph software is used as a largest GIS software service provider in China, the user base is large, the use habit of users is formed, and in project production, a user selects hypergraph vector tiles to be presented as a project base map. However, the hypergraph is a closed source product, and a certain fee is charged in the project development process. Therefore, the value of the patent is reflected under the requirement that the precondition of the using habit of the user is met and the map display can be realized by using the open-source vector tile service.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a vector tile rendering method based on hypergraph desktop fusion open source software, which can quickly generate a vector tile pattern available for the open source software based on the usability of domestic hypergraph software and realize a free exquisite vector tile electronic map.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
a vector tile rendering method based on hypergraph desktop fusion open source software is characterized by comprising the following steps:
Step 1, preparing a vector data file;
Step 2, consisting of two parts:
step 2.1: establishing a vector data set in the hypergraph desktop according to vector data, and configuring a thematic map according to project map configuration requirements;
Step 2.2: selecting a vector tile generation mode according to the thematic map, selecting a pattern and data separation option, generating a vector cache at a designated position, opening a cache file path, deleting a vector tile pattern irrelevant file, only retaining a vector tile pattern relevant file, and copying the vector tile pattern file to a project development catalog;
Step 3: adding a vector data file to a data store by using an open source GIS server geoserver, issuing each layer and checking vector tile options, then constructing a layer group according to the superposition sequence of points, lines and planes of the super-graph matching graph, issuing a vector tile cache, and generating a vector tile service;
Step 4: checking whether the layer names in the pattern file are consistent with the layer names of the vector tile layer groups or not, and modifying the pattern file in a non-consistent manner;
Step 5: modifying the unsatisfactory hypergraph style file in the style file according to mapbox vector tile style specification (STYLE SPECIFICATION);
Step 6: loading geoserver issued vector tile map service by combining a front-end map frame (openlayer) with an ol-mapbox-style plug-in, and analyzing the hypergraph style file modified in the step 5;
step 7: the client renders and generates a preliminary vector tile map;
step 8: combining the step 2.1, comparing the hypergraph map styles, checking the place where the vector tile map styles are inconsistent, and modifying the style file;
Step 9: a final vector tile map is formed.
The vector data source can be a database or a vector file shp.
The file path is cached, and the file comprises fonts, sprites, styles, thumbnail, tiles and sci files.
Vector tile style uncorrelated file thumbnail, tiles, sci file.
And in the step 4, the checking of the style file is to check whether the source-layer attribute of the layer name in the style. Json file under the style folder is consistent with the layer names in the vector tile layer group, and the source-layer attribute is not modified in a consistent manner, otherwise, the corresponding layer cannot be rendered at the client.
The beneficial effects of the invention are as follows:
1. The key point of open source vector tile rendering is vector tile style map matching file. The exquisite style map occupies a great part of the workload. Hypergraph software is used as the first GIS in domestic industry, and is easy to use, humanized and comprehensive in function. The user can quickly and conveniently map the map according to the map matching requirement, and the open source vector tile style file is derived.
2. The derived open source vector tile style file modifications may be used as open source vector tile rendering with little or no modification. Compared with the configuration style of an open source tool, the method achieves the effect of twice the effort.
3. The invention enumerates the whole process of producing the open source vector tile style by fusing the hypergraph vector tile style file, points out the key points of the problem, and achieves that the vector tile effect rendered by the open source software is consistent with the vector tile effect rendered by the hypergraph.
4. The invention provides a complete open source vector tile rendering scheme, and points out the key points of a detailed technical route.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The invention is further described below with reference to the drawings and examples.
As shown in fig. 1, a vector tile rendering method implemented based on hypergraph desktop fusion open source software includes the following steps:
Step 1: vector data file preparation, wherein the source of vector data can be a database or a vector file shp;
Step 2: comprises two parts, step 2.1: establishing a vector data set in the hypergraph desktop according to vector data, and configuring a thematic map according to project map configuration requirements; step 2.2: and selecting a vector tile generation mode according to the thematic map, selecting a pattern and data separation option, and generating a vector cache at a designated position. The cached file path is opened, the files contain (fonts, sprites, styles, thumbnail, tiles,. Sci files), thumbnail, tiles and. Sci files are deleted, and only vector tile style related files are retained. Copying the vector tile style file to a project development catalog;
step 3: and adding a vector data file to a data storage by using an open source GIS server geoserver, releasing each layer and checking vector tile options. Then constructing a graph layer group according to the superposition sequence of points, lines and planes of the hypergraph matching graph, and releasing vector tile cache to generate vector tile service;
Step 4: checking whether the source-layer attribute of the layer name in the style. Json file under the style folder is consistent with the names of all layers in the vector tile layer group, and if not, modifying the source-layer attribute, otherwise, rendering the corresponding layer on the client side;
Step 5: undesirable structures in the style file are modified in accordance with mapbox vector tile style specification (STYLE SPECIFICATION). Because the hypergraph vector tile style body complies with mapbox map style while integrating some of the hypergraph own attributes, this step is to translate some of the hypergraph own attributes to mapbox map specification;
Step 6: loading a vector tile map service issued by geoserver by utilizing a front-end map framework (openlayer) in combination with an ol-mapbox-style plug-in, and analyzing the modified hypergraph style file;
step 7: the client renders and generates a preliminary vector tile map;
Step 8: and (2) comparing the hypermap styles with step 2.1, checking the places where the vector tile map styles are inconsistent, and modifying the style file. Since hypergraphics sometimes have multiple layer patterns or fewer layer patterns when deriving vector tile patterns, this is the case and a contrast check is required;
Step 9: a final vector tile map is formed.

Claims (5)

1. A vector tile rendering method based on hypergraph desktop fusion open source software is characterized by comprising the following steps:
Step 1, preparing a vector data file;
Step 2, consisting of two parts:
step 2.1: establishing a vector data set in the hypergraph desktop according to vector data, and configuring a thematic map according to project map configuration requirements;
Step 2.2: selecting a vector tile generation mode according to the thematic map, selecting a pattern and data separation option, generating a vector cache at a designated position, opening a cache file path, deleting a vector tile pattern irrelevant file, only retaining a vector tile pattern relevant file, and copying the vector tile pattern file to a project development catalog;
Step 3: adding a vector data file to a data store by using an open source GIS server geoserver, issuing each layer and checking vector tile options, then constructing a layer group according to the superposition sequence of points, lines and planes of the super-graph matching graph, issuing a vector tile cache, and generating a vector tile service;
Step 4: checking whether the layer names in the pattern file are consistent with the layer names of the vector tile layer groups or not, and modifying the pattern file in a non-consistent manner;
Step 5: modifying the unsatisfactory hypergraph style file in the style file according to mapbox vector tile style specification (STYLE SPECIFICATION);
Step 6: loading geoserver issued vector tile map service by combining a front-end map frame (openlayer) with an ol-mapbox-style plug-in, and analyzing the hypergraph style file modified in the step 5;
step 7: the client renders and generates a preliminary vector tile map;
step 8: combining the step 2.1, comparing the hypergraph map styles, checking the place where the vector tile map styles are inconsistent, and modifying the style file;
Step 9: a final vector tile map is formed.
2. The method for rendering the vector tiles based on the hypergraph desktop fusion open source software according to claim 1, wherein the source of the vector data can be a database or a vector file shp.
3. The vector tile rendering method implemented based on hypergraph desktop fusion open source software according to claim 1, wherein the cached file path comprises fonts, sprites, styles, thumbnail, tiles and sci files.
4. The vector tile rendering method implemented based on hypergraph desktop fusion open source software according to claim 1, wherein the vector tile style non-relevant file thumbnail, tiles,. Sci file.
5. The method for rendering the vector tiles based on the hypergraph desktop fusion open source software according to claim 1, wherein the checking the style file in the step 4 is to check whether the layer name source-layer attribute in the style file under the style folder is consistent with the layer names in the vector tile layer group, and the source-layer attribute is not modified in accordance with the layer names in the vector tile layer group, otherwise, the corresponding layer cannot be rendered at the client.
CN202210788964.1A 2022-07-06 2022-07-06 Vector tile rendering method based on hypergraph desktop fusion open source software Active CN114972671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210788964.1A CN114972671B (en) 2022-07-06 2022-07-06 Vector tile rendering method based on hypergraph desktop fusion open source software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210788964.1A CN114972671B (en) 2022-07-06 2022-07-06 Vector tile rendering method based on hypergraph desktop fusion open source software

Publications (2)

Publication Number Publication Date
CN114972671A CN114972671A (en) 2022-08-30
CN114972671B true CN114972671B (en) 2024-04-30

Family

ID=82966681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210788964.1A Active CN114972671B (en) 2022-07-06 2022-07-06 Vector tile rendering method based on hypergraph desktop fusion open source software

Country Status (1)

Country Link
CN (1) CN114972671B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009211A (en) * 2017-11-10 2018-05-08 中国电子科技集团公司第三十二研究所 Multisource map vector tile rendering system based on rule base
CN108334581A (en) * 2018-01-26 2018-07-27 重庆市地理信息中心 Spatial data towards the rendering of intelligent terminal map is in outline management and call method
CN108536732A (en) * 2018-02-28 2018-09-14 中国地质大学(武汉) Support the on-line automatic slice method of servicing of tile map and system of MapGIS67 map engineerings
WO2021164233A1 (en) * 2020-02-20 2021-08-26 平安科技(深圳)有限公司 Model rendering method, apparatus, and device, and computer readable storage medium
CN113535867A (en) * 2021-05-31 2021-10-22 福建省基础地理信息中心 Vector tile generation method and system adaptive to multiple data sources
CN113761101A (en) * 2021-10-13 2021-12-07 史原东 System and method for custom map matching of vector tile electronic map

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009211A (en) * 2017-11-10 2018-05-08 中国电子科技集团公司第三十二研究所 Multisource map vector tile rendering system based on rule base
CN108334581A (en) * 2018-01-26 2018-07-27 重庆市地理信息中心 Spatial data towards the rendering of intelligent terminal map is in outline management and call method
CN108536732A (en) * 2018-02-28 2018-09-14 中国地质大学(武汉) Support the on-line automatic slice method of servicing of tile map and system of MapGIS67 map engineerings
WO2021164233A1 (en) * 2020-02-20 2021-08-26 平安科技(深圳)有限公司 Model rendering method, apparatus, and device, and computer readable storage medium
CN113535867A (en) * 2021-05-31 2021-10-22 福建省基础地理信息中心 Vector tile generation method and system adaptive to multiple data sources
CN113761101A (en) * 2021-10-13 2021-12-07 史原东 System and method for custom map matching of vector tile electronic map

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
煤矿空间数据矢量瓦片关键技术研究;杨智昊;《硕士电子期刊》;20190228;第1-83页 *

Also Published As

Publication number Publication date
CN114972671A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
US10579678B2 (en) Dynamic hierarchy generation based on graph data
CN105849725B (en) It is configured to the inquiry executed for multidimensional data structure
US6356900B1 (en) Online modifications of relations in multidimensional processing
WO2014079304A1 (en) Report creation method, device and system
CN102254029A (en) View-based data access system and method
CN105022813A (en) Configurable multidimensional dynamic data graph group association method
US20040181518A1 (en) System and method for an OLAP engine having dynamic disaggregation
US6697087B1 (en) Updating diagrams of dynamic representational Models of dynamic systems
US20100138449A1 (en) Forests of dimension trees
CN109033729B (en) Product design information management method and system
CN115114356B (en) Real-time decryption method based on vector data front-end display
CN111402383A (en) Revit model processing method applied to Houdini
CN114972671B (en) Vector tile rendering method based on hypergraph desktop fusion open source software
CN106649776A (en) Method of semi-automating comprehensive vector polygon
US20080005078A1 (en) Temporal extent considerations in reporting on facts organized as a dimensionally-modeled fact collection
CN109783596B (en) ArcGIS map configuration preview method based on Angular component
CN115291869A (en) Zero-code form generation method and system based on vue custom component
CN104040537B (en) The system and method for automatically generating and performing of data base querying
CN105488146B (en) Courseware material management method and system of computer aided training system
Yu Research of 4th generation GIS software
CN111984633B (en) Method for on-demand expansion and automatic relation establishment of CMDB configuration classification
CN108304495A (en) A kind of implementation method and realization device of the service interface of WFS
CN114092666A (en) Model mesh simplification improvement algorithm for mobile AR auxiliary building construction APP
CN113656402A (en) Engineering project full life cycle data recording and storing method and device based on BIM
US12038880B2 (en) Synchronization of graphical data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant