JP2005106906A - Altitude data generation method and altitude data generation program - Google Patents

Altitude data generation method and altitude data generation program Download PDF

Info

Publication number
JP2005106906A
JP2005106906A JP2003336972A JP2003336972A JP2005106906A JP 2005106906 A JP2005106906 A JP 2005106906A JP 2003336972 A JP2003336972 A JP 2003336972A JP 2003336972 A JP2003336972 A JP 2003336972A JP 2005106906 A JP2005106906 A JP 2005106906A
Authority
JP
Japan
Prior art keywords
point
points
altitude
grid
proximity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2003336972A
Other languages
Japanese (ja)
Other versions
JP3916598B2 (en
Inventor
Sen Kubota
仙 久保田
Takashi Onoyama
隆 小野山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP2003336972A priority Critical patent/JP3916598B2/en
Publication of JP2005106906A publication Critical patent/JP2005106906A/en
Application granted granted Critical
Publication of JP3916598B2 publication Critical patent/JP3916598B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To generate altitude data with respect to lattice points near a step region such as precipice, and also generate the altitude data obtained by correcting the altitude of the lattice points near the step region by using the altitudes of triangulation points and the control points. <P>SOLUTION: A plurality of proximity points which are located on altitude lines or the step region and satisfies prescribed conditions are detected for each lattice point and, concerning the first kind of lattice points that do not contain the proximity points on the step region among the detected plurality of proximity points, the altitudes of the lattice points are determined based on the locations and altitudes of the plurality of proximity points. Concerning the second kind of lattice points that contain the proximity points on the step region among a plurality of the proximity points, at least another proximity point which satisfies other prescribed conditions is additionally detected and the altitude of the selected lattice point is determined based on the location and the altitude of the at least the other proximity point which is additionally added. Furthermore, the altitudes determined concerning the triangulation points and the lattice points near the control points are corrected based on the altitudes of the triangulation points and the control points. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、崖等の段差領域を表す段差領域記号や、三角点あるいは基準点のような位置と標高が特定された複数の特定点が含まれた地図に対する等高線を記載した等高線地図上の等高線を表す等高線点列データから、当該地図を複数のメッシュに区切って得られる各メッシュの格子点の標高データを生成する標高データ生成方法、標高データ生成プログラム及び標高データ生成装置に関する。   The present invention relates to a contour map on a contour map that describes contour lines for a map including a step area symbol representing a step area such as a cliff, and a plurality of specific points whose positions and altitudes are specified, such as a triangular point or a reference point. The present invention relates to an elevation data generation method, an elevation data generation program, and an elevation data generation device for generating elevation data of lattice points of each mesh obtained by dividing the map into a plurality of meshes from contour line sequence data representing

等高線を主に記載した等高線地図から等高線を表すデータである等高線点列データが生成される。このようにして等高線点列データを生成する方法はそれ自体公知である。等高線点列データは、ベクトル化と呼ばれる処理により、等高線地図上に曲線で表された等高線の各々を多数の連結した折れ線で近似し、折れ線上の多数の点を等高線の始点から終点に向けて並べ、それぞれの点の2次元位置と標高を表す点列データである。等高線を表す等高線地図を多数のメッシュに分割し、各メッシュの格子点の座標と標高を表す標高データが、上記多数の等高線に対する多数の等高線点列データから生成される。等高線地図からの等高線点列データの生成は、通常は標高データの生成とは別に実行される。本明細書では、等高線上の点と言う場合は、等高線点列データに含まれる点を指すものとする。更に、等高線点列データ内の隣接する1対の点を結ぶ線分上の点も、等高線点列データに含まれる点と言う場合もある。また、等高線点列データで表される等高線上の点を、簡単化のために等高線点列データ上の点又は等高線点列上の点又は等高線上の点と呼ぶことがある。 Contour line sequence data, which is data representing contour lines, is generated from a contour map mainly describing contour lines. A method for generating contour line sequence data in this way is known per se. The contour point sequence data is approximated by a large number of connected polygonal lines, and a number of points on the polygonal line are directed from the start point to the end point by a process called vectorization. This is a sequence of points representing the two-dimensional position and elevation of each point. A contour map representing contour lines is divided into a large number of meshes, and elevation data representing the coordinates and elevations of the grid points of each mesh are generated from a large number of contour line sequence data for the numerous contour lines. The generation of contour point sequence data from the contour map is usually executed separately from the generation of elevation data. In this specification, a point on a contour line indicates a point included in the contour line sequence data. Further, a point on a line segment connecting a pair of adjacent points in the contour line sequence data may be referred to as a point included in the contour line sequence data. Further, a point on the contour line represented by the contour point sequence data may be referred to as a point on the contour point sequence data, a point on the contour point sequence, or a point on the contour line for simplification.

従来の等高線データからの標高データを生成するときには、標高を求めたい格子点の周囲の等高線の状況から、等高線付近の地形を何らかの方法で推定し、その格子点の標高を算出する。このときの推定方法には、地形の断面で標高補間を考える線形補間や曲線補間、より詳しく三次元で地形を推定する曲面補間等がある。線形補間を使って標高データを生成する方法の例は、例えば特許文献1に記載されている。曲面補間の例は、例えば特許文献2に示されている。線形補間は計算が簡単であるが、高度が直線的に変化するものと仮定しているため、実際の地形とはやや異なった結果が得られてしまうことが多い。曲線補間や曲面補間は、線形補間に比べてより現実に即して標高を推定でき、滑らかな三次元データを生成することができる。曲線補間法の具体例もいろいろ提案されており、例えば最急方位法は下記の非特許文献1に記載されている。
特開平4−293078号公報 特開平9−50538号公報 プリマ他1,「高精度のDEMを生成するためのアルゴリズムの開発」,写真測量とリモートセンシング,2001年,第40巻,第5号,p.52−62
When generating elevation data from conventional contour line data, the terrain near the contour line is estimated by some method from the situation of the contour lines around the grid point whose elevation is to be obtained, and the elevation of the grid point is calculated. As estimation methods at this time, there are linear interpolation and curve interpolation that consider elevation interpolation in a section of terrain, curved surface interpolation that estimates terrain in more detail in three dimensions, and the like. An example of a method for generating altitude data using linear interpolation is described in Patent Document 1, for example. An example of curved surface interpolation is shown in Patent Document 2, for example. Although linear interpolation is easy to calculate, it is assumed that the altitude changes linearly, so a result slightly different from the actual topography is often obtained. Curve interpolation and curved surface interpolation can estimate altitude more realistically than linear interpolation, and can generate smooth three-dimensional data. Various examples of the curve interpolation method have been proposed. For example, the steepest azimuth method is described in Non-Patent Document 1 below.
JP-A-4-293078 Japanese Patent Laid-Open No. 9-50538 Prima et al. 1, “Development of algorithm for generating high-precision DEM”, Photogrammetry and Remote Sensing, 2001, Vol. 40, No. 5, p. 52-62

従来技術では、等高線地図に対する等高線点列データに基づいて格子点の標高データを決定している。しかし、現実の地形には崖や堤防あるいは急斜面のように、等高線では表すことができないほど標高が急激に変化する段差がある領域も多い。等高線地図上には特殊な記号を用いてこのような領域が示されている。以下ではこのような領域を段差領域と呼び、これを表すための記号を段差領域記号と呼ぶことにする。従来技術では、このような段差領域の存在を無視して標高データが決定されている。しかし、段差領域は周辺の格子点の標高に影響する。したがって、段差領域を考慮しないで決定された標高データは、段差領域の周辺の格子点の標高に関して正確さに欠けるという問題がある、   In the prior art, the elevation data of the grid points is determined based on the contour point sequence data for the contour map. However, in real terrain, there are many areas such as cliffs, dikes or steep slopes where there are steps where the altitude changes so rapidly that they cannot be represented by contour lines. Such areas are shown on the contour map using special symbols. Hereinafter, such a region is referred to as a step region, and a symbol for representing it is referred to as a step region symbol. In the prior art, altitude data is determined ignoring the presence of such a step region. However, the step region affects the altitude of surrounding grid points. Therefore, the elevation data determined without considering the step region has a problem that the elevation of the grid points around the step region is not accurate.

また、等高線データの生成に通常使用される等高線地図データには、一般には、等高線データの他に三角点、基準点等のような特定点の位置と標高を示すデータが含まれている。しかし、従来技術で等高線地図データから等高線データを生成するときには、これらの特定点に関するデータは利用されていない。このため、これらの特定点の近傍の格子点の標高が、これらの特定点の標高からみて矛盾すると思われる値になっていることがある。特に、等高線のみでは標高を正確に決めにくい場所、例えば山の頂上等では、山頂に設けられた特定点の標高値と大きく異なる標高が決定される場合がある。   In addition, the contour map data normally used for generating contour line data generally includes data indicating the position and altitude of a specific point such as a triangular point or a reference point in addition to the contour line data. However, when the contour data is generated from the contour map data in the prior art, the data regarding these specific points is not used. For this reason, the altitudes of the grid points in the vicinity of these specific points may be values that seem to be contradictory in view of the altitudes of these specific points. In particular, in places where it is difficult to determine the altitude accurately only with contour lines, such as the top of a mountain, an altitude that is significantly different from the altitude value of a specific point provided at the top of the mountain may be determined.

したがって、本発明の第1の目的は、地図上に存在する崖や堤防や急斜面のような段差領域を反映させて、等高線データからより正確な標高データを生成することを可能にする、標高データ生成方法及び標高データ生成プログラムを提供することである。
本発明の第2の目的は、地図上に存在する三角点、基準点のような特定点の標高を反映させて、より正確な標高データを生成可能にする、標高データ生成方法及び標高データ生成プログラムを提供することである。
Accordingly, a first object of the present invention is to provide altitude data that makes it possible to generate more accurate altitude data from contour line data, reflecting step areas such as cliffs, embankments, and steep slopes existing on a map. generating method and to provide elevation data generation program.
A second object of the present invention is an altitude data generation method and altitude data generation capable of generating altitude data more accurately by reflecting altitudes of specific points such as triangular points and reference points existing on a map. it is to provide a program.

上記第1の目的を達成するために、請求項1記載の本発明に係る標高データ生成方法は、等高線及び段差領域記号を含む2次元地図画像に含まれた複数の等高線のそれぞれを点列で表す、記憶装置にあらかじめ記憶された等高線点列データと当該段差領域記号で表された段差領域を代表する点列を表す、前記記憶装置にあらかじめ記憶された段差領域代表点列データから、当該地図を格子に分割して得られる格子点群のそれぞれの格子点の標高を示す標高データを生成するための、処理装置によって実行される標高データ生成方法である。
更に、本方法は、前記等高線点列データと前記段差領域代表点列データに基づいて、各格子点について、前記複数の等高線点列の少なくとも一つの上又は前記段差領域代表点列上それぞれ位置し所定の条件を満たす複数の近接点を検出する検出ステップと、各格子点について、前記検出ステップで検出された複数の近接点の中に前記段差領域代表点列上に位置する近接点が含まれているか否かを判別する判別ステップと、前記複数の格子点のうち、前記検出ステップで検出された複数の近接点の中に前記段差領代表点列上に位置する近接点が含まれていないと前記判別ステップで判別された第1種の格子点については、当該複数の近接点の位置と標高に基づいて、当該第1種の格子点の標高を決定する第1標高決定ステップと、前記複数の格子点のうち、前記検出ステップで検出された複数の近接点の中に前記段差領域代表点列上の近接点が含まれていると前記判別ステップで判別された第2種の格子点については、当該段差領域代表点列上にはなく、互いに隣接する一組の等高線点列の間にあり、他の所定の条件を満たす当該格子点の少なくとも一つの近接した格子点を追加して検出する追加検出ステップと、当該第2種の格子点について、前記検出ステップで検出された前記複数の近接点の中のいずれかの等高線点列上にある少なくとも一つの近接点の位置と標高と、前記追加して検出された前記少なくとも一つの近接格子点の位置と、前記一組の等高線点列のそれぞれの標高に基づいて当該第2種の格子点の標高を決定する第2標高決定ステップと、を含むものである。
これにより、段差領域が地図に含まれている場合でも、その近傍の格子点の標高を決定できるようになる。
In order to achieve the first object, an elevation data generation method according to the present invention described in claim 1 is characterized in that each of a plurality of contour lines included in a two-dimensional map image including contour lines and step region symbols is represented by a point sequence. Represents the contour line point sequence data stored in advance in the storage device and the point region representing the step region represented by the step region symbol, and represents the map from the step region representative point sequence data stored in advance in the storage device. Is an altitude data generation method executed by the processing device for generating altitude data indicating the altitude of each grid point of the grid point group obtained by dividing the grid into grids.
Furthermore, the method, the a pre-Symbol like contours point sequence data based on the step area representative point sequence data, for each grid point, on at least one of said plurality of contour point sequence or the stepped area representative point on the column a detecting step of detecting a respectively positioned a predetermined condition is satisfied more proximity points, for each grid point, proximity positioned in the stepped area representative points on the column in a plurality of adjacent points detected by the detecting step a determining step of determining whether or not the points are included among the plurality of grid points, the proximity points located in said stepped area representative points on the column in a plurality of adjacent points detected by the detecting step For the first type of grid points determined in the determining step if the first type of grid points is not included, the elevation of the first type of grid points is determined based on the positions and elevations of the plurality of adjacent points. Determining step and said plurality Among the grid points, the second type of grid points wherein it is determined that the proximity point on the step area representative point sequence into a plurality of adjacent points detected by the detecting step is included in the determination step , rather than to the stepped area representative points on the column, it is between a pair of contour points adjacent columns, other predetermined condition is satisfied, to add at least one adjacent lattice points of the lattice point And an additional detection step to detect and the position and altitude of at least one neighboring point on the contour line sequence of any of the plurality of neighboring points detected in the detecting step with respect to the second type grid point When the second elevation to determine the elevation of the second type of grid points on the basis of said detected by the additional at least one proximity grid point positions, in the respective elevation of the set of contour point sequence A determination step. .
Thereby, even when the step region is included in the map, the altitude of the lattice point in the vicinity can be determined.

上記第2の目的を達成するために、請求項2記載の本発明に係る標高データ生成方法は、複数の等高線と複数の特定点を含む2次元地図画像に含まれた前記複数の等高線のそれぞれを点列で表す、記憶装置にあらかじめ記憶された等高線点列データと前記複数の特定点の位置と標高を表す、前記記憶装置にあらかじめ記憶された特定点データから、当該地図を格子に分割して得られる格子点群のそれぞれの格子点の標高を示す標高データを生成するための、処理装置により実行される標高データ生成方法である。更に本方法は、前記等高線点列データに基づいて、各格子点について、前記複数の等高線点列の少なくとも二つの上にそれぞれ位置し所定の第1の条件を満たす複数の近接点を検出する第1検出ステップと、当該格子点について前記第1検出ステップで検出された前記複数の近接点の位置と標高に基づいて、当該格子点の標高を決定する決定ステップと、前記等高線点列データと前記特定点データとに基づいて、各特定点について、いずれかの等高線点列上に位置し所定の第2の条件を満たす少なくとも一つの近接点を検出する第2検出ステップと、当該特定点について、所定の第3の条件を満たし当該特定点に近接した、標高を補正すべき格子点を検出する第3検出ステップと、当該特定点の位置と標高と、当該特定点に対して前記第2検出ステップで検出された、当該特定点の前記少なくとも一つの近接点の位置と標高と、前記第3検出ステップで当該特定点に対して検出された前記近接した格子点の位置とに基づいて、当該近接した格子点の標高を補正する補正ステップと、を含むものである。
これにより、三角点、基準点のような特定点の標高を反映したより正確な標高データを生成することが可能になる。
In order to achieve the second object, an elevation data generation method according to the present invention described in claim 2 is characterized in that each of the plurality of contour lines included in a two-dimensional map image including a plurality of contour lines and a plurality of specific points is provided. are expressed as a sequence of points, representing the position and altitude of the previously stored contour point sequence data in the storage device of the plurality of specific points, from the specific point data previously stored in the storage device divides the map grid This is an altitude data generation method executed by the processing device for generating altitude data indicating the altitude of each grid point of the grid point group obtained in this way. The method further based on the previous SL like contours point sequence data, for each grid point, at least located on each of the two predetermined first condition is satisfied more proximity points of the plurality of contour lines point sequence a first detection step of detecting, based on the position and altitude of the plurality of adjacent points detected by said first detection step for the grid point, a determination step of determining altitude of the lattice point, before Symbol etc. high A second detection step of detecting at least one proximity point that is located on any contour line sequence and satisfies a predetermined second condition for each specific point based on the line point sequence data and the specific point data; A third detection step for detecting a lattice point that should be corrected for elevation, satisfying a predetermined third condition and satisfying a predetermined third condition; a position and elevation of the specific point; and the specific point For the second test Detected in step, on the basis of the position and elevation of the at least one adjacent point of the specific point, the position of the third detected for the specific point detection step was the near grid point, the And a correction step for correcting the altitudes of adjacent grid points .
As a result, it is possible to generate more accurate elevation data that reflects the elevation of a specific point such as a triangular point or a reference point.

本発明の第1の目的を達成するために、請求項3に記載の本発明に係るプログラムは、等高線及び段差領域記号を含む2次元地図画像に含まれた複数の等高線のそれぞれを点列で表す、記憶装置にあらかじめ記憶された等高線点列データと当該段差領域記号で表された段差領域を代表する点列を表す、前記記憶装置にあらかじめ記憶された段差領域代表点列データから、当該地図を格子に分割して得られる格子点群のそれぞれの格子点の標高を示す標高データを生成するための標高データ生成プログラムである。
更に本プログラムは、前記等高線点列データと前記段差領域代表点列データに基づいて、各格子点について、前記複数の等高線点列の少なくとも一つの上又は前記段差領域代表点列上それぞれ位置し所定の条件を満たす複数の近接点を検出する検出ステップと、各格子点について、前記検出ステップで検出された複数の近接点の中に前記段差領域代表点列上に位置する近接点が含まれているか否かを判別する判別ステップと、前記複数の格子点のうち、前記検出ステップで検出された複数の近接点の中に前記段差領域代表点列上に位置する近接点が含まれていないと前記判別ステップで判別された第1種の格子点については、当該複数の近接点の位置と標高に基づいて当該第1種の格子点の標高を決定する第1標高決定ステップとをコンピュータに実行させるものである。
更に、本プログラムは、前記複数の格子点のうち、前記検出ステップで検出された複数の近接点の中に前記段差領域代表点列上の近接点が含まれていると前記判別ステップで判別された第2種の格子点については、当該段差領域代表点列上にはなく、互いに隣接する一組の等高線点列の間にあり、所定の他の条件を満たす当該格子点の少なくとも一つの近接した格子点を追加して検出する追加検出ステップと、当該第2種の格子点について、前記検出ステップで検出された前記複数の近接点の中のいずれかの等高線点列上にある少なくとも一つの近接点の位置と標高と、前記追加して検出された前記少なくとも一つの近接格子点の位置と、前記一組の等高線点列のそれぞれの標高に基づいて当該第2種の格子点の標高を決定する第2標高決定ステップと、をコンピュータに実行させるものである。
これにより、段差領域の近傍に位置する第2種の格子点の標高を、段差領域が存在しても決定することが可能になる。
In order to achieve the first object of the present invention, a program according to the present invention as set forth in claim 3 is configured such that each of a plurality of contour lines included in a two-dimensional map image including contour lines and step region symbols is represented by a point sequence. Represents the contour line point sequence data stored in advance in the storage device and the point region representing the step region represented by the step region symbol, and represents the map from the step region representative point sequence data stored in advance in the storage device. Is an altitude data generation program for generating altitude data indicating the altitude of each grid point of the grid point group obtained by dividing the grid into grids.
The present program is based on the previous SL like contours point sequence data and the stepped area representative point sequence data, for each grid point, at least one of the upper or the stepped area representative point on the columns of the plurality of contour lines point sequence located respectively detecting a predetermined condition is satisfied more proximity points for each grid point, near point located in said stepped area representative points on the column in a plurality of adjacent points detected by the detecting step a determining step of determining whether or not are included among the plurality of grid points, the proximity points located in said stepped area representative points on the column in a plurality of adjacent points detected by said detection step includes A first altitude determination step for determining the altitude of the first type of grid points based on the positions and altitudes of the plurality of adjacent points for the first type of grid points determined in the determination step if not Compilation It is intended to be executed by the over data.
Furthermore, the program, among the plurality of grid points, said is discriminated by the discriminating step and the proximity point on the step area representative point sequence is included in a plurality of adjacent points detected by the detecting step and for the second type of grid points, rather than to the stepped area representative points on the column, it is between a pair of contour points adjacent columns, certain other conditions are met, the at least one of said grid points An additional detection step of adding and detecting two adjacent grid points, and the second type of grid points are on any one of the contour point sequences among the plurality of proximity points detected in the detection step At least one of the position and altitude of the adjacent point, the position of which said additional to said detected at least one proximity lattice points, each of said pair of contour point sequence elevation and in of the second type based The second elevation that determines the elevation of the grid points It is intended to execute a constant step, to the computer.
Thereby, it is possible to determine the altitude of the second type grid point located in the vicinity of the step region even if the step region exists.

より具体的には、前記第2種の格子点に対して追加して検出する前記少なくとも一つの近接格子点は、当該第2種の格子点について前記検出ステップで検出された前記複数の近接点の中のいずれかの等高線点列上にある前記少なくとも一つの近接点と当該第2種の格子点とを結ぶ線に対して異なる側にあり、それぞれ互いに隣接する一組の等高線点列の間にある、当該第2種の格子点に最近接の1対の格子点を含む。これにより、段差領域があってもその近傍の格子点の標高を比較的正確に決定することが可能になる。更に具体的には、各格子点に対して前記検出ステップで検出される前記複数の近接点は、当該格子点から見て複数の最急方位に位置し、いずれかの等高線点列上又は前記段差領域代表点列上に位置する複数の近接点を含む。これにより、地形に即して標高を比較的正確に決定できる。 More specifically, the at least one adjacent lattice point detected in addition to the second type lattice point is the plurality of proximity points detected in the detection step for the second type lattice point. A set of contour point sequences that are on different sides with respect to the line connecting the at least one adjacent point and the second type grid points on any contour point sequence of points, and are adjacent to each other. A pair of closest lattice points is included in the lattice point of the second type in between . Thereby, even if there is a stepped region, it is possible to determine the altitude of a lattice point in the vicinity thereof relatively accurately. More specifically, the plurality of proximity points detected by the detection step for each grid point, when viewed from the grid point located in a plurality of steepest orientation, either contour point sequence or on the It includes a plurality of proximity points located on the step region representative point row . Thereby, the altitude can be determined relatively accurately according to the terrain.

更に具体的には、各格子点に対して前記検出ステップで検出される前記複数の近接点は、当該格子点から見て、当該複数の近接点のうちいずれかの等高線点列上にある近接点から見て一つ又は複数の近接点のそれぞれより遠方に位置し、それぞれの近接点に対して最急方位に位置する近接点を更に含む。これにより、地形に更に忠実に標高を決定可能になる。 More specifically, the plurality of proximity points detected in the detection step with respect to each grid point are proximity on one of the contour line sequences of the plurality of proximity points as viewed from the grid point. It further includes proximity points that are located farther from each of the one or a plurality of proximity points when viewed from the point, and that are located in the steepest direction with respect to each of the proximity points . As a result, the altitude can be determined more faithfully to the terrain.

本発明の第2の目的を達成するために、請求項に記載の標高データ生成プログラムは、複数の等高線と複数の特定点を含む2次元地図画像に含まれた前記複数の等高線のそれぞれを点列で表す、記憶装置にあらかじめ記憶された等高線点列データと前記複数の特定点の位置と標高を表す、前記記憶装置にあらかじめ記憶された特定点データから、当該地図を格子に分割して得られる格子点群のそれぞれの格子点の標高を示す標高データを生成するための標高データ生成プログラムである。更に本プログラムは、前記等高線点列データに基づいて、各格子点について、前記複数の等高線点列の少なくとも二つの上にそれぞれ位置し所定の条件を満たす複数の近接点を検出する第1検出ステップと、当該格子点について前記第1検出ステップで検出された前記複数の近接点の位置と標高に基づいて、当該格子点の標高を決定する決定ステップとをコンピュータに実行させるプログラムである。更に、本プログラムは、前記等高線点列データと前記特定点データとに基づいて、各特定点について、いずれかの等高線点列上に位置し所定の条件を満たす少なくとも一つの近接点を検出する第2検出ステップと、当該特定点について、所定の条件を満たし当該特定点に近接した、標高を補正すべき格子点を検出する第3検出ステップと、当該特定点の位置と標高と、当該特定点に対して前記第2検出ステップで検出された、当該特定点の前記少なくとも一つの近接点の位置と標高と、前記第検出ステップで当該特定点に対して検出された前記近接した格子点の位置とに基づいて、前記近接した格子点の標高を補正する補正ステップと、をコンピュータに実行させるプログラムである。
これにより、三角点、基準点のような特定点の位置と標高に合うように補正した標高データを生成可能になる。
In order to achieve the second object of the present invention, an elevation data generation program according to claim 6 is configured to calculate each of the plurality of contour lines included in a two-dimensional map image including a plurality of contour lines and a plurality of specific points. The map is divided into grids from contour point sequence data stored in advance in the storage device , represented by point sequences, and the specific point data stored in advance in the storage device, representing the positions and elevations of the plurality of specific points. An altitude data generation program for generating altitude data indicating the altitude of each grid point of the obtained grid point group. The present program is based on the previous SL like contours point sequence data, for each grid point, for detecting at least two respective positions to satisfy a predetermined condition a plurality of proximity points over the plurality of contour lines point sequence the 1 is a program for causing a computer to execute a detection step and a determination step of determining an altitude of the grid point based on the positions and altitudes of the plurality of proximity points detected in the first detection step for the grid point. . Furthermore, the program, based on the previous SL like contours point sequence data and the specific point data, for each particular point, either positioned contour point on the column satisfies a predetermined condition at least one adjacent point A second detection step for detecting, a third detection step for detecting a grid point that satisfies a predetermined condition and is close to the specific point and whose altitude is to be corrected, and the position and altitude of the specific point; detected by the second detecting step with respect to the specific point, the position and altitude of said at least one adjacent point of the specific point, and is detected the proximity with respect to the specific point in the third detection step A program for causing a computer to execute a correction step of correcting the altitude of the adjacent grid points based on the positions of the grid points .
This makes it possible to generate altitude data that has been corrected to match the position and altitude of specific points such as triangular points and reference points.

より具体的には、請求項の発明では、いずれかの特定点が傾斜地上にあるとき、当該特定点に関して、前記第2検出ステップでは、前記少なくとも一つの近接点として、当傾斜地上にあり、異なる等高線点列上に位置する複数の近接点を検出し、当該特定点に関して前記第3検出ステップで検出される、前記標高を補正すべき格子点は、当傾斜地上にある格子点であり、前記補正ステップは、当該特定点の位置と標高と、前記第2検出ステップで検出された前記複数の近接点の位置と標高と、前記第3検出ステップで当該特定点に対して検出された前記近接した格子点の位置とに基づいて、当該近接した格子点の標高を補正する。あるいは、請求項の発明では、いずれかの特定点が平地上にあるとき、当該特定点に関して前記第2検出ステップで検出される前記少なくとも一つの近接点は当該平地上にあり、かつ、いずれかの等高線点列上にある一つの近接点であり、当該特定点に関して前記第3検出ステップで検出される、前記標高を補正すべき格子点は、当該平地上にある格子点であり、前記補正ステップは、当該特定点の位置と標高と、前記第2検出ステップで検出された前記一つの近接点の位置と、前記第3検出ステップで当該特定点に対して検出された前記近接した格子点の位置とに基づいて、当該近接した格子点の標高を補正することである。こうして傾斜地あるいは平地にある格子点の標高を特定点の標高に合うように補正した標高データを生成することができる。 More specifically, in the invention of claim 7 , when any one specific point is on the inclined ground, the second detection step relates to the specific point as the at least one adjacent point on the inclined ground. , A plurality of proximity points located on different contour line point sequences are detected, and the grid points that are detected in the third detection step with respect to the specific points are to be corrected for the elevations, are grid points on the inclined ground. In the correction step, the position and altitude of the specific point, the positions and altitudes of the plurality of proximity points detected in the second detection step, and the specific point detected in the third detection step. based on the position of the adjacent grid points, to correct the elevation of the adjacent grid points. Alternatively, in the invention of claim 8, when one of the specific point is on level ground, the at least one adjacent point is detected by the second detecting step with respect to the specific point is on the level ground, and one is one of the near points on Kano contour point sequence, is detected by the third detecting step with respect to the specific point, the grid point to be corrected the altitude, Ri Oh lattice points on the flat, The correction step includes the position and altitude of the specific point, the position of the one adjacent point detected in the second detection step, and the proximity detected for the specific point in the third detection step. based on the position of the grid point, it is Rukoto to correct the altitude of the adjacent grid points. In this way, it is possible to generate altitude data in which the altitudes of the grid points on the inclined land or the flat ground are corrected so as to match the altitude of the specific point.

したがって、本発明の望ましい態様によれば、地図上に存在する崖や堤防や急斜面のような段差領域があっても、この領域の近傍の格子点について標高データを生成することが可能になる。
更に、本発明の他の望ましい態様によれば、地図上に存在する三角点、基準点のような特定点の標高を近傍の格子点の標高に反映させて、より正確な標高データを生成することが可能になる。
Therefore, according to a desirable mode of the present invention, even if there is a step region such as a cliff, a bank, or a steep slope existing on the map, it is possible to generate elevation data for lattice points in the vicinity of this region.
Furthermore, according to another desirable aspect of the present invention, more accurate elevation data is generated by reflecting the elevation of a specific point such as a triangular point or a reference point existing on a map to the elevation of a neighboring grid point. It becomes possible.

以下、本発明に係る標高データ生成方法、標高データ生成プログラム及び標高データ生成装置の一つの実施形態について図面を参照して説明する。
図1は、本発明に係る標高データ生成装置の一つの実施形態の概略ブロック図である。1は、等高線及び段差領域記号を含む2次元地図画像に含まれた複数の等高線のそれぞれを点列で表す等高線点列データと当該段差領域記号で表された段差領域を代表する段差領域代表点列データから、当該地図を複数のメッシュに分割して得られる格子点群のそれぞれの格子点の標高を示す標高データを生成する標高データ生成装置である。本生成装置1は、例えばパソコンあるいはワークステーションにより実現される処理装置10、磁気ディスク記憶装置のような補助記憶装置20、入出力装置30とを備えている。入出力装置30は、キーボード及びマウス等のポインティングデバイスを含む入力装置31、CRTディスプレイ装置等の表示装置32、プリンタ33を備えている。
DESCRIPTION OF EMBODIMENTS Hereinafter, an embodiment of an elevation data generation method, an elevation data generation program, and an elevation data generation apparatus according to the present invention will be described with reference to the drawings.
FIG. 1 is a schematic block diagram of an embodiment of an elevation data generation apparatus according to the present invention. 1 represents contour line sequence data representing each of a plurality of contour lines included in a two-dimensional map image including contour lines and step area symbols, and step area representative points representing the step areas represented by the step area symbols. It is an altitude data generation device that generates altitude data indicating the altitude of each grid point of a grid point group obtained by dividing the map into a plurality of meshes from column data. The generation device 1 includes a processing device 10 realized by, for example, a personal computer or a workstation, an auxiliary storage device 20 such as a magnetic disk storage device, and an input / output device 30. The input / output device 30 includes an input device 31 including a keyboard and a pointing device such as a mouse, a display device 32 such as a CRT display device, and a printer 33.

処理装置10には、標高データ生成プログラム40が組み込まれている。標高データ生成プログラム40は、段差領域抽出部41、最急方位探索部42、標高計算部43及び標高補正部44という処理部からなり、等高線点列データから格子点の標高を示す標高データを生成する。処理装置10は、標高データ生成プログラム40内のそれぞれの処理部が実行されたときに、段差領域を抽出する機能ブロック、最急方位を探索する機能ブロック、標高を計算する機能ブロック及び標高を補正する機能ブロックという複数の機能ブロックとして動作する。したがって、処理装置10には、プログラム40のこれらの処理部により、対応する機能ブロックが実現されていることになる。したがって、段差領域抽出部41、最急方位探索部42、標高計算部43及び標高補正部44は、本発明に係る標高データ生成装置1の一つの実施の形態を実現することになる。標高データ生成プログラム40は、本発明に係るプログラムの一つの実施の形態を実現するものであり、記録媒体に記録してあるいはネットワークを介して補助記憶装置20に記憶され処理装置10で実行される。標高データ生成プログラム40は、記録媒体に記録されて又はネットワークを介して販売可能である。処理装置10が標高データ生成プログラム40を実行して標高データを生成する手順は、本発明に係る標高データ生成方法の一つの実施の形態を実現する。   The processing device 10 incorporates an altitude data generation program 40. The altitude data generation program 40 includes processing units such as a step area extraction unit 41, a steepest azimuth search unit 42, an altitude calculation unit 43, and an altitude correction unit 44, and generates altitude data indicating altitudes of lattice points from contour line sequence data. To do. The processing device 10 corrects the functional block for extracting the step area, the functional block for searching for the steepest direction, the functional block for calculating the altitude, and the altitude when each processing unit in the altitude data generation program 40 is executed. It operates as a plurality of functional blocks called functional blocks. Therefore, in the processing device 10, corresponding functional blocks are realized by these processing units of the program 40. Therefore, the step area extraction unit 41, the steepest azimuth search unit 42, the altitude calculation unit 43, and the altitude correction unit 44 realize one embodiment of the altitude data generation device 1 according to the present invention. The altitude data generation program 40 implements one embodiment of the program according to the present invention, and is recorded in a recording medium or stored in the auxiliary storage device 20 via a network and executed by the processing device 10. . The elevation data generation program 40 can be recorded on a recording medium or sold via a network. The procedure in which the processing apparatus 10 executes the altitude data generation program 40 to generate altitude data realizes one embodiment of the altitude data generation method according to the present invention.

補助記憶装置20には、等高線点列データ21A、格子点データ21B、三角点データ22A、基準点データ22B、等高線地図画像データ23、段差領域記号画像検出用標準パターン群24があらかじめ記憶され、これらのデータを用いて、段差領域記号画像データ25、段差領域代表点列データ26、周辺点データリスト27、最急方位データ28、標高データ29が生成される。   The auxiliary storage device 20 stores contour line sequence data 21A, grid point data 21B, triangle point data 22A, reference point data 22B, contour line map image data 23, and standard pattern group 24 for step area symbol image detection in advance. Are used to generate step area symbol image data 25, step area representative point sequence data 26, peripheral point data list 27, steepest azimuth data 28, and altitude data 29.

等高線点列データ21Aは、等高線地図内の複数の等高線のそれぞれを折れ線で近似して、それぞれの折れ線上に位置する複数の点列及び当該等高線の標高を表す標高値からなるデータである。本明細書では、等高線点列データ21Aを単に等高線21Aと呼ぶ場合がある。格子点データ21Bは、等高線地図データを複数のメッシュに分割したときの複数の格子点の2次元座標(x、y)を示すデータである。三角点データ22A、基準点データ22Bは、それぞれ等高線地図上にある三角点と基準点の座標と標高を表すデータである。本実施の形態ではこの等高線点列データ21A、三角点データ22A、基準点データ22Bは既に等高線地図から生成され補助記憶装置20に記憶されていると仮定している。 The contour line sequence data 21 </ b> A is data composed of a plurality of point lines positioned on each polygonal line and the altitude value representing the elevation of the contour line by approximating each of the contour lines in the contour map with a polygonal line. In the present specification, the contour line sequence data 21A may be simply referred to as a contour line 21A. The grid point data 21B is data indicating two-dimensional coordinates (x, y) of a plurality of grid points when the contour map data is divided into a plurality of meshes. The triangular point data 22A and the reference point data 22B are data representing the coordinates and altitude of the triangular point and the reference point on the contour map, respectively. In the present embodiment, it is assumed that the contour line sequence data 21A, the triangular point data 22A, and the reference point data 22B are already generated from the contour map and stored in the auxiliary storage device 20.

等高線地図画像データ23は、等高線を示した地図画像データである。図2は、そのような等高線地図画像データ23の例をいくつか示す。同図(a)は、傾斜地を表す等高線地図画像データの例であり、同図(b)は、段差領域を有する等高線地図画像データの例であり、図において、260は、段差領域記号の例である。同図(c)は、例えば山頂付近にある平地を表す等高線地図画像データの例であり、図では等高線C1がその平地の標高を表している例である。なお、図2においては、三角点、基準点は簡単化のために示していない。   The contour map image data 23 is map image data showing contour lines. FIG. 2 shows some examples of such contour map image data 23. FIG. 4A is an example of contour map image data representing an inclined land, FIG. 4B is an example of contour map image data having a step region, and 260 is an example of a step region symbol. It is. FIG. 6C shows an example of contour map image data representing a flat land near the top of the mountain, for example. In the figure, the contour line C1 represents an elevation of the flat ground. In FIG. 2, the triangular point and the reference point are not shown for the sake of simplicity.

図1に戻り、標高データ生成プログラム40は、起動されると段差領域抽出部41を実行する。段差領域抽出部41は、等高線地図画像データ23から、段差領域記号画像を表す段差領域記号画像データ25を抽出する。等高線地図画像データ23が図2(b)の場合には、図3(a)に示すような段差領域記号260を示す段差領域記号画像データ25が等高線地図画像データ23から抽出される。当該画像データ25は段差領域記号画像を2値のビットマップで表すデータである。   Returning to FIG. 1, the elevation data generation program 40 executes the step area extraction unit 41 when activated. The step region extraction unit 41 extracts step region symbol image data 25 representing the step region symbol image from the contour map image data 23. When the contour map image data 23 is shown in FIG. 2B, step area symbol image data 25 indicating the step area symbol 260 as shown in FIG. 3A is extracted from the contour map image data 23. The image data 25 is data representing the step region symbol image by a binary bitmap.

段差領域記号は地図画像の凡例で示される崖等を表す記号であり、地図により異なりうるが、図2(b)の場合には、段差領域記号画像は、段差領域の断面の位置を大まかに表す第1の長い線分に、その線分上に一端を有する短い線分を長い線分からみて標高の高い側に複数並べた線図形となっている、したがって、段差領域記号画像は、段差領域の断面の形状と段差領域の幅により変化する。本実施の形態では、このような段差領域記号画像を抽出するためにパターンマッチングを使用する。補助記憶装置20に記憶された段差領域記号画像検出用標準パターン群24は、段差領域記号画像を構成する一部の画像を表す複数の部分標準パターンを含んでいる。図4(a)は、段差領域記号画像検出用標準パターン群24に含まれるいろいろな標準パターンの例を示す。標準パターン群24にはいろいろな方向を向いた部分標準パターンが含まれている。同図(b)に示すパターンの方向をいろいろ変えて得られる複数のパターンを部分標準パターンとして追加してもよい。パターン認識技術については、例えば、舟久保 登著,「パターン認識」,1991年,共立出版株式会社,p.15−22に紹介されている技術を使用することができる。   The step region symbol is a symbol representing a cliff or the like shown in the legend of the map image, and may vary depending on the map. In the case of FIG. 2B, the step region symbol image roughly indicates the position of the cross section of the step region. The first long line segment to be represented is a line figure in which a plurality of short line segments having one end on the line segment are arranged on the higher elevation side when viewed from the long line segment. Therefore, the step region symbol image is a step region It varies depending on the shape of the cross section and the width of the step region. In the present embodiment, pattern matching is used to extract such a step region symbol image. The step area symbol image detection standard pattern group 24 stored in the auxiliary storage device 20 includes a plurality of partial standard patterns representing a part of images constituting the step area symbol image. FIG. 4A shows examples of various standard patterns included in the standard pattern group 24 for detecting the step area symbol image. The standard pattern group 24 includes partial standard patterns oriented in various directions. A plurality of patterns obtained by changing the pattern directions shown in FIG. 5B may be added as partial standard patterns. As the pattern recognition technique, for example, the technique introduced in Noboru Funakubo, “Pattern Recognition”, 1991, Kyoritsu Publishing Co., Ltd., p. 15-22 can be used.

図5は、段差領域抽出部41の処理の概略フローチャートである。まず、等高線地図画像データ23から、各部分標準パターンにマッチする全ての部分画像を検出し(ステップS411)、検出された複数の部分画像の位置関係から連続して段差領域記号を形成する位置関係にある複数の部分画像とそれらを連結する順番とを決定し、決定結果にしたがってそれらの部分画像を連結して段差領域記号画像を示すビットマップ画像を得る(ステップS412)。この画像を表すビットマップデータを段差領域記号画像データ25として補助記憶装置20に記憶する(ステップS413)。更に、段差領域抽出部41は、得られた段差領域記号画像データ25を代表する段差領域代表点列データ26を決定し、補助記憶装置20に記憶する(ステップS414)。その後、未抽出の段差領域記号画像があるかを判断し(ステップS415)、あれば以上の処理を繰り返し、全ての段差領域記号画像の抽出が終了したときに段差領域抽出部41の処理が終了する。   FIG. 5 is a schematic flowchart of the processing of the step area extraction unit 41. First, all the partial images that match each partial standard pattern are detected from the contour map image data 23 (step S411), and the positional relationship that forms the step region symbols continuously from the positional relationship of the detected partial images. The partial images and the order of connecting them are determined, and the partial images are connected according to the determination result to obtain a bitmap image indicating the step region symbol image (step S412). Bitmap data representing this image is stored in the auxiliary storage device 20 as the step region symbol image data 25 (step S413). Further, the step region extraction unit 41 determines step region representative point sequence data 26 representing the obtained step region symbol image data 25 and stores it in the auxiliary storage device 20 (step S414). Thereafter, it is determined whether there is an unextracted step region symbol image (step S415). If so, the above processing is repeated, and the processing of the step region extraction unit 41 ends when extraction of all step region symbol images is completed. To do.

段差領域代表点列データ26は、抽出された段差領域記号画像を代表する折れ線上の点列であり、当該代表点列データを構成する複数の点の位置座標(x、y)を始点から終点までの順番にしたがって連結したデータである。等高線地図画像上に複数の段差領域記号があるときには、それぞれに対して段差領域記号画像が抽出され、抽出されたそれぞれの段差領域記号画像を表す段差領域記号画像データ25から、段差領域代表点列データ26が生成される。   The step region representative point sequence data 26 is a point sequence on a polygonal line representing the extracted step region symbol image, and the position coordinates (x, y) of a plurality of points constituting the representative point sequence data are set from the start point to the end point. The data is connected in the order up to. When there are a plurality of step area symbols on the contour map image, a step area symbol image is extracted for each, and from the step area symbol image data 25 representing each extracted step area symbol image, a step area representative point sequence is extracted. Data 26 is generated.

各段差領域記号画像データ25に対して段差領域代表点列データ26はいろいろな態様で定義することができる。例えば、段差領域記号画像が図3(a)の場合、図3(b)に示すように、段差領域記号画像に含まれる短い線分の中央位置にある黒丸で示す点を連結する折れ線26Aに含まれる点列を表すデータを段差領域代表点列データ26として使用することができる。あるいは、同図(c)に示すように、段差領域記号画像を構成する複数の短い線分の頭部にある黒丸で示す点を連結する折れ線26B上の点列のデータを段差領域代表点列データ26に使用してもよい。あるいは同図(d)に示すように、段差領域記号画像に含まれる長い線分と短い線分の交点にある黒丸で示す点を連結する折れ線26Cに含まれる点列を使用することもできる。更には、同図(e)に示すように、同図(c)と(d)に示す2つの折れ線26Bと26Cと、両端の短い線分26Dと26Eとを含み段差領域記号の外周を表す閉じた折れ線を使用してもよい。更には、段差領域記号の外周を表す閉じた折れ線に代えて、段差領域記号が実際に存在する範囲を示すように構成されているときあるいは地図上の段差領域の存在を示す別のデータが、地図上の各段差領域に対応して存在する場合には、段差領域の段差領域代表点列データを、当該段差領域の存在範囲を示す閉じた点列とすることも望ましい。本明細書では、格子点、格子点の近傍の最急方位点その他の注目する点が、段差領域点列上に位置する場合も段差領域内のいずれかに位置する場合も、区別せずに段差領域点列上に位置するあるいは段差領域上に位置すると呼ぶことがある。あるいは段差領域点列データ上に位置すると呼ぶ場合もある。また、段差領域代表点列データ26を単に段差領域代表点列26又は段差領域26と呼ぶ場合がある。 For each step region symbol image data 25, the step region representative point sequence data 26 can be defined in various ways. For example, when the step region symbol image is FIG. 3A, as shown in FIG. 3B, a broken line 26A connecting the dots indicated by the black circles at the center position of the short line segment included in the step region symbol image is displayed. Data representing the included point sequence can be used as the step region representative point sequence data 26. Alternatively, as shown in FIG. 5C, the data of the point sequence on the broken line 26B connecting the points indicated by black circles at the heads of the plurality of short line segments constituting the step region symbol image is used as the step region representative point sequence. It may be used for data 26. Alternatively, as shown in FIG. 4D, a point sequence included in a broken line 26C that connects points indicated by black circles at the intersections of the long line segment and the short line segment included in the step region symbol image can also be used. Furthermore, as shown in FIG. 6 (e), the outer periphery of the step region symbol includes the two broken lines 26B and 26C and short line segments 26D and 26E shown in FIGS. A closed polyline may be used. Furthermore, instead of the closed polyline representing the outer periphery of the step region symbol, when the step region symbol is configured to indicate the actual range or another data indicating the presence of the step region on the map, When there is a step area corresponding to each step area on the map, the step area representative point sequence data of the step area is preferably a closed point sequence indicating the existence range of the step area. In this specification, it is not distinguished whether the grid point, the steepest azimuth point in the vicinity of the grid point, or any other point of interest is located on the step region point sequence or in any one of the step regions. It may be referred to as being located on the step region point sequence or on the step region. Alternatively, it may be referred to as being located on the step region point sequence data. Further, the step region representative point sequence data 26 may be simply referred to as a step region representative point sequence 26 or a step region 26.

図6は、図2(b)の段差領域記号260に対して得られる段差領域代表点列データ26を模式的に示す図である。以下では、図6に例示する画像を表す点列データを段差領域代表点列データ26として使用する。   FIG. 6 is a diagram schematically showing the step region representative point sequence data 26 obtained for the step region symbol 260 of FIG. Hereinafter, the point sequence data representing the image illustrated in FIG. 6 is used as the step region representative point sequence data 26.

なお、本実施の形態では等高線地図画像データ23上の段差領域記号画像を示す段差領域記号画像データ25をパターンマッチングを用いて自動的に抽出しているが、場合によっては段差領域抽出部41により、等高線地図画像データ23を画面に表示させ、操作者に目視で段差領域記号画像を見つけさせ、当該段差領域記号画像を代表する当該段差領域記号画像上の点列を指定させ、この指定に従い段差領域抽出部41が段差領域記号画像データ25を生成するようにしてもよい。   In the present embodiment, the step region symbol image data 25 indicating the step region symbol image on the contour map image data 23 is automatically extracted by using pattern matching. The contour map image data 23 is displayed on the screen, the operator visually finds the step region symbol image, and the point sequence on the step region symbol image representing the step region symbol image is designated. The region extraction unit 41 may generate the step region symbol image data 25.

図1に戻り、実行中の標高データ生成プログラム40は、段差領域抽出部41の実行後に、最急方位探索部42を実行する。本発明に係る標高データ生成装置1は、等高線点列データと段差領域代表点列データに基づいて、各格子点について、等高線点列上又は段差領域代表点列上に位置し所定の第1の条件を満たす複数の近接点を検出するようになっている。更に、各格子点について前記検出ステップで検出された複数の近接点の中に段差領域代表点列上に位置する近接点が含まれているか否かを判別する。 Returning to FIG. 1, the altitude data generation program 40 being executed executes the steepest direction searching unit 42 after the step area extracting unit 41 is executed. Elevation data generating apparatus 1 according to the present invention, based on the equal contours point sequence data and the step area representative point sequence data, for each grid point, a predetermined positioned on the contour point sequence or stepped area representative point on the column first A plurality of proximity points satisfying one condition are detected. Further, for each grid point, it is determined whether or not a plurality of proximity points detected in the detection step include a proximity point located on the step region representative point sequence .

具体的には、最急方位探索部42は、各格子点に対し周囲の等高線の状況を調べ、各格子点について、等高線点列上又は段差領域代表点列上に位置し、上記所定の第1の条件として最も傾斜が急な方向にある複数の近接点を検出する。より具体的には、最急方位探索部42の主な目的は、各格子点について最も傾斜が急な方向にあり、かつ、等高線点列上にある1対の互いに逆方向にある点(以下最急方位点と呼ぶことがある)p1、p2の位置と標高を検出し、それぞれの最急方位点に対して同様に最も傾斜が急な方向にあり、かついずれかの等高線点列上にある、元の格子点から見て遠方にある点(以下、2次最急方位点又は次最急方位点と呼ぶことがある)q1、q2の位置と標高を検出することである。なお、等高線上の点に代えて段差領域代表点列上の点が最急方位点あるいは2次最急方位点になるときにはそれらの点の位置を検出する。 Specifically, the steepest azimuth search unit 42 examines the situation of surrounding contour lines for each grid point, and each grid point is located on the contour line sequence or step region representative point sequence, and the predetermined first As one condition, a plurality of proximity points in the direction with the steepest inclination are detected. More specifically, the main purpose of the steepest azimuth searching unit 42 is a point in which each grid point has the steepest inclination and is in a pair of opposite directions on the contour point sequence (hereinafter referred to as a pair of contour points). is sometimes referred to as steepest cardinal points) detects p1, position and elevation of p2, is in steep direction most similarly inclined with respect to each of the steepest cardinal points, and on one contour point sequence This is to detect the positions and altitudes of points q1 and q2 that are far from the original lattice point (hereinafter sometimes referred to as the secondary steepest azimuth point or the next steepest azimuth point ). When the points on the step region representative point sequence become the steepest azimuth points or secondary steepest azimuth points instead of the points on the contour lines, the positions of these points are detected.

