CN109408657B - Method and system for rapidly drawing super-large-scale spatial data - Google Patents

Method and system for rapidly drawing super-large-scale spatial data Download PDF

Info

Publication number
CN109408657B
CN109408657B CN201811351249.1A CN201811351249A CN109408657B CN 109408657 B CN109408657 B CN 109408657B CN 201811351249 A CN201811351249 A CN 201811351249A CN 109408657 B CN109408657 B CN 109408657B
Authority
CN
China
Prior art keywords
data
tile
vector
map
vector tile
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
CN201811351249.1A
Other languages
Chinese (zh)
Other versions
CN109408657A (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.)
NATIONAL GEOMATICS CENTER OF CHINA
Original Assignee
NATIONAL GEOMATICS CENTER OF CHINA
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 NATIONAL GEOMATICS CENTER OF CHINA filed Critical NATIONAL GEOMATICS CENTER OF CHINA
Priority to CN201811351249.1A priority Critical patent/CN109408657B/en
Publication of CN109408657A publication Critical patent/CN109408657A/en
Application granted granted Critical
Publication of CN109408657B publication Critical patent/CN109408657B/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
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method and a system for quickly drawing super-large-scale spatial data; wherein, the method comprises the following steps: acquiring a vector tile map on line; wherein the vector tile map comprises vector tile data and tile style data; determining a tile level corresponding to the drawing requirement and a row and column range in the tile level; calling vector tile data and tile style data corresponding to the tile levels and the row and column ranges from the vector tile map; splicing the vector tile data to generate a grid map; and finishing the grid map to generate a spatial data drawing result. The method carries out drawing based on the online vector tile map, carries out real-time dynamic rendering of drawing patterns according to drawing requirements, has the calculation amount only related to the level and the range of the called tiles, has simple calculation process, avoids the problem of large data processing amount caused by drawing after the traditional drawing is firstly carried out by shrink-editing, and improves the drawing efficiency of spatial data.

Description

