Differential quantization terrain perception method and system based on lightweight geographic information engine

By constructing a two- and three-dimensional integrated map based on a differential quantified terrain sensing method based on a lightweight geographic information engine, it solves the problem that traditional terrain sensing technology cannot support pathless navigation and equipment accessibility analysis, and achieves lightweight, full coverage Terrain awareness effects.

CN118658057AActive Publication Date: 2024-09-17SUZHOU AEROSPACE INFORMATION RES INST

Patent Information

Application Number
CN202410681263.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-17
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

Traditional terrain sensing technology cannot support pathless navigation requirements for people or devices without detection payloads, and cannot meet the trafficability analysis of different devices in a large area. There are few types of terrain sensing elements, mainly terrain undulations and obstacles.

Method used

Using a differential quantified terrain perception method based on a lightweight geographic information engine, the construction of two- and three-dimensional integrated maps and terrain perception are realized through original map data processing, differential network generation, differential sensing area selection, terrain perception, result processing and comprehensive visualization. Generation of results. Specific steps include the construction of the tile pyramid model, the expression mode of the graticule and differential mesh, characteristic color representation, classification judgment of surface elements and slope calculation, combined with longitude and latitude coordinate matching to generate surface terrain fusion perception results.

Benefits of technology

No additional detection equipment is required, reducing the load weight and power consumption of people and vehicles. It is suitable for portable devices such as mobile phones. The terrain sensing results cover a complete range of types, supporting the path planning needs of different entities such as people, vehicles, ships, and aircraft, and realizing the detection of different areas. Quick locking and comprehensive analysis of terrain conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658057A
    Figure CN118658057A
Patent Text Reader

Abstract

The invention discloses a differential quantization terrain perception method based on a lightweight geographic information engine. The method comprises the following steps: completing original map data tile cutting, building a tile pyramid model, carrying out basic geographic information data recombination rendering based on map data service, and building a two-dimensional and three-dimensional integrated map based on tile data; constructing a graticule and differential network dual-network expression mode, representing a target point position through a graticule, segmenting a sensing area through the differential network, and realizing data fusion of the differential network and basic geographic information; selecting a sensing area, and determining a corresponding differential grid to perform feature color representation; the method comprises the following steps: extracting corresponding two-dimensional and three-dimensional basic geographic information data according to a sensing area coverage range, carrying out primary classification judgment on earth surface elements based on two-dimensional data, carrying out terrain calculation based on three-dimensional data, and generating an earth surface and terrain fusion sensing result through coordinate matching; according to the method, tile basic geographic information data boundary cutting and splicing and feature interval boundary division are carried out by utilizing a corresponding relation between a graticule and a differential network, quantitative calculation of each feature region is completed through an irregular graph area calculation method, and comprehensive visualization is carried out. The method has complete element coverage types, and can effectively support path planning requirements of different entities such as people, vehicles, ships, aircrafts and the like; and the terrain network is finely constructed, so that rapid locking of different areas and comprehensive analysis of terrain conditions can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of geographic information system applications, and in particular to a differential quantization terrain perception method based on a lightweight geographic information engine. Background Art

[0002] Traditional navigation is oriented towards entities such as people and vehicles, and is implemented through algorithms such as Dijkstra, A*, and D*. The openness and accuracy of regional road network data are the basis of its calculation. Regional road network data is obtained through surveying and mapping and remote sensing images. Highway traffic management agencies at all levels are responsible for reviewing and reporting the data, and the map data production units are responsible for converting it into road network data that can be used by the software. This process requires a complex review and release process.

[0003] For pathless areas such as exploration, regional operations, etc., timely, fast, accurate, and attribute-rich terrain perception results can effectively improve the accuracy and availability of pathless navigation algorithm planning results. Traditional terrain perception is applied in the field of autonomous driving or autonomous flight of unmanned equipment, and is achieved through external detection sensors such as lidar or depth cameras, which requires a large number of equipment and instruments to work together. This method is suitable for vehicles, drones and other payload-carrying equipment to conduct close-range, small-scale regional detection to meet autonomous driving or autonomous flight missions, but cannot support pathless navigation needs for people or equipment without detection payloads; in addition, this method has fewer types of terrain perception elements, mainly terrain undulations and obstacles, and cannot meet the needs of trafficability analysis of different equipment in larger areas. Summary of the invention

[0004] The purpose of the present invention is to provide a differential quantization terrain perception method and system based on a lightweight geographic information engine.

[0005] The technical solution to achieve the purpose of the present invention is: a differential quantization terrain perception method based on a lightweight geographic information engine, comprising the following steps:

[0006] Step 1, original map data processing: based on the map data service, complete the tile cutting of the original map data, build a tile pyramid model, reorganize and render the basic geographic information data, and establish a two-dimensional and three-dimensional integrated map based on tile data;

