A three-dimensional topographic map drawing method and system

By dividing digital images and elevation maps into tiles and constructing a three-dimensional grid, the problem of large-scale, high-precision topographic map drawing is solved, and three-dimensional topographic map drawing suitable for different scenarios is realized, ensuring the accuracy and accuracy of topographic maps. Resource utilization efficiency.

CN112530009BActive Publication Date: 2024-08-27SICHUAN JIANSHAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011226592.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-06
Publication Date
2024-08-27
Estimated Expiration
2040-11-06

AI Technical Summary

Technical Problem

Existing technology is difficult to meet the needs for large-scale, high-precision or different-precision terrain three-dimensional topographic map drawing, and its application scenarios are limited.

Method used

By acquiring digital images and elevation maps, they are divided into image tiles and elevation tiles, and a three-dimensional grid is constructed on each elevation tile, adjusted to be consistent with the size of the real tiles, and the image tiles are mapped to the elevation tiles and spliced ​​into Complete 3D terrain map.

Benefits of technology

It realizes the rapid generation of three-dimensional topographic maps that completely match the real topography, is suitable for drawing large and small-scale topographic maps, avoids waste of resources, and solves the problem of limited application scenarios in the existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112530009B
    Figure CN112530009B
Patent Text Reader

Abstract

The present invention provides a three-dimensional topographic map drawing method, which relates to the field of three-dimensional model construction. The method includes the following steps: obtaining a digital image and an elevation map of a topographic map; dividing the digital image to obtain a plurality of image tiles, and numbering the image tiles; obtaining the longitude and latitude of the image tiles, dividing the elevation map according to the longitude and latitude, obtaining a plurality of elevation tiles, and numbering the elevation tiles; constructing a three-dimensional grid on each elevation tile, adjusting the elevation tile to be consistent with the size of the real tile; mapping the image tile to the three-dimensional grid of the corresponding elevation tile according to the number, and obtaining a tile three-dimensional terrain; calculating the relative position of the elevation tile on the topographic map, and splicing a plurality of tile three-dimensional terrains into a complete three-dimensional topographic map according to the relative position. The present invention is used to solve the technical problem that the three-dimensional terrain drawing method in the prior art cannot meet the drawing of large-scale, high-precision or different-precision terrains, and the application scenarios are limited.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of three-dimensional model construction, and in particular to a three-dimensional topographic map drawing method and system. Background Art

[0002] Geographic information visualization mainly uses computer graphics and image processing technology to visualize and interact with geographic information data or intermediate calculation results in two-dimensional, three-dimensional or multi-dimensional ways, showing the spatial characteristics and attribute characteristics of geographic entities. With the development of computer hardware and software, three-dimensional terrain visualization technology has been widely developed and applied, and its application areas involve many industries such as military, agriculture, transportation, and smart cities. Among them, geographic data such as elevation maps and digital images (including satellite images and aerial images) can be used to construct a three-dimensional terrain system, so that geographic information such as buildings, rivers, and roads can be accurately matched with longitude and latitude positions to show rich and accurate geographic features.

[0003] Topographic maps can be stored in a single image or in tiles. Elevation maps and digital images have different resolutions (from kilometers to centimeters). Topographic maps of the same range have different spatial sizes at different resolutions. The difficulty of drawing three-dimensional topographic maps of different topographic maps is different. For example, small-scale, low-longitude terrain contains less data and is less difficult to draw; large-scale, high-precision terrain contains more data and is more difficult to draw; and terrain involving large areas and different precisions is more difficult to draw.

[0004] The rendering of large-scale, high-precision or different-precision three-dimensional terrain maps has long been the focus and difficulty of research in academia and industry. The more mature three-dimensional terrain systems on the market, such as Google Earth and Cesium, can unify geographic data information such as satellite images, aerial images and GIS on a three-dimensional earth model, and intuitively display the geographic spatial structure and attribute details. However, these systems are only used in some specific three-dimensional terrain application fields or customized three-dimensional terrain rendering, and there are problems such as the inability to carry out secondary development or the difficulty of development, and the complexity of direct application. In the face of the growing demand for three-dimensional terrain rendering, it is crucial to design and implement efficient three-dimensional terrain rendering methods and systems. Summary of the invention