Method and system for rapidly drawing super-large-scale spatial data
Technical Field
The invention relates to the technical field of geospatial information, in particular to a method and a system for quickly drawing super-large-scale spatial data.
Background
With the gradual development of earth observation, satellite remote sensing, ecological assessment and homeland supervision towards macroscopic view, dynamic view and refinement, the generation and updating speed of basic geographic information data is faster and faster, and the precision is higher and higher, so that massive multi-period and high-precision geographic information result data is formed. With the increase of data volume and the expansion of drawing range, the performance of space data drawing software is not enough to bear the drawing requirement of massive space data; meanwhile, with the increase of the original data volume, the work load of the map data compilation is correspondingly increased, and the compilation processing time is too long, so that the efficiency of the traditional map drawing means is relatively low, and when the map drawing method is applied to large-scale geographic space data drawing, a plurality of bottlenecks are met, and the objective requirement of large-scale space-time geographic data quick drawing is difficult to meet.
Aiming at the problems of long time consumption and low efficiency of data processing in the conventional space data charting mode, an effective solution is not provided.
Disclosure of Invention
In view of the above, the present invention provides a method and a system for fast mapping of very large scale spatial data, so as to improve the mapping efficiency of spatial data.
In a first aspect, an embodiment of the present invention provides a method for fast mapping of very large scale spatial data, where the method includes: acquiring a vector tile map on line; wherein the vector tile map comprises vector tile data and tile style data; determining a tile level corresponding to the drawing requirement and a row and column range in the tile level; calling vector tile data and tile style data corresponding to the tile levels and the row and column ranges from the vector tile map; splicing the vector tile data to generate a grid map; and finishing the grid map to generate a spatial data drawing result.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where before the step of obtaining the vector tile map online, the method further includes: acquiring spatial data of a set area; vector slicing is carried out on the spatial data to generate vector tile data of multiple levels; designing a drawing style according to drawing requirements, and generating a style scheme of a vector tile; and releasing the vector tile data according to a preset network map service specification and a preset style scheme to form an online vector tile map.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the method further includes: carrying out visualization processing on the vector tile map; and adjusting the style scheme according to the drawing requirement to generate the tile style data.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the step of performing vector slicing on the spatial data to generate multi-level vector tile data includes: partitioning the layer corresponding to the spatial data to form a plurality of levels of partitioned layers; the partitioned image layer is an image layer corresponding to the partitioned spatial data; each partition layer of each level is composed of a plurality of layer areas; between adjacent levels of partition layers, one layer region in a previous level partition layer corresponds to a plurality of layer regions in a next level partition layer; according to the lowest-level partition layer, performing partition processing on the spatial data, and adding a basic index identifier to each region data in the partitioned spatial data; adding partition index identification to each layer area in each partition layer; and determining the partition image layers, the base index identification and the partition index identification of the multiple hierarchies as vector tile data of multiple hierarchies.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the step of designing the drawing pattern according to the drawing requirement and generating the pattern scheme for the vector tiles includes: designing a drawing pattern of the vector tile data according to drawing requirements; and configuring the vector tile data according to the drawing style to generate a style scheme of the vector tile.
In a second aspect, an embodiment of the present invention provides a device for fast mapping super-large-scale spatial data, where the device includes: the map acquisition module is used for acquiring the vector tile map on line; wherein the vector tile map comprises vector tile data and tile style data; the determining module is used for determining a tile level corresponding to the drawing requirement and a row and column range in the tile level; the system comprises a calling module, a searching module and a display module, wherein the calling module is used for calling vector tile data and tile style data corresponding to tile levels and line and row ranges from a vector tile map; the splicing processing module is used for splicing the vector tile data to generate a grid map; and the finishing processing module is used for finishing the grid map to generate a spatial data drawing result.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the apparatus further includes: the data acquisition module is used for acquiring spatial data of a set area; the slicing module is used for carrying out vector slicing on the spatial data to generate multi-level vector tile data; the pattern design module is used for designing a drawing pattern according to drawing requirements and generating a pattern scheme of the vector tiles; and the publishing module is used for publishing the vector tile data according to the preset network map service specification and the style scheme to form an online vector tile map.
With reference to the first possible implementation manner of the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the apparatus further includes: the visualization module is used for carrying out visualization processing on the vector tile map; and the style adjusting module is used for adjusting the style scheme according to the drawing requirement and generating the tile style data.
With reference to the first possible implementation manner of the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, where the slicing module is further configured to: partitioning the layer corresponding to the spatial data to form a plurality of levels of partitioned layers; the partitioned image layer is an image layer corresponding to the partitioned spatial data; each partition layer of each level is composed of a plurality of layer areas; between adjacent levels of partition layers, one layer region in a previous level partition layer corresponds to a plurality of layer regions in a next level partition layer; according to the lowest-level partition layer, performing partition processing on the spatial data, and adding a basic index identifier to each region data in the partitioned spatial data; adding partition index identification to each layer area in each partition layer; and determining the partition image layers, the base index identification and the partition index identification of the multiple hierarchies as vector tile data of multiple hierarchies.
In a third aspect, an embodiment of the present invention provides a system for fast mapping of very-large-scale spatial data, including a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions capable of being executed by the processor, and the processor executes the machine-executable instructions to implement the spatial data mapping method.
The embodiment of the invention has the following beneficial effects:
according to the method and the system for rapidly drawing the super-large-scale spatial data, after a vector tile map is obtained on line, the level and the row and column range of tiles are determined according to drawing requirements, and then corresponding vector tile data and tile style data are called from the map; generating a grid map through the vector tile data, and finishing the grid map so as to generate a spatial data mapping result; the method is used for drawing based on the online vector tile map, and the real-time dynamic rendering of the drawing pattern is carried out according to the drawing requirement, the calculated amount is only related to the level and the range of the called tile, the calculating process is simple, the problem of large data processing amount caused by drawing after the traditional drawing is firstly carried out by shrink-editing is solved, and the space data drawing efficiency is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention as set forth above.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart of a method for fast mapping of very large scale spatial data according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for fast mapping of very large scale spatial data according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a device for rapidly mapping very large scale spatial data according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a system for rapidly mapping super-large-scale spatial data according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Spatial data mapping is an intuitive geographic information expression means. The traditional spatial data mapping is realized by utilizing geographic information mapping software, and the mapping method comprises the following main steps: (1) loading data, namely loading basic drawing data in geographic information drawing software; (2) determining the content, namely determining the theme and the content of the drawing; (3) designing symbols, namely designing drawing symbols expressed by drawing contents; (4) data rendering, which uses the determined content and the designed symbol to render data in the drawing software; (5) the map finishing, the finishing element of the design drawing; (6) and outputting the map, and outputting the final map. Along with the difference of drawing scales, original space data needs to be subjected to compiling treatment to form drawing data with various scales so as to meet the drawing requirements of the space data.
However, with the increase of the data volume of the original spatial data, the work load of compiling the map data is correspondingly increased, so that a worker spends a large amount of time to process the data before drawing, the drawing efficiency is relatively low, and the objective requirement of fast drawing of large-scale space-time geographic data is difficult to meet.
In consideration of the problems that the conventional spatial data mapping mode consumes too long time for data processing and has low efficiency, the embodiment of the invention provides a method and a system for quickly mapping super-large-scale spatial data; the technology can be applied to the process of drawing based on large-scale spatial data, in particular to the process of quickly drawing based on online spatial map data; the techniques may be implemented in associated software or hardware, as described by way of example below.
Referring to a flow chart of a method for rapidly mapping ultra-large-scale spatial data shown in fig. 1, the method includes the following steps:
step S102, obtaining a vector tile map on line; wherein the vector tile map comprises vector tile data and tile style data;
step S104, determining a tile level corresponding to the drawing requirement and a row and column range in the tile level;
typically, the map displayed on different tile levels is of different scale; for example, the city-level map and the provincial map are on different tile levels, the display range of the city-level map is smaller than that of the provincial map, and the scale of the city-level map is larger than that of the provincial map; if the drawing requirement of the user is a city-level map, the corresponding tile level is relatively lower than that of a provincial-level map; the extent of the drawing start and end lines is determined in the tile hierarchy according to the particular city range in the drawing requirements.
Step S106, vector tile data and tile style data corresponding to the tile levels and the row and column ranges are called from the vector tile map;
step S108, splicing the vector tile data to generate a grid map; specifically, by adopting a tile splicing algorithm to splice vector tiles step by step, a complete grid map of a target range can be formed;
and step S110, finishing the grid map to generate a spatial data drawing result.
Since the vector tile map is published on the network, the map not only contains vector tile data, but also includes tile style data corresponding to each tile, so as to enhance the visibility of the map; because drawing requirements of different users are different, after the grid map is acquired, other finishing objects may be added on the basis, for example, characters, marks and the like are added to complete the finishing processing, and a final spatial data drawing result is generated.
According to the method for rapidly drawing the super-large-scale spatial data, provided by the embodiment of the invention, after a vector tile map is obtained on line, the level and the row and column range of tiles are determined according to drawing requirements, and then corresponding vector tile data and tile style data are called from the map; generating a grid map through the vector tile data, and finishing the grid map so as to generate a spatial data mapping result; the method is used for drawing based on the online vector tile map, and the real-time dynamic rendering of the drawing pattern is carried out according to the drawing requirement, the calculated amount is only related to the level and the range of the called tile, the calculating process is simple, the problem of large data processing amount caused by drawing after the traditional drawing is firstly carried out by shrink-editing is solved, and the space data drawing efficiency is improved.
Referring to fig. 2, a flow chart of another method for rapidly mapping super-large-scale spatial data is shown, which is implemented on the basis of the method shown in fig. 1; the method comprises the following steps:
step S202, acquiring spatial data of a set area;
step S204, carrying out vector slicing on the spatial data to generate multi-level vector tile data;
specifically, the step S204 may be implemented by:
(1) partitioning the layer corresponding to the spatial data to form a plurality of levels of partitioned layers; the partitioned image layer is an image layer corresponding to the partitioned spatial data; each partition layer of each level is composed of a plurality of layer areas; between adjacent levels of partition layers, one layer region in a previous level partition layer corresponds to a plurality of layer regions in a next level partition layer;
(2) according to the lowest-level partition layer, performing partition processing on the spatial data, and adding a basic index identifier to each region data in the partitioned spatial data; adding partition index identification to each layer area in each partition layer;
(3) and determining the partition image layers, the base index identification and the partition index identification of the multiple hierarchies as vector tile data of multiple hierarchies.
Vector slicing can be carried out on the large-scale geographic space data through the steps to form multi-level vector tile data covering the universe; regardless of the level of the tile, the entire range of spatial data is seamlessly covered.
Step S206, designing a drawing style according to drawing requirements, and generating a style scheme of the vector tiles;
the readability of single vector tile data is poor, so that the vector tile data is needed to design a drawing style, and a style scheme is configured according to the requirement of each vector tile, so that a user in a non-professional field can quickly read and understand a map and conveniently perform operations such as marking, inquiring and the like when browsing the map on line.
And S208, releasing the vector tile data according to the preset network map service specification and the style scheme to form an online vector tile map.
The preset network map service specification can be a general network map service specification; after the vector tile data is subjected to style processing by a style scheme, a vector tile map with certain readability is formed; and then the map is locally published to a Web page through the service specification to form an online vector tile map service.
Step S210, carrying out visualization processing on the vector tile map;
step S212, adjusting the style scheme according to the drawing requirement, and generating tile style data.
Specifically, the step S212 can be implemented by the following steps: (1) designing a drawing pattern of the vector tile data according to drawing requirements; (2) and configuring the vector tile data according to the drawing style to generate a style scheme of the vector tile. Because the vector tile map is an online map, a draftsman can perform visual processing on the map at a browser end and beautify and adjust drawing style parameters according to drawing requirements, so that the style of the vector tile map meets the drawing requirements.
Step S214, obtaining a vector tile map on line; wherein the vector tile map comprises vector tile data and tile style data;
step S216, determining a tile level corresponding to the drawing requirement and a row and column range in the tile level;
step S218, vector tile data and tile style data corresponding to the tile levels and the row and column ranges are called from the vector tile map;
step S220, splicing the vector tile data to generate a grid map;
step S222, performing a finishing process on the grid map to generate a spatial data mapping result.
In the method, the space data is sliced, style designed and issued, so that an online vector tile map can be obtained, and drawing is performed based on the online vector tile map, so that the problem of large data processing capacity caused by drawing after compiling is effectively solved, and the multi-level tile map can meet the drawing requirements of a multi-scale; the method can conveniently design the display style according to the drawing requirement and dynamically render in real time, and can effectively solve the problems that the style of the traditional map tile cannot be changed after slicing, the workload is large and the processing mode is complicated because the style needs to be re-sliced when changing; in addition, the data volume of the above-mentioned bare-handed mode is only related to the tile level and the tile row and column range, the calculation process is simple tile splicing, fast map output can be realized, the problems of large rendering calculation amount and low efficiency of traditional map output in large data volume are solved, and the spatial data mapping efficiency is improved.
Corresponding to the above method embodiment, referring to fig. 3, a schematic structural diagram of a device for rapidly mapping super-large-scale spatial data is shown, where the device includes the following parts:
the map acquisition module 30 is used for acquiring the vector tile map on line; wherein the vector tile map comprises vector tile data and tile style data;
a determining module 31, configured to determine a tile level corresponding to the drawing requirement, and a range of rows and columns within the tile level;
the calling module 32 is configured to call vector tile data and tile style data corresponding to the tile hierarchy and the row and column range from the vector tile map;
the splicing processing module 33 is configured to splice the vector tile data to generate a grid map;
and the finishing processing module 34 is used for finishing the grid map to generate a spatial data drawing result.
The above-mentioned device still includes: the data acquisition module is used for acquiring spatial data of a set area; the slicing module is used for carrying out vector slicing on the spatial data to generate multi-level vector tile data; the pattern design module is used for designing a drawing pattern according to drawing requirements and generating a pattern scheme of the vector tiles; and the publishing module is used for publishing the vector tile data according to the preset network map service specification and the style scheme to form an online vector tile map.
The above-mentioned device still includes: the visualization module is used for carrying out visualization processing on the vector tile map; and the style adjusting module is used for adjusting the style scheme according to the drawing requirement and generating the tile style data.
The slicing module is further configured to: partitioning the layer corresponding to the spatial data to form a plurality of levels of partitioned layers; the partitioned image layer is an image layer corresponding to the partitioned spatial data; each partition layer of each level is composed of a plurality of layer areas; between adjacent levels of partition layers, one layer region in a previous level partition layer corresponds to a plurality of layer regions in a next level partition layer; according to the lowest-level partition layer, performing partition processing on the spatial data, and adding a basic index identifier to each region data in the partitioned spatial data; adding partition index identification to each layer area in each partition layer; and determining the partition image layers, the base index identification and the partition index identification of the multiple hierarchies as vector tile data of multiple hierarchies.
According to the device for quickly drawing the super-large-scale spatial data, provided by the embodiment of the invention, after a vector tile map is obtained on line, the level and the row and column range of tiles are determined according to the drawing requirement, and then corresponding vector tile data and tile style data are called from the map; generating a grid map through the vector tile data, and finishing the grid map so as to generate a spatial data mapping result; the method is used for drawing based on the online vector tile map, and the real-time dynamic rendering of the drawing pattern is carried out according to the drawing requirement, the calculated amount is only related to the level and the range of the called tile, the calculating process is simple, the problem of large data processing amount caused by drawing after the traditional drawing is firstly carried out by shrink-editing is solved, and the space data drawing efficiency is improved.
Referring to fig. 4, a schematic structural diagram of a system for rapidly mapping super-large-scale spatial data is shown; the device comprises a memory 100 and a processor 101; the memory 100 is used for storing one or more computer instructions, and the one or more computer instructions are executed by the processor to implement the above-mentioned method for rapid mapping of hyper-large space data, which may include one or more of the above methods.
Further, the network management device shown in fig. 4 further includes a bus 102 and a communication interface 103, and the processor 101, the communication interface 103 and the memory 100 are connected through the bus 102.
The Memory 100 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 102 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
The processor 101 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 101. The Processor 101 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present disclosure may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present disclosure may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100, and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
Further, the disclosed embodiments also provide a machine-readable storage medium storing machine-executable instructions, which when invoked and executed by a processor, cause the processor to implement the above-mentioned rapid mapping method for supersized spatial data, which may include one or more of the above methods.
The embodiment of the invention provides a method, a device and a system for quickly drawing super-large-scale spatial data, and provides a large-scale spatial data quick drawing mode, wherein large-scale geographic spatial data is released to serve as a vector slicing map, and is quickly drawn through pattern design and tile splicing; specifically, the problem that drawing is carried out after the traditional large-data-volume spatial data needs to be subjected to shrink-editing is effectively solved by slicing the large-scale spatial data, the drawing requirements of a multi-scale can be met by multi-level slices, the vector tile technology supports dynamic customized drawing styles, and the interactive online drawing requirements are met; the tile splicing method is adopted for drawing output, the problem of rendering calculation amount of large data volume vector data drawing output is greatly reduced, the multi-level tiles support drawing output requirements of different resolutions, a new means is provided for rapid drawing of mass geographic spatial data in a big data era, and the tile splicing method has a wide application prospect.
The computer program product of the method, the device and the system for quickly mapping the very-large-scale spatial data provided by the embodiment of the invention comprises a computer readable storage medium storing program codes, wherein instructions included in the program codes can be used for executing the method described in the previous method embodiment, and specific implementation can refer to the method embodiment, which is not described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for rapidly mapping super-large-scale spatial data, which is characterized by comprising the following steps:
acquiring a vector tile map on line; wherein the vector tile map comprises vector tile data and tile style data;
determining a tile level corresponding to a drawing requirement and a row and column range in the tile level;
calling vector tile data and tile style data corresponding to the tile hierarchy and the row and column range from the vector tile map;
splicing the vector tile data to generate a grid map;
finishing the grid map to generate a spatial data drawing result;
before the step of obtaining the vector tile map online, the method further comprises:
acquiring spatial data of a set area;
vector slicing is carried out on the spatial data, and multi-level vector tile data are generated;
designing a drawing pattern according to the drawing requirement, and generating a pattern scheme of the vector tiles;
and releasing the vector tile data according to a preset network map service specification and the style scheme to form the online vector tile map.
2. The method of claim 1, further comprising:
performing visualization processing on the vector tile map;
and adjusting the style scheme according to the drawing requirement to generate the tile style data.
3. The method of claim 1, wherein the step of vector slicing the spatial data to generate multi-level vector tile data comprises:
partitioning the layer corresponding to the spatial data to form a plurality of levels of partitioned layers; the partitioned image layer is an image layer corresponding to the partitioned spatial data; the partition layer of each level is composed of a plurality of layer areas; between the partition layers of adjacent levels, one layer region in the upper partition layer corresponds to a plurality of layer regions in the lower partition layer;
according to the partition layer at the lowest level, the spatial data are subjected to partition processing, and basic index identification is added to each region data in the partitioned spatial data; adding partition index identification to each layer area in each partition layer;
determining the partition image layers of the multiple levels, the base index identifier and the partition index identifier as the vector tile data of the multiple levels.
4. The method according to claim 1, wherein the step of designing the drawing pattern according to the drawing requirements, generating a pattern scheme for vector tiles, comprises:
designing a drawing pattern of the vector tile data according to the drawing requirement;
and configuring the vector tile data according to the drawing pattern to generate a pattern scheme of the vector tile.
5. A device for rapidly mapping super-large-scale spatial data, which is characterized by comprising:
the map acquisition module is used for acquiring the vector tile map on line; wherein the vector tile map comprises vector tile data and tile style data;
the determining module is used for determining a tile level corresponding to the drawing requirement and a row and column range in the tile level;
the calling module is used for calling vector tile data and tile style data corresponding to the tile hierarchy and the row and column range from the vector tile map;
the splicing processing module is used for splicing the vector tile data to generate a grid map;
the finishing processing module is used for finishing the grid map to generate a spatial data drawing result;
the device further comprises:
the data acquisition module is used for acquiring spatial data of a set area;
the slicing module is used for carrying out vector slicing on the space data to generate multi-level vector tile data;
the pattern design module is used for designing a drawing pattern according to the drawing requirement and generating a pattern scheme of the vector tiles;
and the publishing module is used for publishing the vector tile data according to a preset network map service specification and the style scheme to form the online vector tile map.
6. The apparatus of claim 5, further comprising:
the visualization module is used for carrying out visualization processing on the vector tile map;
and the style adjusting module is used for adjusting the style scheme according to the drawing requirement to generate the tile style data.
7. The apparatus of claim 5, wherein the slicing module is further configured to:
partitioning the layer corresponding to the spatial data to form a plurality of levels of partitioned layers; the partitioned image layer is an image layer corresponding to the partitioned spatial data; the partition layer of each level is composed of a plurality of layer areas; between the partition layers of adjacent levels, one layer region in the upper partition layer corresponds to a plurality of layer regions in the lower partition layer;
according to the partition layer at the lowest level, the spatial data are subjected to partition processing, and basic index identification is added to each region data in the partitioned spatial data; adding partition index identification to each layer area in each partition layer;
determining the partition image layers of the multiple levels, the base index identifier and the partition index identifier as the vector tile data of the multiple levels.
8. A system for rapid mapping of very large scale spatial data, comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any of claims 1 to 4.
CN201811351249.1A 2018-11-13 2018-11-13 Method and system for rapidly drawing super-large-scale spatial data Active CN109408657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811351249.1A CN109408657B (en) 2018-11-13 2018-11-13 Method and system for rapidly drawing super-large-scale spatial data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811351249.1A CN109408657B (en) 2018-11-13 2018-11-13 Method and system for rapidly drawing super-large-scale spatial data