[0007] Step 2, differential network generation: construct a dual network expression mode of longitude and latitude network and differential network, characterize the location of the target point through the longitude and latitude network, divide the perception area through the differential network, and realize the fusion of differential network and basic geographic information data;

[0008] Step 3, differential perception area selection: select the perception area and determine the corresponding differential grid for feature color representation;

[0009] Step 4, terrain perception: extract the corresponding two-dimensional and three-dimensional basic geographic information data according to the coverage of the perception area, perform primary classification judgment of surface elements based on the two-dimensional data, perform terrain calculation based on the three-dimensional data, and generate surface terrain fusion perception results through coordinate matching;

[0010] Step 5, result processing and comprehensive visualization: Utilize the correspondence between the longitude and latitude grid and the differential grid to perform boundary cutting and splicing of tile-based geographic information data, divide the boundary of feature intervals, complete the quantitative calculation of each feature area through the irregular graphic area calculation method, and perform comprehensive visualization.

[0011] Further, step 1, original map data processing: based on the map data service, the original map data tile cutting is completed, the tile pyramid model is constructed, the basic geographic information data is reorganized and rendered, and a two-dimensional and three-dimensional integrated map based on the tile data is established, which specifically includes:

[0012] Step 1.1, initialize the lightweight geographic information engine and map data service, and complete the tile cutting of the original map data;

[0013] Step 1.2: Cut the tile data and construct a tile pyramid model by equal division of longitude and latitude. Each level is divided into 2 2n tiles, where n represents the tile level, with the top left corner tile as the origin, and each tile is tile-encoded in the form of level_row_column;

[0014] Step 1.3, read the map zoom level and the longitude and latitude coordinates of the center of the screen, select the center tile in Mercator projection mode, select the tiles around the center tile as the visualization area according to the radiation rendering principle, and perform grid tile rendering layer by layer and tile by tile. The selected center tile is expressed as:

[0015]

[0016] Where k is the tile level, which is an integer between 0 and 22; N Tmap and M Tmap is the number of the tile map in the center of the screen. Combined with the tile level k, any tile number is represented as k_M Tmap _N Tmap ;(lon cent ,lat cent ) are the latitude and longitude coordinates of the map at the center of the screen.

[0017] Further, step 2, differential network generation: construct a dual network expression mode of longitude and latitude network and differential network, characterize the location of the target point by longitude and latitude network, divide the perception area by differential network, and realize the fusion of differential network and basic geographic information data. The specific method is as follows:

[0018] The latitude and longitude (lon0, lat0) of the upper left corner of the perception area is used as the origin of the differential grid calculation. The length λ is set as the horizontal and vertical step length of each grid in the differential grid. The differential grids are numbered according to the screen coordinate system representation rules. The representation method is (N, M), where N represents the Nth grid in the east direction from the origin, and M represents the Mth grid in the south direction from the origin. The calculation formula for the longitude and latitude coordinate values ​​of the center of each differential grid is as follows:

[0019]

[0020] Among them, lon N and lat M are the longitude and latitude of the differential grid (N, M), lon0 and lat0 are the longitude and latitude of the origin of the differential area, respectively. lat0 is the circumference of the latitude circle where the origin is located, C lon0 is the circumference of the meridian circle where the origin is located, C lat0 and C lon0 The calculation formula is as follows:

[0021]

[0022] Where R is the equatorial radius of the earth; B is the polar radius of the earth. The circumference of the latitude circle is calculated by assuming that the earth is a standard sphere, and the circumference of the meridian circle is calculated by assuming that the earth is a standard ellipsoid.

[0023] Differential grid (N, M) latitude coverage range is lat M1 to lat M2 Between, longitude coverage is lon N1 to lon N2 The longitude coverage of each differential grid is as follows:

[0024]

[0025] Among them, lon N1 is the degree of longitude on the west side of the differential grid, lon N2 is the degree of longitude on the east side of the differential grid;

[0026] The latitude coverage of each differential grid is as follows:

[0027]

[0028] Among them, lat M1 is the latitude degree of the south side of the differential grid, lat M2 is the degree of the north dimension line of the differential grid;

[0029] Based on the mapping relationship between longitude and latitude coordinates and differential grid, map data rendering is performed to complete the matching and fusion display of the position relationship between tile map and longitude and latitude grid and differential grid.

[0030] Further, step 3, differential perception area selection: selecting a perception area and performing feature color representation, specifically including:

[0031] Step 3.1, based on the touch position determination characteristics of the terminal capacitive screen, the user operation point is obtained, and the longitude and latitude coordinates of a point in the differential perception area under the Mercator projection are obtained by matching the screen pixel points with the current map tile level and the map coordinates of the center of the screen, and converted into longitude and latitude coordinates;