更に、最急方位探索部42は、以上の検出結果に基づいて当該格子点の属性を決定する。属性は、格子点の種別を表す属性であり、本実施の形態では、格子点の位置の種別を表す属性が使用される。具体的には、傾斜地点、平地点、段差領域隣接点、段差領域点という属性が使用される。最急方位探索部42は処理結果として最急方位データ28を生成し、補助記憶装置20に記憶する。   Further, the steepest direction searching unit 42 determines the attribute of the lattice point based on the above detection result. The attribute is an attribute that represents the type of grid point, and in the present embodiment, an attribute that represents the type of position of the grid point is used. Specifically, attributes such as an inclined point, a flat point, a step region adjacent point, and a step region point are used. The steepest azimuth searching unit 42 generates the steepest azimuth data 28 as a processing result and stores it in the auxiliary storage device 20.

図7は、最急方位データ28の例を示す図である。このデータの一つの行が一つの格子点に対応するものであり、各行には、対応する格子点の座標280、属性281、最急方位p1座標282、p1標高283、最急方位p2座標284、p2標高285、2次最急方位q1座標286、q1標高287、2次最急方位q2座標288、q2標高289を含むように構成される。   FIG. 7 is a diagram illustrating an example of the steepest azimuth data 28. One row of this data corresponds to one grid point, and each row includes a coordinate 280 of the corresponding grid point, an attribute 281, a steepest azimuth p1 coordinate 282, a p1 altitude 283, and a steepest azimuth p2 coordinate 284. , P2 altitude 285, secondary steepest direction q1 coordinate 286, q1 altitude 287, secondary steepest direction q2 coordinate 288, and q2 altitude 289.