[0005] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a three-dimensional terrain mapping method and system to solve the technical problems that the three-dimensional terrain mapping method in the prior art cannot meet the requirements of drawing large-scale, high-precision or different-precision terrains and has limited application scenarios.

[0006] The present invention provides a three-dimensional topographic map drawing method, the method comprising the following steps:

[0007] S1: Acquire a digital image and an elevation map of a topographic map, wherein the digital image includes a satellite image and an aerial image;

[0008] S2: Divide the digital image into a number of image tiles, and number the image tiles;

[0009] S3: Obtain the longitude and latitude of the image tile, divide the elevation map according to the longitude and latitude to obtain a plurality of elevation tiles, and number the elevation tiles so that the numbers of the elevation tiles and image tiles at the same position correspond;

[0010] S4: construct a 3D grid on each elevation tile;

[0011] S5: Adjust the elevation tile to be consistent with the real tile size;

[0012] S6: Mapping the image tiles to the three-dimensional grid of the corresponding elevation tiles according to the numbers to obtain the tile three-dimensional terrain;

[0013] S7: Calculate the relative position of the elevation tile on the topographic map, and splice a plurality of tile three-dimensional terrains into a complete three-dimensional topographic map according to the relative position.

[0014] In one embodiment of the present invention, the step S2 specifically includes the following steps:

[0015] S21: Divide the digital image according to the power of 2 to obtain a plurality of image tiles. Specifically, the maximum resolution is limited to 8192x8192.

[0016] S22: number each image tile according to the position coordinate (i, j);

[0017] S23: Output each image tile in sequence and store them in the format of "png", "jpeg", "tif" or the like.

[0018] In one embodiment of the present invention, S3 specifically includes the following steps:

[0019] S31: Obtain metadata of the image tile, and extract the latitude and longitude of the image tile from the metadata;

[0020] S32: dividing the elevation map according to the latitude and longitude to obtain a plurality of elevation tiles;

[0021] S33: numbering each elevation tile according to the position coordinates (i, j) so that the numbers of the elevation tiles and image tiles at the same position correspond to each other;

[0022] S34: Output each elevation tile in turn and store them in "raw" or "png" format.

[0023] The metadata is one of the core standards used to describe the content, quality, representation, spatial reference, management method and characteristics of geographic datasets, including the latitude and longitude information of image tiles.

[0024] In one embodiment of the present invention, the latitude and longitude include the upper left latitude and longitude and the lower right latitude and longitude coordinates of the image tile and / or the lower left and upper right latitude and longitude coordinates of the digital image use or The size and position of the image tile can be determined.

[0025] In one embodiment of the present invention, the step S4 specifically includes the following steps:

[0026] S41: Split any elevation tile into AxB components;

[0027] S42: Divide each component into MxM segments;

[0028] S43: Divide each segment into NxN grids, and obtain the required resolution of the elevation tile as (A*M*N+1, B*M*N+1);

[0029] S44: reading vertices of the elevation tile, and constructing a three-dimensional grid based on the required resolution;

[0030] In one embodiment of the present invention, the step S4 further includes: when there is a deviation between the required resolution and the actual resolution of the elevation tile, a filling or interpolation method is used to eliminate the deviation.

[0031] In one embodiment of the present invention, the step S5 specifically includes the following steps:

[0032] S51: Calculate the size of the real elevation tile according to the latitude and longitude, and calculate the length and width scaling coefficients of the elevation tile;

[0033] S52: Calculate the altitude coefficient of the elevation tile vertex;

[0034] S53: Scaling the elevation tile according to the length and width scaling coefficient and the altitude coefficient, and adjusting the elevation tile to be consistent with the size of the actual elevation tile.

[0035] In one embodiment of the present invention, the step S7 specifically includes the following steps:

[0036] S71: Calculate the relative position (i', j') of the elevation tile on the topographic map according to the position coordinates (i, j);

[0037] S72: splicing all the elevation tiles into a complete elevation map in sequence according to the relative positions, so that the tile three-dimensional terrains on the elevation tiles are spliced ​​into a complete three-dimensional terrain map.