[0032] Take the upper left corner of the screen as the origin, take pixels as the unit, the X axis is rightward and the Y axis is downward. Suppose the screen coordinates of the user operation point are (X pscreen , Y pscreen ), the current display tile level is k and the Mercator projection coordinates of the screen center map are (x center ,y center ), the coordinate position of the user operation point under the Mercator projection is as follows:

[0033]

[0034] Among them, tileSize is the default size of the Mercator tile; width and height are the width and height of the map display area, in pixels;

[0035] The Mercator projection coordinates of the user's operating point are converted to longitude and latitude coordinates. The calculation formula is as follows:

[0036]

[0037] Among them, lat pscreen With lon pscreen are the latitude and longitude coordinates of the user's operating point, respectively;

[0038] Step 3.2, based on the mapping relationship between the longitude and latitude coordinates and the differential grid, determine the differential grid number of the user operation point, select the perception area, and perform feature color representation.

[0039] Further, step 4, terrain perception: extract the corresponding two-dimensional and three-dimensional basic geographic information data according to the coverage of the perception area, perform primary classification judgment of surface elements based on the two-dimensional data, perform terrain calculation based on the three-dimensional data, and generate surface terrain fusion perception results through coordinate matching, which specifically includes:

[0040] Step 4.1, obtain the sensing area coverage through the selected differential grid number, read the corresponding tile data, perform the primary classification judgment of the surface elements, and divide them into roads, buildings, forests, wastelands, green land, rivers, water systems, glaciers and waterways;

[0041] Step 4.2, obtain the three-dimensional elevation data of the sensing area map, extract the contour data, and calculate the slope and direction of each differential grid by interpolation method combined with surface fitting method. The specific method is as follows:

[0042] Each differential grid is divided into 9×9 windows, and then the windows are combined into 9 small calculation areas in a 3×3 pattern. The central window of each small calculation area is taken as the origin of slope and aspect calculation, and the slope and aspect in the small calculation area are estimated. The calculation formula is as follows:

[0043]

[0044] Among them, slope i and aspect i are the slope and slope direction of the center point of the i-th small calculation area, i is an integer between 1 and 9; slope we-i and slope sn-i are the slopes of the center point of the ith small calculation area in the x and y directions, respectively. The calculation formula is as follows:

[0045]

[0046] In the formula, e i-1 To e i-8 is the elevation point of the center of each small window in the i-th calculation unit;

[0047] Step 4.3, obtain the maximum slope value of the sensing area through the numerical comparison method, and calculate the average value of the slopes of the 9 small calculation areas to obtain the average slope of the differential grid;

[0048]

[0049] Step 4.4, through coordinate matching, the fusion of surface elements and the average slope of the differential grid is realized to generate the surface terrain fusion perception result.

[0050] Further, step 5, result processing and comprehensive visualization: using the correspondence between the latitude and longitude grid and the differential grid, the boundary cutting and splicing of the tile basic geographic information data are carried out, the boundary of the feature interval is divided, and the quantitative calculation of each feature area is completed by the irregular graphic area calculation method, and comprehensive visualization is carried out, which specifically includes:

[0051] Step 5.1, using the coordinate matching stitching method, by finding the adjacent tiles at the gap, form a minimum tile set that matches the differential grid;

[0052] Step 5.2, continue to segment the tiles obtained in step 5.1 according to the coordinate range of the sensing area, and cut off the redundant areas;

[0053] Step 5.3: Since the characteristic areas of roads, buildings, forests, wastelands, green lands, rivers, water systems, glaciers, and waterways are distributed in irregular shapes, the coverage area of ​​each characteristic area is calculated by the Gaussian area formula to obtain the classification and quantification results of different characteristic areas in each differential grid. The calculation formula is as follows;

[0054]

[0055] Among them, S is the area of ​​any polygon, n is the number of coordinate points on the edge of any polygon, (x i ,y i ) is the two-dimensional Cartesian coordinate of the ith point on the polygon, calculated counterclockwise from the vertex;

[0056] Step 5.4, calculate the proportion of each characteristic area based on the classification and quantification results of different characteristic areas in the differential grid. The calculation formula is as follows;

[0057]

[0058] In the formula, S is the area of ​​a certain feature block, and λ is the horizontal and vertical step size of each grid in the differential network;

[0059] Step 5.5, based on the lightweight geographic information engine chart rendering capability, a graphical visualization of the differential quantitative terrain perception results is performed, including the differential area range, the coverage range of each feature area based on the differential grid, and the average slope and maximum slope of the differential grid.

[0060] A differential quantization terrain perception system based on a lightweight geographic information engine implements the differential quantization terrain perception method based on a lightweight geographic information engine to achieve differential quantization terrain perception based on a lightweight geographic information engine.

