JP2004354538A - Method and device for generating polygon data of map or the like, and display device for polygon data of map or the like - Google Patents
Method and device for generating polygon data of map or the like, and display device for polygon data of map or the like Download PDFInfo
- Publication number
- JP2004354538A JP2004354538A JP2003149995A JP2003149995A JP2004354538A JP 2004354538 A JP2004354538 A JP 2004354538A JP 2003149995 A JP2003149995 A JP 2003149995A JP 2003149995 A JP2003149995 A JP 2003149995A JP 2004354538 A JP2004354538 A JP 2004354538A
- Authority
- JP
- Japan
- Prior art keywords
- polygon
- polygon data
- map
- data
- land
- 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.)
- Pending
Links
Images
Landscapes
- Instructional Devices (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、ナビゲーション装置等において表示される地図等のポリゴンデータの生成方法およびその生成装置ならびにその表示装置に関する。
【0002】
【従来の技術】
ナビゲーション装置は、車両の現在位置を検出することで、DVDやハードディスク(HDD)等の記憶媒体から車両位置周辺の地図データを読み出し、ディスプレイに地図を描画するとともに該地図上に車両マークを重ねて描画する。車両の移動により現在位置が変化すると、それに合わせて地図をスクロールさせたりあるいは地図上の車両マークを移動させ、ユーザーに車両位置周辺の地図情報を判りやすく提示している。
【0003】
地図データには、道路、施設に加え、島などの陸系の地形や海洋、湖沼、河川などの水系の地形を表現するためのポリゴンデータが含まれている。このようなポリゴンデータを用いることで、地図の表示を立体的にしたり、地図画面のスクロール等を高速化させている。
【0004】
水系の領域に陸系の領域が含まれたり、陸系の領域に水系の領域が含まれたり、地形が複雑に絡み合ってくると、ポリゴンデータの生成およびその描画方法も複雑化してくる。例えば、海の中に島を表示する場合には、次の2通りの方法がある。第1の方法は、図8(a)に示すように、海の領域を表す青系の色のポリゴン100と、島の領域を表す陸地の色のポリゴン110とを独立して用意し、地図画面を表示するとき、最初に海のポリゴン100を描画し、次に、島のポリゴン110をその上に重ねて描画する方法である。
【0005】
第2の方法は、図8(b)に示すように、海のポリゴン120から島のポリゴン130を中抜きするようなポリゴンデータを生成する。ポリゴンデータは、座標上の離散された要素点を連結させるベクトル情報と、座標上の始点(要素点)から終点(要素点)までを連結する時の方向情報と、ポリラインやポリゴンの色に関する色情報とを包含することができる。方向情報は、その方向によってポリゴンの描画条件を設定することができる。例えば、方向情報が始点から終点を連結する方向が進行方向に対して反時計回りのときに、ポリゴン内を上記色情報によって特定される色で描画するようにし、他方、時計回りのときにポリゴン内の描画を行わないようにする、といった取り決め(アルゴリズム)が可能である。図8(b)の場合、島のポリゴン130の方向情報を時計方向に設定し、海のポリゴン120の方向情報を反時計方向に設定し、島のポリゴン130の始点(および終点)140と海のポリゴン120の始点(および終点)150とをポリライン160で連結するようなポリゴンデータを生成する。ポリゴンデータが描画されるとき、島のポリゴン130は中抜きされ、海のポリゴン120が青系の色で描画される。一般に、ナビゲーション装置による表示の大部分は陸系であるため、水系の色を描画しない場合には、陸系の色とすることが多い。島のポリゴン130は、水系の色で描画されないため、陸系の色で表される。このように、海のポリゴン120から島のポリゴン130を一筆書きでくり抜くポリゴンデータを生成することで、海系と陸系の地図表示を行っている。この方法は、例えば特許文献1に記載されている。
【0006】
【特許文献1】
特開平11−258984号
【0007】
【発明が解決しようとする課題】
しかしながら、上記した従来のポリゴンデータの生成およびその描画方法には次のような課題がある。第1の方法により海のポリゴン100と島のポリゴン110とを描画する場合には、1つの画面表示で2回の描画を必要とするため、地図表示や画面のスクロールが遅くなるという課題がある。さらに、海のポリゴン100と島のポリゴン110のデータをそれぞれ必要とするため、メモリ容量も大きくなってしまう。さらに、海のポリゴン100を島のポリゴン110より先に描画しなければならず、そのような描画順序の関連付けを各ポリゴンに行うことは非常に煩雑である。
【0008】
他方、第2の方法は、メモリ容量を小さくし、かつ、地図表示等を高速化させる点では有効ではあるが、海のポリゴン120と島のポリゴン130をポリライン160によって連結させる作業は、すべて手作業で行われていたため、多大な時間と労力を必要としていた。特に、ポリゴンの形状、大きさ、数が多種多様になると、外側のポリゴンと内側のポリゴンを連結させるポリラインの位置もまちまちとなり、場合によっては、ポリライン160の線が表示されてしまい、検証にてエラーとなることもあった。
【0009】
本発明は、上記従来の課題を解決し、地図等のポリゴンデータを自動生成することが可能なポリゴンデータの生成方法を提供することを目的とする。
さらに本発明は、ポリゴンデータを自動生成する生成装置およびそのポリゴンデータを表示する表示装置に関する。
【0010】
【課題を解決するための手段】
本発明に係る、地図等のポリゴンデータの生成方法は、外側のポリゴンに包含される内側のポリゴンを識別するステップと、外側のポリゴンを描画するときの描画情報と内側のポリゴンを描画するときの描画情報を異ならせるステップと、内側のポリゴンの予め設定された位置から引き出された線によって、内側のポリゴンと外側のポリゴンとを連結するステップとを有する。このようなステップを用いることにより、包含関係にあるポリゴンについてのポリゴンデータを自動生成することが可能となる。このため、従来の手作業と比較して、大幅な労力および時間を削減することが可能となり、結果として、ポリゴンデータの製作コストを低減することができる。さらに、ポリゴンデータの検証に要する作業も低減することができる。
【0011】
好ましくは、描画情報は、ポリゴンの始点から終点までを連結する方向に関する方向情報を含む。この方向情報は、ポリゴンの描画条件を決定する。例えば、方向情報が時計方向であればポリゴンの描画を行わず、反時計方向であればポリゴンの描画を行うようにすることができる。
【0012】
外側のポリゴンは、陸系または水系のいずれか一方のポリゴンであり、内側のポリゴンは、陸系または水系のいずれか他方のポリゴンである。陸系および水系が複雑に入り組んだ地形であっても、用意にポリゴンデータの自動生成を行うことができる。
【0013】
本発明に係るポリゴンデータの生成装置は、上記ポリゴンデータの生成方法を規定するプログラムを記憶するメモリと、地図等の加工前のポリゴンデータを記憶する第1の記憶手段と、前記第1の記憶手段から読み出されたポリゴンデータを、前記メモリのプログラムに従い処理する処理手段と、前記処理手段によって処理されたポリゴンデータを記憶する第2の記憶手段とを有する。
【0014】
本発明に係る表示装置は、上記ポリゴンデータ生成装置によって生成されたポリゴンデータを記憶する記憶装置と、表示部と、前記記憶装置から読み出されたポリゴンデータを前記表示部に表示させる表示制御手段とを有する。本発明により自動生成されたポリゴンデータを用いることで、1つの画面表示を1回の描画で行うことができ、地図画面の表示やスクロールの高速性の維持も図れる。
【0015】
【発明の実施の形態】
以下、本発明の実施の形態に係るポリゴンデータの生成方法について、図1に示すフローチャートを参照して説明する。ここでは、地図表示装置として代表的であるナビゲーション装置を例に説明する。
【0016】
先ず、処理対象となる図葉に含まれる加工前のオリジナルのポリゴンデータを抽出する(ステップS101)。ナビゲーション装置では、例えば図2に示すように、ディスプレイ200の中心に自車位置210が表示されるとき、自車位置周辺の地図画面は、M行×N列の複数の図葉に分割される。各図葉220は、それらの頂点A1、A2、A3、A4に、緯度および経度の位置情報を含み、さらに図葉内部に配される地図、道路、施設等のポリゴンは、それらの各頂点からの相対的な位置情報によって特定される。ここでは、ポリゴンデータの生成を容易にするために、各図葉ごとのポリゴンを処理対象とする。
【0017】
次に、各図葉に含まれるポリゴンの包含関係を求める(ステップS102)。ポリゴンの包含関係とは、例えば、図3に示すように、海、湖、沼などの水系のポリゴン(外側のポリゴンP1)内に、島などの陸系のポリゴン(内側のポリゴンP2)が包含されていること、これとは反対に、陸系のポリゴン内に水系のポリゴンが包含されていること、あるいは、水系のポリゴンと陸系のポリゴンとが複雑に入り組んでいるような関係等にあることである。
【0018】
図3に示すように、X軸に等しい間隔で、X1、X2、X3・・・XnからY軸に平行な線を引き、ポリゴンP1、P2の要素点との交点を求める(ステップS103)。交点の数は、必ず偶数個存在する(0,2,4,・・・n)。交点のうち、Yの値の小さい方から順に番号を付す(ステップS104)。例えば、X1からの線はポリゴンP1と交差し、交点の数は2つであり、X2およびX3からの線はポリゴンP1、P2と交差し、交点の数は4つである。
【0019】
次に、交点の数が2つより大きいか否かを判定する(ステップS105)。交点の数が2つ以下であれば、内側のポリゴンは存在しない(ステップS107)。つまり、線上には、複数のポリゴンは存在せず、従って、ポリゴンの内包関係は存在しない。その交点の数が2つより多ければ、その線上に複数のポリゴンが存在する。この場合、交点の奇数番号の直下の領域は内側のポリゴンとなる(ステップS108)。図3の例では、X2およびX3からの線は、交点の数が4つあり、その奇数番号“3”の直下の領域が内側のポリゴンP2となる。反対に、偶数番号“4”の直下の領域が外側のポリゴンP1となる。
【0020】
次に、外側のポリゴンP1の要素点を連結するときの方向情報と、内側のポリゴンP2の要素点を連結するときの方向情報を逆向きに設定する(ステップS109)。例えば、進行方向に向かって反時計回りであるときにポリゴンを色情報で特定された色で描画するというアルゴリズムであるとき、仮に、外側のポリゴンP1が水系であれば、方向情報は反時計回りに設定され、内側のポリゴンP2が陸系であれば、方向情報は時計回りに設定される。
【0021】
次に、図3(b)に示すように、内側のポリゴンP2の最も左側の要素点S2から下方に向けて垂線Vを引き、最初に交わるポリゴンとの交点S1を求めて一筆書きをする(ステップS110)。要素点S2は、内側のポリゴンP2の始点および終点であり、交点S1は、外側のポリゴンP1の始点および終点となる。つまり、ポリゴンP2を包含するポリゴンP1のポリゴンデータは、始点S2から時計方向に回り終点S2に到達し、垂線Vから交点S1を起点として反時計方向に回り終点S1に到達するように一筆書きをすることができ、ポリゴンP1とポリゴンP2との方向情報を逆向きにすることで、ポリゴンP1の中に中抜きのポリゴンP2を形成することができる。このような処理手順により、包含関係にあるポリゴンデータの自動生成が可能となる。
【0022】
図4(a)は、上記処理手順に従い自動生成されたポリゴンデータの表示例である。外側のポリゴンP1は、海等の水系であるため、ポリゴンデータの色情報には青系の色が設定される。内側のポリゴンP2は、中抜きされた状態であり、水系の色が表現されないため、陸系の色が表示される。また、外側のポリゴンP1と内側のポリゴンP2とを連結する垂線V(ポリライン)は、水系の色と同じ色にすることで実際の画面には表れない。
【0023】
図4(b)は、外側のポリゴンP1と内側のポリゴンP2との方向情報の設定を反転させたときの表示例である。例えば、外側のポリゴンP1が陸系であり、内側のポリゴンP2が水系であるときには、内側のポリゴンP2が青系の色で表示される。また、ポリゴンP1とP2を連結する垂線(ポリライン)は、陸系の色と同じ色であるため実際の画面には表れない。
【0024】
次に、複数のポリゴンデータが包含される例を図5に示す。本例では、海のポリゴン300の中に、島のポリゴン310が含まれ、さらに島のポリゴン310内に湖のポリゴン320が含まれているとする。上記した図1の処理手順に従い、ポリゴン300、310、320の包含関係が求められる。すなわち、交点の数が2より大きいとき、その交点の奇数番号(ここでは、3と5)の直下の領域が内側のポリゴンと判定される。つまり、島のポリゴン310が内側のポリゴンとされる。交点の偶数番号(ここでは、4と6)の直下の領域は外側のポリゴンと判定される。つまり、湖のポリゴン320と海のポリゴン300は外側のポリゴンとされる。次に、海のポリゴン300、島のポリゴン310、湖のポリゴン320の要素点を連結するときの方向情報が互いに逆向きに設定される。海のポリゴン300と湖のポリゴン320は、方向情報が反時計回りに設定され、島のポリゴン310は、方向情報が時計回りに設定される。
【0025】
次に、湖のポリゴン320の最も左側の要素点321から垂線322が引かれ、ポリゴン310との交点323が求められ、同様に、島のポリゴン310の最も左側の要素点311から垂線312が引かれ、ポリゴン300との交点313が求められる。こうして、海のポリゴン300に、中抜きされた島のポリゴン310が形成され、島のポリゴン310の中に湖のポリゴン320が形成されるポリゴンデータが生成される。
【0026】
図5(b)は、図5(a)のポリゴンデータの描画例であり、斜線領域は、水系の色として表され、島の領域は、水系の色が施されていない状態、すなわち、陸系の色となる。ここで、ポリゴン320からポリゴン310を連結する垂線(ポリライン)322は、その色を陸系の色、即ち、水系の色を塗らなければ、島の領域と同じ色となる。また、ポリゴン310とポリゴン300とを連結する垂線(ポリライン)312は、水系の色とすることで、海の領域と同じ色となる。
【0027】
次に、本実施の形態によるポリゴンデータの生成方法を行うポリゴンデータ自動生成装置の構成例を図6に示す。自動生成装置400は、画像処理プロセッサ410、ROM420、RAM430、および記憶装置440を含む。ROM420には、図1に示すポリゴンデータの自動生成を行うための手順を規定するプログラムが格納されている。記憶装置440は、好ましくは、データの書き換えを行うことができるハードディスクであり、加工する前のオリジナルのポリゴンデータが記憶されている。画像処理プロセッサ410は、ROM420のプログラムに従い、記憶装置440から対象となる図葉のポリゴンデータを読み出し、これをRAM430に格納する。そして、図1に示す処理手順によりポリゴンデータを自動生成し、これを記憶装置440に記憶する。従来、ポリゴンが包含関係にある場合には、ポリゴンのデータは人手によって作成されていたが、本発明により、そのようなポリゴンのポリゴンデータを自動生成することを可能とすることで、ポリゴンデータの作成時間の短縮およびコストの低減を図ることができる。
【0028】
次に、本実施の形態により自動生成されたポリゴンデータを用いたナビゲーション装置の概略を図7に示す。ナビゲーション装置500は、ナビゲーション機能部およびオーディオ機能部を有する処理本体510と、GPS受信機等により自車両の位置を検出する位置検出部520と、ユーザーからの指示を入力する入力部530と、道路、地図、施設等のナビゲーション表示に必要な画像のポリゴンデータを記憶する記憶装置540と、スピーカー等を備えた音声出力部550と、ディスプレイ等を備えた画像出力部560とを有している。
【0029】
自動生成されたポリゴンデータは、記憶装置540に記憶されている。ナビゲーション機能部によって、自車位置周辺の地図を表示させるとき、記憶装置540から各図葉毎のポリゴンデータが読み出され、ディスプレイ上に表示される。自車位置の移動に伴い、ディスプレイの地図表示がスクロールされ、必要な図葉のポリゴンデータが逐次読み出される。本実施の形態によって自動生成されたポリゴンデータは、陸系のポリゴンと水系のポリゴンが包含関係にある場合でも、例えば陸系のポリゴンを中抜きとすることで、1つの画面表示を1回の描画で行うことができ、スクロールや地図表示を高速化することができる。また、従来のように、陸系のポリゴンと水系のポリゴンとの描画順序を規定する必要はないため、それを関連つけるような煩雑な作業を省略することができ、しかも、水系と陸系のポリゴンのデータを個別に備える必要はないため、データ容量を削減することができ、その結果、記憶装置の容量も削減することができる。
【0030】
本発明の好ましい実施の形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。例えば、上記実施の態様では、方向方法として反時計回りのときにポリゴンを描画するとしが、これに限らず、時計回りのときにポリゴンを描画するようにしてもよい。
【0031】
さらに、上記実施の態様では、水系と陸系のポリゴンが包含関係にある例を示したが、これ以外にも、道路や施設、その他の地形の表示においても適用することが可能である。地図表示装置として、ナビゲーション装置を例示したが、これに限らず、地図等の表示機能を備えているコンピューター等であってもよい。
【0032】
【発明の効果】
以上、本発明によれば、外側のポリゴンに包含される内側のポリゴンを識別するステップと、外側のポリゴンを描画するときの描画情報と内側のポリゴンを描画するときの描画情報を異ならせるステップと、内側のポリゴンの予め設定された位置から引き出された線によって内側のポリゴンと外側のポリゴンとを連結するステップとを有することにより、包含関係にあるポリゴンについてのポリゴンデータを自動生成することが可能となる。このため、従来の手作業と比較して、大幅な労力および時間を削減することが可能となる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るポリゴンデータの自動生成方法の処理フローを示すフローチャートである。
【図2】ディスプレイに表示される図葉を説明する図である。
【図3】図3(a)は、ポリゴンデータの包含関係の判別を説明する図であり、同図(b)は、内側および外側のポリゴンデータの方向情報の設定を説明する図である。
【図4】自動生成されたポリゴンデータの表示例を示す図である。
【図5】水系のポリゴンデータと陸系のポリゴンデータとが包含関係にある他のポリゴンデータの例を示す図である。
【図6】ポリゴンデータの自動生成装置の一例を示すブロック図である。
【図7】自動生成されたポリゴンデータを表示するナビゲーション装置の構成を示す図である。
【図8】従来のポリゴンデータの生成およびその表示を説明する図である。
【符号の説明】
200 ディスプレイ 210 自車マーク
220 図葉 P1 外側のポリゴン
P2 内側のポリゴン 300、310、320 ポリゴン
400 ポリゴン自動生成装置 500 ナビゲーション装置[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method for generating polygon data such as a map displayed on a navigation device and the like, a generation device for the same, and a display device for the same.
[0002]
[Prior art]
The navigation device detects the current position of the vehicle, reads map data around the vehicle position from a storage medium such as a DVD or a hard disk (HDD), draws a map on a display, and superimposes a vehicle mark on the map. draw. When the current position changes due to the movement of the vehicle, the map is scrolled or the vehicle mark on the map is moved in accordance with the change to present the map information around the vehicle position to the user in an easy-to-understand manner.
[0003]
The map data includes, in addition to roads and facilities, polygon data for representing land-based terrain such as islands and water-based terrain such as oceans, lakes, and rivers. By using such polygon data, the display of the map is three-dimensional, and the speed of scrolling the map screen and the like is increased.
[0004]
When a water-based area includes a land-based area, a land-based area includes a water-based area, and when the terrain is complicatedly intertwined, the generation of polygon data and the drawing method thereof become complicated. For example, when displaying an island in the sea, there are the following two methods. In the first method, as shown in FIG. 8A, a blue-based
[0005]
In the second method, as shown in FIG. 8B, polygon data is generated such that the
[0006]
[Patent Document 1]
JP-A-11-258984
[Problems to be solved by the invention]
However, the above-described conventional polygon data generation and drawing method has the following problems. In the case where the
[0008]
On the other hand, the second method is effective in reducing the memory capacity and increasing the speed of map display and the like, but all operations to connect the
[0009]
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned conventional problems and to provide a method for generating polygon data capable of automatically generating polygon data such as a map.
Further, the present invention relates to a generating device for automatically generating polygon data and a display device for displaying the polygon data.
[0010]
[Means for Solving the Problems]
A method for generating polygon data such as a map according to the present invention includes a step of identifying an inner polygon included in an outer polygon, a step of drawing information for drawing the outer polygon, and a step of drawing information for drawing the inner polygon. A step of making the drawing information different; and a step of connecting the inner polygon and the outer polygon with a line drawn from a preset position of the inner polygon. By using such steps, it is possible to automatically generate polygon data for polygons having an inclusion relationship. Therefore, it is possible to significantly reduce labor and time as compared with the conventional manual operation, and as a result, it is possible to reduce the cost of producing polygon data. Further, the work required for verifying the polygon data can be reduced.
[0011]
Preferably, the drawing information includes direction information on a direction connecting the start point to the end point of the polygon. This direction information determines the polygon drawing conditions. For example, if the direction information is clockwise, polygon drawing may not be performed, and if the direction information is counterclockwise, polygon drawing may be performed.
[0012]
The outer polygon is either a land-based or water-based polygon, and the inner polygon is either a land-based or water-based polygon. Polygon data can be automatically generated easily even if the terrain is complicated in land and water.
[0013]
The polygon data generating apparatus according to the present invention includes a memory for storing a program that defines a method for generating the polygon data, a first storage unit for storing polygon data before processing a map or the like, and the first storage. There is provided processing means for processing the polygon data read from the means in accordance with the program in the memory, and second storage means for storing the polygon data processed by the processing means.
[0014]
A display device according to the present invention includes a storage device for storing polygon data generated by the polygon data generation device, a display unit, and display control means for displaying the polygon data read from the storage device on the display unit. And By using the polygon data automatically generated by the present invention, one screen display can be performed by one drawing, and the high-speed display and scrolling of the map screen can be maintained.
[0015]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a method of generating polygon data according to the embodiment of the present invention will be described with reference to the flowchart shown in FIG. Here, a navigation device that is typical as a map display device will be described as an example.
[0016]
First, original polygon data before processing included in a figure to be processed is extracted (step S101). In the navigation device, for example, as shown in FIG. 2, when the
[0017]
Next, the inclusion relation of polygons included in each figure is obtained (step S102). As shown in FIG. 3, for example, the polygon inclusion relationship includes a land-based polygon (inner polygon P2) such as an island within a water-based polygon (outer polygon P1) such as a sea, a lake, or a swamp. On the contrary, the land-based polygons include the water-based polygons, or the water-based polygons and the land-based polygons are in a complicated relationship. That is.
[0018]
As shown in FIG. 3, lines parallel to the Y axis are drawn from X1, X2, X3,... Xn at intervals equal to the X axis, and the intersections between the element points of the polygons P1, P2 are determined (step S103). The number of intersections always exists even (0, 2, 4,... N). Among the intersections, numbers are assigned in ascending order of the value of Y (step S104). For example, the line from X1 intersects polygon P1 and the number of intersections is two, and the lines from X2 and X3 intersect polygons P1 and P2 and the number of intersections is four.
[0019]
Next, it is determined whether the number of intersections is greater than two (step S105). If the number of intersections is two or less, there is no inner polygon (step S107). That is, a plurality of polygons do not exist on the line, and therefore there is no polygon inclusion relation. If the number of the intersections is more than two, a plurality of polygons exist on the line. In this case, the area immediately below the odd number at the intersection is the inner polygon (step S108). In the example of FIG. 3, the line from X2 and X3 has four intersections, and the area immediately below the odd number “3” is the inner polygon P2. Conversely, the area immediately below the even number “4” is the outer polygon P1.
[0020]
Next, the direction information for connecting the element points of the outer polygon P1 and the direction information for connecting the element points of the inner polygon P2 are set in opposite directions (step S109). For example, if the algorithm is to draw a polygon in the color specified by the color information when the polygon is counterclockwise in the traveling direction, if the outer polygon P1 is water-based, the direction information is counterclockwise. And if the inner polygon P2 is a land-based polygon, the direction information is set clockwise.
[0021]
Next, as shown in FIG. 3 (b), a perpendicular V is drawn downward from the leftmost element point S2 of the inner polygon P2, and an intersection S1 with the polygon that intersects first is determined and one stroke is drawn ( Step S110). The element point S2 is a start point and an end point of the inner polygon P2, and the intersection S1 is a start point and an end point of the outer polygon P1. In other words, the polygon data of the polygon P1 including the polygon P2 is written in one stroke so as to rotate clockwise from the start point S2 to reach the end point S2, and to rotate counterclockwise from the perpendicular V to the end point S1 starting from the intersection S1. By setting the direction information of the polygon P1 and the direction information of the polygon P2 to be opposite, a hollow polygon P2 can be formed in the polygon P1. According to such a processing procedure, it is possible to automatically generate polygon data having an inclusion relationship.
[0022]
FIG. 4A is a display example of polygon data automatically generated according to the above processing procedure. Since the outer polygon P1 is a water system such as the sea, a bluish color is set in the color information of the polygon data. Since the inner polygon P2 is in a hollow state and does not represent a water-based color, a land-based color is displayed. Further, the perpendicular V (polyline) connecting the outer polygon P1 and the inner polygon P2 does not appear on an actual screen by being set to the same color as the color of the water system.
[0023]
FIG. 4B is a display example when the setting of the direction information of the outer polygon P1 and the inner polygon P2 is reversed. For example, when the outer polygon P1 is land-based and the inner polygon P2 is water-based, the inner polygon P2 is displayed in blue. Further, a perpendicular line (polyline) connecting the polygons P1 and P2 does not appear on an actual screen because it has the same color as the land-based color.
[0024]
Next, an example in which a plurality of polygon data are included is shown in FIG. In this example, it is assumed that an
[0025]
Next, a perpendicular 322 is drawn from the
[0026]
FIG. 5B is a drawing example of the polygon data of FIG. 5A. The hatched area is represented as a water-based color, and the island area is a state where the water-based color is not applied, that is, land. It becomes the color of the system. Here, the perpendicular line (polyline) 322 connecting the
[0027]
Next, FIG. 6 shows an example of the configuration of an automatic polygon data generation apparatus that performs the method for generating polygon data according to the present embodiment. The
[0028]
Next, FIG. 7 schematically shows a navigation device using polygon data automatically generated according to the present embodiment. The
[0029]
The automatically generated polygon data is stored in the
[0030]
Although the preferred embodiment of the present invention has been described in detail, the present invention is not limited to the specific embodiment, and various modifications and changes may be made within the scope of the present invention described in the appended claims. Changes are possible. For example, in the above embodiment, the polygon is drawn when the direction is counterclockwise. However, the present invention is not limited to this, and the polygon may be drawn when clockwise.
[0031]
Further, in the above embodiment, an example is shown in which water-based and land-based polygons are in an inclusive relationship. However, the present invention can also be applied to the display of roads, facilities, and other terrain. Although the navigation device is exemplified as the map display device, the invention is not limited thereto, and a computer or the like having a display function of a map or the like may be used.
[0032]
【The invention's effect】
As described above, according to the present invention, the step of identifying the inner polygon included in the outer polygon, the step of making the drawing information for drawing the outer polygon different from the drawing information for drawing the inner polygon, Connecting the inner polygon and the outer polygon with a line drawn from a preset position of the inner polygon, thereby automatically generating polygon data for the polygons having an inclusion relationship. It becomes. Therefore, it is possible to significantly reduce labor and time as compared with the conventional manual operation.
[Brief description of the drawings]
FIG. 1 is a flowchart showing a processing flow of an automatic polygon data generation method according to an embodiment of the present invention.
FIG. 2 is a diagram for explaining a figure displayed on a display;
FIG. 3A is a diagram illustrating determination of inclusion relation of polygon data, and FIG. 3B is a diagram illustrating setting of direction information of inner and outer polygon data.
FIG. 4 is a diagram showing a display example of automatically generated polygon data.
FIG. 5 is a diagram showing an example of other polygon data in which water-based polygon data and land-based polygon data have an inclusion relationship.
FIG. 6 is a block diagram illustrating an example of an automatic polygon data generation device.
FIG. 7 is a diagram showing a configuration of a navigation device that displays automatically generated polygon data.
FIG. 8 is a diagram illustrating the generation and display of conventional polygon data.
[Explanation of symbols]
200
Claims (6)
外側のポリゴンに包含される内側のポリゴンを識別するステップと、
外側のポリゴンを描画するときの描画情報と内側のポリゴンを描画するときの描画情報を異ならせるステップと、
内側のポリゴンの予め設定された位置から引き出された線によって、内側のポリゴンと外側のポリゴンとを連結するステップと、
を有する地図等のポリゴンデータの生成方法。A method for generating polygon data such as a map,
Identifying an inner polygon contained by the outer polygon;
A step of making the drawing information for drawing the outer polygon different from the drawing information for drawing the inner polygon;
Connecting the inner polygon and the outer polygon by a line drawn from a preset position of the inner polygon;
A method for generating polygon data such as a map having a map.
地図等の加工前のポリゴンデータを記憶する第1の記憶手段と、
前記第1の記憶手段から読み出されたポリゴンデータを、前記メモリのプログラムに従い処理する処理手段と、
前記処理手段によって処理されたポリゴンデータを記憶する第2の記憶手段と、を有するポリゴンデータの生成装置。A memory for storing a program that defines the polygon data generation method according to claim 1,
First storage means for storing polygon data before processing such as a map,
Processing means for processing the polygon data read from the first storage means according to a program in the memory;
And a second storage unit for storing the polygon data processed by the processing unit.
表示部と、
前記記憶装置から読み出されたポリゴンデータを前記表示部に表示させる表示制御手段と、を有する表示装置。A storage device for storing polygon data generated by the polygon data generation device according to claim 5,
A display unit,
A display control means for displaying the polygon data read from the storage device on the display unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003149995A JP2004354538A (en) | 2003-05-28 | 2003-05-28 | Method and device for generating polygon data of map or the like, and display device for polygon data of map or the like |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003149995A JP2004354538A (en) | 2003-05-28 | 2003-05-28 | Method and device for generating polygon data of map or the like, and display device for polygon data of map or the like |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004354538A true JP2004354538A (en) | 2004-12-16 |
Family
ID=34045922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003149995A Pending JP2004354538A (en) | 2003-05-28 | 2003-05-28 | Method and device for generating polygon data of map or the like, and display device for polygon data of map or the like |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004354538A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009008737A (en) * | 2007-06-26 | 2009-01-15 | Toshiba Corp | Map creation device |
JP2017511510A (en) * | 2014-04-15 | 2017-04-20 | キングドットコム リミテッドKing.Com Ltd | Apparatus, game, and method thereof |
-
2003
- 2003-05-28 JP JP2003149995A patent/JP2004354538A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009008737A (en) * | 2007-06-26 | 2009-01-15 | Toshiba Corp | Map creation device |
JP2017511510A (en) * | 2014-04-15 | 2017-04-20 | キングドットコム リミテッドKing.Com Ltd | Apparatus, game, and method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Agrawala et al. | Rendering effective route maps: Improving usability through generalization | |
JP5582674B2 (en) | Character data generation device and method, character data display control device and display method, and navigation device | |
KR20130040773A (en) | Three-dimensional map drawing system | |
JP2002098538A (en) | Navigation system and method for displaying information of pseudo three dimensional map | |
JP2008249701A (en) | Method and apparatus for displaying map image for navigation system | |
JP2012073397A (en) | Three-dimentional map display system | |
EP2256461B1 (en) | Method for Rendering Outline of Polygon and Apparatus of Rendering Outline of Polygon | |
US20100309227A1 (en) | Map display device | |
JP5556526B2 (en) | Map display device, map display method and program | |
JP2004354538A (en) | Method and device for generating polygon data of map or the like, and display device for polygon data of map or the like | |
JP2007078774A (en) | Vehicle guiding device | |
JP6247456B2 (en) | Navigation device and map drawing method | |
JP4642333B2 (en) | In-vehicle information terminal, summary map creation device, summary map display method | |
JP2008096865A (en) | Map data creating method and map display device | |
JPH09229710A (en) | Screen display method in navigation device and navigation device | |
EP1854066A4 (en) | Method and system for transforming spatial data | |
JP6242080B2 (en) | Navigation device and map drawing method | |
JPH08145702A (en) | Map display device | |
JP2000047577A (en) | Method and device for displaying electronic map | |
JP2001108472A (en) | Map display apparatus | |
JP4644451B2 (en) | Navigation device and mountain range display method | |
JP3892741B2 (en) | Navigation device | |
JP2001067457A (en) | High-speed map drawing device | |
JP6649129B2 (en) | Map screen display device and map screen display method | |
JPH0954545A (en) | Map display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Effective date: 20051129 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070607 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070703 |
|
A521 | Written amendment |
Effective date: 20070828 Free format text: JAPANESE INTERMEDIATE CODE: A523 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20070828 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080220 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080408 |
|
A02 | Decision of refusal |
Effective date: 20080820 Free format text: JAPANESE INTERMEDIATE CODE: A02 |