JP3162130B2 - Graphic data input method and graphic data output method - Google Patents

Graphic data input method and graphic data output method

Info

Publication number
JP3162130B2
JP3162130B2 JP27881091A JP27881091A JP3162130B2 JP 3162130 B2 JP3162130 B2 JP 3162130B2 JP 27881091 A JP27881091 A JP 27881091A JP 27881091 A JP27881091 A JP 27881091A JP 3162130 B2 JP3162130 B2 JP 3162130B2
Authority
JP
Japan
Prior art keywords
data
graphic
line
attribute
coordinate
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
JP27881091A
Other languages
Japanese (ja)
Other versions
JPH0594508A (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 JP27881091A priority Critical patent/JP3162130B2/en
Publication of JPH0594508A publication Critical patent/JPH0594508A/en
Application granted granted Critical
Publication of JP3162130B2 publication Critical patent/JP3162130B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、図形データ入力方式
よび図形データ出力方式、例えばコンピュータマッピン
グにおける地図データベースを構築するときの図形デー
タの入力方式、当該地図データベースから任意の図面
の図形データを読み出して出図するときの図形データの
出力方式に関し、特に図面中の図形要素となっている各
種の線を特定するための図形デ−タが、当該線上の点の
位置を示す座標デ−タと、当該線上の点と点との間の線
分の種類,幅,色などを示す属性デ−タとを持つものに
関する。
BACKGROUND OF THE INVENTION This invention is, your graphic data input method
And a graphic data output method, for example, an input method of graphic data when constructing a map database in computer mapping, and an output method of graphic data when reading and outputting graphic data of an arbitrary drawing from the map database, Graphic data for specifying various lines that are graphic elements in the drawing includes coordinate data indicating the position of a point on the line and a line segment between the points on the line. It relates to data having attribute data indicating type, width, color, and the like.

【0002】一般に、図形データ(地図データ)をコン
ピュータで処理することによって、任意の地域の地図、
例えばガス管,水道管,通信管,電力管などの地下埋設
物の埋設状態を示す図面、各道路を示す図面および不動
産・建物の配置状態を示す図面などを作成・修正するこ
とが広く行われ、住宅管理,公益設備管理,道路管理や
行政管理などの各分野で利用されている。
Generally, by processing graphic data (map data) by a computer, a map of an arbitrary area,
For example, it is widely used to create and modify drawings showing the state of burial of underground objects such as gas pipes, water pipes, communication pipes, and power pipes, drawings showing roads, and drawings showing the arrangement of real estate and buildings. It is used in various fields such as housing management, utility management, road management and administrative management.

【0003】[0003]

【従来の技術】このような各種の図面を作成してくため
には、その図面内の各図形についての地図データベース
を構築することが必要であり、従来、これら種々の図形
を数値化して入力する場合の最小単位として図6に示す
ような各種の図形要素を用いており、例えば線分列につ
いては各変曲点のx座標,y座標を座標データとして入
力し、その図形の輪郭を特定している。
2. Description of the Related Art In order to create such various drawings, it is necessary to construct a map database for each figure in the drawing. Conventionally, these various figures are digitized and input. Various graphic elements as shown in FIG. 6 are used as the minimum unit in this case. For example, for a line segment sequence, the x coordinate and y coordinate of each inflection point are input as coordinate data, and the outline of the graphic is specified. ing.

【0004】また、作成された地図をより利用しやすい
ものにするため、各図形要素を構成する線の種類(実
線,点線など),太さ,色などを示す属性データもその
座標データとともに入力し、これら両者のデータからな
る図形データ(以下、線画データという)を用いて地図
データベースを作成することも一般的である。
In order to make the created map easier to use, attribute data indicating the type (solid line, dotted line, etc.), thickness, color, etc. of each graphic element is input together with the coordinate data. In addition, it is also common to create a map database using graphic data (hereinafter, referred to as line drawing data) composed of these two data.

【0005】そして、従来の線画データのフォーマット
としては図7に示すようなものが用いられている。その
一つは、ヘッダに属性データを格納し、これに続くデー
タ領域に座標データを格納することにより線画データを
構成するもので、例えば線分列の線画データの場合、
(a)に示すように、ヘッダ71には線分の種類を示す「SEL
2」と線分の色を示す「色番号」とを格納し、データ領
域72には「線分の始点と終点それぞれのx座標,y座
標」を格納している(パソコン・マッピング入門,K.
WESTLAND著,日刊工業新聞社発行,79頁)。
A conventional line drawing data format as shown in FIG. 7 is used. One of them is to construct line drawing data by storing attribute data in a header and storing coordinate data in a data area following the attribute data. For example, in the case of line drawing data of a line segment sequence,
As shown in (a), the header 71 indicates “SEL
2 and a "color number" indicating the color of the line segment, and the data area 72 stores "x-coordinate and y-coordinate of the start point and end point of the line segment" (introduction to personal computer mapping, K .
WESTLAND, published by Nikkan Kogyo Shimbun, p. 79).

【0006】他の一つは、ヘッダに続くデ−タ領域に設
定した個々の専用領域に座標データおよび属性データそ
れぞれを格納することにより線画データを構成するもの
で、例えば線分列の線画データの場合、 (b)に示すよう
に、デ−タ領域72を3次元のデ−タ配列形式として「線
分の始点と終点それぞれのx座標,y座標」を1,2番
目の領域に、また「線種タグ」を3番目の領域にそれぞ
れ格納している(ディジタルマッピング,国土地理院監
修,鹿島出版発行,44頁)。
The other is to construct line drawing data by storing coordinate data and attribute data in respective dedicated areas set in a data area following a header. For example, line drawing data of a line segment sequence is formed. In the case of (b), as shown in (b), the data area 72 is defined as a three-dimensional data array format, and the “x-coordinate and y-coordinate of the start point and the end point of the line segment” are set in the first and second areas, respectively. The "line type tag" is stored in the third area (digital mapping, supervised by GSI, published by Kashima Shuppan, page 44).

【0007】[0007]

【発明が解決しようとする課題】このように、従来の線
画データのフォーマットでは、座標データの格納領域と
は別に属性データの格納領域を設定するといった構成に
しているため、線分の種類などが途中で変化した場合に
はその都度ヘッダ部分の属性データが異なる新たな線画
データとして作成しなければならない〔図7(a) のと
き〕という問題点や、また属性データの変更がない場合
には属性データ専用の格納領域が無駄になる〔図7(b)
のとき〕という問題点があった。
As described above, in the conventional line drawing data format, the attribute data storage area is set separately from the coordinate data storage area. If there is a change in the middle, the attribute data of the header part must be created as new line drawing data each time (in the case of FIG. 7A), or if there is no change in the attribute data, A storage area dedicated to attribute data is wasted [FIG. 7 (b)
At the time).

【0008】そこで、本発明では、座標データおよび属
性データのデータ配列を共通形式、例えば2次元配列の
ものとしてこのデータ配列からなるデータ領域にはこれ
らのデータのいずれも選択的に格納できるようにし、ま
た両データを識別するためにそれぞれのデータの正負の
符号を異ならせることにより、線画データのフォーマッ
トを無駄のない効率的なものにすることを目的とする。
Therefore, in the present invention, the data array of the coordinate data and the attribute data is set to a common format, for example, a two-dimensional array, so that any of these data can be selectively stored in the data area composed of the data array. It is another object of the present invention to make the format of line drawing data lean and efficient by making the sign of each data different in order to identify both data.

【0009】[0009]

【課題を解決するための手段】本発明は、線画データの
構成する座標データと属性データとを共通のデータ領域
に、それぞれのデータの正負の符号を異ならせた状態で
入力して図面単位の図形データベースを構築し、この図
形データベースから特定図面の線画データを読み出して
処理する場合にはその符号の正負を判断することによ
り、求めたデータが座標データであるか属性データであ
るかを区別するようにしたものである。
According to the present invention, coordinate data and attribute data constituting the line drawing data are input to a common data area in a state where the signs of the respective data are different from each other, and the data are input in units of drawings. When a graphic database is constructed and line drawing data of a specific drawing is read from the graphic database and processed, it is discriminated whether the obtained data is coordinate data or attribute data by judging the sign thereof. It is like that.

【0010】図1は本発明の原理説明図である。図にお
いて、1は、入力対象図図であり、ガス管の埋設位置な
どを示す線(P1 ーP2 ーP3 ーP4 )を書き込んだロ
ーカル図面などが用いられる。2は、入力部であり、入
力対象図面1を例えばディジタイザなどにセットしたも
ので、カーソルの移動操作によって入力対象線の所定の
点P1 〜P4 を指示することによりその座標データを、
例えば正の符号を持つ値で入力し、また(P1 ーP2
などの各線分の種類,幅,色などを示す属性データを、
例えば負の符号を持つ値で入力している。3は、図形デ
ータ(線画データ)のフォーマット例であり、座標デー
タと属性データのデータ配列はともに共通形式のもの、
例えば2次元のデータ配列に設定されている。4は、地
図データベースであり、入力対象線についての座標デー
タと属性データのデータ列で構築されている。5は、ア
プリケーションプログラムであり、地図データベース4
から所定の図形データを読み出してその中の座標データ
と属性データを区別してそれぞれに対応した編集処理を
行っている。6は、出力部であり、アプリケーションプ
ログラム5での編集処理に基づいた図形の表示や印刷を
行っている。
FIG. 1 is a diagram illustrating the principle of the present invention. In the drawing, reference numeral 1 denotes an input target diagram, which is a local drawing in which a line (P 1 -P 2 -P 3 -P 4 ) indicating a gas pipe burying position or the like is written. Reference numeral 2 denotes an input unit which sets the input target drawing 1 on, for example, a digitizer or the like, and designates predetermined points P 1 to P 4 of the input target line by moving a cursor to change its coordinate data.
For example, enter a value with a positive sign and (P 1 -P 2 )
Attribute data indicating the type, width, color, etc. of each line segment,
For example, a value having a negative sign is input. Reference numeral 3 denotes a format example of graphic data (line drawing data), in which the coordinate data and the attribute data are arranged in a common format.
For example, it is set in a two-dimensional data array. Reference numeral 4 denotes a map database, which is constructed from a data string of coordinate data and attribute data on the input target line. Reference numeral 5 denotes an application program, and a map database 4
, Predetermined graphic data is read from the memory, and coordinate data and attribute data in the graphic data are distinguished from each other, and corresponding editing processing is performed. Reference numeral 6 denotes an output unit that displays and prints a figure based on the editing process performed by the application program 5.

【0011】ここで、アプリケーションプログラム5に
よる処理手順は次のようになっている。すなわち、 地図データベース4から、表示・印刷を希望する図面
の線画データを読み出して、次のステップに進む。 処理対象データを、線画データからデータ配列単位で
取り出して、次のステップに進む。 処理対象データの符号が「正」になっているかどうか
を判断し、「YES」の場合は次のステップに進み、「N
O」の場合はステップに進む。 座標データとしての編集処理を行なって、ステップ
に戻る。 属性データとしての編集処理を行なって、ステップ
に戻る。 といった編集処理により、希望図面を出図している。
Here, the processing procedure by the application program 5 is as follows. That is, line drawing data of a drawing desired to be displayed and printed is read from the map database 4, and the process proceeds to the next step. Data to be processed is extracted from the line drawing data in data array units, and the process proceeds to the next step. It is determined whether the sign of the data to be processed is “positive”, and if “YES”, the process proceeds to the next step and “N
If "O", go to step. Edit processing as coordinate data is performed, and the process returns to the step. The editing process as the attribute data is performed, and the process returns to the step. The desired drawing is issued by such editing processing.

【0012】[0012]

【作用】本発明は、このように、地図データベースを構
築する際に用いる線画データを、線上の各点の座標デー
タと各点間の線分についての属性データからなるデータ
列で表現する際、これら座標データおよび属性データの
データ配列を共通形式にして、かつそれぞれのデータの
正負の符号を異なったものとすることにより、座標デー
タの格納領域と属性データの格納領域とを共用化したも
のである。
According to the present invention, when the line drawing data used for constructing the map database is represented by a data string composed of coordinate data of each point on the line and attribute data of a line segment between the points, The coordinate data storage area and the attribute data storage area are shared by setting the data array of the coordinate data and the attribute data to a common format and making the sign of each data different. is there.

【0013】ここで、各種属性の中で使用頻度の高いも
の、例えば(図1においては)実線についてはデフォル
トされ、その属性データは省略されている。そして、座
標データおよび属性データの正負の符号をどのように割
り振るかは任意であり、座標データに負の符号を与え、
属性データに正の符号を与えるようにしてもよい。
Here, among the various attributes, those frequently used, for example, the solid line (in FIG. 1) are defaulted, and the attribute data is omitted. Then, it is optional how to assign the positive and negative signs of the coordinate data and the attribute data, and a negative sign is given to the coordinate data,
A positive sign may be given to the attribute data.

【0014】本発明は線分列のみを入力対象とするので
はなく、例えば図6に示したような各種の線についても
それぞれの線画データの入力を行うことができ、例えば
円弧についてはその半径および膨らみの方向をそれぞれ
指示するコードデータを属性データとして入力すればよ
い。
According to the present invention, not only a line segment sequence is input but also line drawing data can be input for various lines as shown in FIG. 6, for example, the radius of a circular arc can be input. And code data designating the direction of the bulge may be input as attribute data.

【0015】さらに、入力対象線が「半円」である場合
にも、入力部2において、座標データで指定される点と
次の点との間で半円を描くこととその膨らみの方向を指
示するコードデータを属性データとして用いればよく、
また「円」を入力する場合には二つの半円に分割するか
複数の円弧に分割してから個々の部分について先の入力
処理を行えばよい。
Furthermore, even when the input line is a "semicircle", the input unit 2 draws a semicircle between the point specified by the coordinate data and the next point, and determines the direction of the bulge. Code data to be instructed may be used as attribute data,
When a "circle" is input, it is only necessary to divide the image into two semi-circles or a plurality of arcs, and then perform the above-described input processing on each part.

【0016】[0016]

【実施例】図2〜図5を参照して本発明の実施例を説明
する。図2は、本発明の、線画データの入出力システム
の概要を示す説明図であり、20はホストコンピュータ,
21は地図データベースを格納した大容量のディスク外部
記憶装置,22は図面の出力処理などを行うアプリケーシ
ョンプログラムを格納し、ワーク領域を持つ大容量のデ
ィスク外部記憶装置,23はキーボードを備えた属性デー
タ入力部,24は図形データ入力の確認するための表示
部,25はセットした図面の入力対象点の座標データをカ
ーソルの移動により入力するためのディジタイザ,26は
ホストコンピュータ20から送られてくる出力用データに
基づいて希望図面を表示する機能や検索機能を備えた表
示装置,27は希望図面を記録紙にプリントアウトするた
めのプロッタ装置をそれぞれ示している。
An embodiment of the present invention will be described with reference to FIGS. FIG. 2 is an explanatory diagram showing an outline of a line drawing data input / output system according to the present invention.
Reference numeral 21 denotes a large-capacity external disk storage device that stores a map database, 22 denotes a large-capacity external disk storage device that stores an application program for performing drawing output processing and the like, and 23 denotes attribute data having a keyboard. An input unit, 24 is a display unit for confirming input of graphic data, 25 is a digitizer for inputting coordinate data of an input target point of the set drawing by moving a cursor, 26 is an output sent from the host computer 20 A display device having a function of displaying a desired drawing based on the application data and a search function, and a plotter device 27 for printing out the desired drawing on recording paper are shown.

【0017】ここで、地図デ−タベース21には各線画デ
−タを入力対象となった図面ごと、例えばその図面番号
ごとにまとめた状態で格納されており、またアプリケー
ションプログラムは、オペレータが指定した図面番号に
基づいて地図データベース21から読み出される線画デ−
タ群を処理して出図するとともに、ホストコンピュータ
20を通じて全システムを制御している。
Here, the line database data is stored in the map database 21 for each drawing to be input, for example, for each drawing number, and the application program is designated by the operator. Line drawing data read from the map database 21 based on the drawing number
Process and release data, and host computer
The entire system is controlled through 20.

【0018】図3は入力対象線と、その線画デ−タのフ
ォーマットを示す説明図であり、30は入力対象線,Pi
はi番目の入力点,(xi,yi )は入力点Pi の座標
デ−タ,31はヘッダ, 32は線画デ−タのデ−タ数を格納
する領域, 33は2次元のデ−タ配列からなる線画デ−タ
領域, 34は線画デ−タ領域の中の属性データ領域をそれ
ぞれ示している。
[0018] Figure 3 is an input target line, the line drawing de - a diagram showing the format of data, 30 denotes an input target line, P i
Is the i-th input point, (x i , y i ) is the coordinate data of the input point P i , 31 is a header, 32 is an area for storing the number of line drawing data, and 33 is a two-dimensional data. A line image data area 34 composed of a data array indicates an attribute data area in the line image data area.

【0019】すなわち、この入力対象線の線画デ−タの
データ数は「21」,座標データのデータ数は「1
8」,属性データのデ−タ数は「3」であり、各属性デ
ータは2次元配列の中の、座標データのx座標に対応す
る部分に負の符号を持ったコードデータとして格納され
ている。なお、この格納場所は、座標データのy座標に
対応する部分にしてもよい。
That is, the number of line drawing data of the input target line is "21" and the number of coordinate data is "1".
8 ", the data number of the attribute data is" 3 ", and each attribute data is stored as code data having a negative sign in a portion corresponding to the x coordinate of the coordinate data in the two-dimensional array. I have. The storage location may be a portion corresponding to the y coordinate of the coordinate data.

【0020】そして、図4は各属性データの内容を示す
説明図であり、例えば図3の線画デ−タ中の5番目の属
性デ−タ「ー4」はP4 とP5 との間の線分が進行方向
左側への半円状のものであることを、また11番目の属性
デ−タ「ー2」はP9 とP10との間の線分が破線状のも
のであることを示している。
[0020] Then, FIG. 4 is an explanatory diagram showing the contents of each attribute data, Figure 3 of the line image de example - between the motor "-4" is P 4 and P 5 - 5 th attribute de in data the line segments are those traveling toward the left semicircular and 11 th attribute de - data "- 2" are those segments between P 9 and P 10 are the broken lines It is shown that.

【0021】また、図4で示される属性デ−タは、32ビ
ットの負数で構成され「2」の補数をとったときに
「1」となるビット番号によりお互いを区別できるよう
にしているが、属性デ−タのそれぞれを、その先頭ビッ
トと残りのビットの中の1ビットとの計2ビットのみを
「1」とした負数で選定することにより、先の「2」の
補数をとるといった処理を省略するようにしてもよい。
The attribute data shown in FIG. 4 is composed of a 32-bit negative number, and can be distinguished from each other by a bit number which becomes "1" when complemented by "2". , By selecting each attribute data as a negative number in which only two bits of the leading bit and one of the remaining bits are "1", the complement of "2" is obtained. The processing may be omitted.

【0022】図5は、指定図面を出力するときのフロー
を示す説明図である。すなわち、 (1)ホストコンピュータ20は、指定された図面番号のデ
ータ群を地図デ−タベース21から読み出して、次のステ
ップに進む。 (2)このデータ群の中から次の処理対象のデータを取り
出して、次のステップに進む。 (3)処理対象となっているすべてのデータについての処
理が終了したかどうかを判断し、「YES 」の場合は指定
図面の出力処理を終了し、「NO」の場合は次のステップ
に進む。 (4)処理対象デ−タについて、そのヘッダ部分などを調
べることにより線画デ−タであるかどうかを判断し、
「YES 」の場合は次のステップに進み、「NO」の場合は
ステップ(6) に進む。 (5)線画デ−タのデ−タ数N(図3の領域32のデ−タ)
を読み込むとともに、次に処理するデ−タ領域を指定す
るための変数Mの初期値「1」を設定して、ステップ
(7) に進む。 (6)対応するサブルーチン処理を行なって、ステップ(2)
に戻る。 (7)Nが正の整数であるかどうかを判断し、「YES 」の
場合は次のステップに進み、「NO」の場合はステップ
(2) に戻る。 (8)線画デ−タ中のM番目のデ−タを取り出して、次の
ステップに進む。 (9)このデ−タの符号が「正」であるかどうかを判断
し、「YES 」の場合は次のステップに進み、「NO」の場
合はステップ(11)に進む。 (10)この2次元配列のデ−タによってそのx座標および
y座標が特定される点を線分の端点とするような編集処
理を行なって、ステップ(12)に進む。 (11)属性デ−タと認識して対応する線分を出力するため
の処理、例えばサブルーチンの呼出し処理を行なって、
次のステップに進む。 (12)「Nー1」を新たなN、また「M+1」を新たなM
として、ステップ(7) に戻る。 といった手順により、地図デ−タベースから読み出した
線画デ−タのそれぞれを処理している。
FIG. 5 is an explanatory diagram showing a flow when outputting a designated drawing. That is, (1) the host computer 20 reads the data group of the designated drawing number from the map database 21 and proceeds to the next step. (2) The next data to be processed is extracted from this data group, and the process proceeds to the next step. (3) It is determined whether or not the processing has been completed for all the data to be processed, and if "YES", the output processing of the designated drawing ends, and if "NO", the procedure proceeds to the next step. . (4) Regarding the data to be processed, it is determined whether or not the data is line drawing data by examining a header portion thereof and the like.
If "YES", proceed to the next step; if "NO", proceed to step (6). (5) Number N of line drawing data (data in area 32 in FIG. 3)
And sets an initial value "1" of a variable M for designating a data area to be processed next.
Proceed to (7). (6) Perform the corresponding subroutine processing and go to step (2)
Return to (7) It is determined whether N is a positive integer. If “YES”, proceed to the next step; if “NO”, perform step
Return to (2). (8) The M-th data in the line drawing data is extracted, and the process proceeds to the next step. (9) It is determined whether the sign of this data is "positive". If "YES", proceed to the next step, and if "NO", proceed to step (11). (10) An editing process is performed such that the point whose x-coordinate and y-coordinate are specified by the data of the two-dimensional array is set as the end point of the line segment, and the process proceeds to step (12). (11) A process for recognizing attribute data and outputting a corresponding line segment, for example, a subroutine call process, is performed.
Proceed to the next step. (12) "N-1" is new N and "M + 1" is new M
And return to step (7). According to such a procedure, each of the line drawing data read from the map database is processed.

【0023】ここで、実線を示す属性デ−タは省略され
ているため(図4参照)、ステップ(9)で正符号のデー
タが続いたときには次のステップ(10)での編集処理にお
いて端点間を実線で接続するサブルーチンが実行され、
また、ステップ (9)で負符号のデ−タ、例えば図3の線
画データ中の5番目のデータが検出されたときにはこの
属性デ−タに対応するサブルーチンが呼び出され、次の
6番目のデ−タによりP5 が特定された段階でこのサブ
ルーチンが走行してP4 とP5 との間に半円が描かれる
ことになる。
Here, since the attribute data indicating the solid line is omitted (see FIG. 4), when the data of the positive sign continues in step (9), the end point is determined in the editing processing in the next step (10). A subroutine for connecting the lines with a solid line is executed,
When the data of the negative sign, for example, the fifth data in the line drawing data of FIG. 3 is detected in step (9), the subroutine corresponding to this attribute data is called, and the next sixth data is obtained. - the P 5 so that the semicircle is drawn between the P 4 and P 5 this subroutine is running at the specified stage by data.

【0024】[0024]

【発明の効果】本発明は、入力対象図面上の図形部分を
数値化して地図デ−タベースを構築し、またこの地図デ
−タベースから所定のデ−タ群を読み出してこのデ−タ
に基づいた図面を表示・印刷するといった場合に用いる
線画デ−タを、線上の各点の位置を表す座標データと各
点間の線分の種類などを表す属性データとからなるデー
タ列で表現するに際して、これら座標データおよび属性
データのデータ配列を共通形式、例えば2次元のデ−タ
配列にし、かつそれぞれのデータの正負の符号を異なっ
たものとすることにより、各データ領域には座標デー
タ,属性データのそれぞれを選択的に格納できるよう
に、またその符号の違いによって両デ−タを識別できる
ようにしているため、自由度があって無駄のないフォー
マットの図形デ−タ(線画デ−タ)が確保され、その結
果、図形デ−タを格納するためのファイル容量の低減を
図ることや、希望図面を表示・印刷するための図形デ−
タ出力処理を効率的に行うことができる。
According to the present invention, a figure database on a drawing to be input is digitized to construct a map database, and a predetermined data group is read out from the map database and based on this data. When drawing line drawing data used for displaying and printing a drawing in a form of a data string including coordinate data representing the position of each point on the line and attribute data representing the type of line segment between the points, etc. By setting the data array of the coordinate data and the attribute data in a common format, for example, a two-dimensional data array, and making the sign of each data different, coordinate data and attribute data are stored in each data area. Since each of the data can be selectively stored and the sign of the data can be used to identify both data, graphic data in a format that has a high degree of freedom and is not wasteful. Ede - data) is ensured, as a result, graphic de - be reduced file capacity to store the data and the graphic data of to display and print the desired drawing -
Data output processing can be performed efficiently.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の、線画データの入出力システムの概要
を示す説明図である。
FIG. 2 is an explanatory diagram showing an outline of a line drawing data input / output system according to the present invention.

【図3】入力対象線と、その線画データのフォーマット
を示す説明図である。
FIG. 3 is an explanatory diagram showing an input target line and a format of the line drawing data.

【図4】本発明の、各属性データの内容を示す説明図で
ある。
FIG. 4 is an explanatory diagram showing the contents of each attribute data according to the present invention.

【図5】本発明の、指定図面を出力するきとのフローを
示す説明図である。
FIG. 5 is an explanatory diagram showing a flow of outputting a designated drawing according to the present invention.

【図6】一般的な、図形を数値化して入力する際に用い
られる各種図形要素を示す説明図である。
FIG. 6 is an explanatory diagram showing various graphic elements generally used when numerically inputting a graphic.

【図7】従来の、線画データのフォーマットを示す説明
図である。
FIG. 7 is an explanatory diagram showing a format of conventional line drawing data.

【符号の説明】[Explanation of symbols]

図1において、 1・・・入力対象図面 2・・・入力部 3・・・図形データ(線画データ)のフォーマット例 4・・・地図データベース 5・・・アプリケーションプログラム 6・・・出力部 In FIG. 1, 1 ... input target drawing 2 ... input unit 3 ... format example of graphic data (line drawing data) 4 ... map database 5 ... application program 6 ... output unit

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 G06T 11/00 - 11/80 G09B 29/00 Continuation of front page (58) Fields investigated (Int. Cl. 7 , DB name) G06T 1/00 G06T 11/00-11/80 G09B 29/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力対象図面中の図形要素となっている
線を特定するための図形デ−タが、当該線上の点の座標
デ−タと、当該線上の点と点との間の線分の属性デ−タ
とを持つようにした図形デ−タ入力方式において、 前記図形データとして、前記座標デ−タおよび前記属性
デ−タのデ−タ配列が共通形式で、かつ前記座標デ−タ
の符号を正負のいずれか一方に、前記属性デ−タの符号
を正負のいずれか他方にそれぞれ設定したものを用い、 前記デ−タ配列からなる各データ領域には、前記座標デ
−タおよび前記属性デ−タが選択的に格納されるように
したことを特徴とする図形デ−タ入力方式。
1. Graphic data for specifying a line serving as a graphic element in a drawing to be input includes coordinate data of a point on the line and a line between points on the line. In the graphic data input method having attribute data of the coordinate data, the coordinate data and the data array of the attribute data have a common format as the graphic data, and The sign of the data is set to one of the positive and negative signs, and the sign of the attribute data is set to the other of the positive and negative signs. Each of the data areas consisting of the data array contains the coordinate data. A graphic data input method, wherein data and the attribute data are selectively stored.
【請求項2】 図面中の図形要素となっている線上の点
の座標デ−タと、当該線上の点と点との間の属性デ−タ
とを持つ図形データを図面ごとに格納したデータベース
から指定図面の前記図形データを読み出すようにした図
形デ−タ出力方式において、 前記図形データとして、前記座標デ−タおよび前記属性
デ−タのデ−タ配列が共通形式で、かつ前記座標デ−タ
の符号が正負のいずれか一方に、前記属性デ−タの符号
が正負のいずれか他方にそれぞれ設定されたものを用
い、 前記データベースから読み出した図形データに対し、そ
の符号を調べてその内容が前記座標データであるか前記
属性データであるかの判定を行なうようにしたことを特
徴とする図形デ−タ出力方式。
2. A database storing, for each drawing, graphic data having coordinate data of points on a line which is a graphic element in the drawing and attribute data between the points on the line. figure de were to read the graphic data of the designated drawing from - the data output method, as the graphic data, the coordinate data - data and the attribute de - data de - in data sequence common format, and the coordinate data The sign of the data is set to one of the positive and negative signs, and the sign of the attribute data is set to the other of the positive and negative signs, and the sign is checked with respect to the graphic data read from the database. A graphic data output method for determining whether the content is the coordinate data or the attribute data.
【請求項3】 前記座標デ−タおよび前記属性デ−タに
対して前記判定結果に応じた編集処理を実行することに
より、前記指定図面を出力部に示すようにしたことを特
徴とする請求項2記載の図形デ−タ出力方式。
3. The method according to claim 2, wherein said coordinate data and said attribute data are
Executing an editing process according to the determination result.
It is noted that the designated drawing is shown on the output unit.
3. The graphic data output method according to claim 2, wherein:
JP27881091A 1991-09-30 1991-09-30 Graphic data input method and graphic data output method Expired - Lifetime JP3162130B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27881091A JP3162130B2 (en) 1991-09-30 1991-09-30 Graphic data input method and graphic data output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27881091A JP3162130B2 (en) 1991-09-30 1991-09-30 Graphic data input method and graphic data output method

Publications (2)

Publication Number Publication Date
JPH0594508A JPH0594508A (en) 1993-04-16
JP3162130B2 true JP3162130B2 (en) 2001-04-25

Family

ID=17602484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27881091A Expired - Lifetime JP3162130B2 (en) 1991-09-30 1991-09-30 Graphic data input method and graphic data output method

Country Status (1)

Country Link
JP (1) JP3162130B2 (en)

Also Published As

Publication number Publication date
JPH0594508A (en) 1993-04-16

Similar Documents

Publication Publication Date Title
JP2993673B2 (en) Electronic file device
JP2004240750A (en) Picture retrieval device
JPH07200786A (en) Filing device
JP3369734B2 (en) Three-dimensional computer-aided design apparatus and method
EP0364384B1 (en) Method of managing marker entities within a document data stream
JPH05233770A (en) Line drawing data retrieval system
JP3162130B2 (en) Graphic data input method and graphic data output method
JPH0812668B2 (en) Handwriting proofreading method
JP2792270B2 (en) Search device
JP2004240751A (en) Picture retrieval device
JP4585742B2 (en) Image display device, image display method, program, and recording medium
JP3353212B2 (en) Leader automatic creation method and leader automatic creation system
JP4365965B2 (en) Information processing apparatus, information processing method, and storage medium
JP3423775B2 (en) Figure editing and drawing device
JPH05108729A (en) Line drawing data retrieving system and line drawing data format
JPH06168278A (en) Facility data retrieving device
JP3312959B2 (en) Leader automatic creation method
JP3450346B2 (en) Different-scale map management device
JP2993880B2 (en) Electronic file device
JP3841986B2 (en) Drawing data management method, drawing data management apparatus therefor, and computer-readable recording medium
JP2993881B2 (en) Keyword generation method
JPH07152530A (en) Icon display system
JP3446045B2 (en) Partially revised facility map creation method and partially revised facility map creation method
JP2001021357A (en) Method and device for drafting geographical information
JPH10333554A (en) System and method for displaying map information

Legal Events

Date Code Title Description
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

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

Free format text: PAYMENT UNTIL: 20080223

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090223

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100223

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100223

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110223

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120223

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120223

Year of fee payment: 11