[0061] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the differential quantitative terrain perception method based on a lightweight geographic information engine is implemented to realize differential quantitative terrain perception based on a lightweight geographic information engine.

[0062] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the differential quantization terrain perception method based on a lightweight geographic information engine is implemented to realize differential quantization terrain perception based on a lightweight geographic information engine.

[0063] Compared with the prior art, the present invention has the following significant advantages:

[0064] 1. Terrain perception is based on basic geographic information data, without the need for additional detection equipment, which can effectively reduce the load of people and vehicles, and reduce weight and power consumption;

[0065] 2. Data attribute extraction and comprehensive display of perception results are based on a lightweight geographic information engine, which can run on portable devices such as mobile phones and tablets, has low device dependence and space resource occupancy, and is highly applicable;

[0066] 3. Adopting the two-dimensional and three-dimensional fusion analysis method, extracting element information from two-dimensional geographic information data as basic data and extracting element information from three-dimensional geographic information data as optimized data. The element coverage types are complete and can effectively support the path planning needs of different entities such as people, vehicles, ships, and aircraft;

[0067] 4. The differential quantitative regional segmentation method is used to finely construct the terrain network, which can realize the rapid locking of different areas and comprehensive analysis of terrain conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 It is a real-time flow chart of the present invention.

[0069] Figure 2 Schematic diagram of global tile segmentation and naming rules.

[0070] Figure 3 Schematic diagram of differential grid segmentation and naming rules.

[0071] Figure 4 Schematic diagram of the location of the differential grid origin on the earth.

[0072] Figure 5 Schematic diagram of the relationship between map tiles and differential grids.

[0073] Figure 6 This is a schematic diagram of the slope and aspect calculation window.

[0074] Figure 7 Result map of differential quantized terrain perception. Implementation

[0076] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0077] The present invention proposes a differential quantization terrain perception method based on a lightweight geographic information engine. The method is based on a lightweight map data service and a geographic information engine to realize terrain Figure 2Three-dimensional integrated display achieves consistency in the expression of terrain perception results when switching. The dual-network expression mode of longitude and latitude grid and differential grid is adopted to build a refined terrain grid, realize the rapid locking of different areas and comprehensive analysis of terrain conditions. Based on the fusion analysis of two-dimensional map data and three-dimensional terrain data, the terrain perception element types are complete, which can effectively support the passability analysis of entities such as people and vehicles in scenes such as field exploration and regional operations. Specific steps:

[0078] 1. Original map data processing

[0079] Based on the map data service, the original map data is cut and converted into a tile format that can be adjusted as needed according to the data visualization range of the mobile device, reducing the CPU and GPU usage of large-scale map data loading; after the cutting is completed, the basic geographic information data is reorganized and rendered based on the lightweight geographic information engine through service publishing. The detailed steps are as follows:

[0080] (1) Cut the tile data and construct a tile pyramid model according to the longitude and latitude equalization method. Each level is divided into 2 2n tiles, where n represents the tile level. Taking the upper left corner tile as the origin, each tile is encoded in the form of level_row_column. The encoding rules are as follows: Figure 2 As shown, the cut map tiles are stored in the specified location based on the hierarchy.

[0081] (2) Based on the mapping between Cartesian coordinates and longitude and latitude coordinates, the spherical coordinates and plane coordinates are converted. By loading different source data, the on-demand loading and switching of two-dimensional and three-dimensional data is realized. The mapping method is shown in the following formula:

[0082]

[0083] Among them, x, y, z are the three-dimensional Cartesian coordinates of a point, and lon and lat are the two-dimensional longitude and latitude coordinates of the point.

[0084] (3) Read the map zoom level and the longitude and latitude coordinates of the center of the screen, and select the center tile under the Mercator projection mode. The calculation formula is as follows.

[0085]

[0086] Where k is the tile level, which is an integer between 0 and 22; N Tmap and M Tmap is the number of the tile map in the center of the screen. Combined with the tile level k, any tile number is represented as k_M Tmap _N Tmap ;(lon cent ,lat cent ) are the latitude and longitude coordinates of the map at the center of the screen.

[0087] According to the radiation rendering principle, tiles around the central tile are selected as the visualization area, and raster tile rendering is performed layer by layer and tile by tile. When the map slides and zooms, the tiles to be rendered are recalculated according to Formula 2.

[0088] 2. Differential network generation

[0089] Construct a dual-network expression model of longitude and latitude grid and differential network, use longitude and latitude grid to represent the location of target points, use differential network to divide the perception area, and realize the fusion expression of differential network and basic geographic information data based on lightweight geographic information engine.

