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

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

Info

Publication number
CN114972671A
CN114972671A CN202210788964.1A CN202210788964A CN114972671A CN 114972671 A CN114972671 A CN 114972671A CN 202210788964 A CN202210788964 A CN 202210788964A CN 114972671 A CN114972671 A CN 114972671A
Authority
CN
China
Prior art keywords
vector
vector tile
hypergraph
style
map
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.)
Granted
Application number
CN202210788964.1A
Other languages
Chinese (zh)
Other versions
CN114972671B (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

Images

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 realized based on hypergraph desktop fusion open source software comprises the following steps: preparing a vector data file; step 2.1: map matching of the hypergraph desktop; step 2.2: deriving a hypergraph vector tile pattern; and step 3: generating a geoserver vector tile service; and 4, step 4: checking whether the layer names in the pattern file are consistent with the layer names of the vector tile layer groups, and modifying the pattern file if the layer names are inconsistent; and 5: modifying the structure which does not meet the requirement in the style file according to the mapbox vector tile style specification; step 6: the map frame openlayer is combined with the ol-mapbox-style plug-in to load the vector tile and render the style; and 7: generating a preliminary vector tile map; and 8: comparing the style of the hypergraph map with the style of the hypergraph map in combination with the step 2.1; and step 9: forming a final vector tile map. The method can quickly generate the vector tile pattern available for the open source software based on the usability of the domestic hypergraph software, and realizes a free and exquisite vector tile electronic map.

Description

Vector tile rendering method realized 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 matching mode, and particularly relates to a vector tile rendering method realized 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 open source communities of geographic information, open source electronic maps, particularly open source vector tile electronic map services, are used as a preferred map display mode for everyone, and the vector tiles have the characteristics of small data volume, infinite zooming and dynamically adjustable map styles compared with the traditional grid tiles.
The hypergraph software is used as the largest GIS software service provider in China, the user base number is large, the use habit of the user is formed, and people can select hypergraph vector tiles to be presented as project basic maps in project production. However, the hypergraph is a closed-source product, and a certain fee is charged in the project development process. Therefore, the patent value is reflected under the condition that the precondition of using habits of users is met and the requirement of displaying the map 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 realized 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 and exquisite vector tile electronic map.
In order to achieve the purpose, the invention adopts the technical scheme that:
a vector tile rendering method realized based on hypergraph desktop fusion open source software is characterized by comprising the following steps:
step 1, preparing a vector data file;
step 2, the method 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 map configuration requirements of a project map;
step 2.2: selecting a vector tile generation mode according to the thematic map, selecting a pattern and data separation option, designating a position to generate a vector cache, opening a cache file path, deleting vector tile pattern non-related files, only keeping vector tile pattern related files, and then copying the vector tile pattern files to a project development directory;
and 3, step 3: adding a vector data file to data storage by using an open-source GIS server geoserver, releasing each layer and checking vector tile options, constructing a layer group of the layer according to the point, line and plane superposition sequence of a hypergraph configuration diagram, releasing vector tile cache, and generating a vector tile service;
and 4, step 4: checking whether the layer names in the pattern file are consistent with the layer names of the vector tile layer groups, and modifying the pattern file if the layer names are inconsistent;
and 5: modifying the unsatisfactory hypergraph STYLE file in the STYLE file according to the mapbox vector tile STYLE SPECIFICATION (STYLE SPECIFICATION);
step 6: loading a vector tile map service issued by a geoserver by using a front-end map frame (openlayer) in combination with an ol-mapbox-style plug-in, and analyzing the hypergraph style file modified in the step 5;
and 7: rendering and generating a preliminary vector tile map by a client;
and 8: comparing the style of the hypergraph map with the style of the hypergraph map, checking the places with inconsistent style of the vector tile map, and modifying the style file;
and step 9: forming a final vector tile map.
The vector data source can be a database or a vector file shp.
The cache file path comprises fonts, writes, styles, thumbnail, tiles and sci files.
The vector tile style is not related to files such as thumbnail, tiles and sci.
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 file under the styles folder is consistent with the name of each layer in the vector tile layer group, if not, the source-layer attribute is modified, otherwise, the corresponding layer cannot be rendered at the client.
The invention has the beneficial effects that:
1. the key point in open source vector tile rendering is the vector tile style mapping file. The exquisite style matching accounts for a large part of the workload. The hypergraph software is used as the first GIS in the domestic industry, is easy to use and humanized and has comprehensive functions. A user can rapidly and conveniently match the map according to the map matching requirement and export the open source vector tile pattern file.
2. The open source vector tile style file that is exported may be used as an open source vector tile rendering with little or no modification. Compared with the mode configuration through an open source tool, the method achieves the effect of achieving twice the result with half the effort.
3. The invention lists the whole process of producing the open source vector tile pattern by fusing the hypergraph vector tile pattern file, points out the key points of the problem and achieves the consistency of the vector tile effect of open source software rendering and the vector tile effect of hypergraph rendering.
4. The invention provides a complete open source vector tile rendering scheme, and points out detailed technical route key points.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The invention is further described with reference to the following figures 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: preparing a vector data file, wherein the vector data source 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 map configuration requirements of a project map; step 2.2: and selecting a vector tile generation mode according to the thematic map, selecting a style and data separation option, and designating a position to generate a vector cache. And opening a cache file path, wherein the file contains (fonts, writes, styles, thumbnai, tiles and. sci files), deleting the thumbnai, tiles and. sci files, and only keeping the vector tile style related file. Then copying the vector tile style file to a project development directory;
and step 3: and adding a vector data file to 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 surfaces of the hypergraph distribution graph, releasing vector tile cache and generating vector tile service;
and 4, step 4: checking whether the source-layer attribute of the layer name in the style file under the styles folder is consistent with the names of all layers in the vector tile layer group, and modifying the source-layer attribute if the source-layer attribute is inconsistent, otherwise, rendering the corresponding layer at the client;
and 5: the unsatisfactory structure in the STYLE file is modified according to the mapbox vector tile STYLE SPECIFICATION (STYLE SPECIFICATION). Because the hypergraph vector tile style body follows the mapbox map style and integrates some attributes of the hypergraph, the step is to convert some attributes of the hypergraph to the mapbox map specification;
step 6: loading a vector tile map service issued by a geoserver by using a front-end map frame (openlayer) in combination with an ol-mapbox-style plug-in, and analyzing a modified hypergraph style file;
and 7: rendering and generating a preliminary vector tile map by a client;
and step 8: and (3) comparing the hypergraph map style with the hypergraph map style, checking the places with inconsistent vector tile map styles, and modifying the style file. A hypergraph sometimes requires a contrast check when deriving a vector tile pattern because it sometimes has a multiple layer pattern or a few layer patterns, which are present;
and step 9: forming a final vector tile map.

Claims (5)

1. A vector tile rendering method realized based on hypergraph desktop fusion open source software is characterized by comprising the following steps:
step 1, preparing a vector data file;
step 2, the method 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 map configuration requirements of a project map;
step 2.2: selecting a vector tile generation mode according to the thematic map, selecting a pattern and data separation option, designating a position to generate a vector cache, opening a cache file path, deleting vector tile pattern non-related files, only keeping vector tile pattern related files, and then copying the vector tile pattern files to a project development directory;
and step 3: adding a vector data file to data storage by using an open-source GIS server geoserver, releasing each layer and checking vector tile options, then constructing a layer group of the layer according to the overlapping sequence of points, lines and surfaces of a hypergraph matching graph, releasing vector tile cache, and generating a vector tile service;
and 4, step 4: checking whether the layer names in the pattern file are consistent with the layer names of the vector tile layer groups, and modifying the pattern file if the layer names are inconsistent;
and 5: modifying the unsatisfactory hypergraph STYLE file in the STYLE file according to the mapbox vector tile STYLE SPECIFICATION (STYLE SPECIFICATION);
and 6: loading a vector tile map service issued by a geoserver by using a front-end map frame (openlayer) in combination with an ol-mapbox-style plug-in, and analyzing the hypergraph style file modified in the step 5;
and 7: rendering and generating a preliminary vector tile map by a client;
and 8: comparing the style of the hypergraph map with the style of the hypergraph map, checking the places with inconsistent style of the vector tile map, and modifying the style file;
and step 9: forming a final vector tile map.
2. The method for rendering the vector tiles based on the hypergraph desktop fusion open source software as claimed in claim 1, wherein the vector data source can be a database or a vector file shp.
3. The method of claim 1, wherein the cached file path comprises fonts, writes, styles, tsumbnai, tiles, and. sci files.
4. The method for vector tile rendering based on hypergraph desktop fusion open source software implementation of claim 1, wherein the vector tile style is not related to files thumbnail, tiles,. sci.
5. The method for vector tile rendering based on hypergraph desktop fusion open source software implementation according to claim 1, wherein the checking of the style file in step 4 is to check whether a source-layer attribute of a layer name in a style file under a styles folder is consistent with a layer name in a vector tile layer group, and the source-layer attribute is modified in an inconsistent manner, 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 true CN114972671A (en) 2022-08-30
CN114972671B 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
杨智昊: "煤矿空间数据矢量瓦片关键技术研究", 《硕士电子期刊》, 28 February 2019 (2019-02-28), pages 1 - 83 *

Also Published As

Publication number Publication date
CN114972671B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
US8244743B2 (en) Scalable rendering of large spatial databases
US8589448B2 (en) Method and device for displaying and browsing a multi-faceted data set
CN110134724A (en) A kind of the data intelligence extraction and display system and method for Building Information Model
EP1963957A2 (en) User-to-user recommender
CN110866123A (en) Method for constructing data map based on data model and system for constructing data map
CN102254029A (en) View-based data access system and method
CN104794221A (en) Multi-dimensional data analyzing system based on service objects
US20200342029A1 (en) Systems and methods for querying databases using interactive search paths
US8140593B2 (en) Data viewer management
WO2023241519A1 (en) Bim component creation method and apparatus, and digital design resource library application method and apparatus
CN115114356B (en) Real-time decryption method based on vector data front-end display
CN109726295A (en) Brand knowledge map display methods, device, figure server and storage medium
CN115470323A (en) Method for improving searching precision of building industry based on word segmentation technology
US20080005078A1 (en) Temporal extent considerations in reporting on facts organized as a dimensionally-modeled fact collection
CN114972671A (en) Vector tile rendering method realized based on hypergraph desktop fusion open source software
CN109783596B (en) ArcGIS map configuration preview method based on Angular component
CN105488146B (en) Courseware material management method and system of computer aided training system
CN108304495A (en) A kind of implementation method and realization device of the service interface of WFS
CN112966041A (en) Data processing method, device, equipment and storage medium
CN112818043A (en) Data source report generation method based on JSON self-description
CN112395285A (en) Configuration method and system for trading graph of power market
CN109933567A (en) Archive of surveying and mapping spatialization processing application system and method based on GIS modelling technique
CN108984666A (en) Data processing method, data processing equipment and server
CN117034900B (en) Automatic generation method of API (application program interface) code file, terminal equipment and storage medium
CN115540847A (en) Map updating and displaying method, device, medium and map data center station

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