[0038] In one embodiment of the present invention, step S8 is further included: taking an elevation tile as a topographic map, repeating the above steps S1 to S7, and further drawing the elevation tile into a high-precision three-dimensional topographic map.

[0039] The specific implementation of step S8 is as follows:

[0040] S81: Obtain the image tile corresponding to the elevation tile;

[0041] S82: Divide the image tile into a plurality of sub-image tiles, and number the sub-image tiles;

[0042] S83: Obtain the longitude and latitude of the image fragment, divide the elevation tile according to the longitude and latitude to obtain a plurality of sub-elevation tiles, and number the sub-elevation tiles so that the numbers of the sub-elevation tiles and the sub-image tiles at the same position correspond to each other;

[0043] S84: construct a three-dimensional grid on each sub-elevation tile, and adjust the sub-elevation tile to be consistent with the size of the real sub-elevation tile;

[0044] S85: Mapping the sub-image tile to the three-dimensional grid of the corresponding sub-elevation tile according to the number to obtain the sub-tile three-dimensional terrain;

[0045] S86: Calculate the relative position of the sub-elevation tile on the elevation tile, and splice a plurality of sub-tile three-dimensional terrains into a complete high-precision three-dimensional terrain map according to the relative position.

[0046] A three-dimensional topographic map drawing system, the system comprising:

[0047] Acquisition module: used to obtain digital images and elevation maps of a topographic map;

[0048] Digital image division module: used to divide the digital image into several image tiles and number the image tiles;

[0049] Elevation map division module: used to obtain the longitude and latitude of the image tile, divide the elevation map according to the longitude and latitude, obtain a number of elevation tiles, and number the elevation tiles so that the numbers of the elevation tiles and image tiles at the same position correspond;

[0050] Construction module: used to build a 3D grid on each elevation tile;

[0051] Adjustment module: adjust the elevation tile to the same size as the real tile;

[0052] Mapping module: used to map the image tiles to the three-dimensional grid of the corresponding elevation tiles according to the numbers to obtain the tile three-dimensional terrain;

[0053] Stitching module: used to calculate the relative position of elevation tiles on the topographic map, and stitch several tile three-dimensional terrains into a complete three-dimensional topographic map based on the relative position.

[0054] As described above, the present invention has the following beneficial effects:

[0055] 1. The present invention provides a three-dimensional terrain drawing method, which divides the elevation map and the digital image with the same latitude and longitude as the basis, quickly generates one-to-one corresponding elevation tiles and image tiles, and lays the foundation for subsequent accurate texture mapping, so that the generated three-dimensional terrain map is completely matched with the real terrain. Moreover, the present invention is not limited by the application scenario, and is suitable for drawing large and small range terrain maps, including drawing three-dimensional terrain maps of the entire earth. Therefore, the present invention has a good prospect of use.

[0056] 2. The present invention first draws a three-dimensional topographic map of the largest range, and obtains the three-dimensional topographic map with the lowest accuracy in one round of drawing. After the preliminary drawing is completed, one or several important elevation tiles in the elevation map are selected for further drawing to obtain elevation tiles with higher accuracy, so as to avoid drawing an entire topographic map into a unified high-precision three-dimensional topographic map, thereby solving the problem of resource waste. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 Shown is a flow chart of the three-dimensional topographic map drawing method disclosed in the present invention.

[0058] Figure 2 Shown is a schematic diagram of the division of the digital image disclosed in the present invention.

[0059] Figure 3 Shown is a schematic diagram of the longitude and latitude of the elevation tiles disclosed in the present invention.

[0060] Figure 4 Shown is a schematic diagram of the segmentation of elevation tiles disclosed in the present invention.

[0061] Figure 5 Shown is a schematic diagram of the structure of the three-dimensional grid disclosed in the present invention.

[0062] Figure 6 The display shows the required resolution and actual resolution disclosed in the present invention Figure 1 .

[0063] Figure 7 The display shows the required resolution and actual resolution disclosed in the present invention Figure 2 .

[0064] Figure 8Displayed is the tiled three-dimensional terrain map disclosed in the present invention.

[0065] Fig. 9 Shown is a three-dimensional schematic diagram of the components disclosed in the present invention.