図8は最急方位探索部42の処理の概略フローチャートである。本最急方位探索部42の処理は、非特許文献1に記載された最急方位法に比べると、段差領域がある等高線地図画像に対しても適用できるようになっている。まず、図7に例示したデータ構造を有するように最急方位データ28の記憶領域を補助記憶装置20内に確保し、格子点座標280に、補助記憶装置20にあらかじめ記憶されている格子点データ21B(図1)を記憶させる(ステップS421)。つぎに属性が決定されていない格子点の中の1つを選ぶ(ステップS422)。以下その格子点を選択格子点と呼ぶ。まず、選択格子点が段差領域代表点列26上の点であるか否かを判別し(ステップS423)、そうであるときには、最急方位データ28にその格子点の属性として段差領域点を記憶させる(ステップS424)。以下ではこの属性の格子点を段差領域点あるいは段差領域格子点と呼ぶことがある。その格子点の処理は終了し、処理はステップS429に移る。 FIG. 8 is a schematic flowchart of processing of the steepest direction searching unit 42. The processing of the steepest azimuth searching unit 42 can be applied to a contour map image having a step region as compared with the steepest azimuth method described in Non-Patent Document 1. First, the storage area of the steepest azimuth data 28 is secured in the auxiliary storage device 20 so as to have the data structure illustrated in FIG. 7, and the lattice point data stored in advance in the auxiliary storage device 20 at the lattice point coordinates 280. 21B (FIG. 1) is stored (step S421). Next, one of the grid points whose attributes are not determined is selected (step S422). Hereinafter, the lattice point is referred to as a selected lattice point. First, it is determined whether or not the selected grid point is a point on the step area representative point sequence 26 (step S423). If so, the step area point is set as the attribute of the grid point in the steepest azimuth data 28. Store (step S424). Hereinafter, the lattice point having this attribute may be referred to as a step region point or a step region lattice point. The processing of the lattice points ends, and the process moves to step S429.

ステップS423において選択格子点が段差領域代表点列26上にないと判断された場合には、選択格子点の周囲の状況を調べるために、選択格子点から複数の方位、例えば16方位に線分を延ばし、それぞれが等高線点列21A又は段差領域代表点列26と最初に交わる点を周辺点として調べる。ここで得られた16個の交点の座標と標高を、選択格子点に対する周辺点データリスト27(図1)として、その選択格子点を識別する情報、例えば、選択格子点の座標と組にして記憶する(ステップS425)。このように、周辺点データリスト27は、各格子点に対して、その格子点が選択されたときに生成される。もしいずれかの周辺点が選択格子点から延ばした線分と段差領域代表点列との交点であるときには、標高の代わりに、段差領域代表点列26との交点であることを示し、かつ標高としてはあり得ない特定の値を記憶する。 If it is determined in step S423 that the selected grid point is not on the step region representative point sequence 26, a line from the selected grid point to a plurality of directions, for example, 16 directions, is checked in order to examine the situation around the selected grid point. The points that first intersect the contour line sequence 21A or the step region representative point sequence 26 are examined as peripheral points. The coordinates and elevations of the 16 intersections obtained here are paired with information for identifying the selected grid point, for example, the coordinates of the selected grid point, as the peripheral point data list 27 (FIG. 1) for the selected grid point. Store ( step S425). As described above, the peripheral point data list 27 is generated when each grid point is selected for each grid point. If any of the peripheral points is an intersection of a line segment extending from the selected grid point and the step region representative point sequence, it indicates that it is an intersection with the step region representative point sequence 26 instead of the elevation, and A specific value that is impossible as an altitude is stored.

つぎに、周辺点が全て等高線点列との交点であり、かつ、それらの標高が同一か否かを判断する(ステップS426)。周辺点が全て等高線点列との交点であり、かつ、それらの標高が同一であるときには、その格子点は平地に位置すると考えることができ、以下ではその格子点は平地上にあるとして扱う。したがって、その選択格子点の標高は、その周辺点の標高と同じである。しかし、後に選択格子点の近傍に三角点又は基準点がある場合に、選択格子点の標高を補正するための準備として、上記周辺点のうちで、選択格子点に最も近い最急方位点p1と、選択格子点から見て反対方向にある点の中の最急方位点p2を検出し、これらをいずれも選択格子点に対する最急方位点とし、それらの点の座標と標高を、最急方位データ28(図7)内の上記選択格子点に対する最急方位p1座標282、p1標高283、最急方位p2座標284、p2標高285に記憶させ(ステップS427A)、属性281として平地点を記憶させる(ステップS427B)。以下ではこの属性の格子点を平地点あるいは平地格子点と呼ぶことがある。その選択格子点に関する処理はこれで終了し、処理はステップS429に移る。 Next, it is determined whether or not all the peripheral points are intersections with the contour point sequence and their elevations are the same (step S426). When all the peripheral points are intersections with the contour point sequence and their elevations are the same, the grid point can be considered to be located on a flat ground, and in the following, the grid point is treated as being on the flat ground. Therefore, the elevation of the selected grid point is the same as the elevation of the surrounding points. However, when there is a triangular point or a reference point in the vicinity of the selected grid point later, as the preparation for correcting the altitude of the selected grid point, the steepest azimuth point p1 closest to the selected grid point among the above peripheral points And the steepest azimuth point p2 among the points in the opposite direction as viewed from the selected grid point, are detected as the steepest azimuth points with respect to the selected grid point, and the coordinates and altitudes of those points are The steepest azimuth p1 coordinate 282, p1 altitude 283, steepest azimuth p2 coordinate 284, and p2 altitude 285 with respect to the selected grid point in the azimuth data 28 (FIG. 7) are stored (step S427A), and a flat spot is stored as the attribute 281. (Step S427B). Below, the grid point of this attribute may be called a flat spot or a flat grid point. The process relating to the selected grid point ends here, and the process moves to step S429.

ステップS426において周辺点のいずれかが他と異なる等高線点列との交点あるいは段差領域代表点列との交点であると判断された場合には、選択格子点は平地上にない。このときには、上記16個の周辺点のうちで、ともに異なる標高の等高線点列上にあるか又は異なる段差領域代表点列上にあるか、あるいは一方が等高線点列上にあり他方が段差領域代表点列上にあり、かつ、選択格子点の最急方位点p1と選択格子点から見て当該最急方位点p1と逆方向にある最急方位点p2を選択格子点に対する最急方位点として検出し、これらの点の座標と標高を最急方位データ28内に選択格子点に対応させて記憶させる(ステップS427C)。なお、点p1、p2のいずれかが段差領域代表点列上にあるときには、その標高としては、段差領域点を表す特定の値を記憶させるのは、既に述べた場合と同じである。 If it is determined in step S426 that any of the peripheral points is an intersection with a different contour line sequence or an intersection with a step region representative point sequence , the selected grid point is not on the ground. At this time, among the 16 peripheral points, they are either on contour line sequences of different elevations or on different step region representative point sequences , or one is on the contour line sequence and the other is the step region representative. The steepest azimuth point p2 that is on the point sequence and is opposite to the steepest azimuth point p1 when viewed from the selected lattice point and the steepest azimuth point p1 of the selected lattice point is set as the steepest azimuth point with respect to the selected lattice point. The coordinates and altitudes of these points are detected and stored in the steepest azimuth data 28 in association with the selected grid points (step S427C). When any of the points p1 and p2 is on the step region representative point sequence , a specific value representing the step region point is stored as the altitude as in the case described above.

更に、上記p1、p2のうち、少なくともいずれか一方、例えばp1が等高線点列上に位置する場合には、点p1についてステップS425と同様の処理により点p1の周辺に位置する等高線点列上又は段差領域代表点列上に位置する16個の周辺点を更に検出し、それらの周辺点のうちで、点p1から見て最急方位にあり、かつ、点p1から見て選択格子点とは逆方向にある2次最急方位点q1を、選択格子点に対する2次最急方位点として検出する。同様に点p2が等高線点列上に位置する場合には、対応する2次最急方位点q2を検出する。これらの点q1、q2に関する座標と標高を、最急方位データ28内の選択格子点に対する2次最急方位q1座標286、q1標高287、2次最急方位q2座標288、q2標高289に記憶させる。点q1、q2のいずれかが段差領域代表点列上にあるときには、その標高としては、段差領域点を表す特定の値を記憶させるのは、既に述べた場合と同じである(ステップS427D)。また、以上から分かるように、最急方位点p1、p2のいずれかが段差領域代表点列上の点であるときには、その点に対する2次最急方位点q1又はq2は検出しない。 Further, when at least one of the above p1 and p2, for example, p1 is positioned on the contour line sequence , the point p1 is processed on the contour line sequence positioned around the point p1 by the same processing as step S425 or Sixteen peripheral points located on the step region representative point sequence are further detected, and among these peripheral points, the point is in the steepest direction as viewed from the point p1, and the selected lattice point is as viewed from the point p1. The secondary steepest azimuth point q1 in the reverse direction is detected as the secondary steepest azimuth point with respect to the selected lattice point. Similarly, when the point p2 is located on the contour point sequence , the corresponding secondary steepest azimuth point q2 is detected. The coordinates and altitudes related to these points q1 and q2 are stored in the secondary steepest direction q1 coordinate 286, q1 altitude 287, secondary steepest direction q2 coordinate 288, and q2 altitude 289 for the selected grid point in the steepest direction data 28. Let When any of the points q1 and q2 is on the step region representative point sequence , a specific value representing the step region point is stored as the altitude as in the case described above (step S427D). As can be seen from the above, when either of the steepest azimuth points p1 and p2 is a point on the step region representative point sequence, the secondary steepest azimuth point q1 or q2 with respect to that point is not detected.