Publications (2)

Publication Number Publication Date
CN109408657A CN109408657A (en) 2019-03-01
CN109408657B true CN109408657B (en) 2021-02-02

Family

ID=65473014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811351249.1A Active CN109408657B (en) 2018-11-13 2018-11-13 Method and system for rapidly drawing super-large-scale spatial data

Country Status (1)

Country Link
CN (1) CN109408657B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209856A (en) * 2019-06-17 2019-09-06 广东电网有限责任公司清远供电局 A kind of the map rendering method and device of O&M of transmitting electricity
CN110399446A (en) * 2019-07-26 2019-11-01 广州市城市规划勘测设计研究院 Method for visualizing, device, equipment and the storage medium of extensive space-time data
CN110738718A (en) * 2019-09-04 2020-01-31 中国国土勘测规划院 Three-dimensional visualization method for kinds of homeland data
CN110865750B (en) * 2019-10-09 2021-04-30 成都中科合迅科技有限公司 Stepless zooming display method of tile map
CN111090657B (en) * 2019-10-28 2024-04-12 吉奥时空信息技术股份有限公司 Automatic updating and instant service system for vector tiles
CN112101464B (en) * 2020-09-17 2024-03-15 西安锐思数智科技股份有限公司 Deep learning-based image sample data acquisition method and device
CN112395445A (en) * 2020-11-17 2021-02-23 高崟 Vector data online calculation method and device
CN112328929B (en) * 2020-11-30 2023-11-07 苏州工业园区测绘地理信息有限公司 People stream density dynamic visualization method based on vector tile map release technology
CN112598793B (en) * 2020-12-31 2023-02-17 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Three-dimensional map tile vector grid integrated system and method
CN112765292A (en) * 2021-01-07 2021-05-07 中国电建集团贵州电力设计研究院有限公司 Method for processing shp data by using tile technology
CN113626547A (en) * 2021-07-29 2021-11-09 北京中交兴路信息科技有限公司 Freight industry map vector slicing method and device, storage medium and terminal
CN113761101A (en) * 2021-10-13 2021-12-07 史原东 System and method for custom map matching of vector tile electronic map
CN114048280B (en) * 2022-01-07 2022-04-29 成都国星宇航科技有限公司 Vector slice processing method, device, server and storage medium
CN114661841A (en) * 2022-02-24 2022-06-24 广州市城市规划勘测设计研究院 Electronic map publishing method, device and equipment and electronic map scheduling method
CN114461841B (en) * 2022-04-14 2022-07-05 自然资源部第三地理信息制图院 Automatic contraction and editing method for land utilization data
CN116149561B (en) * 2023-02-22 2024-03-12 中科星图数字地球合肥有限公司 Tile data transmission method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040025106A (en) * 2002-09-18 2004-03-24 주식회사 스파이어테크놀로지 Method of providing map data
CN102801797A (en) * 2012-08-03 2012-11-28 北京世纪高通科技有限公司 Method and device for processing traffic information of mobile internet
CN103699641A (en) * 2013-12-24 2014-04-02 北京易华录信息技术股份有限公司 Method for accessing different raster map services
CN103744999A (en) * 2014-01-23 2014-04-23 中国人民解放军国防科学技术大学 Spatial vector data online interactive mapping method based on hierarchical-divided storage structure
CN106021436A (en) * 2016-05-16 2016-10-12 武汉大学 Vector tile map making method
CN106384371A (en) * 2016-09-20 2017-02-08 国家基础地理信息中心 Map drawing method based on vector tile
CN107391745A (en) * 2017-08-10 2017-11-24 国家基础地理信息中心 Extensive spatial data classification fast indexing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887595B (en) * 2009-05-14 2014-05-28 武汉如临其境科技创意有限公司 Three-dimensional digital earth-space data organizing and rendering method based on quad-tree index
US20100321399A1 (en) * 2009-06-18 2010-12-23 Patrik Ellren Maps from Sparse Geospatial Data Tiles
EP2997546B1 (en) * 2013-05-15 2020-09-02 Google LLC Efficient composition and rendering of graphical elements
US9972125B2 (en) * 2015-12-16 2018-05-15 Google Inc. Split tile map rendering
CN108509546A (en) * 2018-03-12 2018-09-07 浙江省地理信息中心 It is a kind of based on shared safe map vector dicing strategy and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040025106A (en) * 2002-09-18 2004-03-24 주식회사 스파이어테크놀로지 Method of providing map data
CN102801797A (en) * 2012-08-03 2012-11-28 北京世纪高通科技有限公司 Method and device for processing traffic information of mobile internet
CN103699641A (en) * 2013-12-24 2014-04-02 北京易华录信息技术股份有限公司 Method for accessing different raster map services
CN103744999A (en) * 2014-01-23 2014-04-23 中国人民解放军国防科学技术大学 Spatial vector data online interactive mapping method based on hierarchical-divided storage structure
CN106021436A (en) * 2016-05-16 2016-10-12 武汉大学 Vector tile map making method
CN106384371A (en) * 2016-09-20 2017-02-08 国家基础地理信息中心 Map drawing method based on vector tile
CN107391745A (en) * 2017-08-10 2017-11-24 国家基础地理信息中心 Extensive spatial data classification fast indexing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Generating tile maps;Graham McNeill1等;《2017 Computer Graphics Forum》;20171231;第36卷(第3期);435-445页 *