[0066] Fig.10 Displayed is a complete three-dimensional topographic map disclosed in the present invention.

[0067] Fig.11 Shown is a comparison chart of the accuracy of the elevation tiles and sub-elevation tiles disclosed in the present invention.

[0068] Fig.12 Shown is a structural diagram of the three-dimensional terrain mapping system disclosed in the present invention.

[0069] Component number description

[0070] 1-image tile; 11-sub-image tile; 2-elevation tile; 21-sub-elevation tile; 3-component; 4-segment; 5-grid. DETAILED DESCRIPTION

[0071] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0072] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0073] See also Figure 1 The present invention provides a three-dimensional topographic map drawing method, the method comprising the following steps:

[0074] S1: Acquire a digital image and an elevation map of a topographic map, wherein the digital image includes a satellite image and an aerial image, and both the satellite image and the aerial image carry metadata;

[0075] See also Figure 2 , S2: Divide the digital image to obtain a number of image tiles 1, and number the image tiles 1;

[0076] Specifically, the S2 specifically includes the following steps:

[0077] S21: Divide the digital image according to powers of 2 to obtain a plurality of image tiles. Specifically, the resolution sizes are 1x1, 2x2, 4x4, 8x8, 16x16, 32x32, 64x64, 128x128, 256x256, 512x512, 1024x1024, 2048x2048, 4096x4096, and 8192x8192, a total of 14 levels. The maximum resolution is limited to 8192x8192. Only when the resolution size is a power of 2 can the Mipmap processing condition be met.

[0078] S22: numbering each image tile according to the position coordinate (i, j), each image tile has only one corresponding position coordinate, i represents the row where the image tile is located, and j represents the column where the image tile is located;

[0079] S23: Output each image tile in sequence, wherein the image tile is an 8-bit depth palette image or a 24-bit RGB true color image, and is stored in a format such as "png", "jpeg", or "tif".

[0080] S3: Obtain the longitude and latitude of the image tile, divide the elevation map according to the longitude and latitude, obtain a plurality of elevation tiles 2, and number the elevation tiles so that the numbers of the elevation tiles 2 and the image tiles 1 at the same position correspond;

[0081] In this embodiment, the elevation map is divided according to the latitude and longitude of the image tile, so that the divided elevation tiles are consistent with the image tile size and position, ensuring that the texture of the image tile can be quickly and accurately mapped to the elevation tile later.

[0082] Specifically, the S3 specifically includes the following steps:

[0083] S31: Obtain metadata of the image tile, and extract the latitude and longitude of the image tile from the metadata;

[0084] The metadata is one of the core standards used to describe the content, quality, representation, spatial reference, management method and characteristics of geographic datasets, including the latitude and longitude information of image tiles.

[0085] See also Figure 3 Specifically, the latitude and longitude include the upper left latitude and longitude and the lower right latitude and longitude coordinates of the image tile And / or the lower left latitude and longitude, upper right latitude and longitude coordinates of the digital image use or The size and position of the image tile can be determined.

[0086] S32: dividing the elevation map according to the latitude and longitude to obtain a plurality of elevation tiles;

[0087] S33: numbering each elevation tile according to the position coordinates (i, j) so that the numbers of the elevation tiles and image tiles at the same position correspond to each other;

[0088] S34: Output each elevation tile in turn and store them in "raw" or "png" format. At the same time, interfaces are reserved for other elevation tile formats for later expansion.

[0089] S4: construct a 3D grid on each elevation tile;

[0090] Specifically, the S4 comprises the following steps:

[0091] See also Figure 4 ,S41: In order to achieve the best performance of terrain rendering, certain technical restrictions must be followed to achieve the best balance between effect and performance. Therefore, the terrain tiles are divided into multiple components 3. As the basic rendering unit, visibility calculation and collision detection can be performed, that is, any elevation tile is divided into AxB components, such as Fig. 9 As shown, an elevation tile is divided into four components;

[0092] S42: the component can be further divided into 4 segments, which are used as the basic unit for terrain LOD calculation, that is, each component is divided into MxM segments, and the number of vertices of the segments is a power of 2, so that different LOD levels can be stored in the Mipmap of the texture;