以上のようにして得られた、選択格子点に対する点p1、p2、q1、q2の中に段差領域点が含まれているか否かを判別する(ステップS428A)。この判断は、選択格子点に対するそれぞれの点p1、p2、q1、q2の標高が段差領域点を表す特定の値であるか否かにより判別できる。もし選択格子点に対する点p1、p2、q1、q2のいずれもが段差領域点でないときには、選択格子点は付近に段差領域がない通常の傾斜地にあることになり、その属性として傾斜地点を最急方位データ28内に記憶する(ステップS428B)。以下ではこの属性の格子点を傾斜地点あるいは傾斜地格子点と呼ぶことがある。このとき、点p1とq1を結ぶ経路が、それぞれが位置する等高線に対する最急経路となり、点p2とq2を結ぶ経路が、それぞれが位置する等高線に対する最急経路となる。もし選択格子点に対する点p1、p2、q1、q2のいずれかが段差領域点であるときには、選択格子点の属性として段差領域隣接点を最急方位データ28に記憶させる(ステップS428C)。以下ではこの属性の格子点を段差領域隣接点あるいは段差領域隣接格子点と呼ぶことがある。以上のようにして選択格子点に対する処理が終了すると、未処理の格子点があるか否かが判断され(ステップS429)、未処理の格子点があるときには、処理はステップS421に戻り、未処理の格子点がないときには、最急方位探索部42の処理は終了する。   It is determined whether or not a step region point is included in the points p1, p2, q1, q2 with respect to the selected grid point obtained as described above (step S428A). This determination can be made based on whether or not the elevation of each of the points p1, p2, q1, and q2 with respect to the selected grid point is a specific value that represents the step region point. If none of the points p1, p2, q1, and q2 with respect to the selected grid point is a step area point, the selected grid point is on a normal slope with no step area nearby, and the slope point is the steepest attribute. Store in the azimuth data 28 (step S428B). Hereinafter, the grid point having this attribute may be referred to as an inclined point or an inclined ground grid point. At this time, the route connecting points p1 and q1 is the steepest route with respect to the contour line where each is located, and the route connecting points p2 and q2 is the steepest route with respect to the contour line where each is located. If any of the points p1, p2, q1, q2 with respect to the selected grid point is a step area point, the step area adjacent point is stored in the steepest azimuth data 28 as an attribute of the selected grid point (step S428C). Hereinafter, the lattice point having this attribute may be referred to as a step region adjacent point or a step region adjacent lattice point. When the process for the selected grid point is completed as described above, it is determined whether or not there is an unprocessed grid point (step S429). If there is an unprocessed grid point, the process returns to step S421, and the unprocessed grid point is processed. When there is no grid point, the processing of the steepest azimuth search unit 42 ends.

図9は、いろいろな属性の選択格子点を含む等高線地図画像の例を示す図である。同図(a)は、選択格子点s0が、等高線点列データ241により指定される標高を有する平地格子点である場合の等高線地図画像の例を示している。選択格子点s0が平地点である場合には、最急方位点p1、p2が検出されるが、2次最急方位点q1、q2は検出されない。同図(b)は、選択格子点s0が傾斜地にあり、その近傍に段差領域が存在しない傾斜地格子点である場合における、最急方位点p1、p2、2次最急方位点q1、q2の例を示す。同図(c)は、選択格子点s0が傾斜地にあり、しかも近傍に段差領域代表点列26がある段差領域隣接点である場合の例を示している。この例では、選択格子点s0に対して最急方位点p1、p2が検出されていて、点p1が等高線点列上にあるため、対応する2次最急方位点q1が検出されているが、点p2が段差領域代表点列26上にあるため、点p2に対する2次最急方位点q2は検出されていない。 FIG. 9 is a diagram illustrating an example of a contour map image including selected grid points having various attributes. FIG. 5A shows an example of a contour map image when the selected grid point s0 is a flat grid point having an elevation specified by the contour line sequence data 241. When the selected grid point s0 is a flat spot, the steepest bearing points p1 and p2 are detected, but the secondary steepest bearing points q1 and q2 are not detected. FIG. 6B shows the steepest azimuth points p1 and p2 and the secondary steepest azimuth points q1 and q2 when the selected grid point s0 is on a sloping ground and there is no step region in the vicinity thereof. An example is shown. FIG. 4C shows an example in which the selected grid point s0 is on a slope and is a step region adjacent point having a step region representative point sequence 26 in the vicinity thereof. In this example, the steepest azimuth points p1 and p2 are detected with respect to the selected lattice point s0, and the corresponding secondary steepest azimuth point q1 is detected because the point p1 is on the contour point sequence . Since the point p2 is on the step region representative point sequence 26, the secondary steepest azimuth point q2 with respect to the point p2 is not detected.

図1に戻り、標高データ生成プログラム40は、最急方位探索部42の処理が終了すると、複数の格子点のうち、当該格子点に対して検出された複数の近接点の中に段差領域代表点列上に位置する近接点が含まれていない第1種の格子点について、当該複数の近接点の位置と標高に基づいて、当該第1種の格子点の標高を決定する。しかし、複数の格子点のうち、当該格子点に対して検出された複数の近接点の中に段差領域代表点列上の近接点が含まれている第2種の格子点については、当該段差領域代表点列上の近接点に代えて使用する、当該段差領域代表点列上にはない、当該格子点の他の少なくとも一つの近接点を追加して検出し、少なくとも当該追加して検出された少なくとも一つの他の近接点の位置と標高に基づいて当該第2種の格子点の標高を決定する。 Returning to FIG. 1, when the processing of the steepest azimuth search unit 42 ends, the altitude data generation program 40 represents a step region representative among a plurality of adjacent points detected with respect to the lattice point. For the first type of lattice points that do not include the adjacent points located on the point sequence , the elevation of the first type of lattice points is determined based on the positions and elevations of the plurality of adjacent points. However, among the plurality of grid points, for the second type grid points in which the proximity points on the step region representative point sequence are included in the plurality of proximity points detected for the grid points, Used in place of the neighboring points on the area representative point sequence , additionally detected at least one other neighboring point that is not on the step area representative point sequence and is not detected on the stepped area representative point sequence, and at least the additional point is detected. The altitude of the second type grid point is determined based on the position and altitude of at least one other adjacent point.

より具体的には、標高データ生成プログラム40は、各格子点の標高の決定のために標高計算部43を実行する。標高計算部43では、最急方位探索部42により生成された最急方位データ28に基づいて各格子点の標高が決定される。本実施の形態では、段差領域隣接点である格子点の標高も段差領域の存在を考慮して決定されるようになっている。すなわち、標高計算部43では、最急方位探索部42により決定された各格子点の属性に応じて異なる手順で標高を計算する。段差領域隣接点である格子点の標高を計算する際、周囲の傾斜地格子点のデータが使用される。このため、初めに傾斜地格子点の標高を計算した後、他の属性の格子点の標高を計算する。   More specifically, the elevation data generation program 40 executes the elevation calculation unit 43 for determining the elevation of each grid point. The altitude calculation unit 43 determines the altitude of each grid point based on the steepest azimuth data 28 generated by the steepest azimuth search unit 42. In the present embodiment, the altitudes of grid points that are adjacent to the step region are determined in consideration of the presence of the step region. That is, the altitude calculation unit 43 calculates the altitude according to a different procedure depending on the attribute of each grid point determined by the steepest direction searching unit 42. When calculating the altitude of grid points that are adjacent to the step region, data of surrounding inclined grid points are used. For this reason, first, the altitude of the inclined grid point is calculated, and then the altitude of the grid point having other attributes is calculated.

図10は、標高計算部43の処理の概略フローチャートである。まず、属性が傾斜地点であり標高が決定されていない傾斜地格子点を選択する(ステップS431A)。この選択は、最急方位データ28に属性が傾斜地点とされている格子点であって、標高データ29(図1)内の同じ座標を有する格子点に対して標高が記憶されていない格子点を検出することにより行うことができる。   FIG. 10 is a schematic flowchart of the processing of the altitude calculation unit 43. First, an inclined ground grid point whose attribute is an inclined point and whose altitude is not determined is selected (step S431A). This selection is a grid point whose attribute is an inclined point in the steepest azimuth data 28, and an altitude is not stored for a grid point having the same coordinates in the altitude data 29 (FIG. 1). This can be done by detecting.

その後、選択された傾斜地格子点に対して決定された最急方位点p1、p2、2次最急方位点q1、q2に関するデータに基づいて、当該格子点の標高を計算する傾斜地点用標高計算式を決定し(ステップS431B)、決定された標高計算式を用いて、当該傾斜地格子点の標高を決定し、決定した標高を標高データ29(図1)内にその格子点の標高として記憶する(ステップS431C)。これらのステップS431B、S431Cの処理の詳細は後に説明する。その後、属性が傾斜地点であり標高が決定されていない傾斜地格子点がまだあるか否かを判別し(ステップS431D)、あればステップS431Aに戻り、以上の処理を繰り返す。なければ、ステップS432Aに移る。   After that, based on the data regarding the steepest azimuth points p1 and p2 and the secondary steepest azimuth points q1 and q2 determined for the selected inclined ground point, the altitude calculation for the inclined point is performed to calculate the altitude of the lattice point. An equation is determined (step S431B), the determined altitude calculation formula is used to determine the altitude of the inclined grid point, and the determined altitude is stored in the altitude data 29 (FIG. 1) as the altitude of the grid point. (Step S431C). Details of these steps S431B and S431C will be described later. Thereafter, it is determined whether or not there is an inclined grid point whose attribute is the inclined point and the altitude is not determined (step S431D). If there is, the process returns to step S431A and the above processing is repeated. If not, the process moves to step S432A.

ステップS432Aでは、属性が平地点であり標高が決定されていない平地格子点を選択する。その後、選択された平地格子点に対して、当該格子点に対して決定された最急方位点p1又はp2の標高をそのまま標高データ29(図1)内にその格子点の標高として記憶する(ステップS432B)。その後、属性が平地点であり標高が決定されていない平地格子点がまだあるか否かを判別し(ステップS432C)、あればステップS432Aに戻り、以上の処理を繰り返す。なければ、ステップS433Aに移る。   In step S432A, a flat grid point whose attribute is a flat point and whose altitude is not determined is selected. After that, for the selected flat grid point, the altitude of the steepest azimuth point p1 or p2 determined for the grid point is stored as it is in the altitude data 29 (FIG. 1) as the altitude of the grid point ( Step S432B). Thereafter, it is determined whether or not there is still a flat grid point whose attribute is a flat spot and the altitude is not determined (step S432C). If there is, the process returns to step S432A and the above processing is repeated. If not, the process moves to step S433A.

ステップS433Aでは、属性が段差領域隣接点であり標高が決定されていない段差領域隣接格子点を選択する。つぎに、選択された段差領域隣接点である格子点に対して決定された最急方位点p1、p2の両方が段差領域点であるか否かを判別する(ステップS433B)。この判別は、選択された格子点に対応する最急方位データ28内の点p1、p2の標高が通常の標高を表さない特定の値であるか否かにより行うことができる。p1、p2の両方が段差領域点であるときには、選択された格子点は、2つの段差領域に挟まれた領域に位置し、近傍の等高線がそれらの段差領域より遠方にあるため、その格子点の標高を自動的に決定できないので、当該格子点の標高に代えて、標高が決定できないことを示す特定の値を標高データ29に記憶させるか、あるいは、標高をユーザに入力させて標高データ29に記憶させる(ステップS433C)。ユーザが標高を決定する場合には、ユーザは、2つの段差領域の位置と、当該段差領域の周辺の等高線の位置と標高とに基づいて、選択格子点の標高を推定して入力する。その後処理はステップS433Dに移る。   In step S433A, step area adjacent grid points whose attributes are step area adjacent points and whose altitude is not determined are selected. Next, it is determined whether or not both of the steepest azimuth points p1 and p2 determined with respect to the lattice point that is the adjacent step region adjacent point are step region points (step S433B). This determination can be made based on whether or not the elevations of the points p1 and p2 in the steepest azimuth data 28 corresponding to the selected grid point are specific values that do not represent a normal elevation. When both p1 and p2 are step region points, the selected lattice point is located in the region sandwiched between the two step regions, and the contour lines in the vicinity are farther than those step regions. Since the altitude of the grid point cannot be automatically determined, a specific value indicating that the altitude cannot be determined is stored in the altitude data 29 instead of the altitude of the grid point, or the altitude data 29 is input by the user to input the altitude. (Step S433C). When the user determines the altitude, the user estimates and inputs the altitude of the selected grid point based on the position of the two step areas, the position of the contour line around the step area, and the altitude. Thereafter, the process proceeds to step S433D.

ステップS433Bにおいてp1、p2の少なくとも一方が段差領域点でないと判断されたときには、段差領域隣接点である格子点の標高を計算する段差領域隣接点用標高計算部50を起動する。その処理の詳細は後に説明する。その後、処理はステップS433Dに移る。ステップS433Dでは、属性が段差領域隣接点であり標高が決定されていない段差領域隣接格子点がまだあるか否かを判別し、あればステップS433Aに戻り、以上の処理を繰り返す。なければ、ステップS434Aに移る。   When it is determined in step S433B that at least one of p1 and p2 is not a step region point, the step region adjacent point altitude calculation unit 50 that calculates the altitude of the grid point that is the step region adjacent point is activated. Details of the processing will be described later. Thereafter, the process proceeds to step S433D. In step S433D, it is determined whether or not there is still a step region adjacent grid point whose attribute is the step region adjacent point and the altitude is not determined, and if there is, return to step S433A and repeat the above processing. If not, the process moves to step S434A.

本実施の形態では、属性が段差領域点である格子点の標高は計算されない。したがって、属性が段差領域点であり標高が判断されていない格子点に対しては、標高に代えて標高を決定できないことを示す特定の値を標高データ29に記憶させる。このため、ステップS434Aでは、属性が段差領域点であり標高が判断されていない段差領域格子点を選択する。つぎに、選択された段差領域点である格子点に対して、標高が決定できないむねを示す特定の値を標高データ29に記憶させる(ステップS434B)。その後属性が段差領域隣接点であり標高が決定されていない格子点がまだあるか否かを判別し(ステップS434C)、あればステップS434Aに戻り、以上の処理を繰り返す。なければ、標高計算部43の処理が終了する。   In the present embodiment, the altitude of the grid point whose attribute is the step region point is not calculated. Therefore, a specific value indicating that the altitude cannot be determined instead of the altitude is stored in the altitude data 29 for the grid point whose attribute is the step area point and the altitude is not determined. For this reason, in step S434A, step area grid points whose attributes are step area points and whose altitude is not determined are selected. Next, a specific value indicating that the altitude cannot be determined is stored in the altitude data 29 for the selected grid point which is the step area point (step S434B). Thereafter, it is determined whether or not there is still a grid point whose attribute is the step region adjacent point and the altitude is not determined (step S434C), and if there is, returns to step S434A and repeats the above processing. If not, the processing of the altitude calculation unit 43 ends.

図11は、図10のステップS431Bでの傾斜地点用標高計算式の決定例とステップS431Cでの傾斜地格子点の標高の計算を説明するための図である。同図(a)において、横軸は、等高線点列上で、点q2、p2、p1、q1を結ぶ折れ線をそれぞれの点の間の距離を維持しながら並べた直線上の座標Sを表す。点Sq2、Sp2、Sp1、Sq1は、それぞれ上記折れ線上の点q2、p2、p1、q1に対応する上記対応する直線上の位置を表し、S0は、傾斜地格子点である選択された格子点s0に対する上記直線上の位置を表す。上記直線(横軸)の座標の原点は任意の点に決めてよい。 FIG. 11 is a diagram for explaining an example of determining the elevation calculation formula for the sloped point in step S431B of FIG. 10 and the calculation of the elevation of the sloped grid point in step S431C. In FIG. 4A, the horizontal axis represents coordinates S on a straight line in which broken lines connecting points q2, p2, p1, and q1 are arranged on the contour line sequence while maintaining the distance between the points. Points Sq2, Sp2, Sp1, and Sq1 represent positions on the corresponding straight line corresponding to the points q2, p2, p1, and q1 on the polygonal line, respectively, and S0 is a selected lattice point s0 that is an inclined ground lattice point. Represents the position on the straight line with respect to. The origin of the coordinates of the straight line (horizontal axis) may be determined as an arbitrary point.

L1、L21、L22、L3はそれぞれ点Sp1と点Sq1との間の距離、点S0と点Sp1との間の距離、点Sp2と点S0との間の距離、点Sq2と点Sp2との間の距離を表す。縦軸は標高を表し、hp1、hp2、hq1、hq2はそれぞれ、点p1、p2、q1、q2における標高を表し、これらの標高は、それぞれの点を通過する等高線の標高として等高線点列データ21Aにより与えられていて、既に選択格子点に対応して最急方位データ38内に記憶されている。H1、H2、H3はそれぞれ、点q1とp1間の標高差、点p1、p2間の標高差、点p2とq2間の標高差を表す。   L1, L21, L22, and L3 are respectively the distance between the points Sp1 and Sq1, the distance between the points S0 and Sp1, the distance between the points Sp2 and S0, and the distance between the points Sq2 and Sp2. Represents the distance. The vertical axis represents the altitude, and hp1, hp2, hq1, and hq2 represent the altitudes at the points p1, p2, q1, and q2, respectively, and these altitudes are contour line sequence data 21A as the altitudes of the contour lines that pass through the respective points. Is already stored in the steepest direction data 38 corresponding to the selected grid point. H1, H2, and H3 represent an elevation difference between points q1 and p1, an elevation difference between points p1 and p2, and an elevation difference between points p2 and q2, respectively.

同図(b)は、格子点s0の標高を算出するための計算式の例として使用する、上記折れ線上の距離Sの3次元エルミート関数を示す。この関数が傾斜地点用標高計算式として使用される。同図(c)は、上記関数f(S)を決定するための条件を示す図である。符号51、52は、それぞれ点p1、p2における標高が、点p1、p2における等高線の標高hp1、hp2であることを示し、α、βは後述の平均勾配を示す。   FIG. 4B shows a three-dimensional Hermitian function of the distance S on the broken line used as an example of a calculation formula for calculating the altitude of the lattice point s0. This function is used as the altitude calculation formula for the sloped point. FIG. 6C is a diagram showing conditions for determining the function f (S). Reference numerals 51 and 52 indicate that the elevations at the points p1 and p2 are the elevations hp1 and hp2 of the contour lines at the points p1 and p2, respectively, and α and β indicate average gradients described later.

1次差分法により上記エルミート関数を決定するときには、上記α、βは符号55、56により与えられる。符号55は点2、1の間の平均勾配αを表し、符号56は点2、1の間の平均勾配βを表し、符号53は点p1における関数f(S)の微係数(勾配)が上記平均勾配αに等しいことを示し、符号54は点p2における関数f(S)の微分係数(勾配)が上記平均勾配βに等しいことを示す。これらの6つの条件により、同図(b)に示す3次元関数の係数a、b、c、dを決定できる。こうして傾斜地点用標高計算式が決定される。 When the Hermitian function is determined by the first-order difference method, α and β are given by reference numerals 55 and 56, respectively. Reference numeral 55 represents an average gradient α between the points p 2 and q 1, reference numeral 56 represents an average gradient β between the points q 2 and p 1, and reference numeral 53 represents a derivative of the function f (S) at the point p 1. (Gradient) is equal to the average gradient α, and reference numeral 54 indicates that the differential coefficient (gradient) of the function f (S) at the point p2 is equal to the average gradient β. Under these six conditions, the coefficients a, b, c, and d of the three-dimensional function shown in FIG. In this way, the altitude calculation formula for the inclination point is determined.

