JPH09311925A - Graphic data storage system - Google Patents

Graphic data storage system

Info

Publication number
JPH09311925A
JPH09311925A JP8128573A JP12857396A JPH09311925A JP H09311925 A JPH09311925 A JP H09311925A JP 8128573 A JP8128573 A JP 8128573A JP 12857396 A JP12857396 A JP 12857396A JP H09311925 A JPH09311925 A JP H09311925A
Authority
JP
Japan
Prior art keywords
graphic
information
feature point
data
display
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
Application number
JP8128573A
Other languages
Japanese (ja)
Inventor
Susumu Takada
晋 高田
Masatoshi Ito
正俊 伊藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP8128573A priority Critical patent/JPH09311925A/en
Publication of JPH09311925A publication Critical patent/JPH09311925A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a graphic data storage system which can easily and quickly perform an internal processing that is due to a drawing updating processing. SOLUTION: This storage system includes a graphic information data base 12 which stores the graphic information including the identification number, type and attribute information of every graphic form included in an original drawing and a feature point data base 14 which stores the feature point information including the feature points representing the feature portions of a graphic shape such as the end point, the center point, etc., of every graphic form and the coordinate data on the feature points for every feature point. The information on the graphic form having the feature points included in a display area and the information on all feature points of the graphic form are extracted and displayed on a display graphic information table 16 and a display feature point information table 18, respectively. Then the only information on a certain graphic form and only the feature point information on the graphic form are deleted from a displayed drawing, and the coordinate data included in the feature point information on the graphic form are updated. Thus, the graphic form is moved.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は図形データ格納方
式、特に地図情報などの図面に基づいて図形データベー
スを構築する際、構築後に行う図形の削除、移動等の修
正処理を効率的に行えるようにする図形データの格納方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention makes it possible to efficiently perform correction processing such as deletion and movement of graphics after construction when constructing a graphics database based on a graphics data storage system, particularly drawings such as map information. The present invention relates to a storage method of graphic data.

【0002】[0002]

【従来の技術】一般に、地図情報(図形情報)をコンピ
ュータに読み込み作成した図形データベースの中から必
要な図形データを取り出して、希望地域の図面を表示す
るというコンピュータマッピングが、水道管、ガス管、
配線などの公益設備管理、道路管理等の各分野において
広く利用されている。例えば、電力関係の配電業務にお
いては、ある地域の図面を表示し、その表示した地域に
おける電信柱や配電線の配置を表示し、一部書き加えた
り、修正したりして配電線等の設備管理を地域毎に行っ
ている。各業務における管理範囲は広範囲に及ぶため、
従来においては地図情報の元図面を小分割し、小分割し
た範囲に含まれる図形データ毎に管理している。
2. Description of the Related Art Generally, computer mapping in which necessary graphic data is taken out from a graphic database created by reading map information (graphic information) into a computer and a drawing of a desired area is displayed is known as a water pipe, a gas pipe,
It is widely used in various fields such as public facilities management such as wiring and road management. For example, in power-related power distribution operations, a map of a certain area is displayed, and the arrangement of telephone poles and distribution lines in the area displayed is displayed, and parts such as distribution lines can be added or modified to provide equipment such as distribution lines. Management is performed for each region. Since the management range in each business is wide,
Conventionally, the original drawing of the map information is subdivided and managed for each figure data included in the subdivided range.

【0003】この従来における図形データの格納方法及
びその使用方法について図13を用いて説明する。ま
ず、広範囲の地図や地形等をデータベース化するとき、
地図全体(元図面)を一定幅で縦横に区切り分割し、分
割した各領域(以下、小図面)毎に地図の表示のために
用いる各図形を管理していた。図13(a)には、元図
面をA1〜F4の24個の小図面に分割した例が示され
ている。例えば、図形cは、端点をそれぞれ小図面A
1、B2に有する直線であるが、この図形cは、小画面
A1,A2,B2にまたがっているので、図13(b)
の図形データベースの概念的な内容例に示したように、
アクセス単位となる小画面A1,A2,B2毎に図形c
1,c2,c3に分割されて格納される。また、図形
b,dは、それぞれ小画面A2,B1に納まっているの
で、その図形b,dの形状はそのまま分割されずに図形
データベースに格納される。
A conventional method of storing graphic data and a method of using the same will be described with reference to FIG. First, when making a database of a wide range of maps and topography,
The entire map (original drawing) was divided into vertical and horizontal parts with a constant width, and each figure used for displaying the map was managed for each divided area (hereinafter, small drawing). FIG. 13A shows an example in which the original drawing is divided into 24 small drawings A1 to F4. For example, in the figure c, the end points of the figure c
Although it is a straight line in 1 and B2, since this figure c spans the small screens A1, A2 and B2, FIG.
As shown in the conceptual content example of the figure database of
Figure c for each of the small screens A1, A2, B2 that are access units
1, c2, c3 are divided and stored. Further, since the figures b and d are contained in the small screens A2 and B1, respectively, the shapes of the figures b and d are stored as they are in the figure database without being divided.

【0004】図形データベースのより詳細な内容を図1
4、図15を用いて説明する。図14は、元図面の分割
した小図面に関する情報を格納した図形情報テーブルで
ある。「分割図面番号」は、小図面を識別するために一
意に割り当てる番号であり、図13におけるA1〜F4
に相当する。「左下点」及び「右上点」は、各小図面の
左下と右上の座標点を格納する。図15は、各小図面に
含まれる図形に関する情報を格納する小画面情報テーブ
ルである。「図形番号」は、分割前の元図形を一意に識
別するための番号であり上記例では図形cに相当する。
「図形跨がり数」は、元図形が複数の小図面に跨ってい
るときの跨り小図面数であり、図形cの場合、3とな
る。「図形跨がり番号」は、元図形が複数の小図面に跨
がっているとき、各小図面に含まれる図形(跨がり図
形)の通し番号であり、図形cの場合、分割図形c1,
c2,c3のいずれかである。「図形要素データ」は、
c1,c2,c3に相当する分割された各分割図形の形
状を表す情報(形状データ)を格納する。形状データの
1ブロックの具体的なデータ構成を図16に示すが、こ
の形状データは小画面に含まれる各分割図形の種別や属
性情報等で構成され、更に図形種別毎に分割図形の線種
等の属性情報及び座標情報を持つ。「図形要素継続数」
は、各形状データのブロック数を格納し、「図形要素継
続通番」は、ブロックの通し番号を格納する。
A more detailed content of the graphic database is shown in FIG.
4 and FIG. FIG. 14 is a graphic information table that stores information regarding the divided small drawings of the original drawing. The “divided drawing number” is a number uniquely assigned to identify a small drawing and is A1 to F4 in FIG.
Is equivalent to The "lower left point" and "upper right point" store the lower left and upper right coordinate points of each small drawing. FIG. 15 is a small screen information table that stores information about graphics included in each small drawing. The “figure number” is a number for uniquely identifying the original figure before division, and corresponds to the figure c in the above example.
The “number of figures crossed over” is the number of small figures crossed over when the original figure straddles a plurality of small figures, and is 3 in the case of figure c. The "graphic crossing number" is a serial number of a graphic (crossing graphic) included in each small drawing when the original graphic spans a plurality of small drawings. In the case of the graphic c, the divided graphic c1,
Either c2 or c3. "Figure element data" is
Information (shape data) representing the shape of each of the divided divided figures corresponding to c1, c2, and c3 is stored. A concrete data structure of one block of the shape data is shown in FIG. 16. This shape data is composed of the types and attribute information of each divided figure included in the small screen, and the line type of the divided figure for each figure type. It has attribute information and coordinate information such as. "Number of continuous graphic elements"
Stores the number of blocks of each shape data, and "graphic element continuous serial number" stores the serial number of the block.

【0005】図形データベースを作成すると、小画面毎
に分割管理された図形情報等に基づいて、例えば小画面
A1〜B2の範囲にまたがっている領域Gの部分を表示
させたいときには、図13(c)のように小画面A1〜
B2に含まれる図形データを全て図形データベースから
取り出し仮想的にコンピュータの内部で描画した後、そ
の領域Gの部分のみを画面に表示させている。また、図
13(d)のように図形cを図形c’の位置に移動させ
るときには、図形cの構成部分である図形c1,c2,
c3をそれぞれ図形データベースから取り出し、それぞ
れ削除する。そして、図形c’を管理単位である小画面
A1,B1,A2毎に図形c1’,c2’,c3’に分
割して、分割図形それぞれに所定の図形データを作成し
図形データベースに格納する。
When a figure database is created, for example, when it is desired to display a portion of the area G which extends over the range of the small screens A1 and B2 based on the figure information which is divided and managed for each small screen, FIG. ) Small screen A1
After all the graphic data included in B2 is taken out from the graphic database and virtually drawn inside the computer, only the area G is displayed on the screen. Further, when the figure c is moved to the position of the figure c ′ as shown in FIG. 13D, the figures c1, c2, which are the constituent parts of the figure c, are moved.
Each c3 is retrieved from the graphic database and deleted. Then, the figure c'is divided into figures c1 ', c2', c3 'for each of the small screens A1, B1, A2 as a management unit, and predetermined figure data is created for each divided figure and stored in the figure database.

【0006】[0006]

【発明が解決しようとする課題】従来の図形データの格
納方式では、前述したように、1つの図形を小図面の単
位で分割管理していたので、1つの図形を削除したり移
動させたりするときなどでも、分割した数だけ図形デー
タを移動、削除させなければならず、内部処理が非常に
煩雑になってしまう。このように、1つの図形を分割管
理すると、分割しただけデータ量が増大してしまい、図
形の表示、修正等の処理時間も数倍も余計にかかってし
まうことになる。
In the conventional graphic data storage method, one graphic is divided and managed in units of small drawings as described above, so one graphic may be deleted or moved. Even at times, the graphic data must be moved and deleted by the number of divisions, which makes the internal processing very complicated. As described above, when one figure is divided and managed, the amount of data is increased by the division, and the processing time for displaying and correcting the figure is also increased by several times.

【0007】また、1つの図形は、図形単位に作成さ
れ、そして移動、削除がされるものである。例えば、電
力関係の配電業務において管理される配電線などは、端
点となる電柱の途中で分割されることはないため、電柱
の間において長短に関係なく1本の線データとして取り
扱われることが望ましい。しかしながら、従来において
は、このような場合でも図形の性質とは無関係にデータ
ベース上に分割管理していたので、1つの図形に関する
データの管理が非常に複雑なものになっていた。
Further, one graphic is created, moved, and deleted in graphic units. For example, a distribution line or the like managed in a power distribution business is not divided in the middle of an electric pole as an end point, so it is desirable to treat it as one line data regardless of the length between the electric poles. . However, in the past, even in such a case, since the data was divided and managed in the database regardless of the characteristics of the graphic, the management of the data regarding one graphic was very complicated.

【0008】本発明は以上のような問題を解決するため
になされたものであり、その目的は、図面の更新処理に
よる内部処理を簡単かつ迅速に行うことができる図形デ
ータの格納方式を提供することにある。
The present invention has been made to solve the above problems, and an object thereof is to provide a graphic data storage system capable of easily and quickly performing internal processing by drawing update processing. Especially.

【0009】[0009]

【課題を解決するための手段】以上のような目的を達成
するために、本発明は、広範囲な元図面の一部分を表示
するために元図面中に含まれる図形を表示するための図
形データとして各図形の座標情報及び属性情報を格納す
る図形データ格納方式において、一つの図形全体を図形
データの管理単位とすることを特徴とする。
In order to achieve the above object, the present invention provides graphic data for displaying a graphic included in an original drawing in order to display a part of a wide range of the original drawing. In a graphic data storage system for storing coordinate information and attribute information of each graphic, one graphic is used as a management unit of graphic data.

【0010】また、元図面中に含まれる図形を表す図形
データとして各図形の座標情報及び属性情報を格納する
図形データ格納方式において、元図面中に含まれる各図
形の識別番号と種別と属性情報とを含む図形情報を図形
毎に格納する図形情報記憶手段と、各図形の識別番号と
各図形の持つ特徴点と特徴点の座標データとを含む特徴
点情報を特徴点毎に格納する特徴点情報記憶手段とを有
し、元図面中に含まれる各図形に関する情報を図形単位
に管理することを特徴とする。
In addition, in a graphic data storage system that stores coordinate information and attribute information of each graphic as graphic data representing the graphic included in the original drawing, the identification number, type and attribute information of each graphic included in the original drawing are stored. A graphic information storage unit for storing graphic information including each of the graphic information, and a feature point for storing the feature point information including the identification number of each graphic, the feature point of each graphic, and the coordinate data of the feature point for each feature point. An information storage unit is provided, and information about each figure included in the original drawing is managed for each figure.

【0011】以上の構成を有する本発明においては、元
図面を小図面に分割することなしに管理し、これに伴
い、元図面に含まれる各図形を分割せずに図形単位に管
理するので、図形の更新処理を簡単にかつ迅速に行うこ
とができる。
In the present invention having the above configuration, the original drawing is managed without dividing it into small drawings, and accordingly, each figure included in the original drawing is managed in a figure unit without being divided. The graphic update process can be performed easily and quickly.

【0012】[0012]

【発明の実施の形態】以下、図面に基づいて、本発明の
好適な実施の形態について説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Preferred embodiments of the present invention will be described below with reference to the drawings.

【0013】図1は、本発明に係る図形データの格納方
式の一実施の形態に適用した図形情報システムの全体構
成図である。本システムは、キーボード、マウス、ポイ
ンティングデバイスなど文字入力や表示画面の位置を指
し示して入力を行う各種入力手段から成る入力部2と、
図形データに基づいて地図などの図面を表示する表示部
4と、元画面の図形データを格納する図形データベース
6と、元図面のうち表示領域に含まれる図形を表示する
ために使用するワークエリア8と、図形データに基づい
て図面の表示制御、図形の作成、修正など本システムの
図形に関する処理を一括して行う図形情報処理部10と
で構成される。図形データベース6は、元図面中に含ま
れる各図形の図形情報を図形毎に格納する図形情報記憶
手段である図形情報データベース12と、各図形の持つ
特徴点に関する特徴点情報を特徴点毎に格納する特徴点
情報記憶手段である特徴点情報データベース14とを有
している。図形情報及び特徴点情報の詳細については後
述する。ワークエリア8は、図形データベース6から取
り出した表示対象となる図形に関する情報を一時的に記
憶するエリアであり、図形情報データベース12の内容
を一時記憶する表示用図形情報テーブル16と、特徴点
情報データベース14の内容を一時記憶する表示用特徴
点情報テーブル18とを含む。ワークエリア8は、メモ
リ上に形成されるが、ディスク等に形成してもよい。以
上の構成を有する本システムにおいて、入力部2からの
指定や内部処理によって表示領域が特定されると、その
表示領域に含まれる図形の図形データを図形データベー
ス6から取り出しワークエリア8に格納し、その格納さ
れた図形データに基づいて図形を表示部4に表示する。
そして、入力部2からの操作、指示により、表示された
図面に対して図形の作成、修正等がされると、その内容
をワークエリア8を介して図形データベース6に反映さ
せる。本システムは、入出力手段を有したCADなどの
図形処理を行う汎用的なコンピュータで実現される。
FIG. 1 is an overall configuration diagram of a graphic information system applied to an embodiment of a graphic data storage system according to the present invention. The present system includes an input unit 2 including various input means such as a keyboard, a mouse, and a pointing device for inputting characters and pointing a position on a display screen.
A display unit 4 for displaying a drawing such as a map based on the graphic data, a graphic database 6 for storing the graphic data of the original screen, and a work area 8 used for displaying the graphic included in the display area of the original drawing. And a graphic information processing unit 10 that collectively performs processing related to the graphic of the present system such as display control of the drawing, creation and correction of the graphic based on the graphic data. The figure database 6 is a figure information database 12 which is a figure information storage means for storing the figure information of each figure included in the original drawing for each figure, and the feature point information regarding the feature points of each figure is stored for each feature point. And a feature point information database 14 which is a feature point information storage unit. Details of the graphic information and the feature point information will be described later. The work area 8 is an area for temporarily storing information regarding a graphic to be displayed, which is extracted from the graphic database 6, and includes a display graphic information table 16 for temporarily storing the contents of the graphic information database 12 and a feature point information database. The display feature point information table 18 that temporarily stores the contents of 14 is included. The work area 8 is formed on the memory, but may be formed on a disk or the like. In the system having the above configuration, when the display area is specified by the designation from the input unit 2 or the internal processing, the graphic data of the graphic included in the display area is taken out from the graphic database 6 and stored in the work area 8. A graphic is displayed on the display unit 4 based on the stored graphic data.
Then, when a graphic is created or modified on the displayed drawing by an operation or instruction from the input unit 2, the content is reflected in the graphic database 6 via the work area 8. The present system is realized by a general-purpose computer that has an input / output unit and performs graphic processing such as CAD.

【0014】本実施の形態において特徴的なことは、図
形を構成する要素に分割しないで一つの図形を図形デー
タの管理単位とすることである。図形単位に管理できる
ようにしたことで、元図面全体を小図面に分割する必要
がなくなり、図形データの管理が簡便になり、そのデー
タ量も大幅に削減することができる。本実施の形態は、
このように一つの図形を図形データの管理単位したこと
を特徴としているが、ここで、本実施の形態において取
り扱う図形データについて説明する。
What is characteristic of the present embodiment is that one graphic is used as a management unit of graphic data without being divided into elements that make up the graphic. By enabling management in units of figures, it is not necessary to divide the entire original drawing into smaller drawings, the management of figure data is simplified, and the amount of data can be greatly reduced. In this embodiment,
In this way, one graphic is characterized as a management unit of graphic data. Here, graphic data handled in the present embodiment will be described.

【0015】本実施の形態においては、図形の種別、各
図形の持つ属性に関する情報を格納する図形情報及び各
図形の特徴的な形状等に関する情報を格納する特徴点情
報を各図形に設定することで図形を管理している。本実
施の形態において特徴点とは、線分の端点、多角形の頂
点、中心点など各図形の形状の特徴を表す点をいう。図
2に図形情報の内容を、図3に特徴点情報の内容をそれ
ぞれ示す。
In the present embodiment, the figure information that stores the information about the type of the figure, the attribute of each figure, and the feature point information that stores the information about the characteristic shape of each figure is set in each figure. I manage the shape with. In the present embodiment, the characteristic point means a point representing a characteristic of the shape of each figure such as an end point of a line segment, a vertex of a polygon, and a center point. 2 shows the contents of the graphic information, and FIG. 3 shows the contents of the characteristic point information.

【0016】図形情報は、元図面に含まれる図形毎に作
成され、それぞれ各図形を一意に識別する「図形番
号」、図形の形状の種別を表す「種別」及び色コード、
レイヤ番号、特徴点に関する情報等図形毎に必要な任意
の属性情報を格納する「属性」を格納する。「種別」の
詳細は後述する。
The graphic information is created for each graphic included in the original drawing, and a "graphic number" for uniquely identifying each graphic, a "type" and a color code indicating the shape of the graphic,
An "attribute" for storing arbitrary attribute information required for each figure such as information about layer numbers and feature points is stored. Details of the “type” will be described later.

【0017】特徴点情報は、元図面に含まれる各図形の
特徴点毎に作成され、それぞれ各図形を一意に識別する
「図形番号」、各図形に含まれる各特徴点を一意に識別
する「特徴点番号」、特徴点の「x座標」及び「y座
標」を格納する。
The feature point information is created for each feature point of each figure included in the original drawing, and is a "figure number" for uniquely identifying each figure and a "figure number" for uniquely identifying each feature point included in each figure. The "characteristic point number", the "x coordinate" and the "y coordinate" of the characteristic point are stored.

【0018】ここで、図形情報及び特徴点情報の具体例
を本実施の形態において取り扱う基本図形について図4
乃至図9を用いて説明する。基本図形は、点、直線/ポ
リライン、ポリゴン、円/楕円及び一般曲線から構成さ
れ、図4に示したようにそれぞれ異なる基本図形の種別
が割り当てられている。なお、前述した図形情報の「種
別」には、図4に示した基本図形の種別が格納されるこ
とになる。
Here, with regard to basic figures handled in the present embodiment, concrete examples of figure information and characteristic point information are shown in FIG.
This will be described with reference to FIGS. The basic figure is composed of points, straight lines / polylines, polygons, circles / ovals, and general curves, and different types of basic figures are assigned as shown in FIG. The type of the basic figure shown in FIG. 4 is stored in the "type" of the figure information described above.

【0019】基本図形が点である図形Pの図形情報及び
特徴点情報を図5に示す。点の場合、座標(x1,y
1)で表される点自身が特徴点p1となる。
FIG. 5 shows graphic information and feature point information of the graphic P whose basic graphic is a point. For points, coordinates (x1, y
The point itself represented by 1) becomes the feature point p1.

【0020】(n=)3本の直線とx座標、y座標がぞ
れぞれx1〜x4,y1〜y4である(n+1=)4個
の各直線の端点とで表される直線/ポリラインである図
形Qの図形情報及び特徴点情報を図6に示す。4個の各
端点が特徴点q1〜q4となる。直線/ポリラインの場
合、線種、線の太さ、特徴点数、特徴点の並び順などを
属性データとして使用する。
A straight line / polyline represented by (n =) three straight lines and the end points of each of the (n + 1 =) four straight lines whose x and y coordinates are x1 to x4 and y1 to y4, respectively. FIG. 6 shows the graphic information and feature point information of the graphic Q that is. Each of the four end points becomes feature points q1 to q4. In the case of a straight line / polyline, the line type, the thickness of the line, the number of characteristic points, the arrangement order of the characteristic points, etc. are used as the attribute data.

【0021】(n=)5本の直線とx座標、y座標がぞ
れぞれx1〜x5,y1〜y5である(n=)5個の各
直線の端点とで表されるポリゴンである図形Rの図形情
報及び特徴点情報を図7に示す。5個の各端点が特徴点
r1〜r5となる。ポリゴンの場合、線種、線の太さ、
塗り潰し属性、特徴点数などを属性データとして使用す
る。
This is a polygon represented by (n =) five straight lines and the end points of each of the (n =) five straight lines whose x and y coordinates are x1 to x5 and y1 to y5, respectively. FIG. 7 shows graphic information and feature point information of the graphic R. Each of the five end points becomes the feature points r1 to r5. For polygons, line type, line thickness,
Fill attributes, the number of characteristic points, etc. are used as attribute data.

【0022】中心座標を(x1,y1)で表される円/
楕円である図形Sの図形情報及び特徴点情報を図8に示
す。円/楕円の場合、中心座標(x1,y1)が特徴点
s1となる。線種、線の太さ、塗り潰し属性、長半径、
短半径、楕円の場合の図形の傾きなどを属性データとし
て使用する。
A circle whose center coordinates are represented by (x1, y1) /
FIG. 8 shows graphic information and feature point information of the graphic S that is an ellipse. In the case of a circle / ellipse, the central coordinate (x1, y1) becomes the feature point s1. Line type, line thickness, fill attribute, major radius,
The minor axis, the inclination of the figure in the case of an ellipse, etc. are used as attribute data.

【0023】基本図形が一般曲線の場合、本実施の形態
においてはx座標、y座標がぞれぞれx1〜x10,y
1〜y10の点t1〜t10で表されるベジェ曲線で近
似する。曲線である図形Tの図形情報及び特徴点情報を
図9に示す。一般曲線の場合、線種、線の太さ、塗り潰
し属性、特徴点数などを属性データとして使用する。
When the basic figure is a general curve, in the present embodiment, the x coordinate and the y coordinate are x1 to x10 and y, respectively.
It is approximated by a Bezier curve represented by points t1 to t10 of 1 to y10. FIG. 9 shows graphic information and feature point information of the graphic T that is a curve. In the case of a general curve, the line type, line thickness, fill attribute, number of characteristic points, etc. are used as attribute data.

【0024】基本図形は、上記5種類で構成され、元図
面上に含まれる各図形は、いずれかに分類されると考え
られる。もちろん、他の種類の基本図形を設けることを
否定するのではない。また、各基本図形の属性は、上記
例に限定されるものではない。これらの設定内容は、本
発明の要旨ではなく単なる設計事項である。
The basic figures are composed of the above-mentioned five types, and it is considered that each figure included in the original drawing is classified into any one. Of course, this does not deny the provision of other types of basic figures. Further, the attribute of each basic figure is not limited to the above example. These setting contents are merely design matters, not the gist of the present invention.

【0025】以上の規則に従い、従来の説明において用
いたのとほぼ同じような元図形に基づき図形情報及び特
徴点情報を作成したときの一部の例を図10に示す。こ
のように、元図面全体に含まれる各図形の図形情報及び
特徴点情報を以上の基本図形に従い予め作成しておく。
FIG. 10 shows a part of an example in which the graphic information and the characteristic point information are created based on the original graphic that is almost the same as that used in the conventional description according to the above rules. In this way, the graphic information and feature point information of each graphic included in the entire original drawing are created in advance according to the above basic graphic.

【0026】次に、図形データベース6を用いて図形を
表示する図形情報処理部10の処理について図11に示
したフローチャートを用いて説明する。
Next, the processing of the graphic information processing unit 10 for displaying a graphic using the graphic database 6 will be described with reference to the flow chart shown in FIG.

【0027】まず、本システムにおいて入力部2からの
指定により、あるいは内部処理の結果により表示領域す
なわち特徴点情報の検索対象領域が指定されると(ステ
ップ101)、この領域に含まれる特徴点を特徴点情報
データベース14を検索することにより抽出しその特徴
点情報を読み出す(ステップ102)。検索対象領域の
対角線上の2点R1,R2の座標をそれぞれ(X1,Y
1)、(X2,Y2)(但し、X1≦X2、Y1≦Y
2)とすると、X1≦x≦X2、Y1≦y≦Y2となる
特徴点(x,y)を順次検索することになる。
First, in the present system, when the display area, that is, the area to be searched for the characteristic point information is specified by the input from the input unit 2 or the result of the internal processing (step 101), the characteristic points included in this area are identified. The characteristic point information database 14 is searched to extract the characteristic point information (step 102). The coordinates of two points R1 and R2 on the diagonal of the search target area are respectively (X1, Y
1), (X2, Y2) (where X1 ≦ X2, Y1 ≦ Y
2), feature points (x, y) satisfying X1 ≦ x ≦ X2 and Y1 ≦ y ≦ Y2 are sequentially searched.

【0028】読み出した特徴点情報に含まれる図形番号
に対応した図形情報が、表示用図形情報テーブル16に
記憶されていなければ(ステップ104)、その図形番
号に対応する図形情報を図形情報データベース12から
読み出し、表示用図形情報テーブル16に書き込む(ス
テップ105)。読み出した図形番号に対応する図形情
報が、表示用図形情報テーブル16にすでに記憶されて
いれば、重複して記憶する必要がないので書込みを行わ
ない。表示する図形が抽出されると、この図形における
全ての特徴点のうちまだ表示用特徴点情報テーブル18
に書き込まれていない特徴点情報を特徴点情報データベ
ース14から読み出してきて表示用特徴点情報テーブル
18に書き込む(ステップ106)。対象となる特徴点
情報は、特徴点情報の図形番号から容易に検索し、書き
込むことができる。
If the graphic information corresponding to the graphic number contained in the read out feature point information is not stored in the display graphic information table 16 (step 104), the graphic information corresponding to the graphic number is stored in the graphic information database 12. Read out and write in the display graphic information table 16 (step 105). If the graphic information corresponding to the read graphic number is already stored in the display graphic information table 16, there is no need to store it in duplicate, so writing is not performed. When the figure to be displayed is extracted, the display feature point information table 18 among all the feature points in this figure is displayed.
The feature point information that has not been written into the feature point information database 14 is read out and written in the display feature point information table 18 (step 106). The target feature point information can be easily searched and written from the figure number of the feature point information.

【0029】以上の処理を検索対象領域に含まれる全て
の特徴点に対して繰り返し行い、表示領域内に特徴点を
持つ図形全てについての図形情報を表示用図形情報テー
ブル16に抽出して記憶し、かつ各図形に対応した特徴
点情報全てを表示用特徴点情報テーブル18に抽出して
記憶する。必要な図形データを取り出した後、各テーブ
ル16,18に含まれるデータに基づいてワークエリア
8内で描画した後、表示部4の表示領域内にのみ図形を
表示する。例えば、図10において表示領域Hを表示部
4に表示させるときの表示用図形情報テーブル16及び
表示用特徴点情報テーブル18の内容を図12に示す。
表示領域Hには、図形A,Cの一部と図形Dの全体が含
まれているので、各テーブルには、図形A,C,Dに関
する図形情報と特徴点情報が記憶されることになる。
The above processing is repeated for all the feature points included in the search target area, and the graphic information for all the graphics having the feature points in the display area is extracted and stored in the display graphic information table 16. Further, all the characteristic point information corresponding to each figure is extracted and stored in the display characteristic point information table 18. After taking out the necessary graphic data, drawing is performed in the work area 8 based on the data contained in the tables 16 and 18, and then the graphic is displayed only in the display area of the display unit 4. For example, FIG. 12 shows the contents of the display graphic information table 16 and the display feature point information table 18 when the display area H is displayed on the display unit 4 in FIG.
Since the display area H includes a part of the graphics A and C and the entire graphic D, each table stores graphic information and feature point information regarding the graphics A, C, and D. .

【0030】図10に示した表示図面に対して、例えば
図形Cを削除するとき、図形情報処理部10は、その旨
を受け取ると図形Cに関するワークエリア8内の図形情
報を及び特徴点情報を削除する。本実施の形態によれ
ば、図形を図形単位に管理しているので、図形を削除す
るとき、その削除対象となる図形の唯一つの図形情報と
その図形に関わる特徴点情報のみを削除すればよいだけ
なので簡単かつ迅速にその処理を行うことができる。従
来においては、図形を小画面毎に分割して格納していた
ので、ある図形を削除する処理を行う場合、図形の分割
数分のアクセスが発生する。また、削除対象の図形を構
成しておりかつ表示対象でない小画面に含まれる分割図
形をもデータベース検索し、削除しなくてはならなかっ
た。
In the display drawing shown in FIG. 10, when the graphic C is deleted, for example, the graphic information processing unit 10 receives the effect and displays the graphic information in the work area 8 regarding the graphic C and the feature point information. delete. According to the present embodiment, since the figures are managed on a figure-by-figure basis, when deleting a figure, it suffices to delete only one piece of figure information of the figure to be deleted and feature point information related to the figure. Because it is only, the processing can be performed easily and quickly. In the past, since a figure was divided and stored for each small screen, when the process of deleting a certain figure is performed, accesses are generated by the number of divisions of the figure. In addition, the divided figures included in the small screen that are not the display object and that constitute the deletion object graphic must be searched for in the database and deleted.

【0031】また、例えば図形Cを移動するとき、図形
情報処理部10は、その旨を受け取ると特徴点情報に含
まれる座標データのみを更新すればよいだけなので簡単
かつ迅速にその処理を行うことができる。従来において
は、図形の移動の際、小画面を移る可能性があるため、
単に座標データの更新のみでは対処することは不可能で
ある。なお、本実施の形態における上記編集処理の結果
は、最終的に図形データベース6に反映させることはい
うまでもない。
Further, for example, when the figure C is moved, the figure information processing unit 10 only needs to update the coordinate data included in the feature point information when receiving the fact, so that the figure information processing section 10 can simply and quickly perform the process. You can In the past, when moving a figure, it is possible to move the small screen,
It is impossible to deal with it simply by updating the coordinate data. Needless to say, the result of the editing process in the present embodiment is finally reflected in the graphic database 6.

【0032】以上のように、本実施の形態によれば、各
図形の図形データを図形単位に管理しているので、表示
した図面に対する編集処理が前述したように非常に簡単
に行うことができる。なお、本実施の形態では、表示領
域に少なくとも特徴点が含まれないと、表示領域内に図
形が含まれたとしても図11に示したステップ102の
処理において検索されない。特徴点は、端点等図形の特
徴を表す部分の点と上記において説明したが、端点や中
心点でなくても実際の業務に即して図形上においてある
程度の間隔をもって特徴点を設けるなどして対処するこ
とができる。
As described above, according to the present embodiment, since the graphic data of each graphic is managed in graphic units, the editing process for the displayed drawing can be performed very easily as described above. . In the present embodiment, if at least the characteristic points are not included in the display area, even if a graphic is included in the display area, they are not searched in the process of step 102 shown in FIG. The feature points have been described above as the points that represent the features of the figure such as the end points. However, even if they are not the end points or the center points, the feature points are provided at some intervals on the figure according to the actual work. Can be dealt with.

【0033】[0033]

【発明の効果】本発明によれば、元図面全体を小図面に
分割して管理しなくても表示したい部分に含まれる図形
を表示することができる。これにより、元図面中に含ま
れる図形を小画面分割のために部分要素に分割せずに一
つの図形全体を図形データの管理単位とすることができ
るので、図面の更新処理が非常に簡単にかつ迅速に行う
ことが可能となる。例えば、表示図面上のある図形を削
除するとき、削除対象となる図形の唯一つの図形情報と
その図形に関わる特徴点情報のみを削除すればよいだけ
なので簡単に削除処理を行うことができる。また、表示
図面上のある図形を移動するとき、移動対象となる図形
に関わる特徴点情報に含まれる座標情報のみを更新すれ
ばよいだけなので簡単に移動処理を行うことができる。
According to the present invention, it is possible to display a figure included in a portion to be displayed without dividing the entire original drawing into small drawings and managing them. As a result, one figure can be used as a management unit of figure data without dividing the figure included in the original drawing into subelements for dividing a small screen. And it can be done quickly. For example, when a certain figure on the display drawing is deleted, it is only necessary to delete only one piece of figure information of the figure to be deleted and characteristic point information related to the figure, so that the deletion process can be easily performed. Further, when a certain figure on the display drawing is moved, only the coordinate information included in the feature point information relating to the figure to be moved needs to be updated, so that the moving process can be easily performed.

【0034】また、図形を部分要素に分割する必要がな
いので、その分データ量が削減するとともに図面の更新
処理の際の図形データへのアクセス回数も減少するた
め、処理速度の向上を図ることができる。
Further, since it is not necessary to divide the figure into subelements, the amount of data is reduced correspondingly and the number of accesses to the figure data at the time of updating the drawing is also reduced, so that the processing speed is improved. You can

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

【図1】 本発明に係る図形データの格納方式の一実施
の形態に適用した図形情報システムの全体構成図であ
る。
FIG. 1 is an overall configuration diagram of a graphic information system applied to an embodiment of a graphic data storage system according to the present invention.

【図2】 本実施の形態における図形情報データベース
のデータ構成を示す図である。
FIG. 2 is a diagram showing a data structure of a graphic information database according to the present embodiment.

【図3】 本実施の形態における特徴点情報データベー
スのデータ構成を示す図である。
FIG. 3 is a diagram showing a data structure of a feature point information database in the present embodiment.

【図4】 本実施の形態における基本図形の種別を示し
た図である。
FIG. 4 is a diagram showing types of basic figures in the present embodiment.

【図5】 本実施の形態において基本図形が点のときの
図形情報及び特徴点情報の内容例を示した図である。
FIG. 5 is a diagram showing an example of contents of graphic information and feature point information when a basic graphic is a point in the present embodiment.

【図6】 本実施の形態において基本図形が直線/ポリ
ラインのときの図形情報及び特徴点情報の内容例を示し
た図である。
FIG. 6 is a diagram showing an example of contents of graphic information and feature point information when a basic graphic is a straight line / polyline in the present embodiment.

【図7】 本実施の形態において基本図形がポリゴンの
ときの図形情報及び特徴点情報の内容例を示した図であ
る。
FIG. 7 is a diagram showing an example of contents of graphic information and feature point information when a basic graphic is a polygon in the present embodiment.

【図8】 本実施の形態において基本図形が円/楕円の
ときの図形情報及び特徴点情報の内容例を示した図であ
る。
FIG. 8 is a diagram showing an example of contents of graphic information and feature point information when a basic graphic is a circle / oval in the present embodiment.

【図9】 本実施の形態において基本図形が一般曲線の
ときの図形情報及び特徴点情報の内容例を示した図であ
る。
FIG. 9 is a diagram showing an example of contents of graphic information and feature point information when a basic graphic is a general curve in the present embodiment.

【図10】 本実施の形態における図形情報及び特徴点
情報の設定の例を示した図である。
FIG. 10 is a diagram showing an example of setting graphic information and feature point information in the present embodiment.

【図11】 本実施の形態において図形データベースを
用いて図形を表示する図形情報処理部の処理を示したフ
ローチャートである。
FIG. 11 is a flowchart showing a process of a graphic information processing unit for displaying a graphic using a graphic database in the present embodiment.

【図12】 図10に示した表示領域に含まれる図形に
関わる図形情報及び特徴点情報の内容を示した図であ
る。
12 is a diagram showing the contents of graphic information and feature point information relating to a graphic included in the display area shown in FIG.

【図13】 従来の図形のデータ格納方式に従ったデー
タ格納方法及びその使用方法を説明するために用いる図
である。
FIG. 13 is a diagram used for explaining a data storage method according to a conventional graphic data storage method and a method of using the data storage method.

【図14】 従来において使用する図形情報テーブルを
示した図である。
FIG. 14 is a diagram showing a graphic information table conventionally used.

【図15】 従来において使用する小画面情報テーブル
を示した図である。
FIG. 15 is a diagram showing a small screen information table used conventionally.

【図16】 従来の小画面情報テーブルに含まれる形状
データの1ブロックの具体的なデータ構成を示した図で
ある。
FIG. 16 is a diagram showing a specific data structure of one block of shape data included in a conventional small screen information table.

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

2 入力部、4 表示部、6 図形データベース、8
ワークエリア、10図形情報処理部、12 図形情報デ
ータベース、14 特徴点情報データベース、16 表
示用図形情報テーブル、18 表示用特徴点情報テーブ
ル。
2 input section, 4 display section, 6 figure database, 8
Work area, 10 graphic information processing unit, 12 graphic information database, 14 feature point information database, 16 display graphic information table, 18 display feature point information table.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 広範囲な元図面の一部分を表示するため
に元図面中に含まれる図形を表示するための図形データ
として各図形の座標情報及び属性情報を格納する図形デ
ータ格納方式において、 一つの図形全体を図形データの管理単位とすることを特
徴とする図形データ格納方式。
1. A graphic data storage system for storing coordinate information and attribute information of each graphic as graphic data for displaying a graphic included in an original drawing for displaying a part of a wide range of the original drawing. A graphic data storage method characterized in that the entire graphic is used as a management unit for graphic data.
【請求項2】 元図面中に含まれる図形を表す図形デー
タとして各図形の座標情報及び属性情報を格納する図形
データ格納方式において、 元図面中に含まれる各図形の識別番号と種別と属性情報
とを含む図形情報を図形毎に格納する図形情報記憶手段
と、 各図形の識別番号と各図形の持つ特徴点と特徴点の座標
データとを含む特徴点情報を特徴点毎に格納する特徴点
情報記憶手段と、 を有し、元図面中に含まれる各図形に関する情報を図形
単位に管理することを特徴とする図形データ格納方式。
2. A figure data storage system for storing coordinate information and attribute information of each figure as figure data representing the figure included in the original drawing, wherein the identification number, type and attribute information of each figure included in the original drawing are stored. A graphic information storage unit for storing graphic information including each of the graphic information, and a feature point for storing feature point information including the identification number of each graphic, the feature point of each graphic, and the coordinate data of the feature point for each feature point. A graphic data storage system characterized by comprising: information storage means, and managing information on each graphic included in the original drawing in graphic units.
JP8128573A 1996-05-23 1996-05-23 Graphic data storage system Pending JPH09311925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8128573A JPH09311925A (en) 1996-05-23 1996-05-23 Graphic data storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8128573A JPH09311925A (en) 1996-05-23 1996-05-23 Graphic data storage system

Publications (1)

Publication Number Publication Date
JPH09311925A true JPH09311925A (en) 1997-12-02

Family

ID=14988102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8128573A Pending JPH09311925A (en) 1996-05-23 1996-05-23 Graphic data storage system

Country Status (1)

Country Link
JP (1) JPH09311925A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6453233B1 (en) 1999-08-31 2002-09-17 Denso Corporation Method of making update information of map data and differential data of map data updating system
JP2003504760A (en) * 1999-07-09 2003-02-04 イエマ − ヨリ アクチボラゲット How to assign IDs to objects in the database

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003504760A (en) * 1999-07-09 2003-02-04 イエマ − ヨリ アクチボラゲット How to assign IDs to objects in the database
US6453233B1 (en) 1999-08-31 2002-09-17 Denso Corporation Method of making update information of map data and differential data of map data updating system

Similar Documents

Publication Publication Date Title
JPH10124528A (en) Method, device for managing multidimensional data and medium storing multidimensional data managing program
JP5237837B2 (en) Spatial data management device, spatial data management method, and spatial data management program
JP3173067B2 (en) Graph creation apparatus and method
EP0607136B1 (en) Graphics output system with bounded updating
JP3110837B2 (en) Map figure data management method
JP2509733B2 (en) Database system
JP3971608B2 (en) Electronic map display device
JPH09311925A (en) Graphic data storage system
JPH01191270A (en) Graphic editor
US5596345A (en) Method for managing non-rectangular windows in a raster display
JP2577397B2 (en) Graphic display device
JPH1196185A (en) Information display device, and storage medium recording information display program
JPH09297529A (en) Map database controller
JP3656233B2 (en) Map display system, map display method, and map display program
JPH07282074A (en) Index character string output device for two-dimensional graphic
JP2590327B2 (en) How to manage drawing information
JP3883644B2 (en) Leader line automatic creation method, leader line automatic creation apparatus and program storage medium therefor
JPS61131171A (en) Graphic element selecting device
JP3262319B2 (en) Drawing display method and drawing processing system
JPS6381573A (en) Drawing information management method
JP2002056399A (en) Image data processing device and image data processing method
JP2001117488A (en) Method and device for map display
JP2759954B2 (en) Electronic map search device
KR20020030587A (en) The Apparatus and Method for Overlapped Facility Drawing Management By Using Virtual Line
JP2598153B2 (en) Drawing management method and apparatus