[0093] S43: Each segment is composed of a plurality of grids 5, that is, each segment is divided into NxN grids, and the required resolution of the elevation tile is obtained as (A*M*N+1, B*M*N+1), and the length of the elevation tile can be calculated: ResolutionX=A*M*N+1, and the width: ResolutionY=B*M*N+1;

[0094] S44: Read the vertices of the elevation tile and construct a three-dimensional grid based on the grid. The three-dimensional grid is as follows: Figure 5 shown.

[0095] Based on the above embodiment, the S4 further includes: when the required resolution of the elevation tile is inconsistent with the actual resolution, a padding or interpolation method is used to eliminate the deviation:

[0096] It can be seen that the required resolution is (A*M*N+1, B*M*N+1); the actual resolution of the elevation tile is the default resolution;

[0097] For details, please refer to Figure 6, when the required resolution is greater than the actual resolution (that is, the required elevation tile size is smaller than the actual size):

[0098] By obtaining the vertices (transparent points) adjacent to the actual resolution and filling them around the actual resolution vertices (black points), the elevation tiles are enlarged.

[0099] See also Figure 7 , when the required resolution is smaller than the actual resolution (that is, the required elevation tile size is larger than the actual size):

[0100] The elevation tile can be reduced in size by deleting the outer vertices or by interpolating the middle vertices (transparent points).

[0101] S5: Adjust the elevation tile to be consistent with the real tile size;

[0102] Specifically, S5 includes the following steps:

[0103] S51: Calculate the size (length and width) of the real elevation tile according to the latitude and longitude, and then calculate the length and width scaling coefficient l1 of the elevation tile;

[0104] This step requires the use of the Haversine formula. The process of calculating the distance d between two points is as follows:

[0105]

[0106]

[0107]

[0108] From formulas (1) to (3), we can get:

[0109]

[0110] Where R is the radius of the Earth, are the latitudes of the two points, and Δρ is the longitude difference between the two points.

[0111] See also Figure 3 , therefore, according to the elevation tile or Formula (4) can be used to calculate the length and width of the real tile (RealSizeX, RealSizeY);

[0112] Calculate the height and width scaling factor l1 of the elevation tile:

[0113]

[0114] Unit is the unit in the 3D scene, and the default value is millimeter.

[0115] S52: Calculate the altitude coefficient of the elevation tile vertex. The calculation formula of the altitude coefficient l2 is as follows:

[0116] l2=Unit*(Elevation max -Elevation min ); (6)

[0117] Among them, Elevation max Elevation is the highest altitude of the real tile. min is the actual lowest altitude, that is, the altitude coefficient l2 is the product of the altitude difference of the actual tile and the three-dimensional scene unit.

[0118] S53: scaling the elevation tile according to the length-width scaling factor l1 and the altitude coefficient l2, and adjusting the elevation tile to be consistent with the size of the real elevation tile.

[0119] S6: Map the image tiles to the three-dimensional grid of the corresponding elevation tiles according to the numbers to obtain the tile three-dimensional terrain (i.e., the elevation tiles after mapping the texture), such as Figure 8 As shown;

[0120] And use the following formula and the size of the elevation tile to map the texture of the tile image to the elevation tile:

[0121]

[0122] Wherein, the TexCoords is the texture coordinates, ranging from (0,1), and UV is the mapping coordinates.

[0123] S7: Calculate the relative position of the elevation tile on the topographic map, and splice a plurality of tile three-dimensional terrains into a complete three-dimensional topographic map according to the relative position.

[0124] Specifically, the S7 specifically includes the following steps:

[0125] S71: Calculate the relative position (i', j') of the elevation tile on the topographic map according to the position coordinates (i, j). The calculation process is as follows:

[0126] (i',j')=(ResolutionX*j,ResolutionY*i)*l1; (8)

[0127] S72: according to the relative position (i', j'), all the elevation tiles are sequentially stitched into a complete elevation map, so that the tile three-dimensional terrain on the elevation tile is stitched into a complete three-dimensional terrain map, such as Fig.10 As shown, the drawing of the three-dimensional terrain of the topographic map is realized.

[0128] Based on the above embodiment, the method further includes step S8: taking an elevation tile as a topographic map, repeating the above steps S1 to S7, and further drawing the elevation tile into a high-precision three-dimensional topographic map.

[0129] In this embodiment, according to the requirements of different accuracies, the high-precision elevation tiles and digital images are further divided, and according to the above steps S1 to S7, the digital images are mapped onto the elevation tiles, thereby obtaining a three-dimensional topographic map with higher accuracy.

[0130] The specific implementation of step S8 is as follows:

[0131] S81: Obtain the image tile corresponding to the elevation tile;

[0132] S82: Divide the image tile into a plurality of sub-image tiles 11, and number the sub-image tiles;

[0133] S83: Obtain the longitude and latitude of the image fragment, divide the elevation tile according to the longitude and latitude, obtain a plurality of sub-elevation tiles 21, and number the sub-elevation tiles so that the numbers of the sub-elevation tiles and the sub-image tiles at the same position correspond;

[0134] S84: construct a three-dimensional grid on each sub-elevation tile, and adjust the sub-elevation tile to be consistent with the size of the real sub-elevation tile;

[0135] S85: Mapping the sub-image tile to the three-dimensional grid of the corresponding sub-elevation tile according to the number to obtain the sub-tile three-dimensional terrain;

[0136] S86: Calculate the relative position of the sub-elevation tile on the elevation tile, and splice a plurality of sub-tile three-dimensional terrains into a complete high-precision three-dimensional terrain map according to the relative position.

[0137] See also Fig.11 , is the precision comparison between elevation tile 2 and sub-elevation tile 21. It can be seen from the figure that the clarity of sub-elevation tile is higher than that of elevation tile. In this embodiment, due to the different locations and importance of different areas, the required precision is also different. If the same precision is used for a whole topographic map, it may cause waste of resources or fail to achieve the desired effect. Therefore, by adopting this solution to selectively further divide the elevation tiles and improve the precision, resource allocation can be changed and resource utilization can be improved.

[0138] See also Fig.12 , a three-dimensional topographic map drawing system, the system comprising:

[0139] Acquisition module: used to obtain digital images and elevation maps of a topographic map;

[0140] Digital image division module: used to divide the digital image into several image tiles and number the image tiles;

[0141] Elevation map division module: used to obtain the longitude and latitude of the image tile, divide the elevation map according to the longitude and latitude, obtain a number of elevation tiles, and number the elevation tiles so that the numbers of the elevation tiles and image tiles at the same position correspond;

[0142] Construction module: used to build a 3D grid on each elevation tile;

[0143] Adjustment module: adjust the elevation tile to the same size as the real tile;

[0144] Mapping module: used to map the image tiles to the three-dimensional grid of the corresponding elevation tiles according to the numbers to obtain the tile three-dimensional terrain;

[0145] Stitching module: used to calculate the relative position of elevation tiles on the topographic map, and stitch several tile three-dimensional terrains into a complete three-dimensional topographic map based on the relative position.

[0146] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A method for drawing a three-dimensional topographic map, It is characterized in that The method first draws a three-dimensional topographic map with the largest range, and then draws a three-dimensional topographic map with the lowest precision. After the preliminary drawing is completed, one or several important elevation tiles in the elevation map are selected for further drawing to obtain elevation tiles with higher precision, so as to avoid drawing the entire topographic map into a unified high-precision three-dimensional topographic map; the method includes the following steps: S1: Obtain a digital image and elevation map of a topographic map; S2: Divide the digital image into a number of image tiles, and number the image tiles; S3: The elevation map and the digital image are divided based on the same longitude and latitude to generate one-to-one corresponding elevation tiles and image tiles, laying a foundation for subsequent accurate texture mapping, so that the generated three-dimensional terrain map is completely matched with the real terrain: the longitude and latitude of the image tile are obtained, the elevation map is divided according to the longitude and latitude to obtain a plurality of elevation tiles, and the elevation tiles are numbered so that the numbers of the elevation tiles and image tiles at the same position correspond to each other; S4: construct a 3D grid on each elevation tile; S5: Calculate the size of the real elevation tile according to the latitude and longitude, and adjust the elevation tile to be consistent with the size of the real elevation tile; S6: Mapping the image tiles to the three-dimensional grid of the corresponding elevation tiles according to the numbers to obtain the tile three-dimensional terrain; S7: Calculate the relative position of the elevation tile on the topographic map, and splice several tile three-dimensional terrains into a complete three-dimensional topographic map according to the relative position; It also includes step S8: according to the requirements of different precisions, the high-precision elevation tiles and digital images are further divided, one elevation tile is used as a topographic map, the above S1 to S7 are repeated, and a number of sub-image tiles and a number of sub-elevation tiles are obtained by dividing the one elevation tile, and the one elevation tile is further drawn into a high-precision three-dimensional topographic map.

2. The three-dimensional topographic map drawing method according to claim 1, Features: The S2 specifically includes the following steps: S21: dividing the digital image according to the power of 2 to obtain a plurality of image tiles; S22: number each image tile according to the position coordinate (i, j); S23: Output each image tile in sequence and store them.

3. The three-dimensional topographic map drawing method according to claim 1, Features: The S3 specifically includes the following steps: S31: Obtain metadata of the image tile, and extract the latitude and longitude of the image tile from the metadata; S32: dividing the elevation map according to the latitude and longitude to obtain a plurality of elevation tiles; S33: numbering each elevation tile according to the position coordinates (i, j) so that the numbers of the elevation tiles and image tiles at the same position correspond to each other; S34: Output each elevation tile in sequence and store them.

4. The three-dimensional topographic map drawing method according to claim 3, Features: The latitude and longitude include the upper left latitude and longitude and lower right latitude and longitude coordinates of the image tile and / or the lower left and upper right latitude and longitude coordinates of the digital image use or Determines the size and position of image tiles.

5. The three-dimensional topographic map drawing method according to claim 1, Features: The S4 specifically comprises the following steps: S41: Split any elevation tile into AxB components; S42: Divide each component into MxM segments; S43: Divide each segment into NxN grids, and obtain the required resolution of the elevation tile as (A*M*N+1, B*M*N+1); S44: Read the vertices of the elevation tile and construct a three-dimensional mesh based on the required resolution.

6. The three-dimensional topographic map drawing method according to claim 5, Features: The S4 also includes: when there is a deviation between the required resolution and the actual resolution of the elevation tile, a filling or interpolation method is used to eliminate the deviation.

7. The three-dimensional topographic map drawing method according to claim 1, Features: The S5 specifically includes the following steps: S51: Calculate the size of the real elevation tile according to the latitude and longitude, and calculate the length and width scaling coefficients of the elevation tile; S52: Calculate the altitude coefficient of the elevation tile vertex; S53: Scaling the elevation tile according to the length and width scaling coefficient and the altitude coefficient, and adjusting the elevation tile to be consistent with the size of the actual elevation tile.

8. The three-dimensional topographic map drawing method according to claim 1, Features: The S7 specifically comprises the following steps: S71: Calculate the relative position (i', j') of the elevation tile on the topographic map according to the position coordinates (i, j); S72: splicing all the elevation tiles into a complete elevation map in sequence according to the relative positions, so that the tile three-dimensional terrains on the elevation tiles are spliced ​​into a complete three-dimensional terrain map.

9. A three-dimensional topographic map drawing system, It is characterized in that The system is used to execute the three-dimensional topographic map drawing method according to any one of claims 1 to 8, and the system comprises: Acquisition module: used to obtain digital images and elevation maps of a topographic map; Digital image division module: used to divide the digital image into several image tiles and number the image tiles; Elevation map division module: used to obtain the longitude and latitude of the image tile, divide the elevation map according to the longitude and latitude, obtain a number of elevation tiles, and number the elevation tiles so that the numbers of the elevation tiles and image tiles at the same position correspond; Construction module: used to build a 3D grid on each elevation tile; Adjustment module: adjust the elevation tile to the same size as the real tile; Mapping module: used to map the image tiles to the three-dimensional grid of the corresponding elevation tiles according to the numbers to obtain the tile three-dimensional terrain; Stitching module: used to calculate the relative position of elevation tiles on the topographic map, and stitch several tile three-dimensional terrains into a complete three-dimensional topographic map based on the relative position.