Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3602899B2 - Graphic data display device - Google Patents
[go: Go Back, main page]

JP3602899B2 - Graphic data display device - Google Patents

Graphic data display device Download PDF

Info

Publication number
JP3602899B2
JP3602899B2 JP34020295A JP34020295A JP3602899B2 JP 3602899 B2 JP3602899 B2 JP 3602899B2 JP 34020295 A JP34020295 A JP 34020295A JP 34020295 A JP34020295 A JP 34020295A JP 3602899 B2 JP3602899 B2 JP 3602899B2
Authority
JP
Japan
Prior art keywords
range
graphic data
display
data
basic
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.)
Expired - Lifetime
Application number
JP34020295A
Other languages
Japanese (ja)
Other versions
JPH09175086A (en
Inventor
潔 米山
政志 柏
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.)
Tokyo Gas Co Ltd
Original Assignee
Tokyo Gas 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 Tokyo Gas Co Ltd filed Critical Tokyo Gas Co Ltd
Priority to JP34020295A priority Critical patent/JP3602899B2/en
Publication of JPH09175086A publication Critical patent/JPH09175086A/en
Application granted granted Critical
Publication of JP3602899B2 publication Critical patent/JP3602899B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Processing Or Creating Images (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、道路地図マッピングシステムなどの図形データベースの、一部範囲を選択してディスプレイに表示させる図形データの表示装置に関するものである。
【0002】
【従来の技術】
一般に、道路地図マッピングシステムなどの図形データベースにおいては、細部を調べたり図形データを修正したりするなどの目的で、所定の領域を拡大してディスプレイなどに表示する必要が生じる。
【0003】
所定の領域を拡大するには、まず所定の矩形のメッシュ範囲(基本範囲)毎に図形データを呼び出して表示画面に表示し、表示画面内でユーザーが任意の範囲を指定するなどして、指定された範囲の図形データを拡大して必要な詳細図形データを表示画面に表示させていた。
【0004】
メッシュの水平方向と同一の水平軸を有する矩形範囲を拡大して表示画面に表示させ、一度指定した矩形範囲を表示させる方法については、本願出願人による「表示画面切替装置(特開平7−200789)」が出願されている。
【0005】
【発明が解決しようとする課題】
しかしながら、メッシュの水平方向に対して任意の傾きを有する矩形範囲を指定して表示し、かつ、表示範囲を変更した場合に以前の段階で指定された範囲を記憶させておいて再度表示させることはできなかった。したがって、同じ範囲を表示しようとする場合には、オペレータが、過去に出図された図面や記憶を便りにして範囲を再度指定しなくてはならず、オペレータの負担が重い上に、範囲の再現が不正確となってしまうという問題があった。
【0006】
本発明は、このような問題に鑑みてなされたもので、その目的とするところは、簡単な方法で任意の傾きを有する任意の矩形範囲を指定し、矩形範囲を表示させるために必要なパラメータを記憶装置に保存して、一旦指定した範囲を、その後の任意の時に容易に呼び出すことのできる図形データの表示装置を提供することにある。
【0007】
【課題を解決するための手段】
前述した目的を達成するために本発明は、図形データを保持する図形データベースから、基本範囲内の図形データを抽出し、第1のワークファイルに展開する第1の展開手段と、前記図形データを画面上に表示する第1の表示手段と、前記第1の表示手段によって表示された前記図形データにおいて、任意の方向の矩形状の第1範囲を指定する指定手段と、前記第1のワークファイルから前記第1範囲の図形データを取り出して、第2のワークファイルに展開する第2の展開手段と、前記第2のワークファイルに展開されたデータを基に表示を行う第2の表示手段と、を具備し、前記指定手段は、前記第1の表示手段によって表示された図形データにおいて、起点及び終点を指定し、前記起点及び前記終点を結ぶ基本線を、前記第1範囲の水平方向の中心線とすることを特徴とする図形データの表示装置である。
ここで、第2の展開手段は、前記第1範囲に外接し、前記基本範囲の各辺に平行な辺で囲まれる矩形状の第2範囲の中の図形データを抽出し、前記基本線と前記基本範囲の底辺とがなす角度だけ回転させた座標系において図形データを求め、第2のワークファイルに展開する。
また、第2の表示手段は、第1範囲の図形データを、前記基本線に垂直な方向に平行移動させて表示する。
【0008】
【発明の実施の形態】
以下、図面に基づいて、本発明の実施の形態について詳細に説明する。図1は、本発明の1実施の形態に用いられる表示画面選択装置1の機器構成例を示す図である。図1において、2はホストコンピュータ、3は内部記憶装置、4は地図データベース、5はアプリケーションプログラム、7はワーク領域、9はディスプレイ、11はデジタイザ(またはタブレット等)、13aはスタイラスペン、カーソル等の指示具、13bはマウス等の指示具、15はデータ入力、コマンド入力、ディスプレイ9の表示カーソル移動等に用いるキーボード、17はプリンタ(インクジェットプリンタ、レーザープリンタまたは静電プロッタ等)である。ワーク領域7には、第1のワークファイル21、第2のワークファイル23などが用意される。
【0009】
ホストコンピュータ2は外部記憶装置等に記憶されたアプリケーションプログラム5に従って各種処理を行う。地図データベース4の内容は、オペレータの操作によってディスプレイ9に表示される。また、指示具13bを動かすと、この動きにつれてディスプレイ9上でカーソルが動き、指示具13bをクリックすることにより、ディスプレイ9上の地図の点あるいは線分等を指定したり、表示されたメニュー等から次の作業内容を選択することができる。また、オペレータが、デジタイザ11上に貼ったメニューシートなどの上で指示具13aをクリックすることにより、作業内容を選択することもできる。
【0010】
外部記憶装置に記憶された地図データベース4は、道路データ、建物データ、ガス管データなどのデータの種類毎に、それぞれ別々のレイヤとして構成され検索用のレイヤ番号が付されている。また、地図データベース4は、所定の大きさの矩形範囲で区切られたメッシュの集合からなる。各メッシュには、検索用のメッシュ番号が付されている。
【0011】
オペレータはアプリケーションプログラム5を用いて、作業に必要なデータを内部記憶装置3内等に設けたワーク領域7などに格納することができる。ワーク領域7には、第1のワークファイル21、第2のワークファイル23などが設けられる。オペレータの指定した範囲の図形を再度呼び出すためのデータ保存テーブル101(図10)は一時的には内部記憶装置3内に格納されるが、長期保存する場合には外部記憶装置に格納される。
【0012】
図2は、本実施の形態におけるメッシュ範囲(請求項の「基本範囲」)41、第1ウィンドゥ(第1指定範囲)43、第2ウィンドゥ(第2指定範囲)44、第3ウィンドゥ(第3指定範囲)45を示す図である。図2では、ディスプレイ9全体に選択されたメッシュ範囲41の、道路データからなるレイヤが選択され、表示された状態を示している。
【0013】
本実施の形態ではメッシュの縦横比aがディスプレイ9の縦横比と同じでありディスプレイ9全体にメッシュ全体のデータが入る場合について説明する。また、ディスプレイ9に表示されたメッシュ範囲41内で、第1ウィンドゥ43を指定してディスプレイ9の表示内容を変更し、続いて第2ウィンドゥ44、第3ウィンドゥ45を指定するものとする。
【0014】
ディスプレイ9に表示されるメッシュ範囲41を構成する4隅の点の座標は、地図データベース4内に絶対座標で保管されている。メッシュ範囲41の、X軸方向の長さをL、縦横比をaとすると、Y軸方向の長さはaLとなる。左下の原点の点A1の座標をA1(XA,YA)とすると、残る3隅の点の座標は、それぞれ、B1(XA+L,YA)、C1(XA,YA+aL)、D1(XA+L,YA+aL)である。この4点の座標で囲まれるメッシュは、直交座標の場合には矩形となりディスプレイ9の表示領域の4辺に合わせて表示される。
【0015】
図3および図4は、表示画面選択装置1の機能を説明するフローチャートである。まず、オペレータはアプリケーションプログラム5により、図5の基本選択メニューの1例に示す図のような内容をディスプレイ9に表示させる。次に指示具13bなどを用いて、地図データベース4から、対象とするレイヤ番号を指定し、メッシュ範囲41を指定する(ステップ301)。メッシュ範囲41は、メッシュ番号あるいは住所などを指定して選択する。またレイヤ番号は、本実施の形態では、道路地図データを構成するレイヤ番号を指定するものとする。
【0016】
次に地図データベース4から、指定されたメッシュおよびレイヤについての地図データを抽出し、第1のワークファイル21に格納する(ステップ302)。ホストコンピュータ2は、第1のワークファイル21に格納された地図データを画面に表示する(ステップ303)。この段階で、オペレータは操作を終了するか否かを決定する(ステップ304)。ステップ304で操作を終了しない場合は、ディスプレイ9内の任意の範囲を指定して拡大表示させることができる。
【0017】
図6は、起点51および終点53を示す図である。オペレータは、例えば目的とする道路などの現在地点を起点51、中間目的地点を終点53などとして指示具13bなどで指定する(ステップ305)。後に説明するように、起点51と終点53とを結ぶ線を、表示しようとする範囲の水平方向の中心線57とすると、ディスプレイ9の縦横比aからディスプレイ9に表示できる縦横比がaの矩形である第1最大範囲(請求項の「第1範囲」)59は、4点S、T、Q、Rで囲まれた範囲となる。
【0018】
ホストコンピュータ2は、起点51から終点53までの基本ベクトル55の大きさと角度θを算出する(ステップ306)。起点51および終点53の座標をそれぞれ(x1,y1)および(x2,y2)とすると、角度θは次式で計算される。
θ = tan−1[(y2−y1)/(x2−x1)]
【0019】
次に起点51と終点53とを結ぶ線を水平方向の中心線57とし、第1最大範囲(請求項の第1範囲)59を算出する(ステップ307)。第1最大範囲59の底辺の両端S、Tの座標を(XS,YS)および(XT,YT)、頂辺の両端Q、Rの座標を(XQ,YQ)、(XR,YR)とする。このとき、起点51の座標を(XO,YO)、終点53の座標を(XP,YP)とすると、底辺の両端の座標S(XS,YS)およびT(XT,YT)は、次の方程式の解として求められる。
【0020】
すなわち、
XS = a(YT−YS)/2 + X0
YS = a(XT−XS)/2 + Y0
XT = a(YT−YS)/2 + XP
YT = a(XT−XS)/2 + YP
【0021】
図7は、外接矩形(請求項の第2範囲)61を示す図である。第1のワークファイル21から、第1最大範囲59に外接し、メッシュ範囲41の各辺に平行な辺で囲まれる外接矩形61の範囲を求める。この4隅の点A2、B2、C2、D2で囲まれた外接矩形61内の図形データを抽出し、第2のワークファイル23に展開する(ステップ308)。左下の点A2の座標を(Xmin,Ymin)、右上の点D2の座標を(Xmax,Ymax)とすると、Xminは、XQ、XR、XS、XTの最小値、XmaxはXQ、XR、XS、XTの最大値、Yminは、YQ、YR、YS、YTの最小値、YmaxはYQ、YR、YS、YTの最大値となる。
【0022】
図8は、X軸とY軸の回転を示す図である。X軸とY軸とを、それぞれ角度θだけ回転する。回転後のX軸をXX軸、回転後のY軸をYY軸とし、XX軸とYY軸からなる座標系についての外接矩形61内の図形データの座標を求める。すなわち、第2のワークファイル23のデータを、第1のワークファイル21のメッシュの左下の点A1を中心として、A1とB1とを結ぶメッシュ底辺71が、基本ベクトル55に平行になるように回転し、回転後のデータを元の第2のワークファイル23のデータと置換する(ステップ309)。
【0023】
回転前の一般座標(X,Y)の回転後の座標を(X1,Y1)とすると、X1およびY1は、それぞれ次式で求められる。
X1=(X−XA)cosθ+(Y−YA)sinθ+XA
Y1=−(X−XA)sinθ+(Y−YA)cosθ+YA
【0024】
したがって、第1最大範囲59の底辺の2点である点S(XS,YS)、および点T(XT,YT)の回転後の座標を(XS1,YS1)および(XT1,YT1)とすると、XS1、YS1、XT1、YT1は、それぞれ次式で求められる。
XS1=(XS−XA)cosθ+(YS−YA)sinθ+XA
YS1=−(XS−XA)sinθ+(YS−YA)cosθ+YA
XT1=(XT−XA)cosθ+(YT−YA)sinθ+XA
YT1=−(XT−XA)sinθ+(YT−YA)cosθ+YA
【0025】
次に、第2のワークファイル23内にある回転後のデータのうち、4点S、T、Q、Rに囲まれた第1最大範囲59内の図形データをディスプレイ9に表示する。表示された図形データはディスプレイ9の画面内で基本ベクトル55と垂直な方向に容易に平行移動させてみることができる(ステップ310)。
【0026】
図9は、第1ウィンドゥ43を示す図である。ディスプレイ9に表示された第1最大範囲59内で必要な箇所のみを、4点E、F、G、Hで構成される第1ウィンドゥ43で囲む。このとき、オペレータは4点のうち左下の1点Eのみを指示具13bなどで指定すればよい。ここでは例えば点EをX軸と線分SQとの交点に指定するものとする。
【0027】
このとき、点Eの座標を(X1E,Y1E)とし、移動前の任意の点の座標を(X1、Y1)とすると、平行移動後の座標(X2,Y2)は次式で表わされる。
X2=X1+X1E
Y2=Y1+Y1E
【0028】
点Eと点Fとを結ぶ下端線のベクトルは基本ベクトルと同じとする。また、上端線の位置は、水平方向の中心線57について下端線と対称な位置に自動的に設定される。ホストコンピュータ2は、第1ウィンドゥ43で囲まれた範囲内の図形データをディスプレイ9に表示する(ステップ311)。
【0029】
次に、オペレータがウィンドゥの範囲を決定するデータを保存するか否かを決定する(ステップ312)。図10は、データ保存テーブル101を示す図である。例えば、第1ウィンドゥ43の範囲を決定するデータを保存することを選択した場合には、第1ウィンドゥ43の下端線EFに相当する基本ベクトル55の起点51と終点53との、座標値データと、表示ウィンドゥパラメータ103を、保存ワークファイル番号105を記憶装置に格納する(ステップ313)。
【0030】
ここで、表示ウィンドゥパラメータ103は、計算により求められた第1ウィンドゥ43の縦横比bである。第1ウィンドゥ43の保存ワークファイル番号105は、図10ではW2となっている。なお、W1はメッシュ範囲41の全体をウィンドゥとしてデータ保存する場合の保存ワークファイル番号105である。
【0031】
ステップ312でウィンドゥの範囲を保存しないことを選択した場合、およびステップ313が完了した場合には、オペレータは別のウィンドゥの範囲を指定するか否かを決定する(ステップ314)。別のウィンドゥを指定しない場合にはステップ304に戻る。
【0032】
別のウィンドゥを指定する場合には、基本ベクトルの角度θに変更がないようなウィンドゥを指定するか否かを決定する(ステップ315)。基本ベクトルの角度θが同じであるウィンドゥを指定する場合には、ウィンドゥを矩形状に構成するような4隅の点の位置を指定して表示する(ステップ316)。
【0033】
図11は図10に示す複数のウィンドゥを説明する図である。例えば第1ウィンドゥ43と同じ下端線を有し、上端線の位置のみが異なる第2ウィンドゥ44では、ベクトルの起点と終点とは第1ウィンドゥ43と同じである。第2ウィンドゥ44では、表示ウィンドゥパラメータ(縦横比)103が第1ウィンドゥ43と異なっている。
【0034】
ステップ315で、図11の第3ウィンドゥ45のように、基本ベクトルの角度θが第1ウィンドゥ43と異なるウィンドゥを指定したい場合には、ステップ305に戻って、新たに範囲の指定作業を行なう。例えば、ディスプレイ9と同じ縦横比aを有し、下端線の両端がI、Jである場合には、図10の表の表示回数の4番目に示すようなデータで範囲を指定することができる。
【0035】
後にウィンドゥを呼び出す場合には、データ保存テーブル101に含まれる各範囲の枠組線を、それぞれ別な色でメッシュ範囲41の表示されたディスプレイ9上に表示し、いずれかの枠組線を指示具13bなどで指定することにより、自動的に相当する保存ワークファイル番号105を抽出する。ホストコンピュータ2は、データ保存テーブル101のデータを用いて、図3から図4のステップ307からステップ411までを自動的に行ない、地図データベース4から必要なデータを抽出し、加工して、ディスプレイ9に表示させる。
【0036】
以上詳細に説明したように、本実施の形態によって、簡単な方法で任意の傾きを有する任意の矩形範囲を指定し、矩形範囲を表示させるために必要なパラメータを記憶装置に保存して、一旦指定した範囲を何時でも呼び出すことのできる地図データベース4の表示画面選択装置1を提供することができる。
【0037】
なお本実施の形態においては、地図データベース4には図形のみが含まれるものとしたが、図形データの中には、例えば道路の名称などの図形を説明する文字もデータとして含まれていてもよい。
【0038】
また、本実施の形態においては、地図データベース4から道路地図データを構成するレイヤのみを選択して第1のワークファイル21に格納されるものとした。しかし、レイヤは、道路とガス管などのように、複数のものを同時に呼び出して第1のワークファイル21に区別して格納し、ディスプレイ9に表示する際には、それぞれのレイヤの図形データに異なる色を与えるなどして重畳してもよい。
【0039】
また、本実施の形態においては、範囲を指定する際に水平方向の中心線の両端を起点および終点として指定するものとしたが、指定しようとする範囲の上端線の両端、あるいは下端線の両端、対角線の両端などを指定してもよい。
【0040】
また、本実施の形態においては、ウィンドゥの上端線の位置を、水平方向の中心線57について下端線と対象な位置に設定するものとしたが、上端線の位置を任意に指定して、第1ウィンドゥ43の範囲を設定してもよい。
【0041】
また図3のステップ312においては、オペレータが第1ウィンドゥ43の範囲を決定するデータを保存するか否かを決定するものとしたが、実際には、オペレータが選択した範囲についてのみデータを保存する方法でもよいし、ウィンドゥの上端あるいは下端の位置が決定される度に範囲を決定するデータを全て保存して後に不要なウィンドゥのみを消去する方法、その他の方法でもよい。
【0042】
【発明の効果】
以上、詳細に説明したように、本発明によれば、簡単な方法で任意の傾きを有する任意の矩形範囲を指定し、矩形範囲を表示させるために必要なパラメータを記憶装置に保存して、一旦指定した範囲を何時でも呼び出すことのできる図形データの表示装置を提供することができる。
【図面の簡単な説明】
【図1】本発明の1実施の形態に用いられる表示画面選択装置1の機器構成例を示す図
【図2】メッシュ範囲41とウィンドゥを示す図
【図3】表示画面選択装置1の機能を説明するフローチャート
【図4】表示画面選択装置1の機能を説明するフローチャート(つづき)
【図5】基本選択メニューの1例を示す図
【図6】起点51および終点53を示す図
【図7】第1最大範囲59に外接する外接矩形61の範囲を示す図
【図8】X軸とY軸の回転を示す図
【図9】第1ウィンドゥ43を示す図
【図10】データ保存テーブル101を示す図
【図11】図10に示す複数のウィンドゥを説明する図
【符号の説明】
1………表示画面選択装置
2………ホストコンピュータ
3………内部記憶装置
4………地図データベース
5………アプリケーションプログラム
7………ワーク領域
9………ディスプレイ
11………デジタイザ
13a………指示具
13b………指示具
15………キーボード
17………プリンタ
21………第1のワークファイル
23………第2のワークファイル
41………メッシュ範囲
43………第1ウィンドゥ
44………第2ウィンドゥ
45………第3ウィンドゥ
51………起点
53………終点
55………基本ベクトル
57………水平方向の中心線
59………第1最大範囲
61………外接矩形データ
71………メッシュ底辺
101………データ保存テーブル
103………表示ウィンドゥパラメータ
105………保存ワークファイル番号
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a graphic data display device for selecting a partial range of a graphic database such as a road map mapping system and displaying the selected range on a display.
[0002]
[Prior art]
Generally, in a graphic database such as a road map mapping system, a predetermined area needs to be enlarged and displayed on a display or the like for the purpose of examining details or correcting graphic data.
[0003]
To enlarge a predetermined area, first, figure data is called up for each predetermined rectangular mesh area (basic area) and displayed on the display screen, and the user specifies an arbitrary area in the display screen. The graphic data in the specified range is enlarged to display necessary detailed graphic data on the display screen.
[0004]
Regarding a method of enlarging a rectangular range having the same horizontal axis as the horizontal direction of the mesh and displaying it on a display screen, and displaying a once-specified rectangular range, the present applicant has disclosed a "display screen switching device (Japanese Patent Laid-Open No. 7-200789). ) "Has been filed.
[0005]
[Problems to be solved by the invention]
However, a rectangular range having an arbitrary inclination with respect to the horizontal direction of the mesh is specified and displayed, and when the display range is changed, the range specified in the previous stage is stored and displayed again. Could not. Therefore, when trying to display the same range, the operator must specify the range again by referring to drawings and memories previously issued, which places a heavy burden on the operator and increases the range. There was a problem that the reproduction was inaccurate.
[0006]
The present invention has been made in view of such a problem, and an object of the present invention is to specify an arbitrary rectangular range having an arbitrary inclination by a simple method, and to obtain a parameter necessary for displaying the rectangular range. Is stored in a storage device, and a once designated range can be easily called at any time thereafter.
[0007]
[Means for Solving the Problems]
In order to achieve the above-mentioned object, the present invention provides first developing means for extracting graphic data within a basic range from a graphic database holding graphic data and developing the graphic data into a first work file; First display means for displaying on a screen, designating means for designating a rectangular first range in an arbitrary direction in the graphic data displayed by the first display means, and the first work file And a second display means for extracting the graphic data in the first range from the data and developing the graphic data in a second work file, and a second display means for displaying based on the data developed in the second work file. The designation means designates a starting point and an ending point in the graphic data displayed by the first display means, and sets a basic line connecting the starting point and the ending point to water in the first range. A display device for graphic data, characterized in that the direction of the center line.
Here, the second developing means extracts graphic data in a rectangular second range circumscribing the first range and surrounded by sides parallel to each side of the basic range, and extracting the figure data with the basic line. Graphic data is obtained in a coordinate system rotated by an angle formed by the base of the basic range, and is expanded to a second work file.
Further, the second display means displays the graphic data in the first range by moving the graphic data in a direction perpendicular to the basic line.
[0008]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing an example of a device configuration of a display screen selection device 1 used in an embodiment of the present invention. In FIG. 1, 2 is a host computer, 3 is an internal storage device, 4 is a map database, 5 is an application program, 7 is a work area, 9 is a display, 11 is a digitizer (or tablet or the like), 13a is a stylus pen, a cursor, etc. Reference numeral 13b denotes a pointing device such as a mouse, 15 denotes a keyboard used for data input, command input, movement of a display cursor on the display 9, and the like, and 17 denotes a printer (inkjet printer, laser printer, electrostatic plotter, or the like). In the work area 7, a first work file 21, a second work file 23, and the like are prepared.
[0009]
The host computer 2 performs various processes according to the application program 5 stored in an external storage device or the like. The contents of the map database 4 are displayed on the display 9 by the operation of the operator. When the pointer 13b is moved, the cursor moves on the display 9 as the pointer 13b is moved. By clicking the pointer 13b, a point or a line segment of the map on the display 9 is designated, a displayed menu or the like is displayed. The next work content can be selected from. In addition, the operator can select the work content by clicking the pointing tool 13a on a menu sheet or the like affixed on the digitizer 11.
[0010]
The map database 4 stored in the external storage device is configured as a separate layer for each type of data such as road data, building data, and gas pipe data, and is provided with a search layer number. The map database 4 is composed of a set of meshes separated by a rectangular range having a predetermined size. Each mesh is assigned a mesh number for search.
[0011]
The operator can use the application program 5 to store data necessary for work in a work area 7 provided in the internal storage device 3 or the like. The work area 7 is provided with a first work file 21, a second work file 23, and the like. The data storage table 101 (FIG. 10) for recalling the graphic in the range specified by the operator is temporarily stored in the internal storage device 3, but is stored in the external storage device for long-term storage.
[0012]
FIG. 2 shows a mesh range ("basic range" in the claims) 41, a first window (first specified range) 43, a second window (second specified range) 44, and a third window (third window) in the present embodiment. FIG. FIG. 2 shows a state in which a layer of road data in a mesh range 41 selected on the entire display 9 is selected and displayed.
[0013]
In the present embodiment, a case will be described in which the aspect ratio a of the mesh is the same as the aspect ratio of the display 9 and the data of the entire mesh enters the entire display 9. Further, within the mesh range 41 displayed on the display 9, the first window 43 is designated to change the display content of the display 9, and then the second window 44 and the third window 45 are designated.
[0014]
The coordinates of the four corner points constituting the mesh range 41 displayed on the display 9 are stored in the map database 4 as absolute coordinates. Assuming that the length of the mesh range 41 in the X-axis direction is L and the aspect ratio is a, the length in the Y-axis direction is aL. Assuming that the coordinates of the point A1 at the lower left origin are A1 (XA, YA), the coordinates of the remaining three corners are B1 (XA + L, YA), C1 (XA, YA + aL), and D1 (XA + L, YA + aL), respectively. is there. The mesh surrounded by the coordinates of these four points becomes a rectangle in the case of rectangular coordinates and is displayed in accordance with the four sides of the display area of the display 9.
[0015]
FIG. 3 and FIG. 4 are flowcharts illustrating the functions of the display screen selection device 1. First, the operator causes the display 9 to display contents as shown in an example of the basic selection menu in FIG. Next, the target layer number is specified from the map database 4 using the pointing tool 13b or the like, and the mesh range 41 is specified (step 301). The mesh range 41 is selected by designating a mesh number or an address. In the present embodiment, the layer number designates a layer number constituting road map data.
[0016]
Next, map data for the specified mesh and layer is extracted from the map database 4 and stored in the first work file 21 (step 302). The host computer 2 displays the map data stored in the first work file 21 on a screen (Step 303). At this stage, the operator determines whether or not to end the operation (step 304). If the operation is not terminated in step 304, an arbitrary range in the display 9 can be designated and enlarged.
[0017]
FIG. 6 is a diagram showing the start point 51 and the end point 53. The operator designates, for example, a current point such as a target road as a starting point 51 and an intermediate destination as an end point 53 with the pointing device 13b or the like (step 305). As will be described later, if the line connecting the starting point 51 and the ending point 53 is the horizontal center line 57 of the range to be displayed, the rectangle whose aspect ratio can be displayed on the display 9 from the aspect ratio a of the display 9 is Is a range surrounded by four points S, T, Q, and R.
[0018]
The host computer 2 calculates the magnitude and angle θ of the basic vector 55 from the start point 51 to the end point 53 (Step 306). Assuming that the coordinates of the start point 51 and the end point 53 are (x1, y1) and (x2, y2), the angle θ is calculated by the following equation.
θ = tan-1 [(y2-y1) / (x2-x1)]
[0019]
Next, a line connecting the start point 51 and the end point 53 is set as a horizontal center line 57, and a first maximum range (first range in claims) 59 is calculated (step 307). The coordinates of both ends S and T of the bottom of the first maximum range 59 are (XS, YS) and (XT, YT), and the coordinates of both ends Q and R of the top are (XQ, YQ) and (XR, YR). . At this time, assuming that the coordinates of the starting point 51 are (XO, YO) and the coordinates of the ending point 53 are (XP, YP), the coordinates S (XS, YS) and T (XT, YT) at both ends of the base are represented by the following equations. Is obtained as the solution of
[0020]
That is,
XS = a (YT-YS) / 2 + X0
YS = a (XT-XS) / 2 + Y0
XT = a (YT-YS) / 2 + XP
YT = a (XT-XS) / 2 + YP
[0021]
FIG. 7 is a diagram showing a circumscribed rectangle (second range of claims) 61. From the first work file 21, a range of a circumscribed rectangle 61 circumscribing the first maximum range 59 and surrounded by sides parallel to each side of the mesh range 41 is obtained. The graphic data in the circumscribed rectangle 61 surrounded by the four corner points A2, B2, C2, and D2 is extracted and developed in the second work file 23 (step 308). Assuming that the coordinates of the lower left point A2 are (Xmin, Ymin) and the coordinates of the upper right point D2 are (Xmax, Ymax), Xmin is the minimum value of XQ, XR, XS, XT, and Xmax is XQ, XR, XS, The maximum value of XT, Ymin, is the minimum value of YQ, YR, YS, YT, and Ymax is the maximum value of YQ, YR, YS, YT.
[0022]
FIG. 8 is a diagram showing rotations of the X axis and the Y axis. The X axis and the Y axis are each rotated by an angle θ. The rotated X axis is the XX axis, the rotated Y axis is the YY axis, and the coordinates of the graphic data in the circumscribed rectangle 61 in the coordinate system composed of the XX axis and the YY axis are obtained. That is, the data of the second work file 23 is rotated around the lower left point A1 of the mesh of the first work file 21 so that the mesh base 71 connecting A1 and B1 is parallel to the basic vector 55. Then, the rotated data is replaced with the original data of the second work file 23 (step 309).
[0023]
Assuming that the coordinates after rotation of the general coordinates (X, Y) before rotation are (X1, Y1), X1 and Y1 are respectively obtained by the following equations.
X1 = (X−XA) cos θ + (Y−YA) sin θ + XA
Y1 = − (X−XA) sin θ + (Y−YA) cos θ + YA
[0024]
Therefore, if the coordinates after rotation of the point S (XS, YS) and the point T (XT, YT), which are the two bottom points of the first maximum range 59, are (XS1, YS1) and (XT1, YT1), XS1, YS1, XT1, and YT1 are respectively obtained by the following equations.
XS1 = (XS−XA) cos θ + (YS−YA) sin θ + XA
YS1 = − (XS−XA) sin θ + (YS−YA) cos θ + YA
XT1 = (XT-XA) cos θ + (YT-YA) sin θ + XA
YT1 = − (XT−XA) sin θ + (YT−YA) cos θ + YA
[0025]
Next, among the rotated data in the second work file 23, the graphic data in the first maximum range 59 surrounded by the four points S, T, Q, and R is displayed on the display 9. The displayed graphic data can be easily translated in a direction perpendicular to the basic vector 55 in the screen of the display 9 (step 310).
[0026]
FIG. 9 is a diagram illustrating the first window 43. Only a necessary portion within the first maximum range 59 displayed on the display 9 is surrounded by a first window 43 including four points E, F, G, and H. At this time, the operator may designate only the lower left one point E out of the four points with the pointing device 13b or the like. Here, for example, it is assumed that the point E is designated as the intersection of the X axis and the line segment SQ.
[0027]
At this time, assuming that the coordinates of the point E are (X1E, Y1E) and the coordinates of an arbitrary point before the movement are (X1, Y1), the coordinates (X2, Y2) after the parallel movement are expressed by the following equation.
X2 = X1 + X1E
Y2 = Y1 + Y1E
[0028]
The vector of the lower end line connecting the points E and F is the same as the basic vector. Further, the position of the upper end line is automatically set to a position symmetrical to the lower end line with respect to the horizontal center line 57. The host computer 2 displays the graphic data in the range surrounded by the first window 43 on the display 9 (Step 311).
[0029]
Next, the operator determines whether or not to save data for determining the window range (step 312). FIG. 10 is a diagram showing the data storage table 101. For example, if the user selects to save the data that determines the range of the first window 43, the coordinate value data of the starting point 51 and the ending point 53 of the basic vector 55 corresponding to the lower end line EF of the first window 43 Then, the display window parameter 103 and the saved work file number 105 are stored in the storage device (step 313).
[0030]
Here, the display window parameter 103 is the aspect ratio b of the first window 43 calculated. The saved work file number 105 of the first window 43 is W2 in FIG. Note that W1 is a save work file number 105 when the entire mesh range 41 is saved as a window.
[0031]
If it is determined in step 312 not to save the window range, and if step 313 is completed, the operator determines whether or not to specify another window range (step 314). If another window is not specified, the process returns to step 304.
[0032]
When another window is designated, it is determined whether or not to designate a window that does not change the angle θ of the basic vector (step 315). When a window having the same basic vector angle θ is designated, the positions of the four corner points that constitute the window in a rectangular shape are designated and displayed (step 316).
[0033]
FIG. 11 is a diagram illustrating a plurality of windows shown in FIG. For example, in the second window 44 which has the same lower end line as the first window 43 and differs only in the position of the upper end line, the starting point and the ending point of the vector are the same as the first window 43. In the second window 44, a display window parameter (aspect ratio) 103 is different from that in the first window 43.
[0034]
In step 315, when it is desired to specify a window in which the angle θ of the basic vector is different from that of the first window 43, as in the third window 45 of FIG. 11, the process returns to step 305 to newly specify a range. For example, if the display has the same aspect ratio a as the display 9 and both ends of the lower line are I and J, the range can be designated by the fourth data of the number of display times in the table of FIG. .
[0035]
When the window is called later, the frame lines of each range included in the data storage table 101 are displayed on the display 9 on which the mesh range 41 is displayed in different colors, and one of the frame lines is indicated by the indicator 13b. Thus, the corresponding work file number 105 is automatically extracted. The host computer 2 automatically performs steps 307 to 411 in FIGS. 3 and 4 using the data in the data storage table 101, extracts necessary data from the map database 4, processes the data, and displays To be displayed.
[0036]
As described in detail above, according to the present embodiment, an arbitrary rectangular range having an arbitrary inclination is specified by a simple method, parameters necessary for displaying the rectangular range are stored in the storage device, and It is possible to provide the display screen selection device 1 for the map database 4 that can call the designated range at any time.
[0037]
In the present embodiment, the map database 4 includes only graphics, but the graphic data may also include, for example, characters describing a graphic such as a road name. .
[0038]
Further, in the present embodiment, only the layers constituting the road map data are selected from the map database 4 and stored in the first work file 21. However, when a plurality of layers, such as a road and a gas pipe, are simultaneously called and stored separately in the first work file 21 and displayed on the display 9, the layer differs in the graphic data of each layer. It may be superimposed by giving a color.
[0039]
Further, in the present embodiment, when specifying the range, both ends of the horizontal center line are specified as a start point and an end point. , Or both ends of a diagonal line.
[0040]
Further, in the present embodiment, the position of the upper end line of the window is set to a target position with respect to the lower end line with respect to the center line 57 in the horizontal direction. The range of one window 43 may be set.
[0041]
Also, in step 312 of FIG. 3, the operator determines whether or not to save the data for determining the range of the first window 43. However, actually, the data is saved only for the range selected by the operator. It may be a method, a method of saving all data for determining the range every time the position of the upper or lower end of the window is determined, and erasing only unnecessary windows later, or another method.
[0042]
【The invention's effect】
As described above in detail, according to the present invention, an arbitrary rectangular range having an arbitrary inclination is specified by a simple method, and parameters necessary for displaying the rectangular range are stored in a storage device. It is possible to provide a graphic data display device capable of calling a designated area at any time.
[Brief description of the drawings]
FIG. 1 is a diagram showing an example of a device configuration of a display screen selection device 1 used in an embodiment of the present invention. FIG. 2 is a diagram showing a mesh range 41 and a window. FIG. FIG. 4 is a flowchart illustrating functions of the display screen selection device 1 (continued).
FIG. 5 shows an example of a basic selection menu. FIG. 6 shows a starting point 51 and an ending point 53. FIG. 7 shows a range of a circumscribed rectangle 61 circumscribing a first maximum range 59. FIG. FIG. 9 shows a first window 43; FIG. 10 shows a data storage table 101; FIG. 11 shows a plurality of windows shown in FIG. 10; ]
1 Display screen selecting device 2 Host computer 3 Internal storage device 4 Map database 5 Application program 7 Work area 9 Display 11 Digitizer 13a ... Indicator 13b ... Indicator 15 ... Keyboard 17 ... Printer 21 ... First work file 23 ... Second work file 41 ... Mesh range 43 ... First window 44 Second window 45 Third window 51 Starting point 53 End point 55 Basic vector 57 Horizontal center line 59 First maximum range 61 ... Circumscribed rectangle data 71... Mesh base 101... Data storage table 103... Display window parameter 105...

Claims (7)

図形データを保持する図形データベースから、基本範囲内の図形データを抽出し、第1のワークファイルに展開する第1の展開手段と、First developing means for extracting graphic data within a basic range from a graphic database holding graphic data and developing the graphic data into a first work file;
前記図形データを画面上に表示する第1の表示手段と、First display means for displaying the graphic data on a screen;
前記第1の表示手段によって表示された前記図形データにおいて、任意の方向の矩形状の第1範囲を指定する指定手段と、Designating means for designating a rectangular first range in an arbitrary direction in the graphic data displayed by the first display means;
前記第1のワークファイルから前記第1範囲の図形データを取り出して、第2のワークファイルに展開する第2の展開手段と、Second developing means for extracting the graphic data in the first range from the first work file and developing the graphic data into a second work file;
前記第2のワークファイルに展開されたデータを基に表示を行う第2の表示手段と、Second display means for displaying based on the data expanded in the second work file;
を具備し、With
前記指定手段は、前記第1の表示手段によって表示された図形データにおいて、起点及び終点を指定し、前記起点及び前記終点を結ぶ基本線を、前記第1範囲の水平方向の中心線とすることを特徴とする図形データの表示装置。The designating means designates a starting point and an ending point in the graphic data displayed by the first display means, and sets a basic line connecting the starting point and the ending point as a horizontal center line of the first range. A graphic data display device characterized by the following.
前記第2の展開手段は、前記第1範囲に外接し、前記基本範囲の各辺に平行な辺で囲まれる矩形状の第2範囲の中の図形データを抽出し、前記基本線と前記基本範囲の底辺とがなす角度だけ回転させた座標系において図形データを求め、第2のワークファイルに展開することを特徴とする請求項1記載の図形データの表示装置。The second developing means extracts graphic data in a rectangular second range circumscribing the first range and surrounded by sides parallel to each side of the basic range, and extracting the basic line and the basic 2. The graphic data display device according to claim 1, wherein the graphic data is obtained in a coordinate system rotated by an angle formed by the bottom of the range, and is expanded to a second work file. 前記第2の表示手段は、前記第1範囲の図形データを、前記基本線に垂直な方向に平行移動させて表示することを特徴とする請求項1記載の図形データの表示装置。2. The graphic data display apparatus according to claim 1, wherein the second display means displays the graphic data in the first range by moving the graphic data in a direction perpendicular to the basic line. 前記第1の表示手段、前記第2の表示手段によって表示される表示範囲を決定するデータを記憶する記憶手段を更に具備することを特徴とする請求項1記載の図形データの表示装置。2. The graphic data display device according to claim 1, further comprising storage means for storing data for determining a display range displayed by said first display means and said second display means. 前記第2の表示手段は、前記第2範囲の内部で指定された第1指定範囲の図形データを表示する請求項The said 2nd display means displays the graphic data of the 1st designated range designated inside the said 2nd range. 1One 記載の図形データの表示装置。A display device for the described graphic data. 前記第2の表示手段は、前記第1指定範囲同じ下端線を有し、前記第1指定範囲とは縦横比の異なる第2指定範囲の図形データを表示することを特徴とする請求項5記載の図形データの表示装置。6. The image processing apparatus according to claim 5, wherein the second display unit has the same lower end line as the first specified range and displays graphic data in a second specified range having an aspect ratio different from that of the first specified range. Display device for graphic data. 前記第2の表示手段は、前記第1範囲において、新たに指定された2点を結ぶ線を下端線とし、画面と同じ縦横比を有する第3指定範囲の図形データを表示することを特徴とする請求項1記載の図形データの表示装置。The second display means displays graphic data in a third specified range having the same aspect ratio as a screen, with a line connecting two newly specified points as a lower end line in the first range. The graphic data display device according to claim 1.
JP34020295A 1995-12-27 1995-12-27 Graphic data display device Expired - Lifetime JP3602899B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34020295A JP3602899B2 (en) 1995-12-27 1995-12-27 Graphic data display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34020295A JP3602899B2 (en) 1995-12-27 1995-12-27 Graphic data display device

Publications (2)

Publication Number Publication Date
JPH09175086A JPH09175086A (en) 1997-07-08
JP3602899B2 true JP3602899B2 (en) 2004-12-15

Family

ID=18334690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34020295A Expired - Lifetime JP3602899B2 (en) 1995-12-27 1995-12-27 Graphic data display device

Country Status (1)

Country Link
JP (1) JP3602899B2 (en)

Also Published As

Publication number Publication date
JPH09175086A (en) 1997-07-08

Similar Documents

Publication Publication Date Title
JP2619962B2 (en) Figure editing method and apparatus
CN112380357B (en) Method for realizing interactive navigation of knowledge graph visualization
JPH05265689A (en) Information processing equipment
US5712965A (en) Three-dimensional solid arranging/editing method in a computer graphic system and system
US20070150837A1 (en) Graphics stack system and method
JPH0336668A (en) Shape generating system for cad system
JP3602899B2 (en) Graphic data display device
JPH07234949A (en) Perspective view creation support method and perspective view creation support system
JPS60198687A (en) Picture quality changing device
JP2000011208A (en) Device and method for image display
JP2674647B2 (en) Graphic processing system
JPH05314269A (en) Graph making device
JP2611198B2 (en) Image processing device
JP3381994B2 (en) Display screen switching device
JP2963320B2 (en) Drawing display device
JPS62247373A (en) Layout device for printing plate-making
JP2643617B2 (en) Method and apparatus for drawing walls or beams in architectural drawings, etc.
JP2555082B2 (en) Character display change device
JP3383142B2 (en) Figure creation device
JP2605690B2 (en) Image creation device
JP2575636B2 (en) Graphic display device
JP2721344B2 (en) Image processing method
JP2001022491A (en) Screen input device
JPS6385978A (en) Graphic editing device
JPH0776960B2 (en) Table ruled line creation method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040608

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040806

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: 20040921

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040927

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: 20071001

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081001

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091001

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101001

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111001

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121001

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121001

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20131001

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term