Also Published As

Publication number Publication date
CN109408657A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN109408657B (en) Method and system for rapidly drawing super-large-scale spatial data
US10667083B1 (en) Method and apparatus for determining index grids of geo-fence
Zhao et al. A parallel computing approach to viewshed analysis of large terrain data using graphics processing units
US9448754B2 (en) Resolving label collisions on a digital map
CN103035164B (en) Rendering method and system of geographic information system
CN110992469A (en) Visualization method and system for massive three-dimensional model data
CN107992589B (en) SVG map data loading method, device and system
CN114297206B (en) Refined efficient dynamic tile map service publishing method, medium and electronic equipment
CN103700126A (en) Device and corresponding method for controlling electronic map zooming
Domiter et al. Sweep‐line algorithm for constrained Delaunay triangulation
CN114462723B (en) Cloud layer migration minute-level photovoltaic power prediction method based on high-altitude wind resource influence
CN115906720A (en) Memory design method and device, electronic equipment and storage medium
Amirkhanyan et al. Real-time clustering of massive geodata for online maps to improve visual analysis
Zhou et al. Parallel identification and filling of depressions in raster digital elevation models
CN112115226B (en) Map rendering method and map rendering device
CN110475204B (en) Method, device and equipment for analyzing reverse address of geographic fence
CN107168961B (en) Data display method and device for chart
CN114116948B (en) Geographical vector data space buffer area analysis method, device, equipment and medium
CN108564637B (en) Geometric model arrangement method and device
CN107977923B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN114327395A (en) Webpage design method, device, computer equipment, storage medium and product
CN112381715B (en) Method and device for parallel generation of map tiles by mass remote sensing images
CN114494623A (en) LOD-based terrain rendering method and device
CN111159480B (en) Graph drawing method based on power grid GIS data
KR101293770B1 (en) apparatus for outputting data and method thereof

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