[0090] The latitude and longitude (lon0, lat0) of the upper left corner of the perception area is used as the origin of the differential grid calculation, and the length λ is set as the horizontal and vertical step length of each grid in the differential grid. The differential grids are numbered according to the screen coordinate system representation rules, and the representation method is (N, M), where N represents the Nth grid in the east direction from the origin, and M represents the Mth grid in the south direction from the origin. The differential grid representation method is as follows: Figure 3 As shown, the longitude and latitude coordinates of each grid center are calculated according to formula 3:

[0091]

[0092] Among them, lon N and lat M are the longitude and latitude of the differential grid (N, M), lon0 and lat0 are the longitude and latitude of the origin of the differential area, respectively. lat0 is the circumference of the latitude circle where the origin is located, C lon0 is the circumference of the meridian circle where the origin is located. lat0 and C lon0 The location diagram on the earth is as follows Figure 4 The calculation formula is as follows:

[0093]

[0094] Where R is the radius of the Earth's equator, usually 6378.137 km; B is the radius of the Earth's poles, usually 6356.752 km. The Earth is assumed to be a standard sphere when calculating the circumference of the latitude circle, and a standard ellipsoid when calculating the circumference of the meridian circle.

[0095] The longitude coverage of each grid is shown in the following formula.

[0096]

[0097] Among them, lon N1 is the degree of longitude on the west side of the differential grid, lon N2is the degree of longitude on the east side of the differential grid.

[0098] The latitude coverage of each grid is shown in the following formula.

[0099]

[0100] Among them, lat M1 is the latitude degree of the south side of the differential grid, lat M2 is the degree of the north dimension of the differential grid. The latitude coverage of the differential grid (N, M) is lat M1 to lat M2 Between, longitude coverage is lon N1 to lon N2 between.

[0101] Based on the mapping relationship between longitude and latitude coordinates and differential grids, and based on the lightweight geographic information engine map data rendering method, the position relationship matching and fusion display of tile maps, longitude and latitude grids and differential grids are achieved.

[0102] 3. Differential perception area selection

[0103] Based on user input, the perception area differential grid is selected and feature color representation is performed. The detailed steps are as follows.

[0104] (1) Based on the touch position determination characteristics of the terminal capacitive screen, the user operation point is obtained. By matching the screen pixel point with the current map tile level and the map coordinates of the center of the screen, the longitude and latitude coordinates of a point in the perception area under the Mercator projection are obtained. The conversion steps are as follows.

[0105] 1) Take the upper left corner of the screen as the origin, take pixels as the unit, the X axis is rightward and the Y axis is downward, and get the screen coordinates of the click point (X pscreen , Y pscreen ), the current display tile level k and the Mercator projection coordinates of the screen center map (x center ,y center ), calculate the coordinate position of the click point under the Mercator projection, the calculation formula is as follows.

[0106]

[0107] Among them, (X pscreen , Y pscreen ) is the screen coordinate of the click point, in pixels; k is the current display tile level, an integer between 0 and 22; (x center ,y center) is the Mercator projection coordinate value of the map in the center of the screen; tileSize is the default size of the Mercator tile, which is usually 256 pixels; width and height are the width and height of the map display area, in pixels. Taking the horizontal full-screen display of the map on the Huawei Mate30 Epro device as an example, the value is consistent with the pixel value of the device screen, with a width value of 768 pixels and a height of 376 pixels.

[0108] 2) Convert the Mercator projection coordinates calculated in step 1) into longitude and latitude coordinates using the following calculation formula:

[0109]

[0110] Among them, lat pscreen With lon pscreen are the latitude and longitude coordinates of the clicked point, respectively.

[0111] 3) Based on formula (3) and formula (4), the differential grid number of the point selected by the user is reversely determined, the perception area is selected and the characteristic color representation is performed.

[0112] 4. Terrain perception

[0113] The surface and terrain elements of the perception area covered by the differential grid selected by the user are identified, the two-dimensional and three-dimensional basic geographic information data attribute elements of the perception area are extracted, the two-dimensional and three-dimensional perception results are matched through the longitude and latitude coordinates, the surface terrain fusion model is constructed, and the surface terrain fusion perception results are generated. The detailed steps are as follows:

[0114] 1) Based on formula (5) and formula (6), the coverage of the sensing area is obtained by selecting the differential grid number, and the surface attribute data of the vector tiles of all elements in the area are read to make a primary classification judgment of the surface elements and distinguish the large surface elements. The surface element types include roads, buildings, forests, wastelands, green spaces, rivers, water systems, glaciers, waterways, etc.

[0115] 2) Obtain the three-dimensional elevation data of the sensing area mapping through formula (1) and extract the contour data. Since the higher the algorithm complexity, the higher the computing power required for the device, considering the application on mobile portable devices, the slope and direction in the differential area are calculated by combining the interpolation method with the surface fitting method. Each differential grid is divided into 9×9 windows, and then the windows are combined into 9 small calculation areas by 3×3. The window diagram is shown in the figure below. Figure 6 As shown in the figure, the central window of each small calculation area is taken as the origin of slope and aspect calculation, and the slope and aspect in the small calculation area are estimated. Taking a certain calculation area as an example, the calculation formula is as follows:

[0116]

[0117] Among them, slope i and aspect i are the slope and slope direction of the center point of the i-th small calculation area, i is an integer between 1 and 9; slope we-i and slope sn-i are the slopes of the center point of the ith small calculation area in the x and y directions, respectively. The calculation formula is as follows:

[0118]

[0119] In the formula, e i-1 To e i-8 is the elevation point of the center of each small window in the i-th calculation area.

[0120] 3) The maximum slope value of the sensing area is obtained by numerical comparison method. At the same time, the overall slope of the differential grid area is evaluated by calculating the average slope of the 9 small calculation areas. The average slope calculation formula is as follows:

[0121]

[0122] 4) The fusion of two-dimensional data and three-dimensional data is achieved through coordinate matching. While maintaining the two-dimensional basic characteristics of micro-divided areas such as buildings, forests, wastelands, green spaces, rivers, water systems, glaciers, and waterways, the slope information calculated using three-dimensional geographic information data is used as optimized data to determine the overall trend of the terrain;

[0123] 5. Result processing and comprehensive visualization

[0124] Using the correspondence between the longitude and latitude grid and the differential grid, the boundaries of the tile-based geographic information data are cut and spliced, and the boundaries of the feature intervals are divided. The quantitative calculation of each feature area is completed through the irregular graphic area calculation method. Based on the lightweight geographic information engine geographic information data and text data rendering capabilities, the terrain perception results based on maps and charts are comprehensively visualized. The detailed steps are as follows:

[0125] 1) Since the differential grid and the tile map are not 1:1 matched, the coverage of the perception area is Figure 5 As shown in the figure, the region boundaries may be distributed inside different tiles, and there may be multiple complete tiles inside a certain perception area. The coordinate matching splicing method is used to find the detection results of adjacent tiles at the gap to form the minimum tile set that matches the differential grid;

[0126] 2) Continue to segment the tiles obtained in 1) according to the coordinate range of the perception area, crop the redundant areas, and retain the range of differential quantized terrain perception results that matches the perception area.

[0127] 3) Since the distribution of surface elements in the differential grid is irregular, the coverage area of ​​each type of road, building, forest, wasteland, green space, river, water system, glacier and waterway is calculated for each feature area by the Gaussian area formula. The calculation formula is as follows.

[0128]

[0129] Among them, S is the area of ​​any polygon, n is the number of coordinate points on the edge of any polygon, (x i ,y i ) is the two-dimensional Cartesian coordinate of the i-th point on the polygon measured counterclockwise from the vertex.

[0130] 4) Based on the classification and quantification results of characteristic blocks such as roads, buildings, forests, wastelands, green spaces, rivers, water systems, glaciers, and waterways in step 3), calculate the proportion of areas with the same characteristics in the differential area. The calculation formula is as follows.

[0131]

[0132] Where S is the area of ​​a certain feature block, and λ is the horizontal and vertical step size of each grid in the differential network.

[0133] Based on the lightweight geographic information engine chart rendering capability, the differential quantitative terrain perception results are visualized in a graphical form, such as Figure 7 As shown, the display elements include the range of the differential area, the coverage of each characteristic area based on the differential area, and the average slope and maximum slope of the differential area.

[0134] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0135] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A differential quantization terrain perception method based on a lightweight geographic information engine, characterized in that: The following steps are involved: Step 1, original map data processing: based on the map data service, complete the tile cutting of the original map data, build a tile pyramid model, reorganize and render the basic geographic information data, and establish a two-dimensional and three-dimensional integrated map based on tile data; Step 2, differential network generation: construct a dual network expression mode of longitude and latitude network and differential network, characterize the location of the target point through the longitude and latitude network, divide the perception area through the differential network, and realize the fusion of differential network and basic geographic information data; Step 3, differential perception area selection: select the perception area and determine the corresponding differential grid for feature color representation; Step 4, terrain perception: extract the corresponding two-dimensional and three-dimensional basic geographic information data according to the coverage of the perception area, perform primary classification judgment of surface elements based on the two-dimensional data, perform terrain calculation based on the three-dimensional data, and generate surface terrain fusion perception results through coordinate matching; Step 5, result processing and comprehensive visualization: Utilize the correspondence between the longitude and latitude grid and the differential grid to perform boundary cutting and splicing of tile-based geographic information data, divide the boundary of feature intervals, complete the quantitative calculation of each feature area through the irregular graphic area calculation method, and perform comprehensive visualization.

2. The differential quantization terrain perception method based on a lightweight geographic information engine according to claim 1 is characterized in that: Step 1, original map data processing: based on the map data service, complete the tile cutting of the original map data, build a tile pyramid model, reorganize and render the basic geographic information data, and establish a 2D and 3D integrated map based on tile data, including: Step 1.1, initialize the lightweight geographic information engine and map data service, and complete the tile cutting of the original map data; Step 1.2: Cut the tile data and construct a tile pyramid model by equal division of longitude and latitude. Each level is divided into 2 2n tiles, where n represents the tile level, with the top left corner tile as the origin, and each tile is tile-encoded in the form of level_row_column; Step 1.3, read the map zoom level and the longitude and latitude coordinates of the center of the screen, select the center tile in Mercator projection mode, select the tiles around the center tile as the visualization area according to the radiation rendering principle, and perform grid tile rendering layer by layer and tile by tile. The selected center tile is expressed as: Where k is the tile level, which is an integer between 0 and 22; N Tmap and M Tmap is the number of the tile map in the center of the screen. Combined with the tile level k, any tile number is represented as k_M Tmap _N Tmap ;(lon cent ,lat cent ) are the latitude and longitude coordinates of the map at the center of the screen.

3. The differential quantization terrain perception method based on a lightweight geographic information engine according to claim 1, characterized in that: Step 2, differential network generation: construct a dual network expression mode of longitude and latitude network and differential network, characterize the location of the target point by longitude and latitude network, divide the perception area by differential network, and realize the fusion of differential network and basic geographic information data. The specific method is as follows: The latitude and longitude (lon0, lat0) of the upper left corner of the perception area is used as the origin of the differential grid calculation. The length λ is set as the horizontal and vertical step length of each grid in the differential grid. The differential grids are numbered according to the screen coordinate system representation rules. The representation method is (N, M), where N represents the Nth grid in the east direction from the origin, and M represents the Mth grid in the south direction from the origin. The calculation formula for the longitude and latitude coordinate values ​​of the center of each differential grid is as follows: Among them, lon N and lat M are the longitude and latitude of the differential grid (N, M), lon0 and lat0 are the longitude and latitude of the origin of the differential area, respectively. lat0 is the circumference of the latitude circle where the origin is located, C lon0 is the circumference of the meridian circle where the origin is located, C lat0 and C lon0 The calculation formula is as follows: Where R is the equatorial radius of the earth; B is the polar radius of the earth. The circumference of the latitude circle is calculated by assuming that the earth is a standard sphere, and the circumference of the meridian circle is calculated by assuming that the earth is a standard ellipsoid. Differential grid (N, M) latitude coverage range is lat M1 to lat M2 Between, longitude coverage is lon N1 to lon N2 The longitude coverage of each differential grid is as follows: Among them, lon N1 is the degree of longitude on the west side of the differential grid, lon N2 is the degree of longitude on the east side of the differential grid; The latitude coverage of each differential grid is as follows: Among them, lat M1 is the latitude degree of the south side of the differential grid, lat M2 is the degree of the north dimension line of the differential grid; Based on the mapping relationship between longitude and latitude coordinates and differential grid, map data rendering is performed to complete the matching and fusion display of the position relationship between tile map and longitude and latitude grid and differential grid.

4. The differential quantization terrain perception method based on a lightweight geographic information engine according to claim 1, characterized in that: Step 3, differential perception area selection: Select the perception area and perform feature color representation, including: Step 3.1, based on the touch position determination characteristics of the terminal capacitive screen, the user operation point is obtained, and the longitude and latitude coordinates of a point in the differential perception area under the Mercator projection are obtained by matching the screen pixel points with the current map tile level and the map coordinates of the center of the screen, and converted into longitude and latitude coordinates; Take the upper left corner of the screen as the origin, take pixels as the unit, the X axis is rightward and the Y axis is downward. Suppose the screen coordinates of the user operation point are (X pscreen , Y pscreen ), the current display tile level is k and the Mercator projection coordinates of the screen center map are (x center ,y center ), the coordinate position of the user operation point under the Mercator projection is as follows: Among them, tileSize is the default size of the Mercator tile; width and height are the width and height of the map display area, in pixels; The Mercator projection coordinates of the user's operating point are converted to longitude and latitude coordinates. The calculation formula is as follows: Among them, lat pscreen With lon pscreen are the latitude and longitude coordinates of the user's operating point, respectively; Step 3.2, based on the mapping relationship between the longitude and latitude coordinates and the differential grid, determine the differential grid number of the user operation point, select the perception area, and perform feature color representation.

5. The differential quantization terrain perception method based on a lightweight geographic information engine according to claim 1, characterized in that: Step 4, terrain perception: extract the corresponding two-dimensional and three-dimensional basic geographic information data according to the coverage of the perception area, perform primary classification judgment of surface elements based on the two-dimensional data, perform terrain calculation based on the three-dimensional data, and generate surface terrain fusion perception results through coordinate matching, which specifically includes: Step 4.1, obtain the sensing area coverage through the selected differential grid number, read the corresponding tile data, perform the primary classification judgment of the surface elements, and divide them into roads, buildings, forests, wastelands, green land, rivers, water systems, glaciers and waterways; Step 4.2, obtain the three-dimensional elevation data of the sensing area map, extract the contour data, and calculate the slope and direction of each differential grid by interpolation method combined with surface fitting method. The specific method is as follows: Each differential grid is divided into 9×9 windows, and then the windows are combined into 9 small calculation areas in a 3×3 pattern. The central window of each small calculation area is taken as the origin of slope and aspect calculation, and the slope and aspect in the small calculation area are estimated. The calculation formula is as follows: Among them, slope i and aspect i are the slope and slope direction of the center point of the i-th small calculation area, i is an integer between 1 and 9; slope we-i and slope sn-i are the slopes of the center point of the ith small calculation area in the x and y directions, respectively. The calculation formula is as follows: In the formula, e i-1 To e i-8 is the elevation point of the center of each small window in the i-th calculation unit; Step 4.3, obtain the maximum slope value of the sensing area through the numerical comparison method, and calculate the average value of the slopes of the 9 small calculation areas to obtain the average slope of the differential grid; Step 4.4, through coordinate matching, the fusion of surface elements and the average slope of the differential grid is realized to generate the surface terrain fusion perception result.

6. The differential quantization terrain perception method based on a lightweight geographic information engine according to claim 1, characterized in that: Step 5, result processing and comprehensive visualization: Using the correspondence between the longitude and latitude grid and the differential grid, the boundaries of the tile basic geographic information data are cut and spliced, the boundaries of the feature intervals are divided, and the quantitative calculation of each feature area is completed through the irregular graphic area calculation method, and comprehensive visualization is performed, including: Step 5.1, using the coordinate matching stitching method, by finding the adjacent tiles at the gap, form a minimum tile set that matches the differential grid; Step 5.2, continue to segment the tiles obtained in step 5.1 according to the coordinate range of the sensing area, and cut off the redundant areas; Step 5.3: Since the characteristic areas of roads, buildings, forests, wastelands, green lands, rivers, water systems, glaciers, and waterways are distributed in irregular shapes, the coverage area of ​​each characteristic area is calculated by the Gaussian area formula to obtain the classification and quantification results of different characteristic areas in each differential grid. The calculation formula is as follows; Among them, S is the area of ​​any polygon, n is the number of coordinate points on the edge of any polygon, (x i ,y i ) is the two-dimensional Cartesian coordinate of the ith point on the polygon, calculated counterclockwise from the vertex; Step 5.4, calculate the proportion of each characteristic area based on the classification and quantification results of different characteristic areas in the differential grid. The calculation formula is as follows; In the formula, S is the area of ​​a certain feature block, and λ is the horizontal and vertical step size of each grid in the differential network; Step 5.5, based on the lightweight geographic information engine chart rendering capability, a graphical visualization of the differential quantitative terrain perception results is performed, including the differential area range, the coverage range of each feature area based on the differential grid, and the average slope and maximum slope of the differential grid.

7. A differential quantization terrain perception system based on a lightweight geographic information engine, characterized in that: Implement the differential quantitative terrain perception method based on a lightweight geographic information engine as described in any one of claims 1-6 to achieve differential quantitative terrain perception based on a lightweight geographic information engine.

8. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the differential quantitative terrain perception method based on a lightweight geographic information engine is implemented to realize differential quantitative terrain perception based on a lightweight geographic information engine.

9. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the differential quantitative terrain perception method based on a lightweight geographic information engine is implemented to realize differential quantitative terrain perception based on a lightweight geographic information engine.

Citation Information

Patent Citations

  • Ground navigation planning control method of rover

    CN103869820A

  • Method and system for planning sensor deployment points in three-dimensional terrain and storage medium

    CN114219333A

  • Unmanned aerial vehicle terrain perception and alarm method and system

    CN114973779A

  • Situation map two-dimensional and three-dimensional integrated rendering method

    CN116363324A

  • Using the 3D Terrain visualization and smart image perception, disaster management monitering system

    KR2020100008030U

Cited By

  • Rapid and refined three-dimensional numerical model modeling method, system and device based on unmanned aerial vehicle photogrammetry and storage medium

    CN118964651A

  • Region gathering system based on dynamic map custom outlining

    CN119848167A

  • Digital twin basin topographic image service fusion method

    CN119888113A

  • DEM (Digital Elevation Model) data loading method and system for flight area of unmanned aerial vehicle and storage medium

    CN120371934A

  • Dem data loading method and system for drone flight area and storage medium

    CN120371934B