TWI786874B - Method of the digital grid model and system thereof - Google Patents

Method of the digital grid model and system thereof Download PDF

Info

Publication number
TWI786874B
TWI786874B TW110137623A TW110137623A TWI786874B TW I786874 B TWI786874 B TW I786874B TW 110137623 A TW110137623 A TW 110137623A TW 110137623 A TW110137623 A TW 110137623A TW I786874 B TWI786874 B TW I786874B
Authority
TW
Taiwan
Prior art keywords
grid
data
grid data
numerical
regional
Prior art date
Application number
TW110137623A
Other languages
Chinese (zh)
Other versions
TW202316379A (en
Inventor
施奕良
蔡宗哲
張宏生
李隆正
Original Assignee
財團法人國家實驗研究院
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 財團法人國家實驗研究院 filed Critical 財團法人國家實驗研究院
Priority to TW110137623A priority Critical patent/TWI786874B/en
Application granted granted Critical
Publication of TWI786874B publication Critical patent/TWI786874B/en
Publication of TW202316379A publication Critical patent/TW202316379A/en

Links

Images

Landscapes

  • Supply And Distribution Of Alternating Current (AREA)
  • Aerodynamic Tests, Hydrodynamic Tests, Wind Tunnels, And Water Tanks (AREA)

Abstract

A method of the digital grid model and system thereof are provided. The system received a plurality of grid data, to combine these data and eliminate duplicate areas, and then divided them into several area data of the same specification, and not only obtain the required area data but adjacent out-of-boundary data during value-added calculations such as slope calculation or openness calculation.

Description

數值網格模型之方法及其系統Method and System of Numerical Grid Model

本發明係關於一種數值網格模型之方法及其系統,尤其係指一種建立數值網格後,於取用經劃分數值網格資料時,並取對應邊界外之資料以及索引經劃分數值網格資料,以便利數值網格模型之加值運算之方法及其系統。The present invention relates to a method and system of a numerical grid model, in particular to a method and system for numerical grid model establishment, when accessing divided numerical grid data, taking data outside the corresponding boundary and indexing the divided numerical grid Data to facilitate the method and system of value-added operations of numerical grid models.

根據內政部於民國九十二年十一月三十日公布之高精度及高解析度數值地形模型測製規範(技術報告)中揭示以網格點資料建構數值網格模型,例如: 數值地形模型(Digital Terrain Model,簡稱DTM),其以數字的形式來表示實際地形特徵的空間分布。其中數值地形模型包含:數值高程模型(Digital Elevation Model,簡稱DEM)及地表最上層覆蓋物(含人工建物及植被)的數值覆蓋面模型(Digital Surface Model,簡稱DSM)。According to the high-precision and high-resolution numerical terrain model measurement specification (technical report) announced by the Ministry of the Interior on November 30, 2002, the numerical grid model is constructed with grid point data, for example: Numerical terrain Digital Terrain Model (DTM for short), which represents the spatial distribution of actual terrain features in digital form. The numerical terrain model includes: the digital elevation model (Digital Elevation Model, referred to as DEM) and the numerical coverage model (Digital Surface Model, referred to as DSM) of the uppermost surface covering (including artificial buildings and vegetation).

該數值高程模型,是每一個網格點記錄該點之平面坐標與高程資料,其不含地表植被及人工構造物時地球表面自然地貌起伏的數值網格模型,此模型是以規則像素式離散點所組成。為了便於資料的管理及後續應用,在此我們定義離散點是等間距的網格點。The numerical elevation model is a numerical grid model of the natural landform fluctuations on the earth's surface when each grid point records the plane coordinates and elevation data of the point, and it does not contain surface vegetation and artificial structures. composed of points. In order to facilitate data management and subsequent application, here we define discrete points as grid points at equal intervals.

該數值覆蓋面模型,表示地球表面可見光無法穿透的最上層表面的數值網格模型,它與數值高程模型不同之處乃在表示了建物及長年生植被的最上層表面,此模型亦是以規則像素式離散點所組成,在此我們同樣定義離散點是等間距的網格點。上該二種模型之網格點是以像素式資料格式建構。The numerical coverage model represents the numerical grid model of the uppermost surface of the earth's surface that cannot be penetrated by visible light. It differs from the numerical elevation model in that it represents the uppermost surface of buildings and perennial vegetation. This model is also based on the rule It is composed of pixel discrete points. Here we also define discrete points as grid points with equal intervals. The grid points of the above two models are constructed in pixel data format.

一般而言,數值網格模型之網格點之間距的大小稱為解析度。它決定了該地形模型可表示出地表起伏變化的細微程度。Generally speaking, the size of the distance between the grid points of the numerical grid model is called resolution. It determines how subtle the terrain model can represent changes in surface relief.

考量數值網格模型資料使用有其設施環境及技術上的門檻,為充分發揮數值網格模型於國土規劃與地理資訊系統應用之功效,並期能透過網路服務方式進行線上查詢示範與提供各機關平台介接使用,藉此擴大數值網格資料運用領域,加強測繪資訊流通機制,以提供加值應用服務例如:加權分析、搜尋半徑分析等等。Considering that the use of numerical grid model data has its facility environment and technical thresholds, in order to give full play to the application of numerical grid models in land planning and geographic information systems, and expect to be able to conduct online query demonstrations and provide various Interconnection and use of the agency platform to expand the application field of numerical grid data, strengthen the surveying and mapping information circulation mechanism, and provide value-added application services such as: weighted analysis, search radius analysis, etc.

其中,加權分析是參考ArcGIS網站上所提供之演算法,用於計算每個像元與鄰近像元方向的變化率,將中心像元與周圍3x3的像素的高程Z值進行計算。坡度值越小,代表地勢越平坦;反之,則越陡峭。 計算單位可以使用度(degree)與百分比(percentage)兩種。 坡度演算法取決於水平方向與垂直方向上的變化量。Among them, the weighted analysis refers to the algorithm provided on the ArcGIS website, which is used to calculate the rate of change between each pixel and the direction of adjacent pixels, and calculates the elevation Z value of the central pixel and the surrounding 3x3 pixels. The smaller the slope value, the flatter the terrain; otherwise, the steeper it is. The calculation unit can use degree (degree) and percentage (percentage). The slope algorithm depends on the amount of change in the horizontal and vertical directions.

地形開闊度:Yokoyama et al.(2002)提出地形開闊度的概念,能反應出該分析窗口內地形凹與凸的程度,其主要分析方法是設紅點(A)為圓心,以等距離(L)將八個方位所有的天頂角(Ø𝐿D)、天底角(ΨLD)進行平均,最後相減後再次平均得到地形開闊度( I )。Terrain openness: Yokoyama et al. (2002) proposed the concept of terrain openness, which can reflect the degree of concave and convex terrain in the analysis window. The main analysis method is to set the red point (A) as the center of the circle, and equidistant ( L) Average the zenith angles (Ø𝐿D) and nadir angles (ΨLD) of all eight azimuths, and finally subtract and average again to obtain the terrain openness ( I ).

然而,依據目前的數值網格模型來進行加值計算服務例如加權分析或搜尋半徑分析時,由於以四鄰域法計算某點之坡度需要相鄰於該點東西南北向之高程資料、八鄰域法計算某點之坡度需要相鄰於該點之八個方位之高程資料,在計算位於各塊資料的邊界處之坡度時,會出現因為取用資料之範圍並不包含邊界外之資料,而使邊界之坡度計算結果失真,舉例來說,計算一幅5000*5000像素的高程資料的坡度時,由於相鄰資料的缺失,最外圍一周之位置上的坡度是無法取得的,以往在解決無法產生5000*5000像素的坡度資料之情形,通常於計算此資料過程,仍需引入相鄰該幅資料之其他幅資料來進行邊界的計算,有礙於計算資源及儲存空間的利用。However, when performing value-added calculation services such as weighted analysis or search radius analysis based on the current numerical grid model, the calculation of the slope of a point by the four-neighborhood method requires elevation data adjacent to the point, east-west, north-south, and eight-neighborhood Calculating the slope of a certain point requires the elevation data of eight azimuths adjacent to the point. When calculating the slope at the boundary of each block of data, it will appear because the range of data acquisition does not include the data outside the boundary, and Distort the calculation result of the slope of the boundary. For example, when calculating the slope of a 5000*5000 pixel elevation data, due to the lack of adjacent data, the slope at the position of the outermost week cannot be obtained. In the past, it was impossible to solve the problem In the case of generating slope data of 5000*5000 pixels, usually in the process of calculating this data, it is still necessary to introduce other data adjacent to the data to calculate the boundary, which hinders the utilization of computing resources and storage space.

因此,本發明提供一種計算數值網格模型之方法,建立數值網格並劃分為多筆資料,在進行加值計算服務例如加權分析或搜尋半徑分析時,取用劃分後各筆資料時並取用該筆資料之邊界外資料,該邊界外資料可以是環繞該筆資料之一或數格像素寬,相較於直接取用相鄰該筆資料之其他筆資料,本方法取用資料量更少,卻可以確保劃分後各筆資料經加值計算後其邊界之資料之正確性,並最佳化計算資源及儲存空間的利用。Therefore, the present invention provides a method for calculating a numerical grid model, which establishes a numerical grid and divides it into multiple pieces of data. When performing value-added calculation services such as weighted analysis or search radius analysis, each piece of data after division is used and taken together. Use the out-of-boundary data of the data, the out-of-boundary data can be one or a few grid pixels wide around the data, compared with directly accessing other data adjacent to the data, this method takes more data However, it can ensure the correctness of the boundary data after the value-added calculation of each data after division, and optimize the use of computing resources and storage space.

另一問題則是,在進行加值計算服務例如加權分析或搜尋半徑分析時,由於數值網格資料之資料庫十分龐大,如進行加值計算時直接取用所有資料會使計算效率十分低落,由於數值網格資料通常由許多張數值網格資料所建立,以前的做法係以各張數值網格資料所對應資料逐筆儲存,計算時取用所需之該筆或多筆資料,但數值網格資料的大小及形狀常常不一致,會導致取用所需資料時判斷範圍時出現困難。Another problem is that when performing value-added calculation services such as weighted analysis or search radius analysis, since the database of numerical grid data is very large, if all data are directly used for value-added calculations, the calculation efficiency will be very low. Since the numerical grid data is usually created by many numerical grid data, the previous practice is to store the data corresponding to each numerical grid data one by one, and use the required data or multiple data when calculating, but the value The size and shape of the grid data are often inconsistent, which will lead to difficulties in judging the range when obtaining the required data.

因此,本發明提供一種正規化數值網格模型之方法,將數值網格模型劃分為固定大小之矩形資料,且將各筆資料索引,於加值計算時只需輸入計算範圍便可快速取得所需資料,提高計算效率。Therefore, the present invention provides a method for normalizing the numerical grid model. The numerical grid model is divided into rectangular data of a fixed size, and each data is indexed. When adding value calculations, only the calculation range can be quickly obtained. Need data, improve calculation efficiency.

本發明之主要目的,在於提供一種計算數值網格模型之方法及其系統,藉由在計算坡度時擷取待算像素及邊界外之周邊像素之資料,以協助進行坡度計算時,能於使用最少計算資源之條件下保證邊界處資料正確。The main purpose of the present invention is to provide a method and system for calculating the numerical grid model, by capturing the data of the pixels to be calculated and the surrounding pixels outside the boundary when calculating the slope, to assist in the calculation of the slope, it can be used when using Under the condition of minimum computing resources, the data at the boundary is guaranteed to be correct.

本發明之另一目的,在於提供一種計算數值網格模型之方法及其系統,藉由在計算地形開闊度時擷取待算像素及邊界外之周邊像素之資料,以協助進行地形開闊度計算時,能於使用最少計算資源之條件下保證邊界處資料正確。Another object of the present invention is to provide a method and system for calculating a numerical grid model, by capturing the data of the pixels to be calculated and the surrounding pixels outside the boundary when calculating the terrain openness, to assist in the calculation of the terrain openness When , the data at the boundary can be guaranteed to be correct under the condition of using the least computing resources.

本發明之再一目的,在於提供一種存取數值網格模型之方法及其系統,藉由索引劃分後之數值網格模型,而便於加值計算時,例如:坡度、地形開闊度等,可以根據索引而快速取得對應資料。Another object of the present invention is to provide a method and system for accessing a numerical grid model. By indexing the divided numerical grid model, it is convenient for value-added calculations, such as: slope, terrain openness, etc., can be Quickly obtain corresponding information according to the index.

為了達成上述所指稱之目的與功效,本發明提供一種計算數值網格模型之方法,其步驟包含:提供複數個數值網格資料,每一個數值網格資料包含一空間座標資訊,其代表數值網格資料之位置、每一個數值網格資料之每一個網格點具一高度值,其代表網格點之地形;依據空間座標資訊將數值網格資料於一2D座標進行排列,以產生一初始網格資料,此處進行排列指依據空間座標資訊將每一個數值網格資料放入對應位置;消除初始網格資料之至少一重複區域,以產生一重構網格資料,此處至少一重複區域指前步驟排列數值網格資料時相互重疊之區域;依據一解析度數值劃分重構網格資料為複數個區域網格資料並取得對應之每一個區域網格資料相鄰之複數個相鄰網格點資料,此處因便於利用須劃分資料量龐大之重構網格資料;以及依據一加權分析方法將高度值及取區域網格資料之其中之一及對應之相鄰網格點資料計算區域網格資料之其中之一之一地形坡度值,此處將依據地形高度資料計算出地形坡度資料。In order to achieve the above-mentioned purpose and effect, the present invention provides a method for calculating a numerical grid model, the steps of which include: providing a plurality of numerical grid data, each numerical grid data includes a spatial coordinate information, which represents the numerical network The position of the grid data, each grid point of each numerical grid data has a height value, which represents the topography of the grid point; according to the spatial coordinate information, the numerical grid data is arranged at a 2D coordinate to generate an initial Grid data, the arrangement here refers to putting each numerical grid data into the corresponding position according to the spatial coordinate information; eliminating at least one repeated area of the initial grid data to generate a reconstructed grid data, here at least one repeated Area refers to the overlapping area when the numerical grid data is arranged in the previous step; the reconstructed grid data is divided into a plurality of area grid data according to a resolution value, and a plurality of neighbors corresponding to each area grid data are obtained Grid point data, because it is convenient to use the reconstructed grid data that needs to be divided into a huge amount of data; and according to a weighted analysis method, the height value and one of the regional grid data and the corresponding adjacent grid point data Calculate one of the terrain slope values of the regional grid data. Here, the terrain slope data will be calculated based on the terrain height data.

本發明提供一實施例,其中,每一個區域網格資料之解析度數值為K*K,K為自然數。The present invention provides an embodiment, wherein the resolution value of each regional grid data is K*K, and K is a natural number.

本發明提供一實施例,其中,每一個區域網格資料結合對應之每一個區域網格資料之複數個相鄰網格點資料後解析度數值為K+1*K+1,K為自然數。The present invention provides an embodiment, wherein the resolution value of each regional grid data is K+1*K+1 after combining a plurality of adjacent grid point data corresponding to each regional grid data, and K is a natural number .

本發明提供一實施例,其中,地形坡度值之解析度數值為K*K,K為自然數。The present invention provides an embodiment, wherein the resolution value of the terrain slope value is K*K, and K is a natural number.

本發明提供一實施例,其中,空間座標資訊為每一個數值網格資料之拍攝空間座標。The present invention provides an embodiment, wherein the spatial coordinate information is the shooting spatial coordinate of each numerical grid data.

本發明提供一實施例,其中,於消除初始網格資料之至少一重複區域,以產生一重構網格資料之步驟中,依據每一個數值網格資料之一拍攝時間或一陳列圖層消除至少一重複區域。The present invention provides an embodiment, wherein, in the step of eliminating at least one overlapping region of the initial grid data to generate a reconstructed grid data, at least a repeating region.

本發明提供一實施例,其中,於依據一解析度數值劃分重構網格資料為複數個區域網格資料並取得對應之每一個區域網格資料相鄰之複數個相鄰網格點資料之步驟中,依據空間座標資訊依序劃分複數個區域網格資料。The present invention provides an embodiment, wherein, according to a resolution value, the reconstructed grid data is divided into a plurality of regional grid data and a plurality of adjacent grid point data adjacent to each corresponding regional grid data are obtained In the step, a plurality of regional grid data are sequentially divided according to the spatial coordinate information.

本發明提供一實施例,其中,加權分析方法例如:四鄰域法、加權八鄰域法以及等權八鄰域法。The present invention provides an embodiment, wherein the weighted analysis methods are, for example, the four-neighborhood method, the weighted eight-neighborhood method, and the equal-weight eight-neighborhood method.

為了達成上述所指稱之目的與功效,本發明提供另一種計算數值網格模型之方法,其步驟包含:提供複數個數值網格資料,每一個數值網格資料包含一空間座標資訊,其代表數值網格資料之位置、每一個數值網格資料之每一個網格點具一高度值,其代表網格點之地形;依據空間座標資訊將數值網格資料於一2D座標進行排列,以產生一初始網格資料,此處進行排列指依據空間座標資訊將每一個數值網格資料放入對應位置;消除初始網格資料之至少一重複區域,以產生一重構網格資料,此處至少一重複區域指前步驟排列數值網格資料時相互重疊之區域;依據一解析度數值劃分重構網格資料為複數個區域網格資料並取得對應之每一個區域網格資料相鄰之複數個相鄰網格點資料,此處為便於使用須劃分資料量龐大之重構網格資料;以及依據一搜尋半徑分析方法將高度值及取區域網格資料之其中之一及對應之相鄰網格點資料計算區域網格資料之其中之一之一地形開闊度值,此方法可以依據地形高度資料計算出地形開闊度資料。In order to achieve the above-mentioned purpose and effect, the present invention provides another method for calculating a numerical grid model, the steps of which include: providing a plurality of numerical grid data, each numerical grid data including a spatial coordinate information, which represents a numerical value The position of the grid data, each grid point of each numerical grid data has a height value, which represents the topography of the grid point; according to the spatial coordinate information, the numerical grid data is arranged in a 2D coordinate to generate a Arranging the initial grid data here refers to putting each numerical grid data into the corresponding position according to the spatial coordinate information; eliminating at least one repeated area of the initial grid data to generate a reconstructed grid data, here at least one Repeated area refers to the area that overlaps each other when the numerical grid data is arranged in the previous step; the reconstructed grid data is divided into multiple regional grid data according to a resolution value, and the corresponding multiple adjacent adjacent grid data of each area is obtained. Neighboring grid point data, here, for the convenience of use, the reconstructed grid data with a large amount of data needs to be divided; and according to a search radius analysis method, the height value and one of the regional grid data and the corresponding adjacent grid Calculate the topographic openness value of one of the regional grid data from the point data. This method can calculate the topographic openness data based on the terrain height data.

本發明另提供一實施例,其中,搜尋半徑分析方法例如:罩窗半徑搜尋法。The present invention further provides an embodiment, wherein the search radius analysis method is, for example, a cover window radius search method.

為了達成上述所指稱之目的與功效,本發明還提供一種存取數值網格模型之方法,其步驟包含:提供複數個數值網格資料,每一個數值網格資料包含一空間座標資訊,其代表數值網格資料之位置;依據空間座標資訊將數值網格資料於一2D座標進行排列,以產生一初始網格資料,此處進行排列指依據空間座標資訊將每一個數值網格資料放入對應位置;消除初始網格資料之至少一重複區域,以產生一重構網格資料,此處至少一重複區域指前步驟排列數值網格資料時相互重疊之區域;依據一解析度數值劃分重構網格資料為複數個區域網格資料,此處為便於使用須劃分資料量龐大之重構網格資料;以及索引每一個區域網格資料,此處為便於使用須索引資料量龐大之區域網格資料。In order to achieve the above-mentioned purpose and effect, the present invention also provides a method for accessing a numerical grid model, the steps of which include: providing a plurality of numerical grid data, each numerical grid data includes a spatial coordinate information, which represents The position of the numerical grid data; arrange the numerical grid data at a 2D coordinate according to the spatial coordinate information to generate an initial grid data, and arrange here refers to placing each numerical grid data into the corresponding Position; eliminate at least one overlapping area of the initial grid data to generate a reconstructed grid data, where at least one overlapping area refers to the overlapping area when the numerical grid data is arranged in the previous step; the reconstruction is divided according to a resolution value The grid data is a plurality of regional grid data. Here, for the convenience of use, it is necessary to divide the reconstruction grid data with a huge amount of data; and to index each regional grid data. Here, for the convenience of use, it is necessary to index a large amount of data in the regional network grid data.

本發明還提供一實施例,其中,於索引每一個區域網格資料之步驟後,更包含:儲存區域網格資料於一地圖資料庫;The present invention also provides an embodiment, wherein, after the step of indexing each regional grid data, further comprising: storing the regional grid data in a map database;

本發明還提供一實施例,其中,於索引每一個區域網格資料之步驟後,還包含:依據一加值服務事件計算所需之至少一編號;依據編號擷取區域網格資料之其中之一為一擷取資料;以及依據擷取資料運算一計算結果。The present invention also provides an embodiment, wherein, after the step of indexing each area grid data, it further includes: calculating at least one serial number required according to a value-added service event; extracting one of the area grid data according to the serial number One for one to retrieve data; and calculate a calculation result according to the retrieved data.

本發明還提供一實施例,其中,空間座標資訊為每一個數值網格資料之拍攝空間座標。The present invention also provides an embodiment, wherein the spatial coordinate information is the shooting spatial coordinate of each numerical grid data.

本發明還提供一實施例,其中,於消除初始網格資料之至少一重複區域,以產生一重構網格資料之步驟中,依據每一個數值網格資料之一拍攝時間或一陳列圖層消除至少一重複區域。The present invention also provides an embodiment, wherein, in the step of eliminating at least one overlapping region of the initial grid data to generate a reconstructed grid data, the elimination is performed according to the shooting time of each numerical grid data or a display layer at least one repeat region.

本發明還提供一實施例,其中,於依據一解析度數值劃分重構網格資料為複數個區域網格資料之步驟中,依據空間座標資訊依序劃分複數個區域網格資料。The present invention also provides an embodiment, wherein, in the step of dividing the reconstructed grid data into a plurality of regional grid data according to a resolution value, the plurality of regional grid data are sequentially divided according to the spatial coordinate information.

本發明還提供一實施例,其中,每一個區域網格資料之解析度數值為K*K,K為自然數。The present invention also provides an embodiment, wherein the resolution value of each regional grid data is K*K, and K is a natural number.

本發明還提供一實施例,加值服務事件例如:加權分析或搜尋半徑分析。The present invention also provides an embodiment, the value-added service event such as: weight analysis or search radius analysis.

為了達成上述所指稱之目的與功效,本發明還提供一種數值網格模型之系統,其包含:一主機,其設置一數值網格模型建立模組將複數個數值網格資料依據一空間座標資訊進行排列,以產生一初始網格資料,消除初始網格資料至少一重複區域,以產生一重構網格資料,劃分重構網格資料為複數個區域網格資料並取得對應之每一個區域網格資料之複數個相鄰網格點資料,依據至少部分之區域網格資料及對應至少部分之區域網格資料之複數個相鄰網格點資料進行計算。In order to achieve the above-mentioned purpose and effect, the present invention also provides a numerical grid model system, which includes: a host computer, which is equipped with a numerical grid model building module to convert a plurality of numerical grid data according to a spatial coordinate information Arranging to generate an initial grid data, eliminating at least one overlapping region of the initial grid data to generate a reconstructed grid data, dividing the reconstructed grid data into a plurality of regional grid data and obtaining each corresponding region A plurality of adjacent grid point data of the grid data is calculated based on at least part of the regional grid data and a plurality of adjacent grid point data corresponding to at least part of the regional grid data.

本發明更提供一實施例,其中,主機更包含:一網格處理單元,其將複數個數值網格資料依據空間座標資訊進行排列,以產生初始網格資料,消除初始網格資料至少重複區域,以產生重構網格資料;一運算處理單元,其劃分重構網格資料為複數個區域網格資料並取得對應之每一個區域網格資料之複數個相鄰網格點資料,索引每一個區域網格資料,計算區域網格資料;一地圖資料庫,其儲存索引後之區域網格資料;一計算模組,其依據一加值服務事件計算。The present invention further provides an embodiment, wherein the host computer further includes: a grid processing unit, which arranges a plurality of numerical grid data according to the spatial coordinate information to generate initial grid data, and eliminates at least overlapping areas of the initial grid data , to generate reconstructed grid data; an operation processing unit, which divides the reconstructed grid data into a plurality of regional grid data and obtains a plurality of adjacent grid point data corresponding to each regional grid data, and indexes each A regional grid data for calculating regional grid data; a map database for storing indexed regional grid data; a calculation module for calculating based on a value-added service event.

為使 貴審查委員對本發明之特徵及所達成之功效有更進一步之瞭解與認識,謹佐以實施例及配合說明,說明如後:In order to enable your review committee members to have a further understanding and understanding of the characteristics of the present invention and the achieved effects, the following examples and accompanying descriptions are hereby provided:

在下文中,將藉由圖式來說明本發明之各種實施例來詳細描述本發明。然而本發明之概念可能以許多不同型式來體現,且不應解釋為限於本文中所闡述之例式性實施例。Hereinafter, the present invention will be described in detail by illustrating various embodiments of the present invention by means of the accompanying drawings. Inventive concepts may, however, be embodied in many different forms and should not be construed as limited to the illustrative embodiments set forth herein.

有鑑於現有計算數值網格模型過程,進行加值計算例如:加權分析之過程中,在劃分網格資料的邊界值計算失真之問題,據此,本發明遂提出一種計算數值網格模型之方法,為確保邊界值計算之正確性,在劃分網格資料時同時取得相鄰邊界之資料。In view of the existing process of calculating the numerical grid model, for example, in the process of weighted analysis, the calculation of the boundary value of the grid data is distorted, and accordingly, the present invention proposes a method for calculating the numerical grid model , in order to ensure the correctness of the calculation of the boundary value, the data of the adjacent boundary is obtained at the same time when the grid data is divided.

首先,請參閱第1圖,其為本發明之一實施例之方法流程圖。如圖所示,本發明之,其步驟包含:First of all, please refer to FIG. 1 , which is a flow chart of a method of an embodiment of the present invention. As shown in the figure, in the present invention, its steps include:

步驟S10:提供複數個數值網格資料,每一個數值網格資料包含一空間座標資訊、每一個數值網格資料之每一個網格點具一高度值;Step S10: providing a plurality of numerical grid data, each numerical grid data includes a spatial coordinate information, and each grid point of each numerical grid data has a height value;

步驟S20:依據空間座標資訊將數值網格資料於一2D座標進行排列,以產生一初始網格資料;Step S20: Arranging the numerical grid data on a 2D coordinate according to the spatial coordinate information to generate an initial grid data;

步驟S30:消除初始網格資料之至少一重複區域,以產生一重構網格資料;Step S30: Eliminate at least one overlapping region of the initial grid data to generate a reconstructed grid data;

步驟S40:依據一解析度數值劃分重構網格資料為複數個區域網格資料並取得對應之每一個區域網格資料相鄰之複數個相鄰網格點資料;以及Step S40: Divide the reconstructed grid data into a plurality of regional grid data according to a resolution value and obtain a plurality of adjacent grid point data corresponding to each regional grid data; and

步驟S50:依據一加權分析方法將高度值及取區域網格資料之其中之一及對應之相鄰網格點資料計算區域網格資料之其中之一之一地形坡度值。Step S50: According to a weighted analysis method, the height value and one of the regional grid data and the corresponding adjacent grid point data are used to calculate a topographic slope value of one of the regional grid data.

接著說明為達成本實施例之計算數值網格模型之方法所需之系統,請參閱第2圖,其為本發明之一實施例之方塊圖,如第2圖所示;本發明之計算數值網格模型系統,包含一主機10設置有一數值網格模型建立模組20,數值網格模型建立模組20包含一網格處理單元30、一運算處理單元40;在本實施例中,主機10可以是電腦主機或伺服器主機,數值網格模型建立模組20為應用程式,但不限於此。Then explain the system required for the method for the calculation numerical grid model of the present embodiment, please refer to the 2nd figure, it is a block diagram of an embodiment of the present invention, as shown in the 2nd figure; The calculated value of the present invention The grid model system includes a host computer 10 provided with a numerical grid model building module 20, and the numerical grid model building module 20 includes a grid processing unit 30 and an operation processing unit 40; in this embodiment, the host computer 10 It can be a computer host or a server host, and the numerical grid model building module 20 is an application program, but not limited thereto.

如步驟S10所示,提供主機之網格處理單元30數值網格資料32,數值網格資料32通常來自於空載光達(Light Detection And Ranging,LiDAR) ,其精度甚至可達公寸等,由於空載光達產製影像網格係習知技術,其成像原理便不在此贅述,只須了解其產生之數值網格資料32通常以二維高程資料呈現;每一個數值網格資料32還包含空間座標資訊322、每一個數值網格資料32之每一個網格點324紀錄有高度值326,舉例來說:3*3大小之資料中應有9個網格點324,相對應紀錄有9筆高度值326;空間座標資訊322指拍攝地點之空間座標,其表示方式為經度以東經為正值,西經為負值表示,其範圍係-180度至+180度,緯度以北緯為正值,南緯為負值,其範圍係-90度至+90度,網格點324由空載光達之精度決定,代表能對地面所解析之程度,而高度值326可以是海拔高度(altitude),也就是以海平面作為基準的高度。As shown in step S10, the grid processing unit 30 of the host computer is provided with the numerical grid data 32. The numerical grid data 32 usually comes from an airborne LiDAR (Light Detection And Ranging, LiDAR), and its accuracy can even reach a decimeter. Since the image grid produced by airborne LiDAR is a known technology, its imaging principle will not be described in detail here. It is only necessary to understand that the numerical grid data 32 generated by it is usually presented as two-dimensional elevation data; each numerical grid data 32 is also presented. Including spatial coordinate information 322, each grid point 324 record of each numerical grid data 32 has a height value 326, for example: there should be 9 grid points 324 in the data of 3*3 size, and the corresponding record has The height value of 9 pens is 326; the spatial coordinate information 322 refers to the spatial coordinates of the shooting location, which is represented by a positive value for the east longitude and a negative value for the west longitude. Positive value, south latitude is negative value, its range is -90 degrees to +90 degrees, the grid point 324 is determined by the accuracy of the airborne lidar, which represents the degree of resolution of the ground, and the height value 326 can be the altitude ( altitude), that is, the height relative to sea level.

接著,如步驟S20所示,網格處理單元30依據每一個數值網格資料32之空間座標資訊322將數值網格資料32排列於2D座標34,以產生初始網格資料342。Next, as shown in step S20 , the grid processing unit 30 arranges the numerical grid data 32 at the 2D coordinates 34 according to the spatial coordinate information 322 of each numerical grid data 32 to generate the initial grid data 342 .

而後,如步驟S30所示,及參閱第3圖,初始網格資料342內有重複區域344,蓋因每一個數值網格資料32會有部分重疊其他數值網格資料32,因此網格處理單元30會根據每一個數值網格資料32之一拍攝時間328或一陳列圖層36來消除重複區域344,以產生重構網格資料38;拍攝時間328指每一個數值網格資料32由空載光達所拍攝之時間,陳列圖層36指每一個數值網格資料32於2D座標34排列之先後順序,舉例來說,如以拍攝時間328來消除重複區域344,則可以保留重複區域344中拍攝時間328較新者,去除拍攝時間328較舊者;如以陳列圖層36作為基準消除重複區域344,則可保留重複區域344中較晚放入之數值網格資料32,而去除較早放入之數值網格資料32,但不限於此。Then, as shown in step S30, and referring to FIG. 3, there is a repeated area 344 in the initial grid data 342, because each numerical grid data 32 will partially overlap other numerical grid data 32, so the grid processing unit 30 will eliminate repeated regions 344 according to a shooting time 328 or a display layer 36 of each numerical grid data 32 to generate a reconstructed grid data 38; When the shooting time is reached, the display layer 36 refers to the order in which each numerical grid data 32 is arranged at the 2D coordinates 34. For example, if the shooting time 328 is used to eliminate the repeated area 344, then the shooting time in the repeated area 344 can be retained 328 newer, remove the older ones of shooting time 328; if the repeated area 344 is eliminated with the display layer 36 as a benchmark, then the numerical grid data 32 put in later in the repeated area 344 can be kept, and the earlier put in is removed Numerical grid data 32, but not limited thereto.

然後,如步驟S40所示,並參閱第4圖,運算處理單元40劃分重構網格資料38為區域網格資料42,其依據解析度數值422進行劃分,例如:解析度數值422為K*K,則劃分重構網格資料38為邊長為K個網格點之矩形區域網格資料42(K為用戶自訂自然數,如:5000,則資料為5000*5000大小),但不限於此;運算處理單元40亦依據空間座標資訊322,依序劃分區域網格資料42,例如從空間座標較低者,即2D座標34之左下角開始往右網上依序劃分;解析度數值422可以由主機10設定,但不限於此;參閱第5圖,運算處理單元40並取得對應之每一個區域網格資料42相鄰之相鄰網格點資料424,例如,相鄰可以指區域網格資料42之外圍一圈之資料,但不限於此。Then, as shown in step S40, and referring to FIG. 4, the arithmetic processing unit 40 divides the reconstructed grid data 38 into regional grid data 42, which is divided according to the resolution value 422, for example: the resolution value 422 is K* K, then the division and reconstruction grid data 38 is a rectangular area grid data 42 with a side length of K grid points (K is a user-defined natural number, such as: 5000, then the data is 5000*5000 size), but not Limited to this; the calculation processing unit 40 also divides the regional grid data 42 sequentially according to the spatial coordinate information 322, for example, from the lower left corner of the spatial coordinate, that is, the lower left corner of the 2D coordinate 34 to the right online; the resolution value 422 can be set by the host computer 10, but is not limited thereto; referring to Fig. 5, the operation processing unit 40 obtains the corresponding adjacent grid point data 424 adjacent to each area grid data 42, for example, adjacent can refer to the area The data in the outer circle of the grid data 42, but not limited thereto.

最後,如步驟S50所示,並參閱第5圖,運算處理單元40依據加權分析方法44將高度值326及取區域網格資料42之其中之一及對應之相鄰網格點資料424計算區域網格資料42之其中之一之地形坡度值442,加權分析方法44例如:加權八鄰域法,設其有待算網格點A0,則其取用待算像素A0之周圍八格網格點B1~B8之高度值326來算出待算像素A0之該地形坡度值442,因此,計算每一個區域網格資料42之邊緣處之待算網格點A0,則需取用相鄰之相鄰網格點資料424之網格點B1、B4、B6、B7、B8;加權分析方法44還可以是四鄰域法,則其取用待算網格點A0之周圍四格網格點B2、B4、B5、B7來算出待算網格點A0之地形坡度值442,因此,計算每一個區域網格資料42之邊緣處之待算網格點A0,則需取用相鄰之相鄰網格點資料424之網格點B4、B7;加權分析方法44還可以是等權八鄰域法,其取用待算網格點A0之周圍八格網格點B1~B8來算出待算網格點A0之地形坡度值442,因此,計算每一個區域網格資料42之邊緣處之待算網格點A0,則需取用相鄰之相鄰網格點資料424之網格點B1、B4、B6、B7、B8,但不限於此。四鄰域法、等權八鄰域法或加權八鄰域法乃係習知技術。Finally, as shown in step S50, and referring to FIG. 5, the calculation processing unit 40 calculates the area according to the weighted analysis method 44 using the height value 326 and one of the area grid data 42 and the corresponding adjacent grid point data 424. The terrain slope value 442 of one of the grid data 42, the weighted analysis method 44 is for example: the weighted eight-neighborhood method, if it has a grid point A0 to be calculated, then it uses eight grid points around the pixel A0 to be calculated The height value 326 of B1~B8 is used to calculate the terrain slope value 442 of the pixel A0 to be calculated. Therefore, to calculate the grid point A0 to be calculated at the edge of each area grid data 42, it is necessary to use the adjacent adjacent The grid points B1, B4, B6, B7, B8 of the grid point data 424; the weighted analysis method 44 can also be a four-neighborhood method, then it uses four grid points B2, B4 around the grid point A0 to be calculated , B5, B7 to calculate the terrain slope value 442 of the grid point A0 to be calculated, therefore, to calculate the grid point A0 to be calculated at the edge of each area grid data 42, it is necessary to use adjacent adjacent grids The grid points B4 and B7 of the point data 424; the weighted analysis method 44 can also be an equal-weight eight-neighborhood method, which uses eight grid points B1~B8 around the grid point A0 to calculate the grid to be calculated The terrain slope value 442 of point A0, therefore, to calculate the grid point A0 to be calculated at the edge of each regional grid data 42, it is necessary to use the grid points B1 and B4 of the adjacent adjacent grid point data 424 , B6, B7, B8, but not limited to. The four-neighborhood method, the equal-weight eight-neighborhood method or the weighted eight-neighborhood method are known techniques.

四鄰域法:

Figure 02_image001
,式(一)。 Four-neighborhood method:
Figure 02_image001
, Formula (1).

式(一)此處S為待算網格點A0之地形坡度值442,B2、B4、B5、B7對應待算像素A0之周圍八格像素B1~B8之高度值326,d為網格點324之邊長所對應實際長度。Formula (1) where S is the terrain slope value 442 of the grid point A0 to be calculated, B2, B4, B5, and B7 correspond to the height value 326 of the eight pixels B1~B8 around the pixel A0 to be calculated, and d is the grid point The actual length corresponding to the side length of 324.

等權八鄰域法:

Figure 02_image003
,式(二)。 Equal-weight eight-neighborhood method:
Figure 02_image003
, formula (2).

式(二)S為待算網格點A0之地形坡度值442,B1~B8對應待算網格點A0之周圍八格網格點B1~B8之高度值326,d為網格點324之邊長所對應實際長度。Formula (2) S is the terrain slope value 442 of the grid point A0 to be calculated, B1~B8 corresponds to the height value 326 of the eight grid points B1~B8 around the grid point A0 to be calculated, d is the height value of the grid point 324 The actual length corresponding to the side length.

加權八鄰域法:

Figure 02_image005
式(三)。 Weighted eight-neighborhood method:
Figure 02_image005
, formula (3).

式(三)此處S為待算網格點A0之地形坡度值442,B1~B8對應待算網格點A0之周圍八格網格點B1~B8之高度值326,d為網格點324之邊長所對應實際長度。Formula (3) where S is the terrain slope value 442 of the grid point A0 to be calculated, B1~B8 correspond to the height value 326 of the eight grid points B1~B8 around the grid point A0 to be calculated, and d is the grid point The actual length corresponding to the side length of 324.

由於本例中藉由將數值網格資料建立數值網格模型再劃分,於計算坡度值時取用已劃分資料及對應之相鄰資料,可精確計算所有網格點特別是各筆資料最外周之邊界網格點,與取用相鄰資料相比並不用取用資料量較大之其他筆資料,達成提高計算效率及節省儲存空間之目的。因此,本發明之計算數值網格模型之方法具有節省計算資源及儲存空間之優勢,對於建立數值網格模型及提供加值計算服務大有助益。Since in this example, the numerical grid data is established by creating a numerical grid model and then divided, the divided data and the corresponding adjacent data are used when calculating the slope value, and all grid points, especially the outermost circumference of each data, can be accurately calculated. Compared with the adjacent data, the border grid points do not need to use other data with a larger amount of data, so as to achieve the purpose of improving calculation efficiency and saving storage space. Therefore, the method for calculating the numerical grid model of the present invention has the advantages of saving computing resources and storage space, and is very helpful for establishing a numerical grid model and providing value-added computing services.

在本例中,數值網格模型建立模組20從空載光達所拍攝數值網格資料32開始處理程序,但本發明之特色於當加值計算例如以加權八鄰域法計算地形坡度值442而需取用劃分後之區域網格資料42時,對於每一個區域網格資料42會取得其相鄰之相鄰網格點資料424,而使得不須取用其他區域網格資料42也可以將每一個區域網格資料42之邊界處之地形坡度值442算出,故在另一實施例中,也可以用以其他加值計算如:地形開闊度。In this example, the numerical grid model building module 20 starts the processing procedure from the numerical grid data 32 captured by the airborne lidar, but the feature of the present invention is when the value-added calculation such as the weighted eight-neighborhood method is used to calculate the terrain slope value 442 and when needing to use the divided regional grid data 42, for each regional grid data 42, its adjacent adjacent grid point data 424 can be obtained, so that it is not necessary to use other regional grid data 42 The terrain slope value 442 at the boundary of each regional grid data 42 can be calculated, so in another embodiment, it can also be used to calculate other added values such as: terrain openness.

以下將說明本發明之另一實施例之計算數值網格模型之方法之流程,請參閱第6圖,本實施例之步驟流程包含如下:The flow of the method for calculating the numerical grid model of another embodiment of the present invention will be described below. Please refer to FIG. 6. The steps of this embodiment include the following:

步驟S110:提供數值網格資料,每一個數值網格資料包含空間座標資訊、每一個數值網格資料之每一個網格點具高度值;Step S110: Provide numerical grid data, each numerical grid data includes spatial coordinate information, and each grid point of each numerical grid data has a height value;

步驟S120:依據空間座標資訊將數值網格資料於2D座標進行排列,以產生初始網格資料;Step S120: Arranging the numerical grid data on 2D coordinates according to the spatial coordinate information to generate initial grid data;

步驟S130:消除初始網格資料之重複區域,以產生重構網格資料;Step S130: Eliminate overlapping regions of the initial grid data to generate reconstructed grid data;

步驟S140:依據解析度數值劃分重構網格資料為區域網格資料並取得對應之每一個區域網格資料相鄰之相鄰網格點資料;以及Step S140: Divide the reconstructed grid data into regional grid data according to the resolution value and obtain adjacent grid point data adjacent to each corresponding regional grid data; and

步驟S150:依據一搜尋半徑分析方法將高度值及取區域網格資料之其中之一及對應之相鄰網格點資料計算區域網格資料之其中之一之一地形開闊度值。Step S150: According to a search radius analysis method, the height value and one of the regional grid data and the corresponding adjacent grid point data are used to calculate a terrain openness value of one of the regional grid data.

接著說明為達成本實施例之計算數值網格模型之方法所需之系統,請參閱第2圖,其為本發明之一實施例之方塊圖,如第2圖所示;本發明之計算數值網格模型系統,包含主機10設置有數值網格模型建立模組20,數值網格模型建立模組20包含網格處理單元30、運算處理單元40;在本實施例中,主機10可以是電腦主機或伺服器主機,數值網格模型建立模組20為應用程式,但不限於此。Then explain the system required for the method for the calculation numerical grid model of the present embodiment, please refer to the 2nd figure, it is a block diagram of an embodiment of the present invention, as shown in the 2nd figure; The calculated value of the present invention The grid model system includes a host computer 10 provided with a numerical grid model building module 20, and the numerical grid model building module 20 includes a grid processing unit 30 and an operation processing unit 40; in this embodiment, the host computer 10 can be a computer The host or server host, the numerical grid model building module 20 is an application program, but not limited thereto.

如步驟S110所示,提供主機之網格處理單元30數值網格資料32,數值網格資料32通常來自於空載光達(Light Detection And Ranging,LiDAR) ,其精度甚至可達公寸等,由於利用空載光達繪製量測網格係習知技術,其成像原理便不在此贅述,只須了解其產生之數值網格資料32通常以二維高程資料呈現;每一個數值網格資料32還包含空間座標資訊322,且每一個數值網格資料32之每一個網格點324紀錄有高度值326,舉例來說:3*3大小之資料中應有9個網格點324,相對應之共紀錄有9筆高度值326。As shown in step S110, the grid processing unit 30 of the host computer is provided with the numerical grid data 32. The numerical grid data 32 usually comes from an airborne LiDAR (Light Detection And Ranging, LiDAR), and its precision can even reach a decimeter. Since the use of airborne lidar to draw measurement grids is a known technique, its imaging principle will not be described in detail here. It is only necessary to understand that the numerical grid data 32 generated by it is usually presented as two-dimensional elevation data; each numerical grid data 32 It also includes spatial coordinate information 322, and each grid point 324 of each numerical grid data 32 records a height value 326, for example: there should be 9 grid points 324 in the data of 3*3 size, corresponding A total of 9 records have a height value of 326.

其中,空間座標資訊322空間座標資訊322記錄拍攝地點之空間座標,其表示方式為經度以東經為正值,西經為負值表示,其範圍係-180度至+180度,緯度以北緯為正值,南緯為負值,其範圍係-90度至+90度,網格點324由空載光達之精度決定,代表能對地面所解析之程度,而高度值326可以是海拔高度(altitude),也就是以海平面作為基準的高度。Among them, the spatial coordinate information 322 spatial coordinate information 322 records the spatial coordinates of the shooting location, and its expression method is that the longitude is represented by the positive value of the east longitude and the negative value of the west longitude. The range is -180 degrees to +180 degrees, and the latitude is represented by the north latitude. Positive value, south latitude is negative value, its range is -90 degrees to +90 degrees, the grid point 324 is determined by the accuracy of the airborne lidar, which represents the degree of resolution of the ground, and the height value 326 can be the altitude ( altitude), that is, the height relative to sea level.

接著,如步驟S120所示,網格處理單元30依據每一個數值網格資料32之空間座標資訊322將數值網格資料32排列於2D座標34,以產生初始網格資料142。Next, as shown in step S120 , the grid processing unit 30 arranges the numerical grid data 32 at the 2D coordinates 34 according to the spatial coordinate information 322 of each numerical grid data 32 to generate the initial grid data 142 .

而後,如步驟S130所示,及參閱第3圖,初始網格資料142內有重複區域344,蓋因每一個數值網格資料32會有部分重疊其他數值網格資料32,因此網格處理單元30會根據每一個數值網格資料32之拍攝時間328或陳列圖層36來消除重複區域344,以產生重構網格資料38;拍攝時間328指每一個數值網格資料32由空載光達所拍攝之時間,陳列圖層36指每一個數值網格資料32於2D座標34排列之先後順序,舉例來說,如以拍攝時間328來消除重複區域344,則可以保留重複區域344中拍攝時間328較新者,去除拍攝時間328較舊者;如以陳列圖層36作為基準消除重複區域344,則可保留重複區域344中較晚放入之數值網格資料32,而去除較早放入之數值網格資料32,但不限於此。Then, as shown in step S130, and referring to FIG. 3 , there is a repeated area 344 in the initial grid data 142, because each numerical grid data 32 will partially overlap other numerical grid data 32, so the grid processing unit 30 will eliminate the repeated area 344 according to the shooting time 328 or display layer 36 of each numerical grid data 32 to generate the reconstructed grid data 38; For the shooting time, the display layer 36 refers to the order in which each numerical grid data 32 is arranged at the 2D coordinates 34. For example, if the shooting time 328 is used to eliminate the repeated area 344, then the shooting time 328 in the repeated area 344 can be kept. For the new one, remove the older one of the shooting time 328; if the repeated area 344 is eliminated based on the display layer 36, then the numerical grid data 32 put in later in the repeated area 344 can be kept, and the numerical grid data 32 put in earlier can be removed. grid data 32, but not limited thereto.

然後,如步驟S140所示,並參閱第4圖,運算處理單元40劃分該重構網格資料38為區域網格資料42,其依據解析度數值422進行劃分,例如:解析度數值422為K*K,則劃分重構網格資料38為邊長為K個網格點之矩形區域網格資料42(K為用戶自訂自然數,如:5000,則資料為5000*5000大小),但不限於此;運算處理單元40亦依據空間座標資訊322,依序劃分區域網格資料42,例如從空間座標較低者,即2D座標34之左下角開始往右網上依序劃分;解析度數值184可以由主機10設定,但不限於此;參與第5圖,運算處理單元40並取得對應之每一個區域網格資料42相鄰之相鄰網格點資料424。Then, as shown in step S140, and referring to FIG. 4, the arithmetic processing unit 40 divides the reconstructed grid data 38 into regional grid data 42, which is divided according to the resolution value 422, for example: the resolution value 422 is K *K, then divide the reconstructed grid data 38 into a rectangular area grid data 42 with a side length of K grid points (K is a user-defined natural number, such as: 5000, the data is 5000*5000 in size), but Not limited to this; the calculation processing unit 40 also divides the regional grid data 42 sequentially according to the spatial coordinate information 322, for example, from the lower left corner of the 2D coordinate 34 to the right online; resolution The value 184 can be set by the host computer 10, but is not limited thereto; referring to FIG. 5, the operation processing unit 40 obtains the corresponding adjacent grid point data 424 adjacent to each area grid data 42.

最後,如步驟S150所示,運算處理單元40依據搜尋半徑分析方法46將高度值326及取區域網格資料42之其中之一及對應之相鄰網格點資料424計算區域網格資料42之其中之一之地形開闊度值462,搜尋半徑分析方法46為罩窗半徑搜尋法例如:平均法或八方位法,開闊度主要是探討地形上同時存在的兩種特性:凸(convexity)與凹(concavity)如何透過分析方式呈現出變化量, 開闊度結合了視域的概念並計算半徑長度所形成的範圍內八個方位的天頂角或天底角取平均值所形成的加值成果,進行開闊度運算時需要設定一中心點464、一罩窗半徑466,根據中心點464與罩窗半徑466內高度值326及取區域網格資料42之其中之一及對應之相鄰網格點資料424來計算地形開闊度值462,舉例來說,參閱第7圖,罩窗半徑466內共包含4張區域網格資料42,由主機10輸入中心點464及罩窗半徑466後,運算處理單元40據以取得這些區域網格資料42及對應之相鄰網格點資料424。Finally, as shown in step S150, the calculation processing unit 40 calculates the height value 326 and one of the regional grid data 42 and the corresponding adjacent grid point data 424 according to the search radius analysis method 46 to calculate the value of the regional grid data 42. One of them is the topography openness value 462, the search radius analysis method 46 is the cover window radius search method such as: the average method or the eight-direction method, the openness is mainly to explore two characteristics that exist simultaneously on the terrain: convexity (convexity) and concave (concavity) How to present the amount of change through analysis. The openness combines the concept of sight and calculates the value-added results formed by taking the average of the zenith angle or nadir angle of the eight directions within the range formed by the radius length. It is necessary to set a center point 464 and a cover window radius 466 during the calculation of the openness. According to the height value 326 in the center point 464 and the cover window radius 466, one of the regional grid data 42 and the corresponding adjacent grid point data are taken. 424 to calculate the terrain openness value 462, for example, referring to the 7th figure, there are 4 regional grid data 42 in the cover window radius 466, after the central point 464 and the cover window radius 466 are input by the host computer 10, the calculation processing unit The 40 obtains these regional grid data 42 and the corresponding adjacent grid point data 424 accordingly.

平均法(N個方位): Positive Openness=

Figure 02_image007
,N個方位,式(四)。 Negative Opennsess=
Figure 02_image009
,N個方位,式(五)。 Average method (N directions): Positive Openness=
Figure 02_image007
, N directions, formula (4). Negative Opennessess=
Figure 02_image009
, N orientations, formula (5).

此處Openness即地形開闊度值462,∆H為中心點464及罩窗半徑466各點高度值326之差,∆D為罩窗半徑466,N為罩窗半徑466上各點資料數。Here Openness is the terrain openness value 462, ∆H is the difference between the center point 464 and the height value 326 of each point of the cover window radius 466, ∆D is the cover window radius 466, N is the data number of each point on the cover window radius 466.

八方位法: Positive Openness=

Figure 02_image007
,N=8,式(六)。 Negative Opennsess=
Figure 02_image011
,N=8,式(七)。 Octave method: Positive Openness=
Figure 02_image007
, N=8, formula (6). Negative Opennessess=
Figure 02_image011
, N=8, formula (7).

此處八方位指北、東北、東、東南、南、西南、西、西北,Openness即地形開闊度值462,∆H為中心點464及八個方位之罩窗半徑466上各點高度值326之差,∆D為罩窗半徑466。Here, the eight orientations refer to north, northeast, east, southeast, south, southwest, west, and northwest. Openness is the terrain openness value 462, ∆H is the center point 464 and the height value of each point on the cover window radius 466 of the eight orientations is 326 The difference, ∆D is the radius of the cover window 466.

由於本例中藉由將數值網格資料建立數值網格模型再劃分,於計算地形開闊度值時取用已劃分資料及對應之相鄰資料,可精確計算所有網格點特別是各筆資料最外周之邊界網格點,與取用相鄰資料相比並不用取用資料量較大之其他筆資料,達成提高計算效率及節省儲存空間之目的。因此,本發明之計算數值網格模型之方法具有節省計算資源及儲存空間之優勢,對於建立數值網格模型及提供加值計算服務大有助益。Since in this example, the numerical grid data is established as a numerical grid model and then divided, the divided data and the corresponding adjacent data are used when calculating the terrain openness value, so that all grid points, especially each data, can be accurately calculated The boundary grid points on the outermost periphery do not need to use other data with a large amount of data compared with the adjacent data, so as to achieve the purpose of improving calculation efficiency and saving storage space. Therefore, the method for calculating the numerical grid model of the present invention has the advantages of saving computing resources and storage space, and is very helpful for establishing a numerical grid model and providing value-added computing services.

本發明還提供一種存取數值網格模型之方法,鑒於產生數值網格模型之過程中會對於存取資料劃分,故本發明再提供一種對存取資料索引之方法,使加值計算時可以快速擷取需要之資料。The present invention also provides a method for accessing the numerical grid model. In view of the fact that the access data will be divided during the process of generating the numerical grid model, the present invention further provides a method for indexing the access data, so that the value-added calculation can be performed Quickly retrieve the required information.

以下將說明本發明之另一實施例之存取數值網格模型之方法之流程,請參閱第8圖,本實施例之步驟流程包含如下:The flow of the method for accessing the numerical grid model of another embodiment of the present invention will be described below. Please refer to FIG. 8. The steps of this embodiment include the following:

步驟S210:提供數值網格資料,每一個數值網格資料包含空間座標資訊;Step S210: providing numerical grid data, each numerical grid data includes spatial coordinate information;

步驟S220:依據空間座標資訊將數值網格資料於2D座標進行排列,以產生初始網格資料;Step S220: Arranging the numerical grid data on 2D coordinates according to the spatial coordinate information to generate initial grid data;

步驟S230:消除初始網格資料之重複區域,以產生重構網格資料;Step S230: Eliminate overlapping regions of the initial grid data to generate reconstructed grid data;

步驟S240:依據解析度數值劃分重構網格資料為區域網格資料;以及Step S240: dividing the reconstructed grid data into regional grid data according to the resolution value; and

步驟S250:索引每一個區域網格資料。Step S250: Index each regional grid data.

接著說明為達成本實施例之計算數值網格模型之方法所需之系統,請參閱第2圖,其為本發明之一實施例之方塊圖,如第2圖所示;本發明之計算數值網格模型系統,包含主機10設置有數值網格模型建立模組20,數值網格模型建立模組20包含網格處理單元30、運算處理單元40;在本實施例中,主機10可以是電腦主機或伺服器主機,數值網格模型建立模組20為應用程式,但不限於此。Then explain the system required for the method for the calculation numerical grid model of the present embodiment, please refer to the 2nd figure, it is a block diagram of an embodiment of the present invention, as shown in the 2nd figure; The calculated value of the present invention The grid model system includes a host computer 10 provided with a numerical grid model building module 20, and the numerical grid model building module 20 includes a grid processing unit 30 and an operation processing unit 40; in this embodiment, the host computer 10 can be a computer The host or server host, the numerical grid model building module 20 is an application program, but not limited thereto.

如步驟S210所示,提供主機之網格處理單元30數值網格資料32,數值網格資料32通常來自於空載光達(Light Detection And Ranging,LiDAR) ,其精度甚至可達公寸等,由於空載光達產製影像網格係習知技術,其成像原理便不在此贅述,只須了解其產生之數值網格資料32通常以二維高程資料呈現;每一個數值網格資料32還包含拍攝地點資訊即空間座標資訊322;空間座標資訊322指拍攝空間座標,其表示方式為經度以東經為正值,西經為負值表示,其範圍係-180度至+180度,緯度以北緯為正值,南緯為負值,其範圍係-90度至+90度。As shown in step S210, the grid processing unit 30 of the host computer is provided with the numerical grid data 32. The numerical grid data 32 usually comes from an airborne LiDAR (Light Detection And Ranging, LiDAR), and its accuracy can even reach a decimeter. Since the image grid produced by airborne LiDAR is a known technology, its imaging principle will not be described in detail here. It is only necessary to understand that the numerical grid data 32 generated by it is usually presented as two-dimensional elevation data; each numerical grid data 32 is also presented. Contains the shooting location information, that is, the spatial coordinate information 322; the spatial coordinate information 322 refers to the shooting spatial coordinates, and its expression method is that the longitude is represented by a positive value for the east longitude, and a negative value for the west longitude, and its range is -180 degrees to +180 degrees, and the latitude is represented by The north latitude is a positive value, and the south latitude is a negative value, and its range is -90 degrees to +90 degrees.

接著,如步驟S220所示,網格處理單元30依據每一個數值網格資料32之空間座標資訊322將數值網格資料32排列於2D座標34,以產生初始網格資料342。Next, as shown in step S220 , the grid processing unit 30 arranges the numerical grid data 32 at the 2D coordinates 34 according to the spatial coordinate information 322 of each numerical grid data 32 to generate the initial grid data 342 .

而後,如步驟S230所示,及參閱第3圖,初始網格資料342內有重複區域344,蓋因每一個數值網格資料32會有部分重疊其他數值網格資料32,因此網格處理單元30會根據每一個數值網格資料32之拍攝時間328或陳列圖層36來消除重複區域344,以產生重構網格資料38;拍攝時間328指每一個數值網格資料32由空載光達所拍攝之時間,陳列圖層36指每一個數值網格資料32於2D座標34排列之先後順序,舉例來說,如以拍攝時間328來消除重複區域344,則可以保留重複區域344中拍攝時間328較新者,去除拍攝時間328較舊者;如以陳列圖層36作為基準消除重複區域344,則可保留重複區域344中較晚放入之數值網格資料32,而去除較早放入之數值網格資料32,但不限於此。Then, as shown in step S230, and referring to FIG. 3 , there is a repeated area 344 in the initial grid data 342, because each numerical grid data 32 will partially overlap other numerical grid data 32, so the grid processing unit 30 will eliminate the repeated area 344 according to the shooting time 328 or display layer 36 of each numerical grid data 32 to generate the reconstructed grid data 38; For the shooting time, the display layer 36 refers to the order in which each numerical grid data 32 is arranged at the 2D coordinates 34. For example, if the shooting time 328 is used to eliminate the repeated area 344, then the shooting time 328 in the repeated area 344 can be kept. For the new one, remove the older one of the shooting time 328; if the repeated area 344 is eliminated based on the display layer 36, then the numerical grid data 32 put in later in the repeated area 344 can be kept, and the numerical grid data 32 put in earlier can be removed. grid data 32, but not limited thereto.

然後,如步驟S240所示,並參閱第4圖,運算處理單元40劃分該重構網格資料38為區域網格資料42,其依據解析度數值422進行劃分,例如:解析度數值422為K*K,則劃分重構網格資料38為邊長為K個網格點之矩形區域網格資料42(K為用戶自訂自然數,如:5000,則資料為5000*5000大小),但不限於此;運算處理單元40亦依據空間座標資訊322,依序劃分區域網格資料42,例如從空間座標較低者,即2D座標34之左下角開始往右網上依序劃分;解析度數值422可以由主機10設定,但不限於此。Then, as shown in step S240, and referring to FIG. 4, the arithmetic processing unit 40 divides the reconstructed grid data 38 into regional grid data 42, which is divided according to the resolution value 422, for example: the resolution value 422 is K *K, then divide the reconstructed grid data 38 into a rectangular area grid data 42 with a side length of K grid points (K is a user-defined natural number, such as: 5000, the data is 5000*5000 in size), but Not limited to this; the calculation processing unit 40 also divides the regional grid data 42 sequentially according to the spatial coordinate information 322, for example, from the lower left corner of the 2D coordinate 34 to the right online; resolution The value 422 can be set by the host 10, but is not limited thereto.

最後,如步驟S250所示,運算處理單元40依據空間座標資訊322索引每一個區域網格資料42,例如區域網格資料42之其中之一經度為120.93310546875~120.958129882812,緯度為24.8233032226562~24.8483276367187,則據以編號為95818483方便搜尋,但不限於此。Finally, as shown in step S250, the calculation processing unit 40 indexes each regional grid data 42 according to the spatial coordinate information 322. For example, one of the regional grid data 42 has a longitude of 120.93310546875~120.958129882812 and a latitude of 24.8233032226562~24.8483276367187. The number is 95818483 to facilitate the search, but not limited to this.

請參閱第9圖,步驟S250還進一步包含:Referring to Fig. 9, step S250 further includes:

步驟S252:儲存區域網格資料於一地圖資料庫。Step S252: Store the regional grid data in a map database.

然後,如步驟S252所示,並參閱第2圖,數值網格模型建立模組20還包含地圖資料庫50,地圖資料庫50可以是硬碟或雲端空間,但不限於此,運算處理單元40可以將步驟S250索引之區域網格資料42儲存於地圖資料庫50。Then, as shown in step S252, and referring to FIG. 2, the numerical grid model building module 20 also includes a map database 50. The map database 50 can be a hard disk or cloud space, but is not limited thereto. The calculation processing unit 40 The area grid data 42 indexed in step S250 can be stored in the map database 50 .

請參閱第10圖,步驟S250還進一步包含:Please refer to Fig. 10, step S250 further comprises:

步驟S260:依據一加值服務事件計算所需之至少一編號。Step S260: Calculate at least one serial number required according to a value-added service event.

步驟S270:依據編號擷取區域網格資料之其中之一為一擷取資料;以及Step S270: one of the retrieved regional grid data according to the serial number is a retrieved data; and

步驟S280:依據擷取資料運算一計算結果。Step S280: Calculate a calculation result according to the captured data.

如步驟S260所示,並參閱第2圖,數值網格模型建立模組20還包含計算模組60,計算模組60可以根據加值服務事件62計算所需之編號,加值服務事件62例如:加權分析或搜尋半徑分析,如步驟S50或步驟S150所述,加權分析或搜尋半徑分析根據其計算過程可以取得區域網格資料42,計算模組60能依據每一個區域網格資料42取得對應之編號64。As shown in step S260, and referring to FIG. 2, the numerical grid model building module 20 also includes a calculation module 60, and the calculation module 60 can calculate the required number according to the value-added service event 62. The value-added service event 62 is for example : weighted analysis or search radius analysis, as described in step S50 or step S150, weighted analysis or search radius analysis can obtain the regional grid data 42 according to its calculation process, and the calculation module 60 can obtain the corresponding grid data 42 according to each area No. 64.

然後,如步驟S270所示,計算模組60依據編號64擷取區域網格資料42之其中之一為擷取資料66,如區域網格資料42如步驟S252已經儲存於地圖資料庫50,則計算模組60向地圖資料庫50依據編號64擷取區域網格資料42之其中之一為擷取資料66。Then, as shown in step S270, the calculation module 60 retrieves one of the regional grid data 42 according to the number 64 as the retrieved data 66. If the regional grid data 42 has been stored in the map database 50 in step S252, then The calculation module 60 retrieves one of the regional grid data 42 from the map database 50 according to the number 64 as the retrieved data 66 .

最後,如步驟S280所示,計算模組60利用運算處理單元40依據擷取資料66進行加值服務事件62例如:加權分析或搜尋半徑分析,而取得計算結果68,計算結果68例如:地形坡度值442或地形開闊度值462,但不限於此。Finally, as shown in step S280, the calculation module 60 uses the calculation processing unit 40 to perform value-added service events 62 such as: weight analysis or search radius analysis according to the captured data 66, and obtain a calculation result 68, such as: terrain slope A value of 442 or a terrain openness value of 462, but not limited to.

由本實施例中劃分並索引之區域網格資料,以便於計算模組在進行加值服務時,能夠根據空間座標範圍直接取得編號後,再依編號取得計算所需資料,而不需要先擷取所有資料,再由所有資料中尋找所需資料,再將所需資料擷取,特別是數值網格模型資料量相當龐大,只擷取所需資料對比擷取所有資料所消耗之時間差更為明顯,本發明能夠使加值計算過程更加效率,並節省記憶體,不但有益於降低使用者之硬體成本,更提高本發明在市場上之適用性與競爭力。The regional grid data divided and indexed in this embodiment, so that when the calculation module performs value-added services, it can directly obtain the number according to the spatial coordinate range, and then obtain the data required for calculation according to the number, without the need to first retrieve All the data, and then find the required data from all the data, and then retrieve the required data, especially the numerical grid model has a huge amount of data, the time difference between only obtaining the required data and obtaining all the data is more obvious , the present invention can make the value-added calculation process more efficient and save memory, which is not only beneficial to reduce the user's hardware cost, but also improves the applicability and competitiveness of the present invention in the market.

綜上所述,本發明為數值網格模型之方法及其系統,其藉由以劃分數值網格資料計算邊界值時,額外取得相鄰資料,達到正確計算邊界值又能節省儲存空間的效果,再藉由索引劃分之數值網格資料,達到快速根據編號利用又能節省儲存空間的效果。To sum up, the present invention is a numerical grid model method and its system. By dividing the numerical grid data to calculate the boundary value, additional adjacent data are obtained to achieve the effect of correctly calculating the boundary value and saving storage space. , and then use the numerical grid data divided by the index to achieve the effect of fast utilization according to the number and saving storage space.

故本發明實為一具有新穎性、進步性及可供產業上利用者,應符合我國專利法專利申請要件無疑,爰依法提出發明專利申請,祈  鈞局早日賜准專利,至感為禱。Therefore, the present invention is novel, progressive and can be used in industry. It should meet the patent application requirements of my country's patent law. I file an invention patent application in accordance with the law. I pray that the bureau will grant the patent as soon as possible. I sincerely pray.

惟以上所述者,僅為本發明之較佳實施例而已,並非用來限定本發明實施之範圍,舉凡依本發明申請專利範圍所述之形狀、構造、特徵及精神所為之均等變化與修飾,均應包括於本發明之申請專利範圍內。However, the above-mentioned ones are only preferred embodiments of the present invention, and are not used to limit the scope of the present invention. For example, all equal changes and modifications are made according to the shape, structure, characteristics and spirit described in the scope of the patent application of the present invention. , should be included in the patent application scope of the present invention.

10:主機 20:數值網格模型建立模組 30:網格處理單元 32:數值網格資料 322:空間座標資訊 324:網格點 326:高度值 328:拍攝時間 34:2D座標 342:初始網格資料 344:重複區域 36:陳列圖層 38:重構網格資料 40:運算處理單元 42:區域網格資料 422:解析度數值 424:相鄰網格點資料 44:加權分析方法 442:地形坡度值 46:搜尋半徑分析 462:地形開闊度值 464:中心點 466:罩窗半徑 50:地圖資料庫 60:計算模組 62:加值服務事件 64:編號 66:擷取資料 68:計算結果 A0:待算網格點 B1~B8:A0周圍八格網格點 S10至S280:步驟 10: Host 20: Numerical grid model building module 30: grid processing unit 32: Numerical grid data 322: Spatial coordinate information 324: grid point 326: height value 328: Shooting time 34: 2D coordinates 342:Initial grid data 344: Repeat area 36:Display layers 38:Reconstruct grid data 40: Operation processing unit 42: Regional grid data 422: Resolution value 424: Adjacent grid point data 44: Weighted Analysis Method 442: terrain slope value 46: Search Radius Analysis 462: terrain openness value 464: center point 466: Radius of cover window 50:Map database 60: Calculation module 62: Value-added service event 64: number 66: Retrieve data 68: Calculation result A0: Grid points to be calculated B1~B8: Eight grid points around A0 S10 to S280: Steps

第1圖:其為本發明之一實施例之方法流程圖; 第2圖:其為本發明之一實施例之方塊圖; 第3圖:其為本發明之一實施例之重複區域之示意圖; 第4圖:其為本發明之一實施例之待算網格點與相鄰網格點之示意圖; 第5圖:其為本發明之一實施例之區域網格資料與相鄰網格點資料之示意圖; 第6圖:其為本發明之另一實施例之方法流程圖; 第7圖:其為本發明之另一實施例之中心點與罩窗半徑之示意圖; 第8圖:其為本發明之又一實施例之方法流程圖; 第9圖:其為本發明之又一實施例之方法流程圖;以及 第10圖:其為本發明之又一實施例之方法流程圖。 Figure 1: It is a flow chart of the method of one embodiment of the present invention; Fig. 2: it is a block diagram of an embodiment of the present invention; Figure 3: It is a schematic diagram of the repeating region of an embodiment of the present invention; Figure 4: It is a schematic diagram of grid points to be calculated and adjacent grid points according to an embodiment of the present invention; Figure 5: It is a schematic diagram of regional grid data and adjacent grid point data according to an embodiment of the present invention; Fig. 6: It is a method flow chart of another embodiment of the present invention; Figure 7: It is a schematic diagram of the center point and the radius of the cover window in another embodiment of the present invention; Fig. 8: It is the flow chart of the method of another embodiment of the present invention; Fig. 9: it is a method flow chart of another embodiment of the present invention; and Fig. 10: It is a method flow chart of another embodiment of the present invention.

S10至S50:步驟 S10 to S50: Steps

Claims (28)

一種計算數值網格模型之方法,其包含:由一主機接收複數個數值網格資料,每一個該些個數值網格資料包含一空間座標資訊、每一個該些個網格式資料之每一個網格點具一高度值;該主機依據該空間座標資訊將該些個數值網格資料於一2D座標進行排列,以產生一初始網格資料;該主機消除該初始網格資料之至少一重複區域,以產生一重構網格資料;該主機依據一解析度數值劃分該重構網格資料為複數個區域網格資料並取得對應之每一個該些個區域網格資料相鄰之複數個相鄰網格點資料;以及該主機依據一加權分析方法將該高度值及取該些個區域網格資料之其中之一及對應之該些個相鄰像素資料計算該些個區域網格資料之其中之一之一地形坡度值。 A method for calculating a numerical grid model, which includes: receiving a plurality of numerical grid data by a host computer, each of the numerical grid data includes a spatial coordinate information, and each network of each of the plurality of grid format data The grid point has a height value; the host arranges the numerical grid data at a 2D coordinate according to the spatial coordinate information to generate an initial grid data; the host eliminates at least one overlapping area of the initial grid data , to generate a reconstructed grid data; the host computer divides the reconstructed grid data into a plurality of regional grid data according to a resolution value and obtains a plurality of corresponding adjacent ones of the regional grid data adjacent grid point data; and the host computer calculates the height value of the regional grid data according to a weighted analysis method and takes one of the regional grid data and the corresponding adjacent pixel data One of the terrain slope values. 如請求項1所述的計算數值網格模型之方法,其中每一個該些個區域網格資料之該解析度數值為K*K,K為自然數。 The method for calculating a numerical grid model as described in Claim 1, wherein the resolution value of each of the regional grid data is K*K, and K is a natural number. 如請求項2所述的計算數值網格模型之方法,其中每一個該些個區域網格資料結合對應之每一個該些個區域網格資料之複數個相鄰網格點資料後該解析度數值為K+1*K+1,K為自然數。 The method for calculating a numerical grid model as described in claim 2, wherein the resolution of each of the regional grid data combined with a plurality of adjacent grid point data corresponding to each of the regional grid data The value is K+1*K+1, K is a natural number. 如請求項1所述的計算數值網格模型之方法,其中該地形坡度值之該解析度數值為K*K,K為自然數。 The method for calculating a numerical grid model as described in Claim 1, wherein the resolution value of the terrain slope value is K*K, and K is a natural number. 如請求項1所述的計算數值網格模型之方法,其中該空間座標資訊為每一個該些個數值網格資料之拍攝範圍。 The method for calculating a numerical grid model as described in Claim 1, wherein the spatial coordinate information is the shooting range of each of the numerical grid data. 如請求項1所述的計算數值網格模型之方法,其中於消除該初始網格資料之至少一重複區域,以產生一重構網格資料之步驟中,依據每一個該些個數值網格資料之一拍攝時間或一陳列圖層消除至少一重複區域。 The method for calculating a numerical grid model as described in claim 1, wherein in the step of eliminating at least one overlapping region of the initial grid data to generate a reconstructed grid data, according to each of the numerical grids A shooting time of data or a display layer eliminates at least one repeated region. 如請求項1所述的計算數值網格模型之方法,其中於依據一解析度數值劃分該重構網格資料為複數個區域網格資料並取得對應之每一個該些個區域網格資料相鄰之複數個相鄰網格點資料之步驟中,依據該空間座標資訊依序劃分該複數個區域網格資料。 The method for calculating a numerical grid model as described in claim 1, wherein the reconstructed grid data is divided into a plurality of regional grid data according to a resolution value and each of the corresponding regional grid data is obtained In the step of adjoining a plurality of adjacent grid point data, the plurality of regional grid data are sequentially divided according to the spatial coordinate information. 如請求項1所述的計算數值網格模型之方法,其中該加權分析方法例如:四鄰域法、加權八鄰域法以及等權八鄰域法。 The method for calculating a numerical grid model as described in Claim 1, wherein the weighted analysis method is, for example, a four-neighborhood method, a weighted eight-neighborhood method, and an equal-weight eight-neighborhood method. 一種計算數值網格模型之方法,其包含:由一主機接收複數個數值網格資料,每一個該些個數值網格資料包含一空間座標資訊、每一個該些個數值網格資料之每一個網格點具一高度值;該主機依據該空間座標資訊將該些個數值網格資料於一2D座標進行排列,以產生一初始網格式資料;該主機消除該初始網格資料之至少一重複區域,以產生一重構網格資料;該主機依據一解析度數值劃分該重構網格資料為複數個區域網格資料並取得對應之每一個該些個區域網格資料相鄰之複數個相鄰網格點資料;以及該主機依據一搜尋半徑分析方法將該高度值及取該些個區域網格資料之其中之一及對應之該些個相鄰網格點資料計算該些個區域網格資料之其中之一之一地形開闊度值。 A method for calculating a numerical grid model, which includes: receiving a plurality of numerical grid data by a host computer, each of the numerical grid data includes a spatial coordinate information, each of the numerical grid data The grid point has a height value; the host arranges the numerical grid data at a 2D coordinate according to the spatial coordinate information to generate an initial grid data; the host eliminates at least one repetition of the initial grid data region to generate a reconstructed grid data; the host computer divides the reconstructed grid data into a plurality of regional grid data according to a resolution value and obtains a plurality of corresponding adjacent ones of the regional grid data Adjacent grid point data; and the host calculates the areas based on a search radius analysis method, the height value and one of the area grid data and the corresponding adjacent grid point data One of the grid data one of the terrain openness value. 如請求項9所述的計算數值網格模型之方法,其中每一個該些個區域網格資料之該解析度數值為K*K,K為自然數。 The method for calculating a numerical grid model as described in Claim 9, wherein the resolution value of each of the regional grid data is K*K, and K is a natural number. 如請求項10所述的計算數值網格模型之方法,其中每一個該些個區域網格資料結合對應之每一個該些個區域網格資料之複數個相鄰網格點資料後該解析度數值為K+1*K+1,K為自然數。 The method for calculating a numerical grid model as described in claim 10, wherein each of the regional grid data is combined with a plurality of adjacent grid point data corresponding to each of the regional grid data. The value is K+1*K+1, K is a natural number. 如請求項10所述的計算數值網格模型之方法,其中該地形坡度值之該解析度數值為K*K,K為自然數。 The method for calculating a numerical grid model as described in Claim 10, wherein the resolution value of the terrain slope value is K*K, and K is a natural number. 如請求項10所述的計算數值網格模型之方法,其中該空間座標資訊為每一個該些個數值網格資料之拍攝空間座標。 The method for calculating a numerical grid model as described in Claim 10, wherein the spatial coordinate information is the shooting spatial coordinate of each of the numerical grid data. 如請求項10所述的計算數值網格模型之方法,其中於消除該初始網格資料之至少一重複區域,以產生一重構網格資料之步驟中,依據每一個該些個數值網格資料之一拍攝時間或一陳列圖層消除至少一重複區域。 The method for calculating a numerical grid model as described in claim 10, wherein in the step of eliminating at least one overlapping region of the initial grid data to generate a reconstructed grid data, according to each of the numerical grids A shooting time of data or a display layer eliminates at least one repeated region. 如請求項10所述的計算數值網格模型之方法,其中於依據一解析度數值劃分該重構網格資料為複數個區域網格資料並取得對應之每一個該些個區域網格資料相鄰之複數個相鄰網格點資料之步驟中,依據該空間座標資訊依序劃分該複數個區域網格資料。 The method for calculating a numerical grid model as described in claim 10, wherein the reconstructed grid data is divided into a plurality of regional grid data according to a resolution value and corresponding to each of these regional grid data is obtained In the step of adjoining a plurality of adjacent grid point data, the plurality of regional grid data are sequentially divided according to the spatial coordinate information. 如請求項10所述的計算數值網格模型之方法,其中搜尋半徑分析方法為罩窗半徑搜尋法。 The method for calculating a numerical grid model as described in Claim 10, wherein the search radius analysis method is a cover window radius search method. 一種存取數值網格模型之方法,其包含:由一主機接收複數個數值網格資料,每一個該些個數值網格資料包含一空間座標資訊;該主機依據該空間座標資訊將該些個數值網格資料於一2D座標進行排列,以產生一初始網格資料;該主機消除該初始網格資料之至少一重複區域,以產生一重構網格資料; 該主機依據一解析度數值劃分該重構網格資料為複數個區域網格資料;以及該主機索引每一個該些個區域網格資料。 A method for accessing a numerical grid model, which includes: receiving a plurality of numerical grid data by a host, each of the numerical grid data includes a spatial coordinate information; the numerical grid data is arranged at a 2D coordinate to generate an initial grid data; the host eliminates at least one overlapping region of the initial grid data to generate a reconstructed grid data; The host divides the reconstructed grid data into a plurality of regional grid data according to a resolution value; and the host indexes each of the plurality of regional grid data. 如請求項17所述的存取數值網格模型之方法,其中於索引每一個該些個區域網格資料之步驟後,更包含:儲存該些個區域網格資料於一地圖資料庫。 The method for accessing a numerical grid model according to claim 17, further comprising: storing the regional grid data in a map database after the step of indexing each of the regional grid data. 如請求項17所述的存取數值網格模型之方法,其中於索引每一個該些個區域網格資料之步驟後,還包含:依據一加值服務事件計算所需之至少一編號;依據該編號擷取區域網格資料之其中之一為一擷取資料;以及依據該擷取資料運算一計算結果。 The method for accessing a numerical grid model as described in claim 17, wherein after the step of indexing each of the regional grid data, it further includes: calculating at least one number required according to a value-added service event; according to One of the numbered grid data of the retrieved area is a retrieved data; and a calculation result is calculated according to the retrieved data. 如請求項17所述的存取數值網格模型之方法,其中該空間座標資訊為每一個該些個數值網格資料之拍攝空間座標。 The method for accessing a numerical grid model as described in claim 17, wherein the spatial coordinate information is the shooting spatial coordinate of each of the numerical grid data. 如請求項17所述的存取數值網格模型之方法,其中於消除該初始網格資料之至少一重複區域,以產生一重構網格資料之步驟中,依據每一個該些個數值網格資料之一拍攝時間或一陳列圖層消除至少一重複區域。 The method for accessing a numerical grid model as described in claim 17, wherein in the step of eliminating at least one overlapping region of the initial grid data to generate a reconstructed grid data, according to each of the numerical grids One of the shooting time of the grid data or a display layer eliminates at least one repeated region. 如請求項17所述的存取數值網格模型之方法,其中於依據一解析度數值劃分該重構網格資料為複數個區域網格資料之步驟中,依據該空間座標資訊依序劃分該複數個區域網格資料。 The method for accessing a numerical grid model as described in claim item 17, wherein in the step of dividing the reconstructed grid data into a plurality of regional grid data according to a resolution value, the spatial coordinate information is sequentially divided according to the spatial coordinate information A plurality of area grid data. 如請求項17所述的存取數值網格模型之方法,其中每一個該些個區域網格資料之該解析度數值為K*K,K為自然數。 The method for accessing a numerical grid model as described in claim 17, wherein the resolution value of each of the regional grid data is K*K, and K is a natural number. 如請求項17所述的存取數值網格模型之方法,其中於索引每一個該些個區域網格資料,依據該空間座標資訊索引每一個該些個區域網格資料。 The method for accessing a numerical grid model as described in claim 17, wherein each of the regional grid data is indexed according to the spatial coordinate information. 如請求項19所述的存取數值網格模型之方法,該加值服務事件為加權分析或搜尋半徑分析。 In the method for accessing a numerical grid model according to claim 19, the value-added service event is weight analysis or search radius analysis. 一種存取數值網格模型之系統,其包含:一主機,其設置一數值網格模型建立模組將複數個數值網格資料依據一空間座標資訊進行排列,以產生一初始網格資料,消除該初始網格資料至少一重複區域,以產生一重構網格資料,劃分該重構網格資料為複數個區域網格資料並取得對應之每一個該些個區域網格資料之複數個相鄰網格點資料,依據至少部分之該些個區域網格資料及對應至少部分之該些個區域網格資料之複數個相鄰網格點資料進行計算。 A system for accessing a numerical grid model, which includes: a host computer, which sets a numerical grid model building module to arrange a plurality of numerical grid data according to a spatial coordinate information to generate an initial grid data, eliminating The initial grid data repeats at least one region to generate a reconstructed grid data, divides the reconstructed grid data into a plurality of regional grid data and obtains a plurality of corresponding ones of the plurality of regional grid data Neighboring grid point data is calculated based on at least part of the regional grid data and a plurality of adjacent grid point data corresponding to at least part of the regional grid data. 如請求項26所述的存取數值網格模型之系統,該主機更包含:一網格處理單元,其將複數個數值網格資料依據該空間座標資訊進行排列,以產生該初始網格資料,消除該初始網格資料至少該重複區域,以產生該重構網格資料;一運算處理單元,其劃分該重構網格資料為複數個區域網格資料並取得對應之每一個該些個區域網格資料之複數個相鄰網格點資料,索引每一個該些個區域網格資料,計算該些個區域網格資料;一地圖資料庫,其儲存索引後之該些個區域網格資料;以及一計算模組,其依據一加值服務事件計算。 In the system for accessing a numerical grid model as described in claim 26, the host computer further includes: a grid processing unit that arranges a plurality of numerical grid data according to the spatial coordinate information to generate the initial grid data , eliminating at least the overlapping area of the initial grid data to generate the reconstructed grid data; an operation processing unit, which divides the reconstructed grid data into a plurality of regional grid data and obtains each of the corresponding grid data A plurality of adjacent grid point data of the regional grid data, index each of the regional grid data, and calculate the regional grid data; a map database, which stores the indexed regional grid data data; and a calculation module, which calculates according to a value-added service event. 如請求項27所述的存取數值網格模型之系統,該加值服務事件為加權分析或搜尋半徑分析。 In the system for accessing a numerical grid model as described in claim 27, the value-added service event is weight analysis or search radius analysis.
TW110137623A 2021-10-08 2021-10-08 Method of the digital grid model and system thereof TWI786874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110137623A TWI786874B (en) 2021-10-08 2021-10-08 Method of the digital grid model and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110137623A TWI786874B (en) 2021-10-08 2021-10-08 Method of the digital grid model and system thereof

Publications (2)

Publication Number Publication Date
TWI786874B true TWI786874B (en) 2022-12-11
TW202316379A TW202316379A (en) 2023-04-16

Family

ID=85794947

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110137623A TWI786874B (en) 2021-10-08 2021-10-08 Method of the digital grid model and system thereof

Country Status (1)

Country Link
TW (1) TWI786874B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100020066A1 (en) * 2008-01-28 2010-01-28 Dammann John F Three dimensional imaging method and apparatus
TWI353561B (en) * 2007-12-21 2011-12-01 Ind Tech Res Inst 3d image detecting, editing and rebuilding system
US20130144565A1 (en) * 2011-12-01 2013-06-06 Harris Corporation Accuracy-based significant point derivation from dense 3d point clouds for terrain modeling
US20180122135A1 (en) * 2015-04-30 2018-05-03 University Of Cape Town Systems and methods for synthesising a terrain
TWI627602B (en) * 2017-06-23 2018-06-21 3D terrain map and manufacturing method thereof
TW202113773A (en) * 2019-09-20 2021-04-01 日商亞細亞航測股份有限公司 Super-resolution stereoscopic visualization processing system and program for same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI353561B (en) * 2007-12-21 2011-12-01 Ind Tech Res Inst 3d image detecting, editing and rebuilding system
US20100020066A1 (en) * 2008-01-28 2010-01-28 Dammann John F Three dimensional imaging method and apparatus
US20130144565A1 (en) * 2011-12-01 2013-06-06 Harris Corporation Accuracy-based significant point derivation from dense 3d point clouds for terrain modeling
US20180122135A1 (en) * 2015-04-30 2018-05-03 University Of Cape Town Systems and methods for synthesising a terrain
TWI627602B (en) * 2017-06-23 2018-06-21 3D terrain map and manufacturing method thereof
TW202113773A (en) * 2019-09-20 2021-04-01 日商亞細亞航測股份有限公司 Super-resolution stereoscopic visualization processing system and program for same

Also Published As

Publication number Publication date
TW202316379A (en) 2023-04-16

Similar Documents

Publication Publication Date Title
AU2018206753B2 (en) Method and device for filling invalid regions of terrain elevation model data
JP3910582B2 (en) Three-dimensional structure shape automatic generation apparatus, automatic generation method, program thereof, and recording medium recording the program
CN104821013A (en) Method and system for specific surface area extraction based on geodetic coordinate system digital elevation model
CN114998536A (en) Model generation method and device based on novel basic mapping and storage medium
KR20100136604A (en) Real-time visualization system of 3 dimension terrain image
CN115082641B (en) Point cloud rasterization method and device based on gridding multi-neighborhood interpolation
CN107992588B (en) Terrain display system based on elevation tile data
CN115439571A (en) Method and device suitable for generating linear array push-broom satellite image epipolar image
CN115239784A (en) Point cloud generation method and device, computer equipment and storage medium
CN117557681B (en) High-precision topographic map generation method and device based on multi-source mapping data
CN113282695B (en) Vector geographic information acquisition method and device based on remote sensing image
ESTOQUE et al. < Original Papers> Validating ALOS PRISM DSM-derived surface feature height: Implications for urban volume estimation
CN117011476B (en) Bit layout method, equipment and medium of atmospheric cerenkov telescope array
CN112525208B (en) Method, device and equipment for quickly constructing urban road map
CN116737392B (en) Non-vector data processing method and device and computing equipment
JP2008209417A (en) Image analysis apparatus, its method, and program
TWI786874B (en) Method of the digital grid model and system thereof
CN110887495B (en) Method for applying real-time road conditions of cloud platform to urban emergency GIS platform
CN112184900B (en) Method, device and storage medium for determining elevation data
CN115018973B (en) Non-target evaluation method for low-altitude unmanned aerial vehicle point cloud modeling precision
JP3024666B2 (en) Method and system for generating three-dimensional display image of high-altitude image
Fan et al. Pano2Geo: An efficient and robust building height estimation model using street-view panoramas
CN110926428A (en) Shielding detection method and device for calculating solar irradiance
CN113446992B (en) Method for optimizing distribution of topographic survey points in topographic survey
CN117455815B (en) Method and related equipment for correcting top-bottom offset of flat-top building based on satellite image