図10のステップS431Bでは、以上の考えにより図11(b)に示す傾斜地点用標高計算式が決定され、同図のステップS431Cでは、上記決定された計算式において、格子点s0に対応する横軸上の座標S0を入力することにより、格子点s0における標高が計算される。   In step S431B of FIG. 10, the inclination point elevation calculation formula shown in FIG. 11B is determined based on the above consideration. In step S431C of FIG. 10, the horizontal formula corresponding to the grid point s0 in the determined calculation formula is determined. By inputting the coordinate S0 on the axis, the elevation at the lattice point s0 is calculated.

以上のように、標高計算部43は、選択格子点が段差領域隣接点でないとき、すなわち、選択格子点の所定の第1の条件を満たす近接点であるp1、p2、q1、q2のいずれもが段差領域点でないときには、それらの近接点の位置と標高に基づいて当該選択格子点の標高を決定している。   As described above, the altitude calculation unit 43, when the selected grid point is not the step region adjacent point, that is, any of p1, p2, q1, and q2 that are adjacent points that satisfy the predetermined first condition of the selected grid point. Is not a step region point, the altitude of the selected grid point is determined based on the position and altitude of those adjacent points.

図12は、選択格子点が、それに対応する最急方位点p1、p2の一方が段差領域点であるために段差領域隣接点と判断される等高線地図画像の例を示す図である。図では、選択格子点s0に対する最急方位点p1が等高線C上にあり、他の最急方位点p2が段差領域代表点列26上にある段差領域点である例を示している。点p1に対応する2次最急方位点q1は等高線C1にあると仮定されている。点p2に対する2次最急方位点q2は検出されていない。 FIG. 12 is a diagram illustrating an example of a contour map image in which a selected grid point is determined to be a step region adjacent point because one of the steepest azimuth points p1 and p2 corresponding thereto is a step region point. In the figure, the steepest cardinal points p1 is above contour C 2, other steepest cardinal points p2 indicates an example in which the stepped region point overlying stepped area representative point sequence 2 6 to the selected grid point s0. It is assumed that the secondary steepest bearing point q1 corresponding to the point p1 is on the contour line C1. The secondary steepest azimuth point q2 with respect to the point p2 is not detected.

図13は、選択格子点が、それに対応する2次最急方位点q1、q2の少なくとも一方が段差領域点であるために段差領域隣接点と判断される等高線地図画像の例を示す図である。図では、選択格子点s0に対する最急方位点p1、p2がそれぞれ等高線点列C5、C6上にあり、2次最急方位点q2が段差領域代表点列26上にある段差領域点である例を示している。2次最急方位点q1は等高線C7上にあるとする。図において、点AとBは、点q2に最も近く、点p2とq2を結ぶ線分の両側に位置する傾斜地格子点であり、点p1a、p2a、q1a、q2aは、格子点Aに対する最急方位点、2次最急方位点である。点p1b、p2b、q1b、q2bは、格子点Bに対する最急方位点、2次最急方位点である。なお、段差領域隣接点用標高計算部50は、点q1に代えて点q2が段差領域点である場合あるいは点q1、q2の両方がともに段差領域点である場合にも以下に説明する点q1が段差領域点である場合の説明を適用できる。 FIG. 13 is a diagram illustrating an example of a contour map image in which a selected grid point is determined to be a step region adjacent point because at least one of the secondary steepest azimuth points q1 and q2 corresponding to the selected lattice point is a step region point. . In the figure, the steepest azimuth points p1 and p2 with respect to the selected grid point s0 are on the contour point sequence C5 and C6, respectively, and the secondary steepest azimuth point q2 is a step region point on the step region representative point sequence 26. An example is shown. It is assumed that the secondary steepest azimuth point q1 is on the contour line C7. In the figure, points A and B are inclined ground grid points closest to the point q2 and located on both sides of the line segment connecting the points p2 and q2, and the points p 1a , p 2a , q 1a , and q 2a are lattice points. A steepest azimuth point for A and a secondary steepest azimuth point. Points p 1b , p 2b , q 1b and q 2b are the steepest azimuth point and the second steepest azimuth point with respect to the lattice point B. Note that the elevation calculation unit 50 for the step region adjacent point is described below even when the point q2 is a step region point instead of the point q1, or when both the points q1 and q2 are both step region points. The description in the case where is a step region point can be applied.

図14は、段差領域隣接点用標高計算部50の処理の概略フローチャートである。まず、選択格子点s0に対する最急方位点p1、p2の少なくとも一方が段差領域点であるか否かが判断される(ステップS501)。図12の場合には、最急方位点p2が段差領域点であり、図13では、p1、p2とも段差領域点でない。   FIG. 14 is a schematic flowchart of the processing of the step area adjacent point elevation calculation unit 50. First, it is determined whether or not at least one of the steepest azimuth points p1 and p2 with respect to the selected grid point s0 is a step region point (step S501). In the case of FIG. 12, the steepest bearing point p2 is a step region point, and in FIG. 13, neither p1 nor p2 is a step region point.

図12のような場合には、選択格子点の最急方位点p2が段差領域点であり、その標高を正確に推定することが難しい。したがって、選択格子点s0の標高を推定することも難しい。このため、本発明では、段差領域点(p2)の近傍に位置するために段差領域隣接点と判断された選択格子点s0については、当該選択格子点の所定の第2の条件を満たす他の近接点を検出して、当該選択格子点の標高を、少なくとも当該他の近接点の位置と標高に基づいて決定する。より具体的には、このような段差領域隣接点である選択格子点の周辺の地形は、段差領域を除けば、近傍に位置する傾斜地点である傾斜地格子点における地形に近いものと推測される。したがって、標高計算部43は、選択格子点に対する二つの最急方位点p1、p2の一方が段差領域点である場合に、当該選択格子点に最近接で傾斜地格子点である格子点を追加して検出する。
この場合、選択格子点s0と最急方位点p2を結ぶ線分の両側に位置する複数の傾斜地格子点に対する標高計算式を使用するほうが、片側に位置する傾斜地格子点の標高計算式を使用する場合より正確に、選択格子点の標高を推定できると考えられる。このため、本実施の形態では、選択格子点s0と最急方位点p2を結ぶ線分の両側に位置する一対の傾斜地格子点に対する標高計算式を使用して、選択格子点の標高を推定する。
In the case as shown in FIG. 12, the steepest azimuth point p2 of the selected grid point is the step region point, and it is difficult to accurately estimate the altitude. Therefore, it is difficult to estimate the altitude of the selected grid point s0. For this reason, in the present invention, the selected grid point s0 that is determined to be adjacent to the step area adjacent point because it is located in the vicinity of the step area point (p2) is another condition that satisfies the predetermined second condition of the selected grid point. The proximity point is detected, and the altitude of the selected grid point is determined based on at least the position and altitude of the other proximity point. More specifically, the terrain around the selected grid point, which is the adjacent point of the step area, is estimated to be close to the terrain at the inclined grid point, which is an inclined point located in the vicinity, except for the step area. . Therefore, when one of the two steepest azimuth points p1 and p2 with respect to the selected grid point is a step area point, the altitude calculation unit 43 adds a grid point that is the nearest ground grid point to the selected grid point. To detect.
In this case, the altitude calculation formula for the inclined grid points located on one side is used in the case where the altitude calculation formula for the plurality of inclined grid points located on both sides of the line segment connecting the selected grid point s0 and the steepest bearing point p2 is used. It is considered that the altitude of the selected grid point can be estimated more accurately than the case. For this reason, in the present embodiment, the elevation of the selected grid point is estimated using an elevation calculation formula for a pair of inclined ground grid points located on both sides of the line segment connecting the selected grid point s0 and the steepest bearing point p2. .

その際、近傍の傾斜地格子点を通る折れ線の長さが異なるのが普通であり、選択格子点を通る折れ線の長さが、近傍の傾斜地格子点を通る折れ線の長さより長いときには、近傍の傾斜地格子点の周辺の地形を反映して選択格子点の標高を決定するには、近傍の傾斜地格子点を通る折れ線の長さを選択格子点を通る折れ線の長さに等しくなるように延長して近傍の格子点の標高計算式を使用することが望ましい。逆に、選択格子点を通る折れ線の長さが近傍の傾斜地格子点を通る折れ線の長さより短いときには、近傍の傾斜地格子点を通る折れ線の長さを選択格子点を通る折れ線の長さに等しくするように短縮して近傍の格子点の標高計算式を使用することが望ましい。   At that time, the length of the polygonal line passing through the neighboring inclined grid point is usually different, and when the length of the polygonal line passing through the selected inclined grid point is longer than the length of the polygonal line passing through the neighboring inclined grid point, To determine the elevation of the selected grid point reflecting the topography around the grid point, extend the length of the polyline that passes through the nearby inclined grid point to be equal to the length of the polyline that passes through the selected grid point. It is desirable to use an altitude calculation formula for neighboring grid points. Conversely, when the length of the polygonal line passing through the selected grid point is shorter than the length of the polygonal line passing through the neighboring inclined grid point, the length of the polygonal line passing through the neighboring inclined grid point is equal to the length of the polygonal line passing through the selected grid point. It is desirable to use the altitude calculation formula of the neighboring grid points by shortening.

したがって、本実施の形態では、選択格子点の両側に位置する2つの最急方位点と当該選択格子点を結ぶ折れ線の座標の範囲と、近傍の傾斜地格子点の両側に位置する最急方位点と当該傾斜地格子点を結ぶ折れ線上の座標の範囲を、例えば0から1というように一致させるように、後者の長さと座標を前者の長さと座標に合わせて、当該近傍の傾斜地格子点に対する標高計算式を利用する。   Therefore, in the present embodiment, the two steepest azimuth points located on both sides of the selected grid point, the range of coordinates of the polygonal line connecting the selected grid point, and the steepest azimuth points located on both sides of the neighboring inclined grid point So that the range of coordinates on the polygonal line connecting the slope and the slope grid point is matched, for example, from 0 to 1, the latter length and coordinates are matched to the former length and coordinates, and the elevation relative to the slope grid point in the vicinity Use formulas.

すなわち、ステップS501で、p1、p2の一方(例えばp2)が段差領域点であると判断された場合、処理はステップS502に移り、そこでは選択格子点について、当該格子点に最も近い2つの傾斜地格子点であって、点p1、p2を結ぶ線の両側に位置する1対の傾斜地格子点A、Bを検出する。   That is, if it is determined in step S501 that one of p1 and p2 (for example, p2) is a step region point, the process moves to step S502, where the two inclined slopes closest to the lattice point are selected for the selected lattice point. A pair of inclined ground grid points A and B located on both sides of a line connecting the points p1 and p2 are detected.

検出された傾斜地格子点A、Bのそれぞれの標高を計算するための標高計算式fa(Sa)、fb(Sb)は、既に図10のステップS431Bで決定されている。ここでSaは、点Aに対する最急方位点p1a、p2a、2次最急方位点q1a、q2aを通る折れ線上の座標を表す。同様に、Sbは点Bに対する最急方位点p1b、p2b、2次最急方位点q1b、q2bを通る折れ線上の座標を表す。ステップS503では、関数fa(S)の変数Saの代わりに、点p1a、p2aの間で0〜1になるように正規化した変数Sa’を使用する関数fap1p2(Sa')を関数fa(S)から生成する。同様に、関数fb(S)の変数Sbの代わりに、点p1b、p2bの間で0〜1になるように正規化した変数Sb’を使用する関数fbp1p2(Sb')を関数fb(S)から生成する。 Altitude calculation formulas fa (Sa) and fb (Sb) for calculating the respective altitudes of the detected sloped grid points A and B have already been determined in step S431B of FIG. Here, Sa represents coordinates on a broken line passing through the steepest azimuth points p 1a and p 2a and the secondary steepest azimuth points q 1a and q 2a with respect to the point A. Similarly, Sb represents coordinates on a broken line passing through the steepest azimuth points p 1b and p 2b and the secondary steepest azimuth points q 1b and q 2b with respect to the point B. In step S503, instead of the variable Sa of the function fa (S a ), a function fap1p2 (Sa ′) that uses a variable Sa ′ normalized to be 0 to 1 between the points p 1a and p 2a is obtained. It is generated from fa (S a ). Similarly, instead of the variable Sb of the function fb (S b ), the function fb1p2 (Sb ′) that uses the variable Sb ′ normalized to be 0 to 1 between the points p 1b and p 2b is changed to the function fb. Generate from (S b ).

つぎに、ステップS504において、これら2つの関数を重みを付けて加算し、選択格子点s0の標高を求める関数f(S0')を以下の式(1)のように決定する。
f(S0')=(ka/(ka+kb))×fap1p2(S0')
+(kb/(ka+kb))×fbp1p2(S0') (1)
ここで、ka、kbは、それぞれ選択格子点s0から最近接の傾斜地格子点A、Bまでの等高線点列上の距離であり、S0’は、それぞれ選択格子点s0を通る折れ線上の選択格子点の座標であり、S0'は、それぞれ当該折れ線に対応する横軸上の点p2、p1で値0、1になるように正規化されている。
Next, in step S504, these two functions are added with weights, and a function f (S0 ′) for obtaining the elevation of the selected grid point s0 is determined as in the following equation (1).
f (S0 ′) = (ka / (ka + kb)) × fap1p2 (S0 ′)
+ (Kb / (ka + kb)) × fbp1p2 (S0 ′) (1)
Here, ka and kb are the distances on the contour line sequence from the selected grid point s0 to the nearest inclined grid points A and B, respectively, and S0 ′ is the selected grid on the polygonal line passing through the selected grid point s0. The coordinates of the points, S0 ′, are normalized so that the values are 0 and 1 at the points p2 and p1 on the horizontal axis corresponding to the broken line, respectively.

つぎに、ステップS505において、得られた関数の変数に選択格子点s0の座標S0'を入力し、その標高を得て標高データ29に格納する。こうして選択格子点が段差領域隣接点である場合でもその標高を得ることができる。こうして、最急方位点p1、p2のいずれかが段差領域隣接点である場合の段差領域隣接点用標高計算部50の処理は終了する。このように、段差領域点p2に隣接する選択格子点の標高を、近傍の傾斜地格子点に対する標高計算式を使用して決定することができる。点p1が段差領域点である場合の隣接する選択格子点についても、同様に点p1の近傍の傾斜地格子点に対する標高計算式を使用して決定することができる。
なお、式1において、kaとして、選択格子点s0から、変数S0'と同じ値を有する、傾斜地格子点Aを通る折れ線上の点までの距離を用いてもよい。Kbについても同様である。また、選択格子点の近傍の傾斜地格子点として、上記のような1対の傾斜地格子点より多い傾斜地格子点を使用してもよい。
Next, in step S505, the coordinate S0 ′ of the selected grid point s0 is input to the obtained function variable, the elevation is obtained, and stored in the elevation data 29. Thus, even when the selected grid point is a step region adjacent point, the altitude can be obtained. In this way, the process of the step area adjacent point elevation calculation unit 50 when either of the steepest azimuth points p1 and p2 is the step area adjacent point ends. In this manner, the elevation of the selected grid point adjacent to the step region point p2 can be determined using the elevation calculation formula for the nearby inclined ground grid point. Adjacent selected grid points in the case where the point p1 is a step region point can be similarly determined using an elevation calculation formula for an inclined ground grid point in the vicinity of the point p1.
In Equation 1, as ka, a distance from the selected grid point s0 to a point on the polygonal line passing through the inclined ground grid point A having the same value as the variable S0 ′ may be used. The same applies to Kb. Further, as the inclined ground lattice points in the vicinity of the selected lattice point, more inclined ground lattice points than the pair of inclined ground lattice points as described above may be used.

このように、標高計算部43は、選択格子点s0の近接点である点p1、p2の一方(例えばp2)が段差領域代表点列上にあるとき、点p2に近接する他の近接点として傾斜地格子点である格子点A、Bを追加して検出し、前記追加して検出された他の近接点(AとB)の位置と標高に基づいて当該第2種の格子点の標高を決定している。より具体的には、点A又はBのそれぞれに対する二つの最急方位点(pa1とpa2又はpb1とpb2)と当該格子点A又はBを結ぶ折れ線に対して決定された標高計算式を利用して、選択格子点に対する標高決定式を決定している。更に、選択格子点s0に対する近接点p1、p2と当該選択格子点を結ぶ折れ線上の当該選択格子点の座標と当該決定された標高決定式に基づいて、選択格子点s0の標高を決定している。当該選択格子点の座標は、正規化されていて、その正規化された座標は、近接点p1、p2、選択格子点s0の位置に依存しているので、当該選択格子点の標高は当該近接点p1、p2の位置にも依存して検出されていることにはなる。 As described above, when one of the points p1 and p2 (for example, p2) that is the proximity point of the selected grid point s0 is on the step region representative point sequence , the altitude calculation unit 43 sets the other proximity points close to the point p2. The grid points A and B, which are inclined ground grid points, are additionally detected, and the altitude of the second type grid point is determined based on the positions and altitudes of the other adjacent points (A and B) detected additionally. Has been decided. More specifically, using the altitude calculation formula determined for the polygonal line connecting the two steepest azimuth points (pa1 and pa2 or pb1 and pb2) for each of the points A or B and the grid point A or B. Thus, an altitude determination formula for the selected grid point is determined. Further, the altitude of the selected grid point s0 is determined based on the coordinates of the selected grid point on the broken line connecting the adjacent grid points p1 and p2 with respect to the selected grid point s0 and the selected grid point and the determined altitude determination formula. Yes. Since the coordinates of the selected grid point are normalized, and the normalized coordinates depend on the positions of the proximity points p1 and p2 and the selected grid point s0, the altitude of the selected grid point is the proximity. It is detected depending on the positions of the points p1 and p2.

もしステップS501において、点p1、p2のいずれもが段差領域隣接点でないと判断されたときには、段差領域隣接点の定義から判断して、選択格子点に対する2次最急方位点q1又はq2の少なくとも一方が段差領域点である。例えば、図13の場合には点q2が段差領域点である。図12においては、標高を決定すべき選択格子点の一方の最急方位点p2が段差領域上にあり、当該点p2に代えて他の一対の傾斜地格子点を使用して選択格子点の標高を決定した。図13においては、2次最急方位点q2が段差領域上であるので、図12の場合と同様に、点q2の近傍の一対の傾斜地格子点を使用して、点q2の標高を推定し、それを用いて選択格子点の標高を決定できることが期待される。   If it is determined in step S501 that neither of the points p1 and p2 is a step region adjacent point, it is determined from the definition of the step region adjacent point, and at least the secondary steepest azimuth point q1 or q2 with respect to the selected grid point is determined. One is a step area point. For example, in the case of FIG. 13, the point q2 is a step region point. In FIG. 12, one of the steepest azimuth points p2 of the selected grid point whose elevation is to be determined is on the stepped region, and the elevation of the selected grid point is replaced with another pair of inclined ground grid points instead of the point p2. It was determined. In FIG. 13, since the secondary steepest azimuth point q2 is on the stepped region, the altitude of the point q2 is estimated using a pair of inclined ground grid points in the vicinity of the point q2, as in FIG. It is expected that the elevation of the selected grid point can be determined using this.

そこで、段差領域隣接点用標高計算部50では、図14に示すようにステップS501において点p1、p2のいずれもが段差領域隣接点でないと判断されたときには、ステップS506において、点q1、q2のいずれかが段差領域点であるか否かを判別する。図13の場合にはq2が段差領域点であるであると判断されることになる。ステップS507において、判別された段差領域点(図13ではq2)に関して、ステップS502と同じ処理を行い、近傍の傾斜地格子点(図13の場合には格子点A、B)を検出する。なお、ステップS505において判別された段差領域点がq1、q2の両方であるときには、それぞれについて、ステップS502の処理を実行する。   Therefore, in the step region adjacent point elevation calculation unit 50, when it is determined in step S501 that neither of the points p1 and p2 is a step region adjacent point as shown in FIG. 14, in step S506, the points q1 and q2 are calculated. It is determined whether or not any of them is a step region point. In the case of FIG. 13, it is determined that q2 is a step region point. In step S507, the same processing as in step S502 is performed on the determined step region point (q2 in FIG. 13), and nearby inclined ground grid points (grid points A and B in the case of FIG. 13) are detected. When the step area points determined in step S505 are both q1 and q2, the process of step S502 is executed for each.

つぎにステップS508において、段差領域点と判断された2次最急方位点(例えばq2)に対して検出された近傍の傾斜地格子点(図13の場合には格子点A、B)に関して、ステップS503と同様な処理を実行して、それぞれの点に関する正規化された標高計算式を決定する。更に、ステップS509において、ステップS504と同様な処理を行い、段差領域点と判別された2次最急方位点(例えばq2)と対応する最急方位点(p2)を結ぶ線分に対する標高計算式を決定する。その後、ステップS510において、得られた計算式に段差領域(例えばq2)の座標S0'の値(図13の場合には0)を入力して、段差領域点(例えばq2)の標高を得て標高データ29に格納する。 Next, in step S508, with respect to the neighboring inclined ground grid points (lattice points A and B in the case of FIG. 13) detected with respect to the secondary steepest azimuth point (for example, q2) determined as the step region point. The same processing as S503 is executed to determine a normalized altitude calculation formula for each point. Further, in step S509, processing similar to that in step S504 is performed, and an altitude calculation formula for a line segment that connects the steepest azimuth point (p2) corresponding to the secondary steepest azimuth point (for example, q2) determined as the step region point. To decide. Then, obtained in step S510, the coordinate values S0 'of the stepped region point to the resulting formula (e.g., q2) to input (0 in the case of FIG. 13), the stepped region point elevations (e.g., q2) And stored in the altitude data 29.

こうして、2次最急方位点q2が段差領域点である場合にもその標高を推定できたので、点p1、p2、q1、q2の標高が全て決定できたことになる。したがって、ステップS511において、図10に示された、選択格子点が傾斜地点である格子点の場合におけるステップS431Bと同じく傾斜地用標高計算式を決定し、ステップS512において、図10のステップS431Cと同様に、得られた計算式に従って選択格子点の標高を決定すればよい。こうして段差領域隣接点用標高計算部50の処理が終了し標高計算部43の処理も終了する。   In this way, even when the secondary steepest azimuth point q2 is a step region point, the altitude can be estimated, so that the altitudes of the points p1, p2, q1, and q2 can all be determined. Accordingly, in step S511, the altitude calculation formula for the slope is determined in the same manner as in step S431B in the case where the selected grid point is a grid point shown in FIG. 10, and in step S512, the same as step S431C in FIG. In addition, the elevation of the selected grid point may be determined according to the obtained calculation formula. In this way, the processing of the step area adjacent point elevation calculation unit 50 ends, and the processing of the elevation calculation unit 43 also ends.

以上から分かるように、選択格子点の2次最急方位点q1、q2の一方(例えばq2)が段差領域上に位置する場合も、選択格子点に対する他の所定の条件を満たす他の近接点として当該点q2に最近接の傾斜地格子点を検出して、当該q2点の標高を、それらの傾斜地格子点の位置と標高に依存して決定し、その後点p1、p2、q1、q2に基づいて選択格子点の標高を決定しているので、当該他の近接点の標高と位置に依存して選択格子点の標高を決定していることになる。勿論、選択格子点の標高は、点p1、q1の位置と標高と点q2の位置にも依存している。   As can be seen from the above, even when one of the secondary steepest azimuth points q1 and q2 (for example, q2) of the selected grid point is located on the step region, other adjacent points that satisfy other predetermined conditions with respect to the selected grid point As a result, the sloped grid point closest to the point q2 is detected, and the altitude of the point q2 is determined depending on the position and elevation of the sloped grid point, and then based on the points p1, p2, q1, and q2. Therefore, the altitude of the selected grid point is determined depending on the altitude and position of the other adjacent points. Of course, the altitude of the selected grid point also depends on the positions of the points p1 and q1, the altitude, and the position of the point q2.

図1に戻り、標高データ生成装置1は、複数の等高線と三角点あるいは基準点のような複数の特定点を含む2次元地図画像に含まれた前記複数の等高線のそれぞれを点列で表す等高線点列データと前記複数の特定点の位置と標高を表す特定点データから、当該地図を格子に分割して得られる格子点群のそれぞれの格子点の標高を示す標高データを生成可能に構成されている。 Returning to Figure 1, the elevation data generating apparatus 1 to display the each of the plurality of contour lines included in the two-dimensional map image which includes a plurality of specific points such as a plurality of contour lines and the triangular point or a reference point in the sequence of points from an equal height line point sequence data specific point data representing the position and altitude of the plurality of specific points, capable of generating altitude data indicating the elevation of each grid point of the grid point group obtained by dividing the map in a grid It is configured.

既に述べたように、標高データ生成装置1は、等高線点列データに基づいて、各格子点について、等高線点列上に位置し所定の第1の条件を満たす複数の近接点を検出し、当該格子点について検出された前記複数の近接点の位置と標高に基づいて、当該格子点の標高を決定する。 As already mentioned, elevation data generating apparatus 1, based on equal contours point sequence data, for each grid point, the position and detects a predetermined first condition is satisfied more proximity points on the contour point sequence The altitude of the grid point is determined based on the positions and altitudes of the plurality of proximity points detected for the grid point.

標高データ生成装置1は、更に、前記等高線点列データと前記特定点データとに基づいて、各特定点について等高線点列上に位置し所定の第2の条件を満たす少なくとも一つの近接点を検出し、当該特定点について、所定の第3の条件を満たす当該特定点に近接した格子点を検出し、当該特定点の位置と標高と、当該特定点に対して検出された、当該特定点の前記少なくとも一つの近接点の位置と標高とに基づいて、当該特定点に対して検出された前記近接した格子点の標高を補正することができる。
すなわち、標高データ生成プログラム40は、標高計算部43により標高が決定された後に、特定点の近傍の格子点の標高を補正するために標高補正部44を実行する。標高補正部44は、三角点データ22A、基準点データ22Bのような特定点データで示される標高に基づいて、特定点の近傍の格子点の標高を補正する。
Elevation data generating apparatus 1 may further, based on the previous SL like contours point sequence data and the specific point data, the second condition is satisfied at least one adjacent position on the contour point sequence given for each particular point Detecting a point, detecting a lattice point close to the specific point satisfying a predetermined third condition for the specific point, detecting the position and altitude of the specific point, and the specific point Based on the position and altitude of the at least one adjacent point of the specific point, the altitude of the adjacent grid point detected with respect to the specific point can be corrected.
That is, the altitude data generation program 40 executes the altitude correction unit 44 to correct the altitude of the grid points in the vicinity of the specific point after the altitude calculation unit 43 determines the altitude. The altitude correction unit 44 corrects the altitude of the lattice points in the vicinity of the specific point based on the altitude indicated by the specific point data such as the triangular point data 22A and the reference point data 22B.

図15は、標高補正部44の処理の概略フローチャートである。まず、三角点データ、基準点データ等の特定点データに基づいて標高を補正する対象とする周囲の格子点の存在範囲である補正範囲データDmaxを、ユーザに入力装置31(図1)により入力させる(ステップS441)。例えば、補正範囲データDmaxは、補正範囲を三角点あるいは基準点を中心とする円形の範囲とする場合、その円の半径を示すものでもよく、補正範囲が三角点あるいは基準点を囲む正方形領域であるときには、その一辺の長さ又はその半分を指定してもよい。いずれの場合も、範囲は半径あるいは一辺又はその半分の長さを指定する代わりに、その長さに含まれる格子点の数を指定してもよい。   FIG. 15 is a schematic flowchart of the processing of the altitude correction unit 44. First, correction range data Dmax, which is an existence range of surrounding grid points whose elevation is to be corrected based on specific point data such as triangular point data and reference point data, is input to the user by the input device 31 (FIG. 1). (Step S441). For example, the correction range data Dmax may indicate the radius of the circle when the correction range is a triangular point or a circular range centered on the reference point, and the correction range is a square region surrounding the triangular point or the reference point. In some cases, the length of one side or half thereof may be specified. In either case, the range may specify the number of grid points included in the length instead of specifying the radius or the length of one side or half thereof.

つぎに、三角点データ22A、基準点データ22Bで示される多数の特定点の一つを選択する(ステップS442)。以下、選択された特定点を選択特定点と呼ぶことがある。選択特定点に対して最急方位探索部42の処理を実行させる(ステップS443)。既に説明したように、この処理により、選択特定点に対して、最急方位点p1、p2の座標と標高、2次最急方位点q1、q2の座標と標高及び選択特定点の属性が、傾斜地点、平地点、段差領域隣接点、段差領域点であるかどうかが判別される。   Next, one of a number of specific points indicated by the triangular point data 22A and the reference point data 22B is selected (step S442). Hereinafter, the selected specific point may be referred to as a selected specific point. The process of the steepest direction searching unit 42 is executed for the selected specific point (step S443). As described above, by this process, the coordinates and altitudes of the steepest azimuth points p1 and p2 and the coordinates and altitudes of the second steepest azimuth points q1 and q2 and the attributes of the selected specific points are selected with respect to the selected specific point. It is determined whether the point is an inclined point, a flat point, a step region adjacent point, or a step region point.

つぎに選択特定点の属性を判別し(ステップS444)、属性が傾斜地点であるときには、当該選択特定の標高を計算するための傾斜地特定点用標高計算式を決定する(ステップS445)。この決定方法は後に説明する。つぎに、得られた計算式に基づいて近傍の傾斜地格子点用標高補正式を決定する(ステップS446)。この決定方法も後に説明する。得られた標高補正式に基づいて、最初に指定され補正範囲Dmax内にある選択特定点の周辺の傾斜地格子点の標高を順次補正する(ステップS447)。なお、近傍の格子点が平地格子点、段差領域隣接格子点、段差領域格子点に対してはこの標高補正式を用いた補正は行わない。その後、未処理の三角点、基準点があるか否かが判別され(ステップS448)、まだあるときには処理はステップS442に戻る。もうないときには、標高補正部44の処理は終了する。したがって、ステップS447により補正を適用できる特定点の条件は、特定点が最急探索部により傾斜地特定点と判断されることである。また、ステップS447で補正される近傍の格子点の条件は、傾斜地格子点であって、選択特定点からの距離があらかじめユーザが指定した範囲内のものである。 Next, the attribute of the selected specific point is discriminated (step S444), and when the attribute is an inclined point, an altitude calculation formula for an inclined land specific point for calculating the altitude of the selected specific point is determined (step S445). This determination method will be described later. Next, an altitude correction formula for a nearby inclined grid point is determined based on the obtained calculation formula (step S446). This determination method will also be described later. Based on the obtained altitude correction formula, the altitudes of the sloped graticule points around the selected specific point that are initially specified and within the correction range Dmax are sequentially corrected (step S447). It should be noted that correction using this altitude correction formula is not performed for neighboring grid points, flat grid points, step area adjacent grid points, and step area grid points. Thereafter, it is determined whether or not there are unprocessed triangle points and reference points (step S448), and if there are any, the process returns to step S442. When there is no more, the processing of the altitude correction unit 44 ends. Therefore, the condition of the specific point to which the correction can be applied in step S447 is that the specific point is determined as the slope specific point by the steepest search unit. Further, the conditions of the neighboring grid points corrected in step S447 are the inclined ground grid points, and the distance from the selected specific point is within the range designated by the user in advance.

上記ステップS444において、選択特定点の属性が平地点であると判断されたときには、平地格子点用標高補正式を決定し(ステップS449)、ステップS447と同様に、選択特定点の周辺の平地格子点の標高を補正する(ステップS450)。したがって、ステップS450による補正を適用できる特定点の条件は、特定点が最急探索部により平地点と判断されることである。また、ステップS450で補正される近傍の格子点の条件は、平地点と判別された格子点であって、選択特定点からの距離があらかじめユーザが指定した範囲内のものである。平地格子点以外の格子点は選択特定点の近傍にある場合でも、ステップS450では標高は補正されない。 When it is determined in step S444 that the attribute of the selected specific point is a flat point, an elevation correction formula for a flat grid point is determined (step S449), and the flat grid around the selected specific point is determined as in step S447. The elevation of the point is corrected (step S450). Therefore, the condition for the specific point to which the correction in step S450 can be applied is that the specific point is determined as a flat spot by the steepest search unit. Further, the conditions of the neighboring grid points corrected in step S450 are grid points determined as flat spots, and the distance from the selected specific point is within the range designated by the user in advance. Even if grid points other than the flat grid points are in the vicinity of the selected specific point , the altitude is not corrected in step S450 .

ステップS450の後、処理は、ステップS448に移る。ステップS444での判定の結果、選択特定点が、傾斜地格子点、平地格子点以外の格子点(例えば段差領域隣接格子点又は段差領域格子点)であるときには、当該選択特定点に基づく標高の補正はしないで処理はステップS448に移る。   After step S450, the process proceeds to step S448. As a result of the determination in step S444, when the selected specific point is a grid point other than the inclined ground grid point and the flat ground grid point (for example, a step area adjacent grid point or a step area grid point), the elevation correction based on the selected specific point is performed. Without processing, the process proceeds to step S448.

周辺の格子点が段差領域隣接点であるときには、その標高は、既に説明したように、周辺の傾斜地格子点の標高と位置などの情報を利用して推定されている。したがって、選択特定点の標高に基づいてその推定を更に変更することは、2重の推定を行うことになるため、必ずしも望ましい結果が得られるとは限らない。したがって、本実施の形態では、選択特定点の標高を用いて段差領域隣接点に対する標高を補正することは省略している。しかし、そのような補正をするようにしてもよい。特に、段差領域隣接点である格子点の近傍にいずれかの選択特定点が位置し、前者に対して標高計算部43により決定された標高と、選択特定点の標高の差があらかじめ定めた限度より大きい場合には、選択特定点の標高により適当に標高を補正するようにしてもよい。ただし、選択格子点が段差領域点である場合には、標高計算部43もその標高を決定していないので、標高補正部44は、段差領域点である選択格子点に対して補正は行わない。   When the surrounding grid point is a step region adjacent point, the altitude is estimated using information such as the altitude and position of the surrounding inclined ground grid point, as already described. Therefore, further changing the estimation based on the altitude of the selected specific point results in a double estimation, and therefore a desired result is not always obtained. Therefore, in the present embodiment, correction of the altitude for the step area adjacent point using the altitude of the selected specific point is omitted. However, such correction may be performed. In particular, any selected specific point is located in the vicinity of a grid point that is a step region adjacent point, and the difference between the altitude determined by the altitude calculating unit 43 relative to the former and the altitude of the selected specific point is a predetermined limit. If it is larger, the altitude may be corrected appropriately according to the altitude of the selected specific point. However, when the selected grid point is a step area point, the altitude calculation unit 43 has not determined the altitude, so the altitude correction unit 44 does not correct the selected grid point that is the step area point. .

図16は、図15のステップS44における傾斜地特定点用標高計算式を決定する手順を説明するための図である。同図(a)は、最急方位探索部42により、選択特定点Inに基づいて、一例として等高線点列上に位置する最急方位点B、C、2次最急方位点A、Dの位置と標高が決定されたことを示している。図ではこれらの点を標高が低いものから順に点A、点B、点C、点Dとしている。選択特定点Inが傾斜地特定点であるときには、点A、B、C、Dは全て傾斜地点であり、段差領域隣接点でもなく段差領域点でもない。 Figure 16 is a diagram for explaining the procedure for determining the use slopes specific point altitude formula in step S44 5 in Fig. 15. In FIG. 6A, the steepest azimuth searching unit 42 uses, as an example, the steepest azimuth points B and C and the secondary steepest azimuth points A and D located on the contour line sequence based on the selected specific point In. It indicates that the position and elevation have been determined. In the figure, these points are point A, point B, point C, and point D in order from the lowest elevation. When the selected specific point In is an inclined land specific point, the points A, B, C, and D are all inclined points and are not step region adjacent points or step region points.

同図(b)において、横軸は、等高線点列上で、点A、B、C、Dを結ぶ折れ線をそれぞれの点の間の距離を維持しながら並べた直線上の座標Sを表す。点Sa、Sb、Sc、Sdは、それぞれ上記折れ線上の点A、B、C、Dに対応する横軸上の座標を表し、Sinは、傾斜地点である選択された特定点Inに対する上記横軸上の座標を表す。横軸の座標の原点は原理的には任意の点に決めてよいが、後に述べる周辺の格子点の標高を補正するときのために、点Sb、Scの座標が0、1となるように、横軸の座標を正規化しておくのがよい。 In FIG. 6B, the horizontal axis represents coordinates S on a straight line in which broken lines connecting points A, B, C, and D are arranged on the contour line sequence while maintaining the distance between the points. Points Sa, Sb, Sc, and Sd represent the coordinates on the horizontal axis corresponding to points A, B, C, and D on the polygonal line, respectively, and Sin represents the horizontal to the selected specific point In that is an inclined point. Represents a coordinate on the axis. Although the origin of the coordinate on the horizontal axis may be determined arbitrarily in principle, the coordinates of the points Sb and Sc are set to 0 and 1 in order to correct the altitude of the surrounding grid points described later. It is better to normalize the coordinates of the horizontal axis.

L1、L21、L22、L3はそれぞれ点Scと点Sdとの間の距離、点Sinと点Scとの間の距離、点Sbと点Sinとの間の距離、点Saと点Sbとの間の距離を表す。縦軸は標高を表し、ha、hb、hc、hdはそれぞれ、点A、B、C、Dにおける標高を表し、これらの標高は、それぞれの点を通過する等高線の標高として等高線点列データ21Aにより与えられている。hinは、選択特定点Inの標高であり、この標高は、特定点データにより与えられている。H1、H21、H22、H3はそれぞれ、点DとC間の標高差、点CとIn間の標高差、点InとB間の標高差、点BとA間の標高差を表す。   L1, L21, L22, and L3 are the distance between the point Sc and the point Sd, the distance between the point Sin and the point Sc, the distance between the point Sb and the point Sin, and the distance between the point Sa and the point Sb, respectively. Represents the distance. The vertical axis represents the altitude, and ha, hb, hc, and hd represent the altitudes at points A, B, C, and D, respectively, and these altitudes are contour line sequence data 21A as the altitudes of the contour lines that pass through the respective points. Is given by. Hin is the altitude of the selected specific point In, and this altitude is given by the specific point data. H1, H21, H22, and H3 represent an elevation difference between points D and C, an elevation difference between points C and In, an elevation difference between points In and B, and an elevation difference between points B and A, respectively.

選択特定点In付近の傾斜を表す式の例として使用する関数fr(S)の例は、同図(c)の60に示すように、横軸上の点SbからSinに対して有効な関数fr1(S)と、横軸上の点SinからScに対して有効な関数fr2(S)により与えられる。いずれの関数も、図11(b)に例示されたのと同じく、上記折れ線上の(すなわち、折れ線に対する横軸上の)距離Sの3次元エルミート関数である。これら2つの関数の組が傾斜地特定点用標高計算式として使用される。   An example of a function fr (S) used as an example of an expression representing the inclination near the selected specific point In is a function effective for points Sb to Sin on the horizontal axis, as indicated by 60 in FIG. It is given by fr1 (S) and a function fr2 (S) effective for Sc from the point Sin on the horizontal axis. Each of the functions is a three-dimensional Hermitian function of the distance S on the broken line (that is, on the horizontal axis with respect to the broken line), as illustrated in FIG. 11B. A set of these two functions is used as an altitude calculation formula for the slope specific point.

同図(d)は、上記関数fr1(S)、fr2(S)を決定するための条件を示す図である。符号61、62は、それぞれ点B、Inにおける標高が点B、Inにおける等高線の標高hb、hinであることを示し、符号63、64は、関数fr1の点B、Inにおける微分係数(勾配)があらかじめ指定された値β、γであることを示す。符号65、66は、それぞれ点In、Cにおける標高が点In、Cにおける等高線の標高hin、hcであることを示し、符号67、68は、関数fr2の点In、Cにおける微分係数(勾配)があらかじめ指定された値γ、αであることを示す。   FIG. 4D is a diagram showing conditions for determining the functions fr1 (S) and fr2 (S). Reference numerals 61 and 62 indicate that the elevations at the points B and In are contour elevations hb and hin at the points B and In, respectively, and reference numerals 63 and 64 indicate differential coefficients (gradients) at the points B and In of the function fr1. Indicates that the values β and γ are designated in advance. Reference numerals 65 and 66 indicate that the elevations at the points In and C are the elevations hin and hc of the contour lines at the points In and C, respectively, and reference numerals 67 and 68 indicate the differential coefficients (gradients) at the points In and C of the function fr2. Indicates that the values γ and α are designated in advance.

1次差分法により上記エルミート関数fr1、fr2を決定するときには、上記α、β、γは、符号69、70、71により与えられる。符号69は点Inと点Dの間の平均勾配αを表し、符号70は点Aと点Inの間の平均勾配βを表し、符号71は点Bと点Cの間の平均勾配γを示す。符号63は点Bにおける関数fr1(S)の勾配が上記平均勾配βに等しいことを示し、符号64は点Inにおける関数fr1(S)の勾配が上記平均勾配γに等しいことを示し、符号67は点Inにおける関数fr2(S)の勾配が上記平均勾配γに等しいことを示し、符号68は点Cにおける関数fr2(S)の勾配が上記平均勾配αに等しいことを示す。これらの条件により、関数fr1(S)、fr2(S)という二つの3次元関数のそれぞれの係数a、b、c、dが決定される。こうして関数fr1(S)、fr2(S)が決定され、傾斜地特定点用標高計算式fr(S)も決定される。   When the Hermitian functions fr1 and fr2 are determined by the first-order difference method, the α, β and γ are given by reference numerals 69, 70 and 71, respectively. Reference numeral 69 represents an average gradient α between the points In and D, reference numeral 70 represents an average gradient β between the points A and In, and reference numeral 71 represents an average gradient γ between the points B and C. . Reference numeral 63 indicates that the gradient of the function fr1 (S) at the point B is equal to the average gradient β, and reference numeral 64 indicates that the gradient of the function fr1 (S) at the point In is equal to the average gradient γ. Indicates that the gradient of the function fr2 (S) at the point In is equal to the average gradient γ, and reference numeral 68 indicates that the gradient of the function fr2 (S) at the point C is equal to the average gradient α. Under these conditions, the coefficients a, b, c and d of the two three-dimensional functions called functions fr1 (S) and fr2 (S) are determined. Thus, the functions fr1 (S) and fr2 (S) are determined, and the altitude calculation formula fr (S) for the slope specific point is also determined.

図17は、以上のようにして得られた傾斜地特定点用標高計算式fr(S)を用いて、図15のステップS44において傾斜地用標高補正式を決定する手順を説明するための図である。図において、選択特定点Inと、それに対して決定された最急方位点B、Cと、その選択特定点Inの近傍に位置する標高を補正する対象となる格子点Rとその格子点の最急方位点pr1、pr2とが示されている。 Figure 17 is a diagram for explaining the procedure for using the above-obtained slope specific point for the altitude calculation equation fr (S), determines a slope for the altitude correction equation in step S44 6 in FIG. 15 is there. In the figure, the selected specific point In, the steepest azimuth points B and C determined for the selected specific point In, the lattice point R to be corrected for the altitude located in the vicinity of the selected specific point In, and the maximum of the lattice points. Steep bearing points pr1 and pr2 are shown.

補正対象格子点Rの補正後の標高を表す傾斜地格子点用標高補正式は、次式fm(S)で与えられる。
fm(S)=(1−D/Dmax)×fr(S)+(D/Dmax)×f(S) (2)
ここで、f(S)は、補正対象格子点Rの点pr1、pr2を結ぶ折れ線上での標高を与える傾斜地格子点用標高計算式であり、図10のステップS431Bで決定されたものを、その折れ線を直線に延ばしたときのその線上での点pr1、pr2に対する座標が0、1となるように、直線上の座標を規格化したものである。上記式2において、変数Sの値として、この折れ線上における補正対象格子点Rの座標値S0を用いる。(S)は、ステップS44で決定された、選択特定点に対する傾斜特定点用標高計算式である。この変数Sも点BからCに対応して値0、1となるように定めてある。Dmaxは、最初にユーザが指定した補正適用範囲データを示すものであり、Dは選択特定点Inから対象格子点Rまでの距離を表す。
The elevation correction formula for the inclined ground grid point representing the corrected altitude of the correction target grid point R is given by the following formula fm (S).
fm (S) = (1−D / Dmax) × fr (S) + (D / Dmax) × f (S) (2)
Here, f (S) is an altitude calculation formula for an inclined grid point that gives an altitude on the polygonal line connecting the points pr1 and pr2 of the correction target grid point R, and is determined in step S431B of FIG. The coordinates on the straight line are normalized so that the coordinates for the points pr1 and pr2 on the line when the broken line is extended to a straight line are 0 and 1. In the above equation 2, as the value of the variable S, the coordinate value S0 of the correction target grid point R on the broken line is used. f r (S) is determined in step S44 5, is altitude formula gradient specific point for the selected specific point. This variable S is also determined to have values 0 and 1 corresponding to points B to C. Dmax indicates the correction application range data initially designated by the user, and D represents the distance from the selected specific point In to the target grid point R.

この式2によれば、D=0のときには、fm(S)は、fr(S)に等しくなり、選択特定点を通過する折れ線上の点の標高と一致し、D=Dmaxのときには、fm(S)は、f(S)に等しくなり補正はされないことが分かる。D=Dmax/2のときには、fm(S)は、(fr(S)+f(S))/2となる。したがって、選択特定点からの距離に応じて、選択特定点の標高の影響が減少することが分かる。なお、距離Dは、上記のような定義による距離Dでなくても、他の値を使用してもよい。補正用計算式2自身を変更してもよいのは言うまでもない。補正対象格子点Rが傾斜地点である格子点であるときには、上記式2が図15のステップS446において決定される傾斜地格子点用標高補正式になる。 According to Equation 2, when D = 0, fm (S) is equal to fr (S) and coincides with the elevation of the point on the broken line passing through the selected specific point, and when D = Dmax, fm It can be seen that (S) is equal to f (S) and is not corrected. When D = Dmax / 2, fm (S) is (fr (S) + f (S)) / 2. Therefore, it can be seen that the influence of the altitude of the selected specific point decreases according to the distance from the selected specific point. The distance D is not limited to the distance D defined as described above, and other values may be used. Needless to say, the correction formula 2 itself may be changed. When the correction target grid point R is a grid point that is an inclined point, the above equation 2 is an altitude correction formula for the inclined ground grid point determined in step S446 of FIG.

図18は、選択特定点が平地点である場合に実行される、図15のステップS449における平地格子点用標高補正式を決定する手順を説明する図である。同図(a)において、等高線C1、C2等がある等高線点列上において、格子点Rが等高線C1内にある平地上にあるとする。図において、pr1、pr2は格子点Rに対して検出された2つの最急方位点の例を示す。図15の標高補正部44の実行中に選択特定点Inに対してもその標高を無視して最急方位探索部42を実行させた結果、選択特定点Inも平地点と判断された場合において、選択特定点Inとその近傍にある補正対象となる格子点Rとの位置関係と当該選択特定点の標高と当該平地の標高とにより、格子点Rの標高を補正することができる。選択特定点Inは、等高線が記載される地図上に存在する点として表示されるので、図でも選択特定点Inは格子点Rが位置する平面上にある点として表している。以下の標高の補正の説明のために、この特定点Inの垂直方向に位置し、この特定点の標高を有する点をIn*として示し、格子点Rの垂直方向に位置し、その標高を補正した後の点をR*として示している。 FIG. 18 is a diagram illustrating a procedure for determining the elevation correction formula for a flat ground grid point in step S449 of FIG. 15 executed when the selected specific point is a flat spot. In FIG. 5A, it is assumed that the lattice point R is on the flat ground within the contour line C1 on the contour point sequence having the contour lines C1, C2, and the like. In the figure, pr1 and pr2 are examples of two steepest azimuth points detected with respect to the lattice point R. When the selected specific point In is determined to be a flat spot as a result of executing the steepest azimuth searching unit 42 while ignoring the altitude of the selected specific point In during the execution of the altitude correcting unit 44 of FIG. The altitude of the grid point R can be corrected based on the positional relationship between the selected specific point In and the lattice point R to be corrected in the vicinity thereof, the altitude of the selected specific point, and the altitude of the flat land. Since the selected specific point In is displayed as a point existing on the map on which the contour lines are described, the selected specific point In is also represented as a point on the plane on which the lattice point R is located in the figure. For the following explanation of altitude correction, the point located in the vertical direction of this specific point In, the point having the altitude of this specific point is shown as In *, and the altitude is corrected in the vertical direction of the grid point R. The point after this is shown as R *.

具体的には、選択特定点Inと格子点Rを結ぶ線を格子点Rの後方に延長して等高線C1との交点Qを検出する。実際には、交点Qは、等高線C1の形状、位置によっては選択特定点Inよりかなり遠方に位置する場合もあるが、交点Qは、その点と選択特定点Inとの間の距離に依らず、図17に示された選択格子点が傾斜地格子点の場合に検出された近接点B、Cと同様に、選択特定点Inの近傍の格子点の標高を補正するための、選択特定点Inの近接点と考える。点Qは等高線C1上の点であるため、標高は等高線C1が示す標高hptに等しい。選択特定点Inと点Qを結ぶ平面上の直線80上に沿って選択特定点Inからの距離Dを変数として使用する。選択特定点Inの垂直方向に位置し、当該特定点Inの標高を有する点In*と点Qを結ぶ直線90上の点の標高を、直線80上の距離Dにある点に対する補正後の標高を表す補正式に使用することができる。同図(b)の符号72は、直線90が表す補正後の標高fm(D)を示す標高の補正式である。   Specifically, a line connecting the selected specific point In and the lattice point R is extended to the rear of the lattice point R to detect the intersection Q with the contour line C1. Actually, the intersection point Q may be located far from the selected specific point In depending on the shape and position of the contour line C1, but the intersection point Q does not depend on the distance between the point and the selected specific point In. The selected specific point In for correcting the altitude of the grid point in the vicinity of the selected specific point In is the same as the adjacent points B and C detected when the selected grid point shown in FIG. Think of it as a close point. Since the point Q is a point on the contour line C1, the altitude is equal to the altitude hpt indicated by the contour line C1. The distance D from the selected specific point In is used as a variable along the straight line 80 on the plane connecting the selected specific point In and the point Q. The elevation of the point on the straight line 90 located in the vertical direction of the selected specific point In and connecting the point In * having the elevation of the specific point In and the point Q is corrected to the point at the distance D on the straight line 80. Can be used in a correction formula representing Reference numeral 72 in FIG. 6B is an altitude correction formula indicating the corrected altitude fm (D) represented by the straight line 90.

同図(c)は、補正式fm(D)に関する条件を示す。まず、符号73に示すように、補正後の標高fmは、選択特定点Inにおいては、選択特定点の標高hinに等しいことを示す。符号74は、点Qにおける補正後の標高fmは、元の等高線C1の標高hptに等しいことを示す。これらの条件により符号72に示した補正式の係数a、bが決定される。その結果、選択特定点Inから点Qまでの距離をDqとすると、距離Dの位置における標高の補正式fm(D)は、同図(d)の符号75で示す式になる。格子点Rと選択特定点Inの間の距離をDrとすると、格子点Rに対する補正後の標高、すなわち点R*の標高fm(Dr)は、同図(d)の符号76に示すものになる。
本発明は、以上の実施の形態に限定されるものではなく、発明の要旨を変更しない範囲内において変更、修正してもよいことは言うまでもな。例えば、以上の実施の形態では、格子点の位置を決定するために、最急方位法により格子点の近傍の等高線上の複数の点を決定したが、他の方法を使用して近傍の点を決定してもよい。
FIG. 6C shows conditions regarding the correction formula fm (D). First, as indicated by reference numeral 73, the corrected altitude fm is equal to the altitude hin of the selected specific point at the selected specific point In. Reference numeral 74 indicates that the corrected altitude fm at the point Q is equal to the altitude hpt of the original contour line C1. Under these conditions, the coefficients a and b of the correction formula indicated by reference numeral 72 are determined. As a result, assuming that the distance from the selected specific point In to the point Q is Dq, the altitude correction formula fm (D) at the position of the distance D is expressed by the symbol 75 in FIG. When the distance between the grid point R and the selected specific point In is Dr, the corrected altitude for the grid point R, that is, the altitude fm (Dr) of the point R * is as shown by reference numeral 76 in FIG. Become.
The present invention is not limited to the above embodiments, modifications within the scope not changing the gist of the invention may also be modified not needless to say. For example, in the above embodiment, in order to determine the position of the lattice point, a plurality of points on the contour line in the vicinity of the lattice point are determined by the steepest azimuth method. May be determined.

本発明に係る標高データ生成装置の一つの実施形態の概略ブロック図である。1 is a schematic block diagram of an embodiment of an elevation data generation apparatus according to the present invention. 等高線地図画像データのいくつかの例を示す図である。It is a figure which shows some examples of contour map image data. 段差領域記号画像及び段差領域代表点列の例を示す図である。It is a figure which shows the example of a level | step difference area | region symbol image and a level | step difference area | region representative point sequence . 段差領域記号画像検出用標準パターン群の例を示す図である。It is a figure which shows the example of the standard pattern group for level | step difference area | region symbol image detection. 段差領域抽出部の処理の概略フローチャートである。It is a schematic flowchart of the process of a level | step difference area extraction part. 段差領域代表点列を模式的に示す図である。It is a figure which shows a level | step difference area | region representative point sequence typically. 最急方位データの例を示す図である。It is a figure which shows the example of the steepest direction data. 最急方位探索部の処理の概略フローチャートである。It is a schematic flowchart of a process of the steepest direction search part. いろいろな属性の格子点を含む等高線地図画像の例を示す図である。It is a figure which shows the example of the contour map image containing the grid point of various attributes. 標高計算部の処理の概略フローチャートである。It is a schematic flowchart of the process of an altitude calculation part. 傾斜地点用標高計算式の決定例と傾斜地点の標高の計算を説明するための図である。It is a figure for demonstrating the example of the determination of the altitude calculation formula for inclination points, and the calculation of the altitude of an inclination point. 選択格子点が、対応する二つの最急方位点の一方が段差領域点であるために段差領域隣接点と判断される等高線地図画像の例を示す図である。FIG. 10 is a diagram illustrating an example of a contour map image in which a selected grid point is determined to be a step region adjacent point because one of the corresponding two steepest azimuth points is a step region point. 選択格子点が、対応する二つの2次最急方位点の少なくとも一方が段差領域点であるために段差領域隣接点と判断される等高線地図画像の例を示す図である。It is a figure which shows the example of the contour map image from which the selected grid point is judged to be a step area adjacent point because at least one of the corresponding two secondary steepest bearing points is a step area point. 段差領域隣接点用標高計算部の処理の概略フローチャートである。It is a schematic flowchart of the process of the height calculation part for level | step difference area | region adjacent points. 標高補正部の処理の概略フローチャートである。It is a schematic flowchart of the process of an altitude correction | amendment part. 図15における傾斜地特定点用標高計算式を決定する手順を説明するための図である。It is a figure for demonstrating the procedure which determines the altitude calculation formula for slope specific points in FIG. 図15での傾斜地特定点用標高補正式を決定する手順を説明するための図である。It is a figure for demonstrating the procedure which determines the elevation correction formula for slope specific points in FIG. 選択特定点が平地点である場合に実行される平地特定点用標高補正式を決定する手順を説明する図である。It is a figure explaining the procedure which determines the elevation correction formula for flat land specific points performed when a selection specific point is a flat point.

符号の説明Explanation of symbols

260…段差領域代表記号画像、26、26A、26B、26C…段差領域代表点列、p1、p2…最急方位点、q1、q2…2次最急方位点、s0…格子点、In…三角点又は基準点。



260 ... step region representative symbol image, 26, 26A, 26B, 26C ... step region representative point sequence, p1, p2 ... steepest azimuth point, q1, q2 ... secondary steepest azimuth point, s0 ... lattice point, In ... triangle Point or reference point.



Claims (11)

等高線及び段差領域記号を含む2次元地図画像に含まれた複数の等高線のそれぞれを点列で表す等高線点列データと当該段差領域記号で表された段差領域を代表する段差領域代表点列データから、当該地図を格子に分割して得られる格子点群のそれぞれの格子点の標高を示す標高データを生成する標高データ生成方法であって、
前記複数の等高線点列データと前記段差領域代表点列データに基づいて、各格子点について、等高線点列データ上又は段差領域代表点列データ上に位置し所定の条件を満たす複数の近接点を検出する検出ステップと、
各格子点について、前記検出ステップで検出された複数の近接点の中に段差領域代表点列データ上に位置する近接点が含まれているか否かを判別する判別ステップと、
前記複数の格子点のうち、前記検出ステップで検出された複数の近接点の中に段差領域代表点列データ上に位置する近接点が含まれていないと前記判別ステップで判別された第1種の格子点については、当該複数の近接点の位置と標高に基づいて、当該第1種の格子点の標高を決定する第1標高決定ステップと、
前記複数の格子点のうち、前記検出ステップで検出された複数の近接点の中に段差領域代表点列データ上の近接点が含まれていると前記判別ステップで判別された第2種の格子点については、当該段差領域代表点列データ上にはない、他の所定の条件を満たす当該格子点の他の近接点を追加して検出する追加検出ステップと、
当該第2種の格子点について、少なくとも前記追加して検出された他の近接点の位置と標高に基づいて当該第2種の格子点の標高を決定する第2標高決定ステップと、
を含むことを特徴とする標高データ生成方法。
From contour line sequence data representing each of a plurality of contour lines included in a two-dimensional map image including contour lines and step region symbols as point sequences, and step region representative point sequence data representing the step regions represented by the step region symbols. , An altitude data generation method for generating altitude data indicating the altitude of each grid point of a grid point group obtained by dividing the map into grids,
Based on the plurality of contour point sequence data and the step region representative point sequence data, for each grid point, a plurality of proximity points that are located on the contour point sequence data or the step region representative point sequence data and satisfy a predetermined condition are determined. A detection step to detect;
For each grid point, a determination step for determining whether or not a plurality of proximity points detected in the detection step includes a proximity point located on the step region representative point sequence data;
Of the plurality of grid points, the first type determined in the determination step that the plurality of proximity points detected in the detection step does not include a proximity point located on the step region representative point sequence data A first altitude determination step for determining the altitude of the first type of grid points based on the positions and altitudes of the plurality of adjacent points;
The second type of lattice determined in the determining step when the adjacent points on the step region representative point sequence data are included in the plurality of adjacent points detected in the detecting step among the plurality of lattice points. For the point, an additional detection step of adding and detecting other neighboring points of the grid point that do not exist on the step region representative point sequence data and satisfy other predetermined conditions;
A second altitude determination step for determining the altitude of the second type of grid points based on at least the positions and altitudes of the other adjacent points detected in addition to the second type of grid points;
The altitude data generation method characterized by including.
複数の等高線と複数の特定点を含む2次元地図画像に含まれた前記複数の等高線のそれぞれを点列で表す複数の等高線点列データと前記複数の特定点の位置と標高を表す特定点データから、当該地図を格子に分割して得られる格子点群のそれぞれの格子点の標高を示す標高データを生成する標高データ生成方法であって、
前記複数の等高線点列データに基づいて、各格子点について、等高線点列データ上に位置し所定の第1の条件を満たす複数の近接点を検出する第1検出ステップと、
当該格子点について前記第1検出ステップで検出された前記複数の近接点の位置と標高に基づいて、当該格子点の標高を決定する決定ステップと、
前記複数の等高線点列データと前記特定点データとに基づいて、各特定点について等高線点列データ上に位置し所定の第2の条件を満たす少なくとも一つの近接点を検出する第2検出ステップと、
当該特定点について、所定の第3の条件を満たし当該特定点に近接した、標高を補正すべき格子点を検出する第3検出ステップと、
当該特定点の位置と標高と、当該特定点に対して前記第2検出ステップで検出された、当該特定点の前記少なくとも一つの近接点の位置と標高とに基づいて、前記第3検出ステップで当該特定点に対して検出された前記近接した格子点の標高を補正する補正ステップと、
を含むことを特徴とする標高データ生成方法。
A plurality of contour point sequence data representing each of the plurality of contour lines contained in a two-dimensional map image including a plurality of contour lines and a plurality of specific points, and specific point data representing the positions and elevations of the plurality of specific points From the altitude data generating method for generating altitude data indicating the altitude of each grid point of the grid point group obtained by dividing the map into grids,
A first detection step of detecting a plurality of proximity points located on the contour line sequence data and satisfying a predetermined first condition for each grid point based on the plurality of contour line sequence data;
A determination step of determining an altitude of the grid point based on the positions and altitudes of the plurality of proximity points detected in the first detection step for the grid point;
A second detection step of detecting at least one proximity point that is located on the contour line sequence data for each specific point and satisfies a predetermined second condition based on the plurality of contour line sequence data and the specific point data; ,
For the specific point, a third detection step for detecting a grid point that satisfies a predetermined third condition and is close to the specific point and whose altitude is to be corrected;
Based on the position and altitude of the specific point and the position and altitude of the at least one proximity point of the specific point detected in the second detection step with respect to the specific point, in the third detection step A correction step of correcting the altitude of the adjacent grid points detected with respect to the specific point;
The altitude data generation method characterized by including.
等高線及び段差領域記号を含む2次元地図画像に含まれた複数の等高線のそれぞれを点列で表す等高線点列データと当該段差領域記号で表された段差領域を代表する段差領域代表点列データから、当該地図を格子に分割して得られる格子点群のそれぞれの格子点の標高を示す標高データを生成する標高データ生成プログラムであって、
前記複数の等高線点列データと前記段差領域代表点列データに基づいて、各格子点について等高線点列データ上又は段差領域代表点列データ上に位置し所定の条件を満たす複数の近接点を検出する検出ステップと、
各格子点について、前記検出ステップで検出された複数の近接点の中に段差領域代表点列データ上に位置する近接点が含まれているか否かを判別する判別ステップと、
前記複数の格子点のうち、前記検出ステップで検出された複数の近接点の中に段差領域代表点列データ上に位置する近接点が含まれていないと前記判別ステップで判別された第1種の格子点については、当該複数の近接点の位置と標高に基づいて、当該第1種の格子点の標高を決定する第1標高決定ステップと、
前記複数の格子点のうち、前記検出ステップで検出された複数の近接点の中に段差領域代表点列データ上の近接点が含まれていると前記判別ステップで判別された第2種の格子点については、当該段差領域代表点列データ上にはない、他の定の条件を満たす当該格子点の他の近接点を追加して検出する追加検出ステップと、
当該第2種の格子点について、少なくとも前記追加して検出された他の近接点の位置と標高に基づいて当該第2種の格子点の標高を決定する第2標高決定ステップと、
をコンピュータに実行させることを特徴とする標高データ生成プログラム。
From contour line sequence data representing each of a plurality of contour lines included in a two-dimensional map image including contour lines and step region symbols as point sequences, and step region representative point sequence data representing the step regions represented by the step region symbols. , An altitude data generation program for generating altitude data indicating the altitude of each grid point of the grid point group obtained by dividing the map into grids,
Based on the plurality of contour point sequence data and the step region representative point sequence data, a plurality of proximity points that are located on the contour point sequence data or the step region representative point sequence data for each grid point are detected. Detecting step to
For each grid point, a determination step for determining whether or not a plurality of proximity points detected in the detection step includes a proximity point located on the step region representative point sequence data;
Of the plurality of grid points, the first type determined in the determination step that the plurality of proximity points detected in the detection step does not include a proximity point located on the step region representative point sequence data A first altitude determination step for determining the altitude of the first type of grid points based on the positions and altitudes of the plurality of adjacent points;
The second type of lattice determined in the determining step when the adjacent points on the step region representative point sequence data are included in the plurality of adjacent points detected in the detecting step among the plurality of lattice points. For the point, an additional detection step of detecting by adding other adjacent points of the grid point that do not exist on the step region representative point sequence data and satisfy other constant conditions;
A second altitude determination step for determining the altitude of the second type of grid points based on at least the positions and altitudes of the other adjacent points detected in addition to the second type of grid points;
An altitude data generation program characterized by causing a computer to execute.
前記第2種の格子点に対して追加して検出する他の近接点は、前記第2種の格子点に最近接の1対の格子点を含むことを特徴とする請求項3に記載の標高データ生成プログラム。 The other proximity point that is detected in addition to the second type grid point includes a pair of grid points closest to the second type grid point. Elevation data generation program. 各格子点に対して前記検出ステップで検出される前記複数の近接点は、当該格子点から見て複数の最急方位に位置し、等高線点列データ上又は段差領域代表点列データ上に位置する複数の近接点を含むことを特徴とする請求項3又は4に記載の標高データ生成プログラム。 The plurality of proximity points detected in the detection step with respect to each grid point are positioned in a plurality of steepest directions as viewed from the grid point, and are positioned on the contour line sequence data or the step region representative point sequence data. The altitude data generation program according to claim 3 or 4, comprising a plurality of proximity points. 各格子点に対して前記検出ステップで検出される前記複数の近接点は、当該複数の最急方位に位置する複数の近接点のうち等高線点列データ上にある近接点から見てその後方に位置し、最急方位に位置する近接点を更に含むことを特徴とする請求項5に記載の標高データ生成プログラム。 The plurality of proximity points detected in the detection step with respect to each lattice point are behind the plurality of proximity points located in the steepest azimuth as viewed from the proximity points on the contour line sequence data. The altitude data generation program according to claim 5, further comprising a proximity point located and located in the steepest direction. 複数の等高線と複数の特定点を含む2次元地図画像に含まれた前記複数の等高線のそれぞれを点列で表す複数の等高線点列データと前記複数の特定点の位置と標高を表す特定点データから、当該地図を格子に分割して得られる格子点群のそれぞれの格子点の標高を示す標高データを生成する標高データ生成プログラムであって、
前記複数の等高線点列データに基づいて、各格子点について、等高線点列データ上に位置し所定の第1の条件を満たす複数の近接点を検出する第1検出ステップと、
当該格子点について前記第1検出ステップで検出された前記複数の近接点の位置と標高に基づいて、当該格子点の標高を決定する決定ステップと、
前記複数の等高線点列データと前記特定点データとに基づいて、各特定点について、等高線点列データ上に位置し所定の第2の条件を満たす少なくとも一つの近接点を検出する第2検出ステップと、
当該特定点について、所定の第3の条件を満たし当該特定点に近接した、標高を補正すべき格子点を検出する第3検出ステップと、
当該特定点の位置と標高と、当該特定点に対して前記第2検出ステップで検出された、当該特定点の前記少なくとも一つの近接点の位置と標高とに基づいて、前記第3検出ステップで当該特定点に対して検出された前記近接した格子点の標高を補正する補正ステップと、
をコンピュータに実行させることを特徴とする標高データ生成プログラム。
A plurality of contour point sequence data representing each of the plurality of contour lines included in a two-dimensional map image including a plurality of contour lines and a plurality of specific points, and specific point data representing the positions and elevations of the plurality of specific points From the elevation data generation program for generating elevation data indicating the elevation of each grid point of the grid point group obtained by dividing the map into grids,
A first detection step of detecting a plurality of proximity points located on the contour line sequence data and satisfying a predetermined first condition for each grid point based on the plurality of contour line sequence data;
A determination step of determining an altitude of the grid point based on the positions and altitudes of the plurality of proximity points detected in the first detection step for the grid point;
A second detection step of detecting at least one proximity point that is located on the contour point sequence data and satisfies a predetermined second condition for each specific point based on the plurality of contour point sequence data and the specific point data; When,
For the specific point, a third detection step for detecting a grid point that satisfies a predetermined third condition and is close to the specific point and whose altitude is to be corrected;
Based on the position and altitude of the specific point and the position and altitude of the at least one proximity point of the specific point detected in the second detection step with respect to the specific point, in the third detection step A correction step of correcting the altitude of the adjacent grid points detected with respect to the specific point;
An altitude data generation program characterized by causing a computer to execute.
いずれかの特定点が傾斜地上にあるとき、当該特定点に関して、前記第2検出ステップでは、前記少なくとも一つの近接点として、当傾斜地上にあり、等高線点列データ上に位置する複数の近接点を検出し、
当該特定点に関して前記第3検出ステップで検出される、前記標高を補正すべき格子点は、当傾斜地上にある格子点であり、
前記補正ステップは、当該特定点の位置と標高と、前記第2検出ステップで検出された前記複数の近接点の位置と標高とに基づいて前記補正を行う、
ことを特徴とする請求項7に記載の標高データ生成プログラム。
When any one of the specific points is on the inclined ground, with respect to the specific point, in the second detection step, as the at least one adjacent point, a plurality of adjacent points that are on the inclined ground and are located on the contour line sequence data Detect
The grid points to be corrected for the elevation detected in the third detection step with respect to the specific point are grid points on the inclined ground,
The correction step performs the correction based on the position and altitude of the specific point and the positions and altitudes of the plurality of adjacent points detected in the second detection step.
The altitude data generation program according to claim 7.
いずれかの特定点が平地上にあるとき、当該特定点に関して前記第2検出ステップで検出される前記少なくとも一つの近接点は当該平地上にあり、かつ等高線上にある点であり、
当該特定点に関して前記第3検出ステップで検出される、前記標高を補正すべき格子点は、当該平地上にある格子点である、
ことを特徴とする請求項7に記載の標高データ生成プログラム。
When any specific point is on the ground, the at least one proximity point detected in the second detection step with respect to the specific point is a point on the level ground and on the contour line;
The grid point that is detected in the third detection step with respect to the specific point and whose altitude is to be corrected is a grid point on the flat ground.
The altitude data generation program according to claim 7.
等高線及び段差領域記号を含む2次元地図画像に含まれた複数の等高線のそれぞれを点列で表す等高線点列データと当該段差領域記号で表された段差領域を代表する段差領域代表点列データから、当該地図を格子に分割して得られる格子点群のそれぞれの格子点の標高を示す標高データを生成する標高データ生成装置であって、
前記複数の等高線点列データと前記段差領域代表点列データに基づいて、各格子点について、等高線点列データ上又は段差領域代表点列データ上に位置し所定の条件を満たす複数の近接点を検出する検出手段と、
各格子点について、前記検出手段で検出された複数の近接点の中に段差領域代表点列データ上に位置する近接点が含まれているか否かを判別する判別手段と、
前記複数の格子点のうち、前記検出手段で検出された複数の近接点の中に段差領域代表点列データ上に位置する近接点が含まれていないと前記判別手段で判別された第1種の格子点については、当該複数の近接点の位置と標高に基づいて、当該第1種の格子点の標高を決定する第1標高決定手段と、
前記複数の格子点のうち、前記検出手段で検出された複数の近接点の中に段差領域代表点列データ上の近接点が含まれていると前記判別手段で判別された第2種の格子点については、当該段差領域代表点列データ上にはない、他の所定の条件を満たす、当該格子点の他の近接点を追加して検出する追加検出手段と、
前記追加して検出された他の近接点の位置と標高に基づいて当該第2種の格子点の標高を決定する第2標高決定手段と、
を備えることを特徴とする標高データ生成装置。
From the contour point sequence data representing each of a plurality of contour lines included in the two-dimensional map image including the contour line and the step region symbol as a point sequence, and the step region representative point sequence data representing the step region represented by the step region symbol. , An altitude data generation device that generates altitude data indicating the altitude of each grid point of a grid point group obtained by dividing the map into grids,
Based on the plurality of contour point sequence data and the step region representative point sequence data, for each grid point, a plurality of proximity points that are located on the contour line sequence data or the step region representative point sequence data and satisfy a predetermined condition are determined. Detecting means for detecting;
For each grid point, a determination unit that determines whether or not a plurality of proximity points detected by the detection unit includes a proximity point located on the step region representative point sequence data;
Of the plurality of grid points, the first type determined by the determination means that the plurality of proximity points detected by the detection means do not include a proximity point located on the step region representative point sequence data A first altitude determining means for determining the altitude of the first type of grid points based on the positions and altitudes of the plurality of adjacent points;
Of the plurality of grid points, a second type of grid that is determined by the determination means when a plurality of proximity points detected by the detection means includes a proximity point on the step region representative point sequence data. For the point, additional detection means for detecting by adding other adjacent points of the grid point that are not on the step area representative point sequence data and satisfy other predetermined conditions;
Second altitude determining means for determining the altitude of the second type of grid points based on the position and altitude of the other adjacent points detected in addition;
An altitude data generation device comprising:
複数の等高線と複数の特定点を含む2次元地図画像に含まれた前記複数の等高線のそれぞれを点列で表す複数の等高線点列データと前記複数の特定点の位置と標高を表す特定点データから、当該地図を格子に分割して得られる格子点群のそれぞれの格子点の標高を示す標高データを生成する標高データ生成装置であって、
前記複数の等高線点列データに基づいて、各格子点について、等高線点列データ上に位置し所定の第1の条件を満たす複数の近接点を検出する第1検出手段と、
当該格子点について前記第1検出手段で検出された前記複数の近接点の位置と標高に基づいて、当該格子点の標高を決定する決定手段と、
前記複数の等高線点列データと前記特定点データとに基づいて、各特定点について等高線点列データ上に位置し所定の第2の条件を満たす少なくとも一つの近接点を検出する第2検出手段と、
当該特定点について、所定の第3の条件を満たし当該特定点に近接した、標高を補正すべき格子点を検出する第3検出手段と、
当該特定点の位置と標高と、当該特定点に対して前記第2検出手段で検出された、当該特定点の前記少なくとも一つの近接点の位置と標高とに基づいて、前記第3検出手段で当該特定点に対して検出された前記近接した格子点の標高を補正する補正手段と、
を備えることを特徴とする標高データ生成装置。
A plurality of contour point sequence data representing each of the plurality of contour lines included in a two-dimensional map image including a plurality of contour lines and a plurality of specific points, and specific point data representing the positions and elevations of the plurality of specific points From the elevation data generation device for generating elevation data indicating the elevation of each grid point of the grid point group obtained by dividing the map into grids,
First detecting means for detecting a plurality of proximity points that are located on the contour line sequence data and satisfy a predetermined first condition for each grid point based on the plurality of contour line sequence data;
Determining means for determining the altitude of the grid points based on the positions and altitudes of the plurality of proximity points detected by the first detection means for the grid points;
Second detection means for detecting at least one proximity point satisfying a predetermined second condition that is located on the contour point sequence data for each specific point based on the plurality of contour point sequence data and the specific point data; ,
For the specific point, a third detection unit that detects a lattice point that satisfies a predetermined third condition and is close to the specific point and whose elevation is to be corrected;
Based on the position and altitude of the specific point and the position and altitude of the at least one proximity point of the specific point detected by the second detecting unit with respect to the specific point, the third detecting unit Correction means for correcting the altitude of the adjacent grid points detected for the specific point;
An altitude data generation device comprising:
JP2003336972A 2003-09-29 2003-09-29 Elevation data generation method and altitude data generation program Expired - Fee Related JP3916598B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003336972A JP3916598B2 (en) 2003-09-29 2003-09-29 Elevation data generation method and altitude data generation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003336972A JP3916598B2 (en) 2003-09-29 2003-09-29 Elevation data generation method and altitude data generation program

Publications (2)

Publication Number Publication Date
JP2005106906A true JP2005106906A (en) 2005-04-21
JP3916598B2 JP3916598B2 (en) 2007-05-16

Family

ID=34532932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003336972A Expired - Fee Related JP3916598B2 (en) 2003-09-29 2003-09-29 Elevation data generation method and altitude data generation program

Country Status (1)

Country Link
JP (1) JP3916598B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950429A (en) * 2009-11-25 2011-01-19 清华大学 Method and device for interpolating voltage isometric curved surface and generating pattern
WO2012056818A1 (en) 2010-10-28 2012-05-03 株式会社トヨタマップマスター Device and method for specifying altitudes of tunnel entrance and exit, computer program for specifying altitudes of tunnel entrance and exit, and recording medium for recording this computer program
WO2013057760A1 (en) * 2011-10-19 2013-04-25 Hitachi, Ltd. Digital elevation model generating system and method of generating a digital elevation model
US9605967B2 (en) 2011-01-27 2017-03-28 Toyota Mapmaster Incorporated Tunnel entrance specification device and method thereof, computer program for specifying tunnel entrance, and recording medium on which computer program is recorded

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950429A (en) * 2009-11-25 2011-01-19 清华大学 Method and device for interpolating voltage isometric curved surface and generating pattern
WO2012056818A1 (en) 2010-10-28 2012-05-03 株式会社トヨタマップマスター Device and method for specifying altitudes of tunnel entrance and exit, computer program for specifying altitudes of tunnel entrance and exit, and recording medium for recording this computer program
JP4938915B1 (en) * 2010-10-28 2012-05-23 株式会社トヨタマップマスター Tunnel entrance / elevation specifying device and method, computer program for specifying tunnel entrance / elevation, and recording medium recording the computer program
CN102667407A (en) * 2010-10-28 2012-09-12 丰田博图导航信息技术有限公司 Tunnel entrance elevation specifying device, method for specifying tunnel entrance elevation, computer program for specifying tunnel entrance elevation, and storage medium that stores computer program
CN102667407B (en) * 2010-10-28 2015-03-18 丰田博图导航信息技术有限公司 Tunnel entrance elevation specifying device, method for specifying tunnel entrance elevation
US9082318B2 (en) 2010-10-28 2015-07-14 Toyota Mapmaster Incorporated Tunnel entrance elevation specifying device, method for specifying tunnel entrance elevation, computer program for specifying tunnel entrance elevation, and storage medium that stores computer program
US9605967B2 (en) 2011-01-27 2017-03-28 Toyota Mapmaster Incorporated Tunnel entrance specification device and method thereof, computer program for specifying tunnel entrance, and recording medium on which computer program is recorded
WO2013057760A1 (en) * 2011-10-19 2013-04-25 Hitachi, Ltd. Digital elevation model generating system and method of generating a digital elevation model

Also Published As

Publication number Publication date
JP3916598B2 (en) 2007-05-16

Similar Documents

Publication Publication Date Title
AU2018212700B2 (en) Apparatus, method, and system for alignment of 3D datasets
KR101633889B1 (en) Apparatus and method for generating route using grid map
JP5161936B2 (en) Data analysis apparatus, data analysis method, and program
JP6720263B2 (en) Method for obtaining PSEUDO-3D box from 2D bounding box by regression analysis and learning device and test device using the same
JP7170575B2 (en) Landslide surface estimation device and landslide surface estimation method
JP6717425B2 (en) Distance information processing device, distance information processing method, and distance information processing program
CN108984741B (en) Map generation method and device, robot and computer-readable storage medium
CN113286982A (en) System and method for generating, updating and enhancing large-scale high-precision 3D road map and multi-level road map
Toth Strip adjustment and registration
JP7012170B2 (en) Map generation system, map generation method and map generation program
JP3916598B2 (en) Elevation data generation method and altitude data generation program
US20170116782A1 (en) Installation space exploration method for a substance and readable media having the program therefor
KR101966343B1 (en) 3D space visualization apparatus and method
KR20190080331A (en) Extended BSA Coverage Path Searching Device, Method and Recording Medium thereof
KR102114558B1 (en) Ground and non ground detection apparatus and method utilizing lidar
KR20210004411A (en) Apparatus and method for optimal movement path generation
JP4513455B2 (en) 3D submarine topographic map display apparatus and method
KR102025144B1 (en) Device for predicting construction waste using drone, method and recording medium for performing the method
JP4206980B2 (en) Sinking amount prediction method and settlement amount prediction program
JP3924560B2 (en) Elevation data generation program and altitude data generation method
JP4850161B2 (en) Road map data creation device
JP5071679B2 (en) Inclination analyzer, method and program
JP2006023958A (en) Program capable of determining road area and method for determining road area
JP7285678B2 (en) Information processing device and control program
JP7039514B2 (en) Self-position estimation device

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050309

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20050323

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060411

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060612

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061010

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061211

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070116

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070206

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100216

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100216

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130216

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees