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
JP3244569B2 - One-side parallel line automatic creation system and one-side parallel line automatic creation method - Google Patents
[go: Go Back, main page]

JP3244569B2 - One-side parallel line automatic creation system and one-side parallel line automatic creation method - Google Patents

One-side parallel line automatic creation system and one-side parallel line automatic creation method

Info

Publication number
JP3244569B2
JP3244569B2 JP20465793A JP20465793A JP3244569B2 JP 3244569 B2 JP3244569 B2 JP 3244569B2 JP 20465793 A JP20465793 A JP 20465793A JP 20465793 A JP20465793 A JP 20465793A JP 3244569 B2 JP3244569 B2 JP 3244569B2
Authority
JP
Japan
Prior art keywords
line
point
data
parallel
intersection
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
JP20465793A
Other languages
Japanese (ja)
Other versions
JPH0744606A (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 JP20465793A priority Critical patent/JP3244569B2/en
Publication of JPH0744606A publication Critical patent/JPH0744606A/en
Application granted granted Critical
Publication of JP3244569B2 publication Critical patent/JP3244569B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Instructional Devices (AREA)
  • Processing Or Creating Images (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、片側平行線自動作図方
式に関し、特に施設管理図、地形図、設計図などの各種
図面中の図形表示線を表現するためのレコードがベクト
ルデータ形式で既に保管されている場合に、この図形表
示線上の任意の指定区間にわたりその片側平行線を自動
作図する、例えば歩道線のある区間に対応した側溝線を
自動作図するようにしたものである。なお、この明細書
では前記レコードのことを「線画レコード」といい、ま
たその構成要素である座標データなどを「線画データ」
という。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a one-sided parallel line automatic map system, and in particular, records for expressing graphic display lines in various drawings such as facility management maps, topographic maps, and design drawings are already in vector data format. When stored, a parallel line on one side thereof is automatically drawn over an arbitrary designated section on the graphic display line, for example, a side groove line corresponding to a section with a sidewalk line is automatically drawn. In this specification, the record is referred to as a "line drawing record", and its constituent data such as coordinate data is referred to as "line drawing data".
That.

【0002】一般に、線画レコードのコンピュータ処理
により各種図面を作成・修正することが広く行われてい
るが、従前より、その利便性を高めるため、図形表示線
の片側に平行線を自動作成できるようにすること要請さ
れており、本発明はこの要請に応えるものである。
2. Description of the Related Art In general, it has been widely practiced to create and modify various drawings by computer processing of line drawing records. However, in order to enhance the convenience, parallel lines can be automatically created on one side of graphic display lines. The present invention responds to this request.

【0003】[0003]

【従来の技術】図17は、一般的な、コンピュータを用い
て各種図面の作成・修正処理を行うときのハードウェア
の概要を示す説明図であり、21はホストコンピュータ、
22は線画レコードなどを格納した大容量のディスク外部
記憶装置、23はアプリケーションプログラムの格納領域
24やワ−ク領域25を持つディスク外部記憶装置、26は図
面番号等を入力するための操作部、27は図面作成用デー
タを入力するためのディジタイザ、28は線画データの入
力状態や作成図面の内容等を確認するための表示部、29
は作成図面等を出力するためのプロッタをそれぞれ示し
ている。
2. Description of the Related Art FIG. 17 is an explanatory diagram showing an outline of hardware when a general computer creates and corrects various drawings by using a computer.
22 is a large-capacity disk external storage device for storing line drawing records, etc., and 23 is a storage area for application programs.
A disk external storage device having a work area 24 and a work area 25; 26, an operation unit for inputting drawing numbers and the like; 27, a digitizer for inputting drawing data; 28, an input state of line drawing data and drawing data Display for confirming the contents of
Indicates plotters for outputting the created drawings and the like.

【0004】ここで、線画データの入力・修正は、処理
対象となる図形表示線などが記された紙図面をディジタ
イザ27に貼りつけてこの紙図面上の図形表示線の特徴点
やその修正内容などをディジタイザ入力することにより
行われ、これらの入力データは図形表示線またはその一
部を単位とする線画レコードのかたちでディスク外部記
憶装置22に格納される。
Here, the input / correction of the line drawing data is performed by pasting a paper drawing on which a graphic display line to be processed is written on a digitizer 27, and characteristic points of the graphic display line on the paper drawing and the contents of the correction. The input data is stored in the disk external storage device 22 in the form of a line drawing record in units of graphic display lines or a part thereof.

【0005】図18は、図形表示線とその線画レコードの
フォーマットを示す説明図であって、P1 〜P18は図形
表示線30の各特徴点、すなわちこの図形表示線を構成す
る線分や半円などの各端点を示し、また(xi , yi
はi番目の特徴点の座標データを示している。
FIG. 18 is an explanatory view showing the format of a graphic display line and its line drawing record. P 1 to P 18 denote the characteristic points of the graphic display line 30, that is, the line segments constituting the graphic display line and the like. shows the end points, such as semicircle, also (x i, y i)
Indicates coordinate data of the i-th feature point.

【0006】そして、線画レコード自体はヘッダ31、線
画データの数を格納する領域32および2次元デ−タ配列
の線画デ−タ領域33の各領域からなり、また、34は線画
デ−タ領域中の属性データ領域を示している。なお、図
からも明らかなように、線画デ−タ領域33に格納される
ベクトルデータには半円の端点の座標データも含まれて
いる。
The line drawing record itself comprises a header 31, an area 32 for storing the number of line drawing data, and a line drawing data area 33 of a two-dimensional data array. Reference numeral 34 denotes a line drawing data area. The middle attribute data area is shown. As is apparent from the drawing, the vector data stored in the line image data area 33 includes the coordinate data of the end point of the semicircle.

【0007】図19は各属性データの内容を示す説明図で
あり、例えば図18の線画デ−タ中の5番目の属性デ−タ
「ー4」はP4 とP5 との間の線分が進行方向左側への
半円状のものであることを、また11番目の属性デ−タ
「ー2」はP9 とP10との間の線分が破線状のものであ
ることを示している。なお、使用頻度の高い実線表示に
ついてはデフォルトされ、その属性データは省略されて
いる。
[0007] Figure 19 is an explanatory view showing the contents of each attribute data, for example, line drawing data of FIG. 18 - 5 th attribute de in data - data "-4" the line between P 4 and P 5 the data "- 2" are those segments between P 9 and P 10 are the broken lines - min that those semicircular in the traveling direction left and 11 th attribute de Is shown. The solid line display that is frequently used is defaulted, and its attribute data is omitted.

【0008】すなわち、図形表示線30の場合、線画デ−
タの数は「21」でその内の座標データの数は「1
8」、属性データの数は「3」であり、各属性データは
2次元配列のx座標に対応する部分に負の符号を持った
コードデータとして格納されている。なお、この格納場
所はy座標に対応する部分でもよい。
That is, in the case of the graphic display line 30, the line drawing data
The number of data is “21” and the number of coordinate data is “1”.
8 ", the number of 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 two-dimensional array. This storage location may be a portion corresponding to the y coordinate.

【0009】また、図19で示される属性デ−タは、32ビ
ットの負数で構成され「2」の補数をとったときに
「1」となるビット番号によりお互いを区別できるよう
にしているが、属性デ−タのそれぞれを、その先頭ビッ
トと残りのビットの中の1ビットとの計2ビットのみを
「1」とした負数で選定することにより、先の「2」の
補数をとるといった処理を省略するようにしてもよい。
The attribute data shown in FIG. 19 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.

【0010】そして、例えば歩道などの図形表示線の所
定区間にわたり、側溝線などの片側平行線を表現するた
めの線画データを入力する場合には、片側平行線を書き
加えた原図をディジタイザに貼りつけてからこの片側平
行線の各特徴点をディジタイザ入力するなどの、人手に
よる作業を中心とした方法が用いられている。
When inputting line drawing data for expressing a one-sided parallel line such as a gutter line over a predetermined section of a graphic display line such as a sidewalk, the original drawing with the one-sided parallel line added is pasted on a digitizer. A method centering on manual work, such as inputting each feature point of the one-side parallel line to a digitizer after attaching, is used.

【0011】[0011]

【発明が解決しようとする課題】このように、従来の、
図面上の図形表示線に対する片側平行線の作成方法では
もっぱらオペレータなどの人手にたよってこの片側平行
線の特徴点を特定するようにしているため、その十分な
精度が確保できず、またその作業時間も長いものとなる
という問題点があった。
As described above, the conventional
In the method of creating a one-sided parallel line for a figure display line on a drawing, since the feature points of this one-sided parallel line are specified exclusively by a human operator or the like, sufficient accuracy cannot be ensured and the work There was a problem that time was long.

【0012】そこで、本発明では、オペレータの入力操
作によって得られる片側平行線作成対象区間、片側平行
線作成サイド、および片側平行線の端点処理を示す属性
データと、この片側平行線作成の基準となる図形表示線
の線画レコードとに基づいて所定の片側平行線を自動作
成することにより、その作成精度を高めるとともに処理
時間の短縮化を図ることを目的とする。
Therefore, according to the present invention, the one-side parallel line creation target section, the one-side parallel line creation side, and the attribute data indicating the end point processing of the one-side parallel line obtained by the input operation of the operator, the reference for the one-side parallel line creation, It is an object of the present invention to automatically create a predetermined one-sided parallel line based on a line drawing record of a figure display line, thereby increasing the creation accuracy and shortening the processing time.

【0013】[0013]

【課題を解決するための手段】本発明は、各特徴点の線
画データ(座標データや、次の特徴点ままでの表示態様
を示す属性デ−タ)をそれぞれの並び順にしたがって配
置したベクトルデータ形式の線画レコードで表現される
図形表示線に対してオペレータが片側平行線作成区間の
端点や、これらの端点と作成後の片側平行線とを接続す
るかどうかなどを指示することにより、始点側の端点か
ら終点側の端点までの間にわたり、この図形表示線の次
の特徴点までの部分に対する平行線と、次の特徴点から
その次の特徴点までの部分に対する平行線との交点を順
に求めていき、これらの交点を所望の片側平行線の特徴
点として用いるようにしたものである。
According to the present invention, vector data in which line drawing data (coordinate data and attribute data indicating the display mode of the next feature point as it is) of each feature point are arranged according to the respective arrangement order. The operator specifies the endpoints of the one-sided parallel line creation section for the figure display line represented by the line drawing record in the format, and whether these endpoints should be connected to the created one-sided parallel line, and so on. From the end point of the figure to the end point on the end point side, the intersection of the parallel line to the part of this graphic display line to the next feature point and the parallel line to the part from the next feature point to the next feature point in order Then, these intersections are used as desired one-side parallel line feature points.

【0014】図1は本発明の原理説明図である。図にお
いて、1は、図面の一部であり、既入力の線画レコード
で特定される図形表示線11の指定区間(S〜E)にわた
って片側平行線12を作成した状態を示している。なお、
i ,Aj ・・・は図形表示線11の特徴点である。2
は、記憶装置であり、各図面上の図形表示線のそれぞれ
を示すベクトルデータ形式の各線画レコードが例えばそ
の図面番号ごとに取り出せるようなかたちで格納されて
いる。3は、入力部であり、図形表示線11における処理
対象区間(S〜E)、片側平行線12を図形表示線11のど
ちら側に作成するか、さらには片側平行線12の端点処理
(片側平行線の各端点B1 ,BN とS,Eとをそれぞれ
接続するかどうか)などについての指示を行うためのも
ので、例えばディジタイザが用いられる。4は、アプリ
ケーションプログラムであり、入力部3での指示内容と
図形表示線11の線画レコードとに基づいて片側平行線12
の算出処理を行う。
FIG. 1 is a diagram illustrating the principle of the present invention. In the figure, reference numeral 1 denotes a part of the drawing, and shows a state in which a one-side parallel line 12 has been created over a designated section (S to E) of a graphic display line 11 specified by a previously input line drawing record. In addition,
A i , A j ... Are characteristic points of the graphic display line 11. 2
Is a storage device, in which each line drawing record in a vector data format indicating each graphic display line on each drawing is stored in such a manner that it can be taken out, for example, for each drawing number. Reference numeral 3 denotes an input unit which determines a section to be processed (S to E) in the graphic display line 11, which side of the graphic display line 11 to create the one-side parallel line 12, and furthermore, processes an end point of the one-side parallel line 12 (one side). For example, a digitizer is used for giving instructions on whether or not each end point B 1 , B N of the parallel line is connected to S, E). Reference numeral 4 denotes an application program.
Is calculated.

【0015】ここで、アプリケーションプログラム4の
片側平行線算出のための処理手順は次のようになってい
る。すなわち、 処理対象図面の線画レコード群の中から、指示点Sお
よびEに最も近い、またはこれらの点をその線上に持つ
図形表示線11の線画レコードを検索し、そこでの各特徴
点Ai ,Aj ・・・の並び順に対応するかたちで、これ
らの指示点を当該線画レコードに組み入れて(図4およ
び図8参照)、次のステップに進む。 指示点Sを処理開始点に設定して、次のステップに進
む。 この処理開始点と次の特徴点とを結ぶ線から、入力部
3で指示された作成サイド側に所定距離Lだけ離れた平
行線を算出して、次のステップに進む。 処理開始点が指示点Sであるかどうかを判断し、「YE
S」の場合は次のステップに進み、「NO」の場合はステ
ップに進む。 指示点Sから(今回の)平行線に垂線を下ろしてその
交点B1 を算出し、ステップに進む。 今回の平行線と前回の平行線との交点B2 ,B3 ・・
・を算出して、次のステップに進む。 次の特徴点が指示点Eであるかどうかを判断し、「YE
S 」の場合はステップに進み、「NO」の場合は次のス
テップに進む。 次の特徴点を処理開始点に設定して、ステップに戻
る。 指示点Eから(今回の)平行線に垂線を下ろしてその
交点BE を算出して、次のステップに進む。 といった手順により、図形表示線11に対する片側平行線
〔(S)−B1 −B2 −B3 −・・・−BE −(E)〕
12の線画レコードが作成される。
Here, the processing procedure for calculating the one-sided parallel line of the application program 4 is as follows. That is, a line drawing record of the graphic display line 11 closest to the designated points S and E or having these points on the line is searched from the line drawing record group of the drawing to be processed, and each feature point A i , These designated points are incorporated in the line drawing record in a form corresponding to the arrangement order of A j (see FIGS. 4 and 8), and the process proceeds to the next step. The designated point S is set as the processing start point, and the process proceeds to the next step. From the line connecting the processing start point and the next feature point, a parallel line separated by a predetermined distance L toward the creation side specified by the input unit 3 is calculated, and the process proceeds to the next step. It is determined whether the processing start point is the designated point S, and “YE
If “S”, proceed to the next step; if “NO”, proceed to step. A perpendicular is drawn from the designated point S to a (current) parallel line to calculate the intersection B 1 , and the process proceeds to step. Intersection points B 2 , B 3, ... of the current parallel line and the previous parallel line
・ Calculate and proceed to the next step. It is determined whether or not the next feature point is the designated point E, and “YE
If "S", proceed to the step; if "NO", proceed to the next step. The next feature point is set as the processing start point, and the process returns to the step. A perpendicular line is drawn down from the designated point E to a (current) parallel line to calculate an intersection BE thereof, and the process proceeds to the next step. By the procedure such as, one parallel lines for the graphical display lines 11 [(S) -B 1 -B 2 -B 3 - ··· -B E - (E) ]
Twelve line art records are created.

【0016】[0016]

【作用】本発明は、このように、ベクトルデータ形式の
線画レコードで特定される図形表示線の片側平行線を作
成する区間や、当該作成処理を図形表示線のどちらの側
に行うかなどの指示に基づき、この作成区間の始点から
終点までにわたって、図形表示線の次の特徴点までの線
分と平行な第1の平行線と、当該特徴点からその次の特
徴点までの線分と平行な第2の平行線との交点を順に求
めていくとともに、始点から最初の平行線に垂線を下ろ
し、また終点から最後の平行線に垂線を下ろしてそれぞ
れの交点を求め、これらの交点や作成区間の端点(始
点、終点)を片側平行線の特徴点として用いるようにし
たものである。
As described above, according to the present invention, the section for creating one side parallel line of the graphic display line specified by the line drawing record in the vector data format, and which side of the graphic display line to perform the creation processing, etc. Based on the instruction, from the start point to the end point of the creation section, a first parallel line parallel to the line segment to the next feature point of the graphic display line, and a line segment from the feature point to the next feature point While sequentially finding the intersection with the parallel second parallel line, the perpendicular is drawn from the start point to the first parallel line, and the perpendicular is drawn from the end point to the last parallel line, and each intersection is found. The end points (start point, end point) of the created section are used as feature points of a one-side parallel line.

【0017】すなわち、アプリケーションプログラム4
は、 ・ステップ〜ステップの処理により、作成区間の始
点から最初の平行線に垂線を下ろしたときの交点B1
算出し、 ・ステップ,,,およびステップからなるル
ープ処理により、第1の平行線と第2の平行線との交点
2 ,B3 ・・・を順に算出し、 ・ステップおよびステップの処理により、作成区間
の終点から最後の平行線に垂線を下ろしたときの交点B
E を算出している。
That is, the application program 4
By the processing of the step-step, to calculate the intersection point B 1 when a perpendicular line is dropped on the first parallel lines from the beginning of the creation interval, the loop composed of steps ,,, and step, a first parallel The intersections B 2 , B 3, ... Of the line and the second parallel line are calculated in order, and the intersection B when a perpendicular is drawn down from the end point of the creation section to the last parallel line by step and step processing.
E is calculated.

【0018】なお、この片側平行線作成処理に用いる図
面は、従来と同じように、その図面の線画レコード群を
外部記憶装置2から取り出してこれに基づく各図形要素
線を記すことにより作成される。
The drawing used for the one-sided parallel line creation processing is created by extracting a line drawing record group of the drawing from the external storage device 2 and writing each graphic element line based on the drawing, as in the conventional case. .

【0019】そして、前記ステップの平行線は入力部
3で指示されたサイド(図示の場合は線画レコードのベ
クトルデータ方向に対して左側)についてのみ作成さ
れ、所定距離Lの値についてはプログラムの中で規定し
てもよいし、指示点S,Eなどと同じようにオペレータ
が入力するようにしてもよい。
The parallel line in the above step is created only for the side specified by the input unit 3 (in the case of the drawing, the left side with respect to the vector data direction of the line drawing record). , Or may be input by the operator in the same manner as the designated points S and E.

【0020】また、片側平行線12の端点を指示点S,E
とするか交点B1 ,BE とするかは、これらの指示線と
交点との接続についての入力部3からの指示にしたがう
もので、この指示が「接続」の場合には指示点S,Eが
端点となり、「開放」の場合には交点B1 ,BE が端点
となる。なお、指示点S,Eの一方と交点B1 ,BE
対応する一方とを端点とすることもある。
In addition, the end points of the one-side parallel line 12 are designated as designated points S and E.
Or the intersections B 1 and BE are determined in accordance with the instruction from the input unit 3 regarding the connection between these instruction lines and the intersections. If this instruction is “connection”, the instruction points S, E is the end point, and in the case of "open", the intersection points B 1 and BE are the end points. Note that one of the designated points S and E and the corresponding one of the intersections B 1 and BE may be defined as end points.

【0021】また、第1の平行線と第2の平行線とが略
同一となる場合には、後述のように当該算出処理を行う
ことなしに第2の平行線(または第1の平行線)上に疑
似交点を求めるか、この第1の平行線と第2の平行線と
に基づく(片側平行線12の)特徴点の算出については省
略するようにしてもよい。
When the first parallel line and the second parallel line are substantially the same, the second parallel line (or the first parallel line) can be used without performing the calculation processing as described later. The pseudo intersection may be obtained above, or the calculation of the feature point (of the one-side parallel line 12) based on the first parallel line and the second parallel line may be omitted.

【0022】[0022]

【実施例】図2〜図16を参照して本発明の実施例を説明
する。なお、以下の記載では、説明の便宜上、街区15や
歩道線16を記した図面(図2参照)においてこの歩道線
に平行な側溝線を自動作成していく場合を例にとり、ま
た、使用するハードウェアの概要は図17に示したものと
同じであるため必要に応じてその参照番号を用いること
にする。
An embodiment of the present invention will be described with reference to FIGS. In the following description, for convenience of explanation, a case in which a gutter parallel to the sidewalk line is automatically created in a drawing (see FIG. 2) describing the block 15 and the sidewalk line 16 is used and used. Since the outline of the hardware is the same as that shown in FIG. 17, the reference numerals will be used as necessary.

【0023】図2において、[1] 〜[113] の各点は歩道
線16の特徴点、SおよびEは側溝線作成処理区間の端
点、Dは側溝線17(図6参照)を歩道線16のどちら側に
作成するかを指示するための入力点をそれぞれ示してい
る。
In FIG. 2, points [1] to [113] are characteristic points of the sidewalk line 16, S and E are end points of the side groove line creation processing section, and D is the side groove line 17 (see FIG. 6). Input points for designating which side of the 16 are to be created are shown.

【0024】ここで、側溝線作成処理区間を特定するた
めの二点であるSおよびEがディジタイザなどから入力
され、この内の、線画レコードにおける各特徴点の並び
順からみたときの特徴点[1] に近い方の点Sから後述の
側溝線作成処理が開始されることになる。
Here, S and E, which are two points for specifying the gutter line creation processing section, are inputted from a digitizer or the like, and among these, the characteristic points when viewed from the arrangement order of the characteristic points in the line drawing record [ 1], the later-described gutter line creation processing is started.

【0025】そして、歩道線16の線画レコードは図3で
示され、その内容は図の線画レコードと同じようにヘッ
ダ、データ数を格納する領域、線画データ領域などから
なっている。なお、歩道線16のの各円弧部分(特徴点
[1] 〜[25]、特徴点[31]〜[55]、特徴点[58]〜[82]、特
徴点[89]〜[113] )については多数の微小線分を順に連
結したかたちで線画レコードに組み込んでいる。
The line drawing record of the sidewalk line 16 is shown in FIG. 3, and its contents include a header, an area for storing the number of data, a line drawing data area, and the like, like the line drawing record in the figure. In addition, each arc portion of the sidewalk line 16 (feature point
[1] to [25], feature points [31] to [55], feature points [58] to [82], and feature points [89] to [113]) Is included in the line drawing record.

【0026】図4は、図3の線画レコードにSおよびE
の各指示点の線画データを付加した状態を示す説明図で
あり、特徴点[25]の線画データ(座標データ)の次には
指示点Sの線画データ(属性データおよび座標データ)
が付加され、また特徴点[88]の線画データ(座標デー
タ)の次には指示点Eの線画データ(属性データおよび
座標データ)が付加されたかたちとなっている。
FIG. 4 shows S and E in the line drawing record of FIG.
FIG. 13 is an explanatory diagram showing a state in which line drawing data of each designated point is added, and line drawing data (attribute data and coordinate data) of a designated point S is followed by line drawing data (coordinate data) of a feature point [25]
Are added, and the line drawing data (attribute data and coordinate data) of the designated point E are added after the line drawing data (coordinate data) of the feature point [88].

【0027】その結果、線画レコードのデータ数は指示
点ごとに二個ずつ増加してそれまでの「113 」から「11
7 」になる。なお、属性データ部分の「−512 」は、そ
の指示点に対応の側溝線側特徴点での端点処理が「指示
点SおよびEへの接続」であることを示しており、この
端点処理が「開放」の場合には先の属性データ部分に
「−1024」が入ることになる(図5参照)。
As a result, the number of data in the line drawing record is increased by two for each designated point, and is increased from "113" to "11".
7 ". Note that “−512” in the attribute data portion indicates that the end point processing at the gutter line side feature point corresponding to the indicated point is “connection to the indicated points S and E”. In the case of "open", "-1024" is entered in the attribute data part (see FIG. 5).

【0028】図6は図4の線画レコードに基づいて図2
の歩道線16の外側に側溝線17を作成した図面を示し、図
7は図2の歩道線16を前半部分と後半部分とに分けてそ
れぞれごとに線画レコードが設定されている場合を示
し、また図8はこの前半部分の線画レコードに指示点S
およびEの線画データを付加した場合を示している。
FIG. 6 is based on the line drawing record of FIG.
FIG. 7 shows a drawing in which a gutter line 17 is created outside the sidewalk line 16 of FIG. 7, and FIG. 7 shows a case where the line drawing record is set for each of the sidewalk line 16 of FIG. FIG. 8 shows the designated point S in the first half of the line drawing record.
9 shows a case where line drawing data of E and E are added.

【0029】図7の場合、歩道線16の前半部分の最後の
特徴点[57]と後半部分の最初の特徴点[1] とが重複し、
指示点Eはこの特徴点[57]と略一致している。また、図
8で示すように、このときの線画レコードのデータ数は
指示点Sで二個増え、一方、指示点Eではその属性デー
タ(「−512 」または「−1024」)と座標データ(=特
徴点[57]の座標データ)の内の前者だけの一個増えるこ
とになり、全体のデータ数は三個増加してそれまでの
「57」から「60」になる。
In the case of FIG. 7, the last feature point [57] of the first half of the sidewalk 16 and the first feature point [1] of the second half overlap,
The designated point E substantially coincides with the feature point [57]. As shown in FIG. 8, the number of data of the line drawing record at this time increases by two at the designated point S, while at the designated point E, the attribute data (“−512” or “−1024”) and the coordinate data ( = The coordinate data of the feature point [57]), and the total number of data increases by three to "60" from the previous "57".

【0030】図9〜図10は、歩道線の指示点Sと指示点
Eとの間にわたって側溝線を作成するときの処理手順を
示す説明図である。すなわち、 (11)処理対象図面の線画レコード群を外部記憶装置22か
ら取り出してワーク領域25に展開してこれらの線画レコ
ードに基づく図形表示線(街区や歩道の表示線)を記し
た図面を作成し、これをディジタイザ27に貼りつけて、
次のステップに進む。 (12)片側平行線の作成処理を行う歩道線上の任意の点を
ディジタイザ入力し、次のステップに進む。 (13)この歩道線の線画レコードをワ−ク領域25から検索
して表示部28の対応する線部分の色を変え、次のステッ
プに進む。なお、この検索にさいしては、ワ−ク領域25
に展開の各線画レコードを調べていきその線上にステッ
プ(12)の入力点を含む線画レコードがある場合にはこれ
を選択し、またそのような線画レコードがみつからない
場合には当該入力点から各線画レコードに基づく線まで
の距離を求めてこれが最小になるものを選択している。 (14)側溝線作成区間を特定するための一方の指示点(始
点)Sをディジタイザ入力して、次のステップに進む。 (15)指示点Sの端点処理方式、すなわちこの指示点と側
溝線の端点とを接続するかどうかを入力して、次のステ
ップに進む。なお、この入力にあたっては例えばディジ
タイザ27のメニュー入力機能が用いられる。 (16)指示点Sの線画データをステップ(13)で求めた線画
レコードの対応位置に付加(図4、図8参照)して、次
のステップに進む。なお、この処理には図11のサブルー
チンが用いられる。 (17)側溝線作成区間を特定するための他方の指示点(終
点)Eをディジタイザ入力して、次のステップに進む。 (18)指示点Eの端点処理方式をステップ(15)と同じよう
に入力して、次のステップに進む。 (19)指示点Eの線画データをステップ(16)と同じように
線画レコードの対応位置に付加して、次のステップに進
む。 (20)側溝線の作成サイド、すなわち歩道線の指示点Sか
らEに向かう方向の右側、左側のいずれの方に側溝線を
作成するかを特定するための指示点Dをディジタイザ入
力して、次のステップに進む。 (21)側溝線作成のサブルーチンを実行して側溝線の線画
レコードを求め、次のステップに進む(図12〜14参
照)。 (22)側溝線レイヤにこの側溝線レコードを保管するとと
もに、当該レコードに基づく側溝線17を表示して次のス
テップに進む。 (23)側溝線の作成を予定している歩道線のすべての部分
についての処理が終了したかどうかを判断し、「NO」の
場合はステップ(12)に戻る。 といった一連の処理を実行することにより、歩道線上の
指定区間についての側溝線を作成している。
FIGS. 9 to 10 are explanatory diagrams showing the processing procedure when creating a gutter line between the designated point S and the designated point E of the sidewalk line. That is, (11) a line drawing record group of the drawing to be processed is taken out from the external storage device 22 and developed in the work area 25 to create a drawing in which graphic display lines (block lines and sidewalk display lines) based on these line drawing records are written. And paste this on digitizer 27,
Proceed to the next step. (12) An arbitrary point on the sidewalk line on which a process for creating a one-side parallel line is to be input by a digitizer, and the process proceeds to the next step. (13) The line drawing record of this sidewalk line is retrieved from the work area 25, the color of the corresponding line portion on the display unit 28 is changed, and the process proceeds to the next step. In this search, the work area 25
Check each line drawing record of the development, and if there is a line drawing record containing the input point of step (12) on that line, select this.If no such line drawing record is found, select it from the input point. The distance to the line based on each line drawing record is obtained and the one that minimizes the distance is selected. (14) One designated point (start point) S for specifying the side groove line creation section is digitized and input to the next step. (15) The end point processing method of the designated point S, that is, whether or not this designated point is connected to the end point of the side groove line is input, and the process proceeds to the next step. For this input, for example, a menu input function of the digitizer 27 is used. (16) The line drawing data of the designated point S is added to the corresponding position of the line drawing record obtained in step (13) (see FIGS. 4 and 8), and the process proceeds to the next step. The subroutine in FIG. 11 is used for this processing. (17) The other designated point (end point) E for specifying the side groove line creation section is digitized and input to the next step. (18) Input the end point processing method of the designated point E in the same manner as in step (15), and proceed to the next step. (19) The line drawing data of the designated point E is added to the corresponding position of the line drawing record in the same manner as in step (16), and the process proceeds to the next step. (20) Digitizer input of a designated point D for specifying which side of the side groove line to be created, that is, a right or left side of the sidewalk line from the designated point S to the direction E toward the side groove line, Proceed to the next step. (21) The sub-line of the side groove line is executed to obtain the line drawing record of the side groove line, and the process proceeds to the next step (see FIGS. 12 to 14). (22) Store this side groove line record in the side line layer, display the side groove line 17 based on the record, and proceed to the next step. (23) It is determined whether or not the processing has been completed for all the parts of the sidewalk line for which the creation of the side gutter is to be completed. If “NO”, the process returns to step (12). By executing a series of processing such as this, a gutter line for a designated section on the sidewalk line is created.

【0031】ここで、一つの歩道線が複数の線画レコー
ドで表現され(図7参照)、側溝線作成の対象区間がこ
れら複数の線画レコードにまたがる場合にはステップ(1
3)の特定色表示やその後の側溝線作成処理はこの線画レ
コードを単位として行われ、これらすべての線画レコー
ドについての処理が終了するまでステップ(23) での判
断は「NO」となる。
Here, if one sidewalk line is represented by a plurality of line drawing records (see FIG. 7), and the target section for creating the gutter line extends over these plurality of line drawing records, step (1) is executed.
3) The specific color display and the subsequent groove line creation processing are performed in units of this line drawing record, and the determination in step (23) is "NO" until the processing for all these line drawing records is completed.

【0032】始点としての指示点Sと、終点としての指
示点Eとの識別はこれらを入力するオペレータからみた
ときのことであり、歩道線の線画レコード自体は、前述
のように側溝線作成区間の両端点であるこれらの点につ
いての属性デ−タと座標デ−タとをそれぞれ対応する位
置に挿入しただけのものであって、このときの座標デ−
タが側溝線作成区間の始点、終点のいずれであるかを示
す情報は入っておらず、また、その必要もない。
The discrimination between the designated point S as the starting point and the designated point E as the ending point is as seen from the operator who inputs them. Attribute data and coordinate data for these points, which are both end points, are simply inserted at the corresponding positions.
There is no information indicating whether the data is the start point or the end point of the gutter line creation section, and it is not necessary.

【0033】図11はステップ(16)および(19)で用いられ
るサブルーチンを示す説明図であり、その手順は次のよ
うになっている。なお、図2および図7における歩道線
16の各特徴点間はすべて実線表示であり、その線画デー
タは属性データが省略され座標データのみとなっている
ため、以下の説明では必要に応じて「線画データ(座標
データ)」と表現する。
FIG. 11 is an explanatory diagram showing a subroutine used in steps (16) and (19). The procedure is as follows. The sidewalk lines in FIGS. 2 and 7
All of the 16 feature points are displayed as solid lines, and the line drawing data is attribute data omitted and only coordinate data. Therefore, in the following description, it is expressed as "line drawing data (coordinate data)" as necessary. .

【0034】このサブルーチンの内容は、 (31)指示点S,Eの座標デ−タと処理対象歩道線の線画
レコードとを用いることにより、これらの指示点が歩道
線の特徴点からはずれているかどうかを判断し、「YES
」の場合は次のステップに進み、「NO」の場合はステ
ップ(33)に進む。なお、この判断に際しては指示点S,
Eと各特徴点との距離が所定値以下となっているかなど
を用いている。 (32)指示点S,Eの前後に位置する各特徴点の線画レコ
ード中の座標デ−タの間をカットし、そこに当該指示点
の座標デ−タをデ−タ番号「i」として挿入するととも
に、以下の線画データ(座標デ−タ)を一つずつずらし
て、ステップ(34)に進む。なお、このときのデータ番号
「i」はカット対象となった二つの特徴点のデ−タ番号
の大きい方の値であり、線画レコードのデ−タ数は
「1」だけ増加する。 (33)指示点S,Eに近い特徴点の線画データ(座標デ−
タ)のデ−タ番号「i」を保管して、次のステップに進
む。 (34)線画レコードのデ−タ番号「i」以下の線画データ
(座標デ−タ)、すなわち指示点S,Eの座標データを
一つずつずらして、次のステップに進む。 (35)ステップ(15),(18)で指定された指示点S,Eの端
点処理方式にしたがい、線画レコードのデ−タ番号
「i」の属性デ−タ(xi ,yi )として、接続指定の
場合には(−512,0)を、また、開放指定の場合に
は(−1024,0)をそれぞれ設定する。 となっており、この一連の処理によって図4や図8の新
たな線画レコードが作成されることになる。
The contents of this subroutine are as follows: (31) By using the coordinate data of the designated points S and E and the line drawing record of the pedestrian line to be processed, whether these designated points deviate from the characteristic points of the pedestrian line. Judge whether or not "YES
"", The process proceeds to the next step, and if "NO", the process proceeds to step (33). In this case, the point S,
Whether the distance between E and each feature point is equal to or less than a predetermined value is used. (32) Cut between coordinate data in the line drawing record of each feature point located before and after the designated points S and E, and set the coordinate data of the designated point as the data number "i". At the same time, the following line drawing data (coordinate data) is shifted one by one, and the process proceeds to step (34). The data number "i" at this time is the larger value of the data numbers of the two feature points to be cut, and the data number of the line drawing record increases by "1". (33) Line drawing data (coordinate data) of feature points near the designated points S and E
The data number "i" is stored, and the process proceeds to the next step. (34) The line drawing data (coordinate data) below the data number "i" of the line drawing record, that is, the coordinate data of the designated points S and E are shifted one by one, and the process proceeds to the next step. (35) Step (15), in accordance with the end point processing method for the specified designated point S, E in (18), data of a line drawing records - data attribute data of number "i" - data (x i, y i) as When connection is designated, (-512, 0) is set, and when connection is designated, (-1024, 0) is set. Thus, a new line drawing record shown in FIGS. 4 and 8 is created by this series of processing.

【0035】図12〜図14は、図10のステップ(21)で用い
られるサブルーチン(指示点SとEとの間の歩道線部分
にこれと平行な側溝線17を発生するサブルーチン)を示
す説明図であり、その手順は次のようになっている。な
お、(x,y)は歩道線16の指示点S,Eを含めた各特
徴点の座標を示し、また(X,Y)は側溝線17の各特徴
点の座標を示している。
FIGS. 12 to 14 show the subroutine used in step (21) of FIG. 10 (a subroutine for generating a side groove line 17 parallel to the sidewalk between the designated points S and E). It is a diagram and the procedure is as follows. Note that (x, y) indicates the coordinates of each feature point including the designated points S and E of the sidewalk line 16, and (X, Y) indicates the coordinates of each feature point of the gutter line 17.

【0036】(41)変数i,jに対し「0→i,1→j」
とし、また終点側指示点Eの属性デ−タ確認用のフラグ
を「0」に設定して、次のステップに進む。 (42)「(i+1)→i」として、次のステップに進む。 (43)歩道線16の線画レコードからデ−タ番号「i」の線
画データ(xi ,yi )を呼び出して、次のステップに
進む。 (44)「xi →xC 」として、次のステップに進む。 (45)「xC =−512 、またはxC =−1024」であるかど
うかを判断し、「YES 」の場合は次のステップに進み、
「NO」の場合はステップ(42)に戻る。
(41) “0 → i, 1 → j” for variables i and j
Then, the flag for confirming the attribute data of the end point E is set to "0", and the process proceeds to the next step. (42) As “(i + 1) → i”, proceed to the next step. (43) line drawing record Karade sidewalk line 16 - line drawing data (x i, y i) of the data number "i" by calling, the process proceeds to the next step. (44) as "x i → x C", proceed to the next step. (45) Determine whether or not “x C = −512 or x C = −1024”, and if “YES”, proceed to the next step,
If "NO", the process returns to the step (42).

【0037】以上の処理手順により、歩道線16の線画レ
コードから指示点Sの属性データが検索され、その次の
線画データ(指示点Sの座標データ)から順に以下の側
溝線作成処理が行われることになる。
According to the above processing procedure, the attribute data of the designated point S is retrieved from the line drawing record of the sidewalk line 16, and the following ditch line creation processing is sequentially performed from the next line drawing data (coordinate data of the designated point S). Will be.

【0038】(46)「(i+1)→i」として、次のステ
ップに進む。 (47)歩道線16の線画レコードからデ−タ番号「i」の線
画データ(xi ,yi )、すなわち指示点Sの座標デ−
タを呼び出して、次のステップに進む。 (48)「xC =−512 」であるかどうかを判断し、「YES
」の場合は次のステップに進み、「NO」の場合はステ
ップ(50)に進む。前者の「接続」の場合には、指示点S
から側溝線がスタートすることになる(図5参照)。 (49)「xi →Xj ,yi →Yj ,xi →xOLD ,yi
OLD 」として、ステップ(52)に進む。ここで得られる
(X1 ,Y1 )は指示点Sの座標となる。 (50)「xi →xOLD ,yi →yOLD 」として、次のステ
ップに進む。 (51)「(i+1)→i」として、ステップ(53)に進む。 (52)「(i+1)→i,(j+1)→j」として、次の
ステップに進む。 (53)歩道線16の線画レコードからデ−タ番号「i」の線
画データ(xi ,yi )を呼び出して、次のステップに
進む。 (54)歩道上の隣同士の特徴点である(xOLD ,yOLD
と(xi ,yi )とを結ぶ線から所定長Δだけ離れた平
行線を示すf1(x,y)を算出する。なお、このf
1(x,y)は例えば図15に示すようにして求められ、ま
た、その前提となる平行線の作成サイドを示す符号は例
えば図16に示す方法で求められる。 (55)指示点Eである(xOLD ,yOLD )からこの平行線
に下ろした垂線の交点座標(XH ,YH )を求めて「X
H →Xj ,YH →Yj 」とし、次のステップに進む。
(46) As “(i + 1) → i”, proceed to the next step. (47) line drawing record Karade sidewalk line 16 - line drawing data of data number "i" (x i, y i), i.e. the coordinates data of the designated point S -
And go to the next step. (48) Determine whether or not “x C = −512”, and select “YES”.
If "", proceed to the next step, and if "NO", proceed to step (50). In the case of the former “connection”, the designated point S
The gutter starts from (see FIG. 5). (49) "x i → X j, y i → Y j, x i → x OLD, y i →
yOLD "and the process proceeds to a step (52). (X 1 , Y 1 ) obtained here becomes the coordinates of the designated point S. (50) "x i → x OLD, y i → y OLD " as, proceed to the next step. (51) As “(i + 1) → i”, proceed to step (53). (52) As “(i + 1) → i, (j + 1) → j”, proceed to the next step. (53) line drawing record Karade sidewalk line 16 - line drawing data (x i, y i) of the data number "i" by calling, the process proceeds to the next step. (54) The feature points of the neighbors on the sidewalk (x OLD , y OLD )
F 1 (x, y) indicating a parallel line separated by a predetermined length Δ from the line connecting (x i , y i ) and (x i , y i ) is calculated. Note that this f
1 (x, y) is obtained, for example, as shown in FIG. 15, and the code indicating the side on which the parallel line is to be created is obtained, for example, by the method shown in FIG. (55) From the designated point E (x OLD , y OLD ), find the intersection coordinates (X H , Y H ) of the perpendicular drawn down to this parallel line and obtain “X
H → X j , Y H → Y j ”, and proceed to the next step.

【0039】以上の処理手順により、側溝線17の(「接
合」の場合の指示点Sを除いた)最初の特徴点が特定さ
れる。すなわち、ステップ(55)の(Xj ,Yj )は「接
合」の場合には(X2 ,Y2 )として、また「開放」の
場合には(X1 ,Y1 )としてそれぞれ設定される。
The first feature point (excluding the designated point S in the case of "joining") of the side groove line 17 is specified by the above processing procedure. That is, (X j , Y j ) in step (55) is set as (X 2 , Y 2 ) in the case of “joining” and as (X 1 , Y 1 ) in the case of “open”. You.

【0040】なお、図示していないが、歩道線16の指示
点Sと指示点Eとの間に特徴点が存在しないといった特
異なケースではステップ(53)のxi が指示点Eの属性デ
−タの「−512 または−1024」となってステップ(54)で
の平行線f1(x,y)が求まらないことになる。
[0040] Although not shown, the attribute of x i is indicated point E in the step (53) is a specific case, such feature points between the designated point S and the designated point E trail line 16 does not exist de The data becomes “−512 or −1024”, and the parallel line f 1 (x, y) in step (54) cannot be obtained.

【0041】この場合、その次の線画デ−タである指示
点Eの座標デ−タを用いて当該平行線を求めこれに対し
てそれぞれの指示点から垂線を下ろしてその交点を側溝
線の特徴点とする。また、ステップ(55)に続いて以下の
処理が行われる。
In this case, the parallel line is obtained by using the coordinate data of the designated point E which is the next line drawing data. On the other hand, a perpendicular line is lowered from each designated point, and the intersection is defined as the side groove line. It is a feature point. Further, following step (55), the following processing is performed.

【0042】(56)「(j+1)→j」として、次のステ
ップに進む。 (57)前記フラグが「0」に設定されたままかどうかを判
断し、「YES」の場合は次のステップに進み、「NO」の
場合はステップ(72)に進む。ここで、後者の場合には終
点側指示点Eに対する処理に移っていく。 (58)「f1(x,y)→fOLD (x,y)」として、次の
ステップに進む。 (59)「xi →xOLD ,yi →yOLD 」として、次のステ
ップに進む。 (60)「(i+1)→i」として、次のステップに進む。 (61)歩道線16の線画レコードからデ−タ番号「i」の線
画データ(xi ,yi )を呼び出して、次のステップに
進む。 (62)「xi →xC 」として、次のステップに進む。 (63)「xi =−512 、またはxi =−1024」であるかど
うかを判断し、「YES」の場合は次のステップに進み、
「NO」の場合はステップ(66)に進む。前者の場合には次
の線画データ(指示点Eの座標データ)で側溝線作成処
理が終わることになる。 (64)前記フラグを「1」にし、また「(i+1)→i」
として、次のステップに進む。 (65)歩道線16の線画レコードからデ−タ番号「i」の線
画データ(xi ,yi )を呼び出して、次のステップに
進む。 (66)ステップ(54)と同様にf1(x,y)を算出して、次
のステップに進む。 (67)fOLD (x,y)の勾配aOLD とf1(x,y)の勾
配a1 とを求めて、次のステップに進む。 (68)それぞれの勾配の差が所定値以上であるかどうかを
判断し、「YES」の場合は次のステップに進み、「NO」
の場合はステップ(70)に進む。なお、具体的には(a1
−aOLD )/aOLD の絶対値が所定値、例えば「0.001
」より大きいかどうかを算出している。 (69)fOLD (x,y)=0と、f1(x,y)=0との二
つの方程式の解を求め、それを側溝線の線画レコードの
データ番号「j」の線画データ(Xj ,Yj )として保
管し、ステップ(56)に戻る。 (70)f1(x,y)=0の式で「x=xOLD 」としたとき
に得られるyの値をYjとして、次のステップに進む。
このf1(x,y)=0に代えてfOLD (x,y)=0を
用いるようにしてもよい。 (71)「xOLD =Xj 」として、ステップ(56)に戻る。
(56) As “(j + 1) → j”, proceed to the next step. (57) It is determined whether or not the flag remains set to “0”. If “YES”, the process proceeds to the next step, and if “NO”, the process proceeds to step (72). Here, in the latter case, the process proceeds to the end point designated point E. (58) As “f 1 (x, y) → f OLD (x, y)”, proceed to the next step. (59) Set “x i → x OLD , y i → y OLD ” and proceed to the next step. (60) As “(i + 1) → i”, proceed to the next step. (61) line drawing record Karade of the sidewalk line 16 - line drawing data (x i, y i) of the data number "i" by calling, proceed to the next step. (62) as "x i → x C", proceed to the next step. (63) determines whether the "x i = -512 or x i = -1024," in the case of "YES", the flow proceeds to the next step,
If "NO", the flow proceeds to step (66). In the former case, the side groove line creation processing ends with the next line drawing data (coordinate data of the designated point E). (64) The flag is set to “1” and “(i + 1) → i”
And proceed to the next step. (65) line drawing record Karade sidewalk line 16 - line drawing data (x i, y i) of the data number "i" by calling, the process proceeds to the next step. (66) f 1 (x, y) is calculated in the same manner as in step (54), and the flow advances to the next step. (67) f OLD (x, y) the slope of a OLD and f 1 (x, y) in search of a gradient a 1 in, proceed to the next step. (68) It is determined whether or not the difference between the respective gradients is equal to or more than a predetermined value, and if “YES”, the process proceeds to the next step and “NO”.
If so, go to step (70). Specifically, (a 1
−a OLD ) / a OLD is a predetermined value, for example, “0.001
Is greater than or equal to. (69) The solution of two equations of f OLD (x, y) = 0 and f 1 (x, y) = 0 is obtained, and the solution is drawn to the line drawing data (j) of the line drawing record of the side groove line ( X j , Y j ) and return to step (56). (70) The value of y obtained when “x = x OLD ” in the equation of f 1 (x, y) = 0 is set as Y j , and the process proceeds to the next step.
F OLD (x, y) = 0 may be used instead of f 1 (x, y) = 0. (71) Set “x OLD = X j ” and return to step (56).

【0043】以上の処理手順により、歩道線16の、指示
点Sの次の特徴点から指示点Eの一つ手前の特徴点まで
の各特徴点に対する側溝線作成処理が順に行われ、ステ
ップ(56)の判断結果が「NO」の場合、すなわち指示点E
までの平行線作成やこの平行線とその手前の平行線との
交点算出処理が終了した段階では以下の処理が行われ
る。
According to the above-described processing procedure, the gutter line creation processing is sequentially performed on each feature point of the sidewalk line 16 from the feature point next to the designated point S to the feature point immediately before the designated point E, and step ( 56) If the determination result is “NO”, that is, the designated point E
At the stage where the parallel line creation up to this point and the intersection calculation process between the parallel line and the preceding parallel line are completed, the following processing is performed.

【0044】(72)指示点E(xi ,yi )から平行線
「f1 (x,y)=0」に下ろした垂線の交点座標(x
H ,yH )を求めて「xH →Xj ,yH →Yj 」とし、
次のステップに進む。 (73)「xC =−512 」であるかどうかを判断し、「YES
」の場合は次のステップに進み、「NO」の場合はステ
ップ(76)に進む。 (74)「(j+1)→j」として、次のステップに進む。 (75)「xi →Xj ,yi →Yj 」として、次のステップ
に進む。 (76)側溝線の線画レコードのデ−タ数領域に「j」の値
を入れる。
(72) The coordinates (x) of the intersection of the perpendicular drawn from the designated point E (x i , y i ) to the parallel line “f 1 (x, y) = 0”
H , y H ) to obtain “x H → X j , y H → Y j ”,
Proceed to the next step. (73) Determine whether or not “x C = −512”, and select “YES”.
If "", proceed to the next step, and if "NO", proceed to step (76). (74) As “(j + 1) → j”, proceed to the next step. (75) "x i → X j, y i → Y j " as, proceed to the next step. (76) The value of "j" is entered in the data number area of the line drawing record of the side groove line.

【0045】これらステップ(72)から(75)までの処理に
より側溝線17の最後の特徴点を算出するとともに、端点
処理として「接続」が指定されている場合にはこの特徴
点の後に指示点Eの座標デ−タを付加したかたちの(側
溝線の)線画レコードを作成している。
The last feature point of the side groove line 17 is calculated by the processing of these steps (72) to (75), and when "connection" is designated as the end point processing, the designated point is added after this feature point. A line drawing record (of the side groove line) to which the coordinate data of E is added is created.

【0046】そして、ステップ(76)で求まる「j」の値
は、図2の歩道線16の場合、 ・端点処理として「開放」が指定されているときには、
指示点Sー特徴点[26]ー特徴点[27]ー・・・ー特徴点[8
8]ー指示点Eのそれぞれに対応した側溝線上の特徴点の
数である「65」 ・端点処理として「接続」が指定されているときにはこ
れに指示点S自体と指示点E自体とを加えた「67」 となり、これらの数の座標デ−タからなる線画レコード
が側溝線レイヤに保管される。
Then, the value of "j" obtained in step (76) is as follows in the case of the pedestrian line 16 in FIG. 2: When "open" is designated as the end point processing,
Point S-Feature point [26]-Feature point [27]---Feature point [8
8] -The number of feature points on the gutter line corresponding to each of the designated points E is "65". When "connection" is designated as the end point processing, the designated points S and E are added to this. "67", and a line drawing record composed of these numbers of coordinate data is stored in the gutter line layer.

【0047】図15は、ステップ(54)およびステップ(66)
の平行線「f1 (x,y)=0」を誘導する過程を示す
説明図であり、また、図16はその前提となる平行線の作
成サイドを歩道線ベクトルLと指示点D,D′とから算
出する過程を示す説明図である。
FIG. 15 shows steps (54) and (66).
FIG. 16 is an explanatory diagram showing a process of inducing a parallel line “f 1 (x, y) = 0” of FIG. FIG.

【0048】なお、指示点Dは処理対象区間の歩道線ベ
クトルLの左側にディジタイザ入力された場合で、また
指示点D′は当該歩道線ベクトルLの右側にディジタイ
ザ入力された場合であり、このときの歩道線ベクトルL
は例えば指示点D,D′から最も近い歩道線分(歩道線
上の隣同士の特徴点間を結ぶ線)についてのものであ
る。
The designated point D corresponds to a case where a digitizer is input to the left of the sidewalk line vector L of the processing target section, and the designated point D 'corresponds to a case where a digitizer is input to the right of the sidewalk line vector L. Sidewalk line vector L
Is, for example, about a sidewalk segment closest to the designated points D and D '(a line connecting adjacent feature points on the sidewalk line).

【0049】ここで、図15の歩道線ベクトルLと平行線
L′との間の平行移動距離bおよび図16の歩道線ベクト
ルLと指示点D,D′とのy軸方向の距離lはともに正
の値であり、平行線L′の式におけるZが「+1」とな
るか「−1」となるかは指示点D,D′と歩道線ベクト
ルLとの位置関係によって一義的に決まる。
Here, the translation distance b between the sidewalk line vector L and the parallel line L 'in FIG. 15 and the distance 1 in the y-axis direction between the sidewalk line vector L and the designated points D and D' in FIG. Both are positive values, and whether Z in the equation of the parallel line L 'is "+1" or "-1" is uniquely determined by the positional relationship between the designated points D and D' and the sidewalk line vector L. .

【0050】すなわち、図16から明らかなように、指示
点Dについてf(x,y)を求めると必ず負数となり、
指示点D′についてf(x,y)を求めると必ず正数と
なり、この符号がZの値として用いられる。なお、
That is, as is apparent from FIG. 16, when f (x, y) is obtained for the designated point D, it always becomes a negative number,
When f (x, y) is obtained for the designated point D ', it always becomes a positive number, and this sign is used as the value of Z. In addition,

【0051】したがって、オペレータが指示点D,D′
のいずれかをディジタイザ入力すると図16の算出により
Zの符号が決まり、その結果、処理対象区間の任意の歩
道線ベクトルLごとに図15の「f1 (x,y)=0」が
算出されて歩道線の右または左のいずれかに側溝線ベク
トルが順次求められることになる。
Therefore, the operator can specify the designated points D and D '.
Is input by the digitizer, the sign of Z is determined by the calculation in FIG. 16, and as a result, “f 1 (x, y) = 0” in FIG. 15 is calculated for each arbitrary pedestrian line vector L in the processing target section. Thus, the gutter line vector is sequentially obtained on either the right or left side of the sidewalk line.

【0052】[0052]

【発明の効果】本発明は、このように、各特徴点の線画
データ(座標データや、次の特徴点ままでの表示態様を
示す属性デ−タ)をそれぞれの並び順にしたがって配置
したベクトルデータ形式の線画レコードで表現される歩
道線などの図形表示線に対して側溝線などの片側平行線
を当該図形表示線のどちら側に作成するか、またその作
成区間や片側平行線の端点を図形表示線に接続するかど
うかなどをオペレータがディジタイザなどから入力し、
これらの入力デ−タおよび当該線画データに基づいて片
側平行線を自動作成するようにしたものである。
As described above, according to the present invention, the vector data in which the line drawing data (coordinate data and the attribute data indicating the display state of the next feature point as it is) of each feature point are arranged according to the respective arrangement order. For the graphic display line such as the sidewalk line represented by the line drawing record of the format, the one side parallel line such as the gutter line is created on which side of the figure display line, and the created section and the end point of the one side parallel line The operator inputs from the digitizer etc. whether or not to connect to the display line,
One-sided parallel lines are automatically created based on these input data and the line drawing data.

【0053】そのため、既入力の図形表示線の任意の区
間にわたってその片側に平行線を作成するに際して人手
作業の省力化および要処理時間の短縮化を図ることがで
きるとともに、正確な片側平行線を作成することができ
る。
Therefore, when creating a parallel line on one side of an arbitrary section of the already input graphic display line, labor can be saved and the processing time required for manual processing can be reduced, and an accurate parallel line on one side can be created. Can be created.

【図面の簡単な説明】[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 a drawing example in which a one-side parallel line creation section and the like are specified according to the present invention;

【図3】図2の歩道線の線画レコードを示す説明図であ
る。
FIG. 3 is an explanatory diagram showing a line drawing record of a sidewalk line in FIG. 2;

【図4】図3の線画レコードに指示点SおよびEの線画
データを付加した状態を示す説明図である。
FIG. 4 is an explanatory diagram showing a state in which line drawing data of designated points S and E are added to the line drawing record of FIG. 3;

【図5】本発明の、線画レコードの各属性データの内容
を示す説明図である。
FIG. 5 is an explanatory diagram showing the contents of each attribute data of a line drawing record according to the present invention.

【図6】図4の線画レコードに基づいて図2の歩道線の
外側に側溝線を作成した図面を示す説明図である。
6 is an explanatory diagram showing a drawing in which a gutter line is created outside the sidewalk line of FIG. 2 based on the line drawing record of FIG. 4;

【図7】図2の歩道線を前半部分と後半部分とに分けて
それぞれごとに線画レコードが設定されている図面を示
す説明図である。
FIG. 7 is an explanatory diagram showing a drawing in which a line drawing record is set for each of the sidewalk line of FIG. 2 divided into a first half part and a second half part.

【図8】図7の歩道線の前半部分の線画レコードに指示
点SおよびEの線画データを付加した状態を示す説明図
である。
8 is an explanatory diagram showing a state in which line drawing data of designated points S and E are added to the line drawing record of the first half of the sidewalk line in FIG. 7;

【図9】本発明の、歩道線の指示点SとEとの間にわた
って側溝線を作成するときの処理手順を示す説明図(そ
の1)である。
FIG. 9 is an explanatory diagram (part 1) illustrating a processing procedure when a gutter line is created between designated points S and E of a sidewalk line according to the present invention.

【図10】本発明の、歩道線の指示点SとEとの間にわ
たって側溝線を作成するときの処理手順を示す説明図
(その2)である。
FIG. 10 is an explanatory diagram (part 2) illustrating a processing procedure when creating a gutter line between designated points S and E of a sidewalk line according to the present invention.

【図11】ステップ(16)およびステップ(19)で用いられ
るサブルーチンを示す説明図である。
FIG. 11 is an explanatory diagram showing a subroutine used in step (16) and step (19).

【図12】ステップ(21)で用いられる側溝線作成用サブ
ルーチンを示す説明図(その1)である。
FIG. 12 is an explanatory diagram (part 1) illustrating a sub-groove line creation subroutine used in step (21).

【図13】ステップ(21)で用いられる側溝線作成用サブ
ルーチンを示す説明図(その2)である。
FIG. 13 is an explanatory diagram (part 2) showing a sub-groove line creating subroutine used in step (21).

【図14】ステップ(21)で用いられる側溝線作成用サブ
ルーチンを示す説明図(その3)である。
FIG. 14 is an explanatory view (No. 3) showing a sub-groove line creating subroutine used in step (21).

【図15】ステップ(54)およびステップ(66)の平行線
「f1 (x,y)=0」を誘導する過程を示す説明図で
ある。
FIG. 15 is an explanatory diagram showing a process of inducing a parallel line “f 1 (x, y) = 0” in steps (54) and (66).

【図16】図15の平行線「f1 (x,y)=0」の作成
サイドを、歩道線ベクトルLと指示点D,D′とから算
出する過程を示す説明図である。
16 is an explanatory diagram showing a process of calculating a creation side of the parallel line “f 1 (x, y) = 0” in FIG. 15 from a sidewalk line vector L and designated points D and D ′.

【図17】一般的な、コンピュータを用いて各種図面の
作成・修正処理を行うときのハードウェアの概要を示す
説明図である。
FIG. 17 is an explanatory diagram showing an outline of hardware when a general computer is used to create and correct various drawings using a computer.

【図18】一般的な、図形表示線とその線画レコードの
フォーマットを示す説明図である。
FIG. 18 is an explanatory diagram showing a general format of a graphic display line and its line drawing record.

【図19】従来の、線画レコードの各属性データの内容
を示す説明図である。
FIG. 19 is an explanatory diagram showing the contents of each attribute data of a line drawing record in the related art.

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

図1において、 1・・・片側平行線作成後の図面の一部 2・・・記憶装置 3・・・入力部 4・・・アプリケーションプログラム 11・・・図形表示線 12・・・片側平行線 In FIG. 1, 1 ... a part of the drawing after the creation of one-sided parallel lines 2 ... storage device 3 ... input unit 4 ... application program 11 ... graphic display line 12 ... one-side parallel line

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 17/50 606 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 17/50 606

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 表示線を特定する複数の特徴点の位置デ
ータを当該特徴点の並び順に示したベクトルデータ形式
の線画レコードに基づき、当該表示線の片側平行線の特
定用データを求める片側平行線自動作成システムにおい
て、 前記片側平行線の作成区間を示す前記表示線上の区間指
示点,当該片側平行線の作成サイドを示す前記表示線外
のサイド指示点それぞれの位置データ、および前記表示
線の各特徴点の位置データを用いて、一方の前記区間指
示点から前記特徴点を経て他方の前記区間指示点にいた
るまでの、隣同士の当該位置データで特定される直線か
ら前記作成サイドの方に所定長だけ離れた平行線の式を
求めるとともに、隣同士の当該平行線ごとの第1の交点
を算出する交点算出手段と、 この算出した第1の交点の各位置データを、一方の前記
区間指示点に対応の始点から他方の前記区間指示点に対
応の終点までにわたって前記特徴点の並び順にしたがう
態様で連結させて、前記特定用データを生成する片側平
行線データ生成手段と、 を備えたことを特徴とする片側平行線自動作成システ
ム。
2. The method of claim 1, further comprising the steps of :
Data format showing data in the order of the feature points
Of the parallel line on one side of the display line based on the line drawing record
In a one-sided parallel line automatic creation system for finding fixed data
Te, interval fingers of the display line indicating the creation interval of the one-side parallel lines
Mark, outside of the above-mentioned display line indicating the side of creation of the one-side parallel line
Position data of each side indication point of the above, and the display
Using the position data of each feature point of the line,
From the indicated point to the other section indicating point via the feature point
A straight line specified by the position data of adjacent neighbors until
Formula of a parallel line separated by a predetermined length toward the creation side
First intersection point for each parallel line between adjacent ones
And calculating the position data of the calculated first intersection with one of the
From the start point corresponding to the section designated point to the other section designated point
Follow the order of the feature points until the end point
One-sided flattened to generate the identification data by linking in a manner
One parallel line automatic creation system, characterized in that it and a row line data generating means
M
【請求項2】 前記交点算出手段は、最初の前記平行線
および最後の前記平行線のそれぞれに対し前記一方の区
間指示点および前記他方の区間指示点のそれぞれから垂
線を下ろしたときの第2,第3の交点を算出し、 前記片側平行線データ生成手段は、この算出した第2お
よび第3の交点を前記始点および前記終点として用いる
とともに、当該交点および前記区間指示点の各位置デー
タを前記特定用データの要素として連結する、 ことを特徴とする請求項1記載の片側平行線自動作成シ
ステム。
2. The method according to claim 1, wherein the intersection calculating means calculates the first parallel line.
And the one section for each of the last parallel lines
From each of the designated points and the other section designated points.
The second and third intersections when the line is lowered are calculated, and the one-side parallel line data generating means calculates the second and third intersections .
And the third intersection is used as the start point and the end point
And the position data of the intersection and the section point.
2. The one-sided parallel line automatic creation system according to claim 1 , wherein the data is connected as elements of the identification data.
Stem.
【請求項3】 前記交点算出手段は、隣同士の前記平行
線の傾きが略同一の場合、両者の交点に代え、当該平行
線の算出処理の基となった前記特徴点から当該平行線の
いずれかに垂線を下ろしたときの第4の交点を算出す
る、 ことを特徴とする請求項1または2記載の片側平行線自
動作成システム。
3. The method according to claim 2, wherein the intersection calculation means calculates the position of the parallel
If the slopes of the lines are almost the same,
From the feature point on which the line is calculated,
Calculate the fourth intersection when dropping the perpendicular to either
That, on one side parallel lines according to claim 1 or 2, wherein the self
Dynamic creation system.
【請求項4】 表示線を特定する複数の特徴点の位置デ
ータを当該特徴点の並び順に示したベクトルデータ形式
の線画レコードに基づき、当該表示線の片側平行線の特
定用データを求める片側平行線自動作成方法において、 交点算出手段により、前記片側平行線の作成区間を示す
前記表示線上の区間指示点および当該平行線の作成サイ
ドを示す前記表示線外のサイド指示点それぞれの位置デ
ータ、および前記表示線の各特徴点の位置データを用い
て、一方の前記区間指示点から前記特徴点を経て他方の
前記区間指示点にいたるまでの、隣同士の当該位置デー
タで特定される直線から前記作成サイドの方に所定長だ
け離れた平行線の式を求めるとともに、隣同士の当該平
行線ごとの第1の交点を算出し、 片側平行線データ生成手段により、前記前記第1の交点
の各位置データを、一方の前記区間指示点に対応の始点
から他方の前記区間指示点に対応の終点までにわたり前
記特徴点の並び順にしたがう態様で連結させて、前記特
定用データを生成する、 ことを特徴とする片側平行線自動作成方法。
4. The position data of a plurality of feature points for specifying a display line.
Data format showing data in the order of the feature points
Of the parallel line on one side of the display line based on the line drawing record
In the one-sided parallel line automatic creation method for obtaining fixed data, an intersection calculation means indicates a creation section of the one-sided parallel line.
Section designation points on the display line and the size of the parallel line
The position data of each side indication point outside the display line
Data and the position data of each feature point of the display line.
From one of the section indication points via the feature point to the other
The position data of the neighbors up to the section designated point
Is a predetermined length from the straight line specified by the
Obtain the formulas for the parallel lines that are far apart, and
A first intersection for each row line is calculated, and the first intersection is calculated by one-sided parallel line data generation means.
The starting point corresponding to one of the section designated points
From the end to the end point corresponding to the other section designated point
The feature points are linked in a manner that follows the
A method for automatically creating one-sided parallel lines, characterized by generating regular data .
【請求項5】 前記交点算出手段により、最初の前記平
行線および最後の前記平行線のそれぞれに対し前記一方
の区間指示点および前記他方の区間指示点のそれぞれか
ら垂線を下ろしたときの第2,第3の交点を算出し、 前記片側平行線データ生成手段により、前記第2および
第3の交点を前記始点および前記終点として用いるとと
もに、当該交点および前記区間指示点の各位置データを
前記特定用データの要素として連結する、 ことを特徴とする請求項4記載の片側平行線自動作成方
法。
5. The method according to claim 1, wherein the intersection calculating means calculates the first flat area.
One for each of the row line and the last parallel line
Each of the section indication points of the above and the other section indication points
The second and third intersections when the perpendicular is lowered are calculated, and the one-side parallel line data generating means calculates the second and third intersections.
When a third intersection is used as the start point and the end point
In addition, each position data of the intersection and the section indication point is
5. The method for automatically creating one-sided parallel lines according to claim 4, wherein the one-sided parallel lines are connected as elements of the identification data.
Law.
【請求項6】 前記交点算出手段により、隣同士の前記
平行線の傾きが略同一の場合、両者の交点に代え、当該
平行線の算出処理の基となった前記特徴点から当該平行
線のいずれかに垂線を下ろしたときの第4の交点を算出
する、 ことを特徴とする請求項4または5記載の片側平行線自
動作成方法。
6. The method according to claim 1, wherein the intersection calculation means calculates the intersection of
If the inclinations of the parallel lines are substantially the same,
From the feature point on which the parallel line is calculated,
Calculate the fourth intersection when a perpendicular is dropped on any of the lines
To one side parallel lines according to claim 4 or 5, wherein the self
Dynamic creation method.
JP20465793A 1993-07-26 1993-07-26 One-side parallel line automatic creation system and one-side parallel line automatic creation method Expired - Lifetime JP3244569B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20465793A JP3244569B2 (en) 1993-07-26 1993-07-26 One-side parallel line automatic creation system and one-side parallel line automatic creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20465793A JP3244569B2 (en) 1993-07-26 1993-07-26 One-side parallel line automatic creation system and one-side parallel line automatic creation method

Publications (2)

Publication Number Publication Date
JPH0744606A JPH0744606A (en) 1995-02-14
JP3244569B2 true JP3244569B2 (en) 2002-01-07

Family

ID=16494133

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20465793A Expired - Lifetime JP3244569B2 (en) 1993-07-26 1993-07-26 One-side parallel line automatic creation system and one-side parallel line automatic creation method

Country Status (1)

Country Link
JP (1) JP3244569B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105034661B (en) * 2015-09-01 2017-03-08 南京工业职业技术学院 Non-trigonometric periodic function demonstration and image drawing device

Also Published As

Publication number Publication date
JPH0744606A (en) 1995-02-14

Similar Documents

Publication Publication Date Title
JP3477329B2 (en) Navigation device
CN114818065A (en) Three-dimensional roadway model building method and device, electronic equipment and storage medium
US7680598B2 (en) Information generating apparatus, recording medium where information generating program is recorded, and information generating method
JP4741328B2 (en) Navigation device
JP3244569B2 (en) One-side parallel line automatic creation system and one-side parallel line automatic creation method
JPH07244719A (en) Plotting area data generating method
JP3925838B2 (en) Traffic flow simulation data input device
JP2000105813A (en) Image connection system and recording medium storing image connection program
JP2001092865A (en) CAD drawing creation method and apparatus, dimension editing method and apparatus, and storage medium
JP3353212B2 (en) Leader automatic creation method and leader automatic creation system
JP2001084357A (en) How to extract road width data
JP4630528B2 (en) Spatio-temporal data management device
JP3577426B2 (en) Navigation video summarization method and recording medium storing navigation video summarization program
JP2003173138A (en) Road network generation apparatus and method
JPH10222689A (en) Graphic display method and apparatus, and storage medium storing graphic display program
JP3883644B2 (en) Leader line automatic creation method, leader line automatic creation apparatus and program storage medium therefor
JP2550208B2 (en) Location equipment
JP2001194174A (en) Geographic information system, geographic information processing method used therefor, and recording medium recording this method
JP3423775B2 (en) Figure editing and drawing device
JP4647217B2 (en) Temporary map data generation apparatus and method
JP3378968B2 (en) Polygon component line automatic creation method and polygon component line automatic creation device
JP3430207B2 (en) Geographic information system for contact route search
JPH05297798A (en) Vehicle navigation system
JPH0773209A (en) Automatic leader line creation method
JP3535596B2 (en) Figure data adjustment method

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

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081026

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091026

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101026

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111026

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121026

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20121026

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20131026

Year of fee payment: 12

EXPY Cancellation because of completion of term