JP3535596B2 - Figure data adjustment method - Google Patents
Figure data adjustment methodInfo
- Publication number
- JP3535596B2 JP3535596B2 JP33874894A JP33874894A JP3535596B2 JP 3535596 B2 JP3535596 B2 JP 3535596B2 JP 33874894 A JP33874894 A JP 33874894A JP 33874894 A JP33874894 A JP 33874894A JP 3535596 B2 JP3535596 B2 JP 3535596B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- block
- house
- shape data
- house shape
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、複数の地図データベー
ス等に含まれる図形データを調整する方法に関するもの
である。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for adjusting graphic data contained in a plurality of map databases and the like.
【0002】[0002]
【従来の技術】昨今、複数の地図データベースから所定
の範囲のデータを抽出して、新たな地図データベースを
作成することが行われている。複数の地図データベース
から、例えば道路等の対応する同一のデータを抽出して
統合する場合には、1方のデータをアフィン変換するな
どして、他方のデータの位置に合わせ、接合部で調整し
て編集している。複数の地図データベースの構成データ
の、ずれは、各部分によって異なっているため、もしア
フィン変換後に両方の地図を重ねて表示すると、各々の
地図データベースに由来する道路が、ずれたり、重なっ
たりすることになる。しかし、統合された地図データベ
ースでは、部分毎に異なった地図データベースから得た
データが用いられており、道路等のデータが重なること
はない。しかし、例えば複数の地図データベースのう
ち、1方の地図データベースから道路(街区線)データ
と家形データを抽出し、他方の地図データベースから道
路(街区線)データのみを抽出して統合する場合があ
る。この場合、まず、1方の地図データベースと、他方
の地図データベースの、それぞれの道路(街区線)デー
タに注目してアフィン変換用パラメータを算出する。次
に、1方の地図データベースの家形データと、他方の地
図データベースの道路(街区線)データとの、いずれか
をアフィン変換して、両方のデータを統合して表示す
る。このとき、元の地図データベースの、ずれの量が各
部分によって異なるため、家が道路、公園、河川等の部
分に重なる部分や、はみ出す部分等が生じてしまうこと
がある。2. Description of the Related Art Recently, a new map database is created by extracting data in a predetermined range from a plurality of map databases. For example, when extracting and integrating corresponding identical data such as roads from multiple map databases, one data is affine-transformed to match the position of the other data and adjusted at the junction. I am editing. Since the deviations of the constituent data of multiple map databases are different for each part, if both maps are overlaid after the affine transformation, the roads derived from each map database may be misaligned or overlapped. become. However, in the integrated map database, data obtained from different map databases for each part is used, and data such as roads do not overlap. However, for example, among a plurality of map databases, road (block line) data and house shape data may be extracted from one map database, and only road (block line) data may be extracted and integrated from the other map database. is there. In this case, first, the affine transformation parameters are calculated by paying attention to the respective road (block line) data of the one map database and the other map database. Next, one of the house shape data of one map database and the road (block line) data of the other map database is affine-transformed, and both data are integrated and displayed. At this time, since the amount of deviation of the original map database differs depending on the parts, there may be a part where the house overlaps a part such as a road, a park, or a river, or a protruding part.
【0003】従来は、家等が道路、公園、河川等の部分
に重なる部分や、はみ出す部分等を、目視によって判断
し、人手によりデジタイザ等を用いて修正していた。Conventionally, a portion where a house or the like overlaps a portion such as a road, a park or a river, or a protruding portion is visually determined and manually corrected by using a digitizer or the like.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、家等が
道路、公園、河川等の部分に重なる部分や、はみ出す部
分等を、目視によって判断し、人手のみによりデジタイ
ザ等を用いて修正する方法では、オペレータの判断や作
業が複雑になり、過誤の生ずる危険や、データの修正方
法が場合によって異なる危険等が生じていた。However, in the method of visually deciding a portion where a house or the like overlaps a portion of a road, a park, a river or the like, or a portion of the house, etc., which is corrected manually by using a digitizer or the like, The operator's judgment and work are complicated, and there is a risk that errors may occur and that the data correction method may differ depending on the case.
【0005】本発明は、このような問題に鑑みてなされ
たもので、その目的とするところは、自動的に図形デー
タの修正すべき箇所を抽出し、所定の基準で効率良く図
形データを修正できるような、人為差が小さく客観性の
高い図形データ調整方法を提供することにある。The present invention has been made in view of the above problems, and its object is to automatically extract a portion to be corrected in graphic data and efficiently correct the graphic data according to a predetermined standard. An object of the present invention is to provide a graphic data adjustment method that is small in human error and highly objective.
【0006】[0006]
【課題を解決するための手段】前述した目的を達成する
ために、第1の発明は、第1の地図データベースから所
定の対象区域に含まれる家形データを抽出し、第2の地
図データベースから前記所定の対象区域に含まれる街区
線データを抽出し、前記家形データまたは前記街区線デ
ータの、いずれかを座標変換して得た、第1の家形デー
タと第1の街区線データとを含む第3の地図データベー
スを作成するシステムにおいて、(a)各々の前記第1
の家形データについて、各々の前記第1の街区線データ
と交差しているか否かを計算して、前記第1の街区線デ
ータによって区切られた第1の街区から外側に、はみ出
しているか否かを判定する工程と、(b)前記工程
(a)において前記第1の家形データが、はみ出してい
ると判定される場合には、前記第1の家形データのうち
前記第1の街区より外側に位置する部分の線分のデータ
を第1の範囲外データとし、前記第1の街区の内側に位
置する部分の線分のデータを第2の家形データとして、
区別する工程とを具備することを特徴とする図形データ
調整方法である。In order to achieve the above-mentioned object, the first invention is to extract house shape data included in a predetermined target area from the first map database and to extract it from the second map database. First house-shaped data and first block-line data obtained by extracting block-line data included in the predetermined target area and performing coordinate conversion of either the house-shaped data or the block-line data; In a system for creating a third map database including:
Whether the house shape data of each intersects with each of the first block line data and whether or not the house block data extends outside the first block divided by the first block line data. And (b) in the step (a), when it is determined that the first house shape data is protruding, the first block in the first house shape data The data of the line segment of the portion located outside is the first out-of-range data, and the data of the line segment of the portion located inside the first block is the second house shape data.
And a step of distinguishing the figure data.
【0007】また、第2の発明は、第1の地図データベ
ースから所定の対象区域に含まれる家形データを抽出
し、第2の地図データベースから前記所定の対象区域に
含まれる街区線データを抽出し、前記家形データまたは
前記街区線データの、いずれかを座標変換して得た、第
1の家形データと第1の街区線データとを含む第3の地
図データベースを作成するシステムにおいて、(a)各
々の前記第1の家形データについて、各々の前記第1の
街区線データと交差しているか否かを計算して、前記第
1の街区線データによって区切られた第1の街区から外
側に、はみ出しているか否かを判定する工程と、(b)
前記工程(a)において前記第1の家形データが、はみ
出していると判定される場合には、前記第1の家形デー
タのうち前記第1の街区より外側に位置する部分の線分
のデータを第1の範囲外データとし、前記第1の街区の
内側に位置する部分の線分のデータを第2の家形データ
として、区別する工程と、(c)前記第1の範囲外デー
タを削除する工程と、(d)前記工程(a)および
(b)において、前記第1の街区線データのうち、前記
第1の家形データと交差すると判定された単数または複
数の街区線データを第2の街区線データとして区別する
工程と、(e)前記第2の街区線データを構成する各街
区線から所定の距離だけ街区の中心側に離れた第1の区
切り線を設ける工程と、(f)各々の前記第2の家形デ
ータについて、前記第1の区切り線より外側に位置する
部分の線分のデータを第2の範囲外データとし、前記街
区線より街区側に位置する部分の線分のデータを第4の
家形データとして、区別する工程と、(g)前記第2の
範囲外データを削除する工程と、(h)前記第4の家形
データと、前記第1の区切り線とで囲まれた第5の家形
データを作成する工程と、(i)全ての第1の家形デー
タについて、工程(a)により判定を行ない、工程
(a)において、はみ出していると判定された家形デー
タについて、工程(b)から工程 (h)を繰り返す工
程とを具備することを特徴とする図形データ調整方法で
ある。 また、第3の発明は、第1の地図データベース
から所定の対象区域に含まれる家形データを抽出し、第
2の地図データベースから前記所定の対象区域に含まれ
る街区線データを抽出し、前記家形データまたは前記街
区線データの、いずれかを座標変換して得た、第1の家
形データと第1の街区線データとを含む第3の地図デー
タベースを作成するシステムにおいて、(a)全ての前
記第1の街区線データを構成する街区線について、前記
街区線から所定の距離だけ街区の中心側に離れた位置
に、第2の区切り線を設ける工程と、(b)各々の前記
第1の家形データについて、前記第2の区切り線によっ
て区切られた範囲から外側に、はみ出しているか否かを
判定する工程と、(c)前記工程(b)において前記第
1の家形データが、はみ出していると判定される場合に
は、前記第1の家形データのうち前記第2の区切り線よ
り外側に位置する部分の線分のデータを第3の範囲外デ
ータとし、前記第2の区切り線より街区の中心側に位置
する部分の線分のデータを第6の家形データとして、区
別する工程と、(d)前記第3の範囲外データを削除す
る工程と、(e)前記第2の区切り線のうち、前記工程
(b)および(c)において、前記第1の家形データと
交差すると判定された単数または複数の第2の区切り線
を第3の区切り線として区別する工程と、(f)前記第
6の家形データと、前記第3の区切り線とで囲まれた第
7の家形データを作成する工程と、 (g)全ての第1
の家形データについて、工程(b)により判定を行な
い、工程(b)において、はみ出していると判定された
家形データについて、工程(c)から工程(f)を繰り
返す工程とを具備することを特徴とする図形データ調整
方法である。A second aspect of the present invention extracts house shape data included in a predetermined target area from the first map database, and extracts block line data included in the predetermined target area from the second map database. Then, in the system for creating the third map database including the first house shape data and the first city line data, which is obtained by performing coordinate conversion of either the house shape data or the city block line data, (A) For each of the first house-shaped data, it is calculated whether or not it intersects with each of the first block-line data, and the first block divided by the first block-line data. From outside to outside, and (b)
When it is determined in the step (a) that the first house shape data is protruding, a line segment of a portion of the first house shape data that is located outside the first block. (C) the first out-of-range data, the data being the first out-of-range data, and the line segment data of the portion located inside the first block being the second house-shape data. And (d) in the steps (a) and (b), single or plural block line data determined to intersect with the first house shape data among the first block line data. As the second block line data, and (e) providing a first dividing line that is separated from each block line constituting the second block line data by a predetermined distance toward the center of the block. , (F) for each of the second house shape data, Of the line segment data located on the outer side of the dividing line as the second out-of-range data, and the line segment data of the part located on the block side of the block line as the fourth house-shaped data. And (g) deleting the second out-of-range data, and (h) creating fifth house-shape data surrounded by the fourth house-shape data and the first dividing line. Step (i) For all the first house shape data, the judgment is carried out by the step (a), and for the house shape data which is judged to be protruding in the step (a), the steps (b) to ( and a step of repeating step h). Further, a third aspect of the present invention extracts house shape data included in a predetermined target area from the first map database, and extracts block line data included in the predetermined target area from a second map database, In a system for creating a third map database including first house shape data and first block line data obtained by coordinate conversion of either the house block data or the block block data, (a) For all the block lines forming the first block line data, a step of providing a second partition line at a position separated from the block line by a predetermined distance toward the center of the block, and (b) each of the above With respect to the first house shape data, a step of determining whether or not the first house shape data is outside the range delimited by the second delimiter line; and (c) the first house shape data in step (b). But protruding When it is determined that the second segment line is the data of the line segment of the portion of the first house shape data located outside the second segment line, the third segment out-of-range data. The line segment data located closer to the center of the block is used as the sixth house shape data to be distinguished, (d) the third out-of-range data is deleted, and (e) the second Of the dividing lines, the one or more second dividing lines that are determined to intersect the first house-shaped data in the steps (b) and (c) are distinguished as a third dividing line. , (F) a step of creating seventh house shape data surrounded by the sixth house shape data and the third dividing line, and (g) all the first house shape data
The step (b) is performed for the house shape data of step (b), and the step (c) to step (f) are repeated for the house shape data that is determined to be protruding in step (b). Is a graphic data adjusting method.
【0008】また、第4の発明は、第1の地図データベ
ースから所定の対象区域に含まれる家形データを抽出
し、第2の地図データベースから前記所定の対象区域に
含まれる街区線データを抽出し、前記家形データまたは
前記街区線データの、いずれかを座標変換して得た、第
1の家形データと第1の街区線データとを含む第3の地
図データベースを作成するシステムにおいて、(a)各
々の前記第1の家形データについて、各々の前記第1の
街区線データと交差しているか否かを計算して、前記第
1の街区線データによって区切られた第1の街区から外
側に、はみ出しているか否かを判定する工程と、(b)
前記第1の家形データのうち、前記工程(a)におい
て、はみ出していると判定された家形データを第8の家
形データとして区別する工程と、(c)第1の街区のう
ち、第8の家形データの一部分を含む街区を、第2の街
区として区別する工程と、(d)前記第2の街区の中心
点を求める工程と、(e)前記第1の家形データのう
ち、前記第2の街区内に全体または一部分が含まれてい
る家形データを抽出して、第9の家形データとして区別
する工程と、(f)各々の前記第2の街区について、前
記第9の家形データを前記工程(d)で求めた前記中心
点を原点として所定の割合で縮小して、第10の家形デ
ータを作成する工程と、(g)前記第9の家形データを
削除する工程とを具備することを特徴とする図形データ
調整方法である。A fourth aspect of the invention is to extract house shape data included in a predetermined target area from the first map database and to extract block line data included in the predetermined target area from the second map database. Then, in the system for creating the third map database including the first house shape data and the first city line data, which is obtained by performing coordinate conversion of either the house shape data or the city block line data, (A) For each of the first house-shaped data, it is calculated whether or not it intersects with each of the first block-line data, and the first block divided by the first block-line data. From outside to outside, and (b)
Of the first house shape data, in step (a), the house shape data determined to be protruding is distinguished as eighth house shape data; and (c) of the first block, Distinguishing a block including a part of the eighth house shape data as a second block; (d) determining a center point of the second block; and (e) calculating the first house shape data. Among them, a step of extracting house shape data that is wholly or partially included in the second block and distinguishing it as ninth house shape data; and (f) for each of the second block, Reducing the ninth house shape data with the center point obtained in the step (d) as an origin at a predetermined ratio to create tenth house shape data; and (g) the ninth house shape. And a step of deleting data, which is a method for adjusting graphic data.
【0009】また、第5の発明は、第1の地図データベ
ースから所定の対象区域に含まれる家形データを抽出
し、第2の地図データベースから前記所定の対象区域に
含まれる街区線データを抽出し、前記家形データまたは
前記街区線データの、いずれかを座標変換して得た、第
1の家形データと第1の街区線データとを含む第3の地
図データベースを作成するシステムにおいて、(a)前
記第1の街区線データから、前記第1の街区線データに
よって囲まれた第1の街区を判定する工程と、(b)各
々の前記第1の街区について、各々の前記第1の街区の
中心点を求める工程と、(c)各々の前記第1の街区に
ついて、前記第1の家形データのうち、どの家形データ
の一部分または全部が含まれているかを判定して抽出
し、第11の家形データとして区別する工程と、(d)
各々の前記第1の街区毎に、前記工程(c)において抽
出された前記第11の家形データを、前記工程(b)に
おいて求められた前記中心点を原点として所定の割合で
縮小して、第12の家形データを作成する工程と、
(e)全ての前記第1の家形データを削除して、前記第
12の家形データを保管する工程とを具備することを特
徴とする図形データ調整方法である。A fifth aspect of the invention is to extract house shape data included in a predetermined target area from the first map database and to extract block line data included in the predetermined target area from the second map database. Then, in the system for creating the third map database including the first house shape data and the first city line data, which is obtained by performing coordinate conversion of either the house shape data or the city block line data, (A) determining a first block surrounded by the first block line data from the first block line data; and (b) each of the first block for each of the first block. Determining the center point of the block, and (c) extracting and extracting which house shape data of the first house shape data is included in part or all of the first house data for each of the first blocks. And the eleventh house-shaped day A distinguishing step as, (d)
For each of the first blocks, the eleventh house shape data extracted in the step (c) is reduced at a predetermined ratio with the center point obtained in the step (b) as an origin. , A step of creating twelfth house shape data,
(E) deleting all of the first house-form data and storing the twelfth house-form data, the figure data adjusting method.
【0010】[0010]
【作用】まず、第1の地図データベースから所定の対象
区域に含まれる第1の家形データを抽出し、第2の地図
データベースから前記所定の対象区域に含まれる第1の
街区線データを抽出し、前記第1の家形データまたは前
記第1の街区線データの、いずれかを座標変換し、両方
のデータを重ね合わせて、第3の地図データベースを作
成するシステムにおいて、各々の前記第1の家形データ
について、各々の前記第1の街区線データと交差してい
るか否かを自動的に計算して、前記第1の街区線データ
によって区切られた第1の街区から外側に、はみ出して
いるか否かを判定する。次に、はみ出した部分の家形デ
ータ等を所定の基準により自動的に修正して、街区線デ
ータと交差することのないようにする。First, the first house shape data included in the predetermined target area is extracted from the first map database, and the first block line data included in the predetermined target area is extracted from the second map database. Then, in the system for converting the coordinates of either the first house shape data or the first block line data and superimposing both data, a third map database is created. Automatically calculates whether or not each of the house shape data intersects with the first block line data, and protrudes from the first block delimited by the first block line data to the outside. Is determined. Next, the house shape data and the like of the protruding portion are automatically corrected according to a predetermined standard so as not to intersect with the block line data.
【0011】[0011]
【実施例】以下、図面を用いて、本発明の各実施例につ
いて詳細に説明する。まず第1実施例について述べる。
図1は本発明の原理を説明する図、図2はシステム構成
の1例を示す装置構成図、図3は地図データベースにつ
いての説明図である。Embodiments of the present invention will be described in detail below with reference to the drawings. First, the first embodiment will be described.
FIG. 1 is a diagram for explaining the principle of the present invention, FIG. 2 is an apparatus configuration diagram showing an example of a system configuration, and FIG. 3 is an explanatory diagram for a map database.
【0012】図1および図2において、1は本発明を実
施する第1のシステム、3はホストコンピュータ、5は
内部記憶装置である。また、7aは第1の地図データベ
ース、7bは第2の地図データベース、7cは第3の地
図データベース、9はアプリケーションプログラムであ
り、これらは外部記憶装置に格納されている。ホストコ
ンピュータ3の、内部記憶装置5には、ワーク領域11
が設けられている。また、ホストコンピュータ3には、
端末機13、ディスプレイ15、キーボード17、プリ
ンタ19が接続されている。1 and 2, 1 is a first system for implementing the present invention, 3 is a host computer, and 5 is an internal storage device. Further, 7a is a first map database, 7b is a second map database, 7c is a third map database, 9 is an application program, and these are stored in an external storage device. The work area 11 is stored in the internal storage device 5 of the host computer 3.
Is provided. In addition, the host computer 3
A terminal device 13, a display 15, a keyboard 17, and a printer 19 are connected.
【0013】オペレータは、ディスプレイ15を見て、
端末機13のキーボード17から、ホストコンピュータ
3にアプリケーションプログラム9を呼び出し、必要な
処理を行なうための指示を与える。処理中の内容の流動
的なワークファイル等は、内部記憶装置5内のワーク領
域11内に入れられる。処理経過および結果はプリンタ
19から出図される。The operator looks at the display 15 and
The keyboard 17 of the terminal 13 calls the application program 9 to the host computer 3 and gives an instruction for performing necessary processing. A fluid work file or the like having contents being processed is put in the work area 11 in the internal storage device 5. The progress and results of the processing are output from the printer 19.
【0014】図1のAA部に示すフローチャートにおい
て、ステップ101は本発明の前処理である。まず、第
1の地図データベース7aおよび第2の地図データベー
ス7bに含まれる地域から対象とする範囲を指定する。
なお、第1の地図データベース7aは、例えば図3
(a)に示すように、第2のシステム21において、第
1のコンピュータ23に接続された第1のデジタイザ2
5を用いて、第1の地図27のデータを入力して作成し
たものである。また、第2の地図データベース7bは、
第3のシステム31において、第2のコンピュータ33
に接続された第2のデジタイザ35を用いて、第2の地
図37のデータを入力して作成したものである。In the flowchart shown in the AA section of FIG. 1, step 101 is the preprocessing of the present invention. First, a target range is designated from the areas included in the first map database 7a and the second map database 7b.
The first map database 7a is, for example, as shown in FIG.
As shown in (a), in the second system 21, the first digitizer 2 connected to the first computer 23.
5 is created by inputting the data of the first map 27. Also, the second map database 7b is
In the third system 31, the second computer 33
It is created by inputting the data of the second map 37 using the second digitizer 35 connected to.
【0015】次に、図3(b)に示すように、第1の地
図データベース7aから所定の対象区域に含まれる家形
ポリゴンデータ(家形データ)と街区線(道路線)デー
タとを抽出し、第2の地図データベース7bから前記所
定の対象区域に含まれる道路線データを抽出する。次
に、それぞれの地図データベースの対応する道路線デー
タに注目して所定の処理を行ない、アフィン変換用パラ
メータを算出する。そのアフィン変換用パラメータを用
いて、第1の地図データベース7aの家形データまたは
第2の地図データベース7bの街区線データの、いずれ
かをアフィン変換し、両方のデータを含むワークファイ
ル8を作成し、ワーク領域11に仮保管する。この例で
は第1の地図データベース7aの家形データをアフィン
変換している。このワークファイル8には、家形データ
と街区線データとが区別して含まれている。なお、ワー
クファイル8のデータ量が非常に多い場合は外部記憶装
置に保管して、所定の区域毎に、ワーク領域11にデー
タを呼び出して実行してもよい。続いて、第3の地図デ
ータベース7cを作成するための、以下の処理を行な
う。Next, as shown in FIG. 3B, house shape polygon data (house shape data) and block line (road line) data included in a predetermined target area are extracted from the first map database 7a. Then, the road line data included in the predetermined target area is extracted from the second map database 7b. Next, attention is paid to the corresponding road line data in each map database and a predetermined process is performed to calculate the affine transformation parameters. Using the affine transformation parameters, either the house shape data of the first map database 7a or the block line data of the second map database 7b is affine transformed to create a work file 8 containing both data. , Is temporarily stored in the work area 11. In this example, the house shape data of the first map database 7a is affine transformed. The work file 8 contains house shape data and block line data separately. If the data amount of the work file 8 is very large, the work file 8 may be stored in an external storage device, and the data may be called to the work area 11 and executed in each predetermined area. Then, the following process for creating the third map database 7c is performed.
【0016】本発明に係るステップ102では、まず、
(a)ワーク領域11にあるワークファイル8内の家形
ポリゴンデータを、街区の外側の道路、公園、河川等
に、はみ出したり重なったりする位置に、そのまま表示
されてしまうことのないように処理するための処理方法
を決定する。次に(b)各々の家形ポリゴンデータを街
区線(道路線)データの位置と比較して、所定の処理を
行ない、(c)新たな家形ポリゴンデータを作成する。In step 102 according to the present invention, first,
(A) Process the house-shaped polygon data in the work file 8 in the work area 11 so that it will not be displayed as it is at a position protruding or overlapping with a road, park, river, etc. outside the block. Determine the processing method to do so. Next, (b) each house shape polygon data is compared with the position of the block line (road line) data and a predetermined process is performed, and (c) new house shape polygon data is created.
【0017】ステップ103では、ステップ102の処
理結果を利用して、第1の地図データベース7aの家形
データと、第2の地図データベース7bの道路線(街区
線)データとの位置関係が統一的に調整された、新た
な、第3の地図データベースを作成する。At step 103, the positional relationship between the house shape data of the first map database 7a and the road line (block line) data of the second map database 7b is unified using the processing result of step 102. Create a new, third map database adjusted to.
【0018】図4は、はみ出し部51を区別して示す方
法を説明する図、図5は、家形データの、はみ出し部5
1を区別して示す方法を説明するフローチャート、図6
は、ポリゴンデータの修正を説明する図である。FIG. 4 is a diagram for explaining a method of distinguishing and showing the protruding portion 51, and FIG. 5 is a protruding portion 5 of the house shape data.
6 is a flowchart for explaining the method for distinguishing 1 from FIG.
FIG. 6 is a diagram illustrating correction of polygon data.
【0019】図4(a)は、ディスプレイ15にワーク
ファイル8の表示領域41のデータを、そのまま実線で
表示した場合の図であり、表示領域41内は、街区線4
3a、43b……によって、街区45a、45b………
部分と、道路47部分とに区分されている。ワークファ
イル8に含まれる処理前の家形ポリゴン49a、49b
………は、本来は街区45の内部に位置すべきである
が、測量、図化、数値化、アフィン変換に至るまでの諸
段階で集積された誤差のために、道路側に家形ポリゴン
49の、はみ出し部51a、51b………が、はみ出し
ている。FIG. 4A is a diagram in which the data in the display area 41 of the work file 8 is displayed on the display 15 as it is with a solid line.
3a, 43b ... Depending on the block 45a, 45b ...
It is divided into a part and a road 47 part. Unprocessed house-shaped polygons 49a and 49b included in the work file 8
Originally, it should have been located inside the block 45, but due to the error accumulated in the steps from surveying, plotting, digitizing, and affine transformation, the house-shaped polygon is located on the road side. The protruding portions 51a, 51b, ... Of 49 are protruding.
【0020】ここで、ワークファイル8内に含まれるデ
ータのうち、処理前の家形ポリゴンデータを第1の家形
データ、処理前の道路線(街区線)データを第1の街区
線データとする。まず第1の家形データから、家形ポリ
ゴン49aを1つ抽出し(ステップ501)、家形ポリ
ゴン49aのデータと街区線43a、43b……のデー
タとの間で交点の有無を計算し(ステップ502)、家
形ポリゴン49aと街区線43とに交点があるか否かを
判定する(ステップ503)。ステップ503で交点が
あると判定されない場合には、その家形ポリゴンについ
ては何も処理せず、ステップ501に戻り、別の家形ポ
リゴン49について、ステップ502およびステップ5
03を繰り返す。Of the data contained in the work file 8, the unprocessed house-shaped polygon data is the first house-shaped data, and the unprocessed road line (block line) data is the first block-line data. To do. First, one house-shaped polygon 49a is extracted from the first house-shaped data (step 501), and the presence or absence of an intersection between the data of the house-shaped polygon 49a and the data of the block lines 43a, 43b. In step 502), it is determined whether there is an intersection between the house-shaped polygon 49a and the block line 43 (step 503). If it is not determined in step 503 that there is an intersection, no processing is performed on the house-shaped polygon, the process returns to step 501, and steps 502 and 5 are executed for another house-shaped polygon 49.
Repeat 03.
【0021】図4の家形ポリゴン49aの場合には、ス
テップ503において、街区線43a上に交点53a、
53bがあると判定される。このとき、図6(a)に示
すように、点A、B、C、Dで囲まれた閉じた家形ポリ
ゴン49aのデータのうち、線分ADと、線分BCと
は、それぞれ交点53a、53bにより2つの線分に分
割され、閉じた家形ポリゴン49aは、例えば開いたポ
リゴンである第2の家形データ55aと、開いたポリゴ
ンである、はみ出し部51aとに分割され、それぞれフ
ラグ等で区別される。In the case of the house-shaped polygon 49a of FIG. 4, in step 503, the intersection 53a on the block line 43a,
It is determined that there is 53b. At this time, as shown in FIG. 6A, in the data of the closed house-shaped polygon 49a surrounded by the points A, B, C, and D, the line segment AD and the line segment BC respectively intersect at an intersection 53a. , 53b into two line segments, and the closed house-shaped polygon 49a is divided into, for example, the second house-shaped data 55a that is an open polygon and the protruding portion 51a that is an opened polygon, and flags the flags. Etc.
【0022】このとき、図6(a)に示すように、交点
53a、点A、点B、交点53bからなる第2の家形デ
ータ55aを実線で示し、交点53b、点C、点D、交
点53aからなるはみ出し部51aは破線等で区別して
示す(ステップ504)。破線等で示す部分は、ディス
プレイ15に表示する場合には色などで区別して示すこ
ともできる。表示領域41内の全ての家形ポリゴンにつ
いて、ステップ501からステップ504に至る処理を
繰り返すと、図4(b)に示す結果が得られる。ワーク
ファイル8内の第1の家形データのうち、修正すべきデ
ータを修正して第2の家形データ55a、55b、55
c、55d、55gとし、修正の必要のない家形ポリゴ
ン49e、49fのデータは第1の家形データのまま
で、第3の地図データベースに格納する。At this time, as shown in FIG. 6A, the second house shape data 55a consisting of the intersection points 53a, A, B, and 53b is shown by a solid line, and the intersection points 53b, C, D, The protruding portion 51a composed of the intersection 53a is shown separately by a broken line or the like (step 504). When displayed on the display 15, the portion indicated by the broken line or the like can be distinguished by a color or the like. By repeating the processing from step 501 to step 504 for all the house-shaped polygons in the display area 41, the result shown in FIG. 4B is obtained. Of the first house-form data in the work file 8, the data to be corrected is corrected to generate the second house-form data 55a, 55b, 55.
The data of the house shape polygons 49e and 49f, which are c, 55d, and 55g and do not need to be corrected, are stored in the third map database as the first house shape data.
【0023】また、はみ出し部51のデータを他に利用
するために第3の地図データベース内に他のデータと区
別して保存するが、ディスプレイ15に表示せず、プリ
ンタ19からの出図の際にも描図しないようにすること
もできる。Further, the data of the protruding portion 51 is stored separately from other data in the third map database so as to be used for other purposes, but is not displayed on the display 15 and is displayed at the time of outputting from the printer 19. It is also possible not to draw.
【0024】また、図7は、はみ出し部51を削除して
示す方法を説明するフローチャート、図8は、はみ出し
部51を削除して示す方法を説明する図である。図7の
ステップ704に示すように、第1の家形データから、
はみ出し部51のデータを削除して、第2の家形データ
55と第1の街区線データのみを第3の地図データベー
ス内に格納することもできる。この場合は、図8(a)
に示す家形ポリゴン49は、図8(b)の第2の家形デ
ータ55に示すように修正される。FIG. 7 is a flow chart for explaining the method of removing the protruding portion 51, and FIG. 8 is a diagram for explaining the method of removing the protruding portion 51. As shown in step 704 of FIG. 7, from the first house shape data,
It is also possible to delete the data of the protruding portion 51 and store only the second house shape data 55 and the first block line data in the third map database. In this case, FIG. 8 (a)
The house-shaped polygon 49 shown in is modified as shown in the second house-shaped data 55 in FIG. 8B.
【0025】このとき、図6(b)に示すように、交点
53a、点A、点B、交点53bからなる第2の家形デ
ータ55aの開いたポリゴンデータにおいては、開いた
部分の端点である交点53a、交点53bを結べば、そ
のまま閉じたポリゴンデータとなる。しかし、図6
(c)に示すように、第2の家形データ55bの開いた
ポリゴンデータの開いた部分の端点である交点53c、
交点53dを、そのまま結んで閉じたポリゴンデータと
すると、家形データの形が変形してしまう。したがっ
て、第2の家形データ55a、55b、55c、55
d、55gについては、あくまで開いたポリゴンデータ
として扱う。At this time, as shown in FIG. 6B, in the open polygon data of the second house shape data 55a consisting of the intersection points 53a, A, B, and 53b, at the end points of the opened portions. If certain intersections 53a and 53b are connected, the polygon data will be closed as it is. However, FIG.
As shown in (c), the intersection 53c, which is the end point of the open portion of the open polygon data of the second house shape data 55b,
If the intersection point 53d is connected as it is to form closed polygon data, the shape of the house shape data is deformed. Therefore, the second house shape data 55a, 55b, 55c, 55
The d and 55 g are handled as open polygon data.
【0026】しかし、図7、図8に示すように、はみ出
し部51のデータを削除した場合に、第3の地図データ
ベース内の第1の街区線データを表示しないで第2の家
形データ55a、55b、55c、55d、55gを表
示すると、家形ポリゴンが閉じていないために形状が不
明となってしまう。However, as shown in FIGS. 7 and 8, when the data in the protruding portion 51 is deleted, the second house shape data 55a is displayed without displaying the first block line data in the third map database. , 55b, 55c, 55d, 55g, the shape becomes unknown because the house-shaped polygon is not closed.
【0027】したがって、修正した第2の家形ポリゴン
を閉じたポリゴンにするために、図6(d)に示すよう
に、たとえば第2の家形データ55bのポリゴンの開い
た部分を街区線43aと43bの上の交点53cから交
点53dに至る部分で補った第3の家形データ57を作
成して、第3の地図データベース7cに格納する必要が
ある。Therefore, in order to make the modified second house-shaped polygon into a closed polygon, as shown in FIG. 6D, for example, the open part of the polygon of the second house-shaped data 55b is converted to the block line 43a. It is necessary to create the third house shape data 57 supplemented at the portion from the intersection 53c on the lines 43b to the intersection 53d and store it in the third map database 7c.
【0028】なお、今までの例では、1つの家形ポリゴ
ンが1つの街区の境界線とのみ交差する場合について示
したが、本実施例ではポリゴンデータの位置自体は変化
させないため、1つの家形ポリゴンが2つ以上の街区
に、またがって位置してしまった場合でも、道路に重な
る部分を破線で示すか、削除して示すという同じ方法で
処理することができる。In the above examples, one house-shaped polygon intersects only with the boundary line of one city block, but in this embodiment, the position itself of the polygon data is not changed, so that one house Even when the shaped polygon is located over two or more city blocks, it can be processed in the same manner as shown by a broken line or by deleting a portion overlapping the road.
【0029】このように本実施例によれば、人為差のな
い簡便な方法で家形ポリゴン49のデータを自動的に調
整し、道路等への、はみ出し部51を自動的に区別した
り削除して表示することにより、見てくれのよいデータ
ベースを作成するができる。As described above, according to this embodiment, the data of the house-shaped polygon 49 is automatically adjusted by a simple method without human error, and the protruding portion 51 on the road or the like is automatically distinguished or deleted. By displaying it, you can create a good database.
【0030】なお、本実施例では、2つの地図データベ
ースの家形ポリゴンデータと道路線(街区線)データと
について処理を行なったが、本実施例の処理は、第1の
図形データベースに閉じたポリゴンデータと対象区域を
分割する境界線データとを含み、対応する第2の図形デ
ータベースに対象区域を分割する境界線データを含む場
合に、第1の図形データベースの閉じたポリゴンが第2
の図形データベースの境界線と交差しないように閉じた
ポリゴンデータを調整する場合等にも、全く同じように
適用できる。 [第2実施例]次に、第1の区切り線を
用いて家形ポリゴンデータを修正する第2実施例につい
て説明する。図9は、第1の区切り線を用いる方法を説
明するフローチャート、図10および図11は第1の区
切り線を用いる方法を説明する図である。Although the house shape polygon data and the road line (block line) data in the two map databases are processed in this embodiment, the processing in this embodiment is closed to the first graphic database. When the polygon data and the boundary data for dividing the target area are included, and the corresponding second graphic database includes the boundary data for dividing the target area, the closed polygon of the first graphic database is the second polygon.
The same can be applied to the case of adjusting the closed polygon data so as not to intersect the boundary line of the figure database. [Second Embodiment] Next, a second embodiment for correcting the house-shaped polygon data using the first dividing line will be described. FIG. 9 is a flow chart for explaining the method of using the first dividing line, and FIGS. 10 and 11 are diagrams for explaining the method of using the first dividing line.
【0031】図9において、ステップ901からステッ
プ903までは、図5のステップ501からステップ5
03までと、全く同一な処理である。ステップ904で
は、図10(a)に示すような家形ポリゴン49aにつ
いて、民地側(街区45側)に、所定の距離だけ入った
位置たとえば道路線(街区線)43より実寸法で0.5
m(縮尺1/500の場合、図で0.1cm)離れた位
置に、道路線(街区線)43aに平行な第1の区切り線
81を設ける。In FIG. 9, steps 901 to 903 correspond to steps 501 to 5 in FIG.
The same process is performed up to 03. In step 904, with respect to the house-shaped polygon 49a as shown in FIG. 10A, the actual size of the house-shaped polygon 49a is 0. 5
A first division line 81 parallel to the road line (block line) 43a is provided at a position separated by m (0.1 cm in the case of a scale of 1/500).
【0032】次に、図10(b)に示すように家形ポリ
ゴン49を構成する線分および線分の一部分である削除
部分82a、82b、82cを削除し、図10(c)に
示すように家形ポリゴン49を構成する線分および線分
の一部分(第4の家形データ)と第1の区切り線81に
よって囲まれた新たな家形ポリゴン83を表示する。ス
テップ904の処理においては、図11(a)に示すよ
うに、ステップ902で計算した交点の存在する道路線
(街区線)43a、43b、49c、43eについての
み第1の区切り線81を設け、家形ポリゴン49a、4
9b、49c、49d、49gのデータを修正して第5
の家形データ83a、83b、83c、83d、83g
とし、街区線43fの、すぐ内側に位置する家形ポリゴ
ン49e、および家形ポリゴン49fについては、デー
タを修正しないままで、第3の地図データベース7cに
格納する。Next, as shown in FIG. 10B, the line segments and the deleted portions 82a, 82b, and 82c that are part of the line segments that form the house-shaped polygon 49 are deleted, and as shown in FIG. A new house-shaped polygon 83 surrounded by a line segment and a part (fourth house-shaped data) of the house-shaped polygon 49 and the first dividing line 81 is displayed on the screen. In the process of step 904, as shown in FIG. 11A, the first dividing line 81 is provided only for the road lines (block lines) 43a, 43b, 49c, 43e where the intersections calculated in step 902 exist. House-shaped polygons 49a, 4
5th by correcting the data of 9b, 49c, 49d, 49g
House shape data 83a, 83b, 83c, 83d, 83g
Then, the house-shaped polygons 49e and the house-shaped polygons 49f located just inside the city block line 43f are stored in the third map database 7c without being corrected.
【0033】第2実施例によれば、家形ポリゴン49が
街区線43と交差している場合には、家形ポリゴン49
と街区線43とが重ならないように、家形ポリゴン49
のデータを修正することができる。According to the second embodiment, when the house-shaped polygon 49 intersects the block line 43, the house-shaped polygon 49
House-shaped polygon 49 so that the block line 43 and the block line 43 do not overlap.
Data can be modified.
【0034】[第3実施例]第3実施例では、すべての
街区について第2の区切り線85を設定し、第2の区切
り線85と家形ポリゴン49との関係を、第1実施例に
おける街区線43と家形ポリゴン49との関係と同様に
みなして処理する。[Third Embodiment] In the third embodiment, the second dividing line 85 is set for all the blocks, and the relationship between the second dividing line 85 and the house-shaped polygon 49 is the same as in the first embodiment. The processing is regarded as the same as the relationship between the block line 43 and the house-shaped polygon 49.
【0035】図12は、第2の区切り線85を用いる方
法を説明するフローチャート、図13は第2の区切り線
85を用いる方法を説明する図である。まず、全ての街
区線について、街区線43から所定の距離だけ街区45
の内側に入った位置に、第2の区切り線85を設定する
(ステップ1201)と、図13の(b)の1点鎖線に
示すようになる。次に、家形ポリゴン49のうちの1
つ、たとえば家形ポリゴン49aを抽出し、家形ポリゴ
ン49aと、街区線43との間に交点が存在するか否か
を計算し(ステップ1202)、交点の有無を判定する
(ステップ1203)。ステップ1203で、交点が存
在すると判定された場合には、家形ポリゴン49aを構
成する線分のうち、第2の区切り線85より外側にある
線分または線分の一部を削除し、残った部分を開いたポ
リゴンである第6の家形データとする。そして、第6の
家形データと第2の区切り線85とで囲まれた閉じたポ
リゴンを第7の家形データとして表示し(ステップ12
04)、第3の地図データベース7cに格納する。FIG. 12 is a flow chart for explaining the method of using the second dividing line 85, and FIG. 13 is a diagram for explaining the method of using the second dividing line 85. First, for all block lines, block 45 is a predetermined distance from block line 43.
When the second delimiter line 85 is set at the position inside of (step 1201), it becomes as shown by the alternate long and short dash line in FIG. 13 (b). Next, one of the house-shaped polygons 49
For example, the house-shaped polygon 49a is extracted, it is calculated whether or not there is an intersection between the house-shaped polygon 49a and the block line 43 (step 1202), and it is determined whether or not there is the intersection (step 1203). If it is determined in step 1203 that the intersection exists, the line segment or part of the line segment that is outside the second dividing line 85 is deleted from the line segments that form the house-shaped polygon 49a and left. The sixth house shape data, which is an opened polygon, is defined as the opened portion. Then, the closed polygon surrounded by the sixth house shape data and the second dividing line 85 is displayed as the seventh house shape data (step 12).
04), and stores it in the third map database 7c.
【0036】図13(b)に示すように、第3実施例で
は、第2実施例でデータを修正しなかった家形ポリゴン
49eについても、家形ポリゴン49a、49b、49
c、49d、49gと同様な処理を行なって83eとな
るように修正するため、第3の地図データベース7cの
データを出図した際に、道路と家形データとの間が、必
ず所定の距離以上あいていて、視覚的な表現の統一され
た見やすい地図を作成することができる。As shown in FIG. 13B, in the third embodiment, the house-form polygons 49a, 49b, 49, 49e, 49e, 49b, 49, 49e whose data are not modified in the second embodiment are also included.
Since the same processing as in c, 49d, and 49g is performed to correct it to 83e, when the data of the third map database 7c is output, the distance between the road and the house shape data must be the predetermined distance. It is possible to create an easy-to-see map with unified visual expression.
【0037】[第4実施例]第4実施例は、個々の家形
ポリゴン49を縮小して示す第1の方法である。[Fourth Embodiment] The fourth embodiment is a first method in which individual house-shaped polygons 49 are shown in a reduced size.
【0038】図14は、家形データを縮小して示す第1
の方法を説明するフローチャートであり、図15は、家
形データを縮小して示す第1の方法を説明する図であ
る。FIG. 14 is a first diagram showing the house-shaped data reduced.
15 is a flowchart for explaining the first method, and FIG. 15 is a diagram for explaining the first method in which the house-shaped data is reduced and shown.
【0039】まず、家形ポリゴン49のデータを1つ抽
出する(ステップ1401)。ここで、たとえば家形ポ
リゴン49aを抽出する。次に、家形ポリゴン49のデ
ータと、街区線のデータとの間で、交点の有無を計算し
て(ステップ1402)、交点の有無を判定する(ステ
ップ1403)。First, one piece of data of the house-shaped polygon 49 is extracted (step 1401). Here, for example, the house-shaped polygon 49a is extracted. Next, the presence / absence of an intersection is calculated between the data of the house-shaped polygon 49 and the data of the block line (step 1402), and the presence / absence of the intersection is determined (step 1403).
【0040】ステップ1403で交点があると判定され
た場合には、家形ポリゴン49aと交差した街区線43
aが、どの街区に属しているかを調べる(ステップ14
04)。この場合、街区線43aは、街区45aの境界
線の一部分を構成していることがわかる。次に、街区4
5aに、一部分または全体が含まれる全ての家形ポリゴ
ン49を、抽出する(ステップ1405)。If it is determined in step 1403 that there is an intersection, the block line 43 intersecting the house-shaped polygon 49a.
Check which block a belongs to (step 14)
04). In this case, it can be seen that the block line 43a constitutes a part of the boundary line of the block 45a. Next, Block 4
All house-shaped polygons 49, which are partially or wholly included in 5a, are extracted (step 1405).
【0041】次に、街区45aについて街区の中心87
aを計算する(ステップ1406)。街区の中心87a
を計算する方法としては、重心を計算する等の方法があ
る。そして、街区の中心87aを原点とした場合の含ま
れる家形ポリゴン49を構成する各交点の座標を、例え
ば5%縮小するように座標計算を行ない、新たに求めら
れた交点からなる第10の家形ポリゴン91のデータを
得て(ステップ1407)、これを表示する。このと
き、図15に示す表示領域41内の全ての街区45のう
ち、街区45eについては、内部に位置する、どの家形
ポリゴン49も街区線と交差していないものとすると、
図15(b)に示すように、街区45e内の家形ポリゴ
ン49hについては、データは修正されない。Next, regarding the block 45a, the center 87 of the block
a is calculated (step 1406). City center 87a
As a method of calculating, there is a method of calculating the center of gravity. Then, the coordinates of the respective intersections forming the house-shaped polygon 49 when the center 87a of the block is set as the origin are calculated so as to be reduced by, for example, 5%, and the tenth intersection consisting of the newly obtained intersections is calculated. Data of the house-shaped polygon 91 is obtained (step 1407) and displayed. At this time, regarding all of the blocks 45 in the display area 41 shown in FIG. 15, with respect to the block 45e, it is assumed that none of the house-shaped polygons 49 located inside intersect with the block line.
As shown in FIG. 15B, the data is not corrected for the house-shaped polygon 49h in the block 45e.
【0042】図10(b)の削除部分82cに示すよう
に、家形ポリゴン49の全体ではなく一部の線分を修正
する場合には、個々の家形ポリゴンの全体的な形状は、
図10(c)に示すように元の形状と異なっていること
がある。しかし、第4実施例では、個々の家形ポリゴン
49を縮小して示すため、各家形ポリゴン49の形状が
保持される。As shown in the deleted portion 82c of FIG. 10B, when the line segment of the house-shaped polygon 49 is modified rather than the entire house-shaped polygon 49, the overall shape of each house-shaped polygon is
It may be different from the original shape as shown in FIG. However, in the fourth embodiment, since the individual house-shaped polygons 49 are shown in a reduced size, the shape of each house-shaped polygon 49 is retained.
【0043】[第5実施例]第5実施例は、個々の家形
ポリゴン49を縮小して示す第2の方法である。[Fifth Embodiment] The fifth embodiment is a second method in which individual house-shaped polygons 49 are shown in a reduced size.
【0044】図16は、家形データを縮小して示す第2
の方法を説明するフローチャートであり、図17は、家
形データを縮小して示す第2の方法を説明する図であ
る。FIG. 16 is a second diagram showing the house-shaped data in a reduced form.
17 is a flowchart for explaining the second method, and FIG. 17 is a diagram for explaining the second method in which the house-shaped data is reduced and shown.
【0045】まず、全ての街区45の各々について、街
区の中心87を求める(ステップ1601)。次に、家
形ポリゴン49を1つづつ抽出し、各々の家形ポリゴン
49が、どの街区45に含まれているかを調べる(ステ
ップ1602)。このとき、家形ポリゴン49の全体ま
たは一部分が、含まれている街区45を調べる。First, the center 87 of each block 45 is calculated (step 1601). Next, the house-shaped polygons 49 are extracted one by one, and it is checked which block 45 each house-shaped polygon 49 is included in (step 1602). At this time, the block 45 in which the whole or part of the house-shaped polygon 49 is included is examined.
【0046】次に、各家形ポリゴン49を構成する各交
点の座標を、街区の中心87aを原点として、例えば5
%縮小するように座標計算を行ない、新たに求められた
交点からなる第12の家形ポリゴン95として(ステッ
プ1603)、これを表示する。Next, the coordinates of each intersection forming each house-shaped polygon 49 are set to, for example, 5 with the center 87a of the block being the origin.
Coordinates are calculated so as to be reduced by%, and this is displayed as the twelfth house-shaped polygon 95 composed of the newly obtained intersection (step 1603).
【0047】この第5実施例によれば、すべての家形ポ
リゴン49を構成する各交点の座標が修正され、第3の
データベースの家形ポリゴンデータとしては、第12の
家形ポリゴン95のデータのみが含まれる。According to the fifth embodiment, the coordinates of the intersections forming all the house-shaped polygons 49 are corrected, and the house-shaped polygon data of the third database is the data of the twelfth house-shaped polygon 95. Only included.
【0048】また、縮小する比率を定めるために、全て
の街区45の街区の中心87について、街区45に含ま
れる家形ポリゴン49の最も遠い交点を求め、その交点
が、街区45の内側に収まるようにすると、すべての家
形ポリゴン49を該当する街区45の内側に収めること
ができる。Further, in order to determine the reduction ratio, the farthest intersection of the house-shaped polygons 49 included in the block 45 is found with respect to the center 87 of the block of all the blocks 45, and the intersection falls within the block 45. By doing so, all the house-shaped polygons 49 can be accommodated inside the corresponding block 45.
【0049】[0049]
【発明の効果】以上、詳細に説明したように本発明によ
れば、家形ポリゴンが道路等にはみ出さないように、人
為差が小さく客観性の高い方法で家形ポリゴンのデータ
を調整することができる図形データ調整方法を提供する
ことができる。As described above in detail, according to the present invention, the data of the house-shaped polygon is adjusted by a method having a small artificial difference and a high objectivity so that the house-shaped polygon does not run over the road or the like. It is possible to provide a graphic data adjusting method capable of performing the above.
【図1】 本発明の原理説明図FIG. 1 is an explanatory view of the principle of the present invention.
【図2】 システム構成の1例を示す装置構成図FIG. 2 is a device configuration diagram showing an example of a system configuration.
【図3】 地図データベースについての説明図[Figure 3] Illustration of the map database
【図4】 はみ出し部51を区別して示す方法を説明す
る図FIG. 4 is a diagram illustrating a method of distinguishing and showing the protruding portion 51.
【図5】 はみ出し部51を区別して示す方法を説明す
るフローチャートFIG. 5 is a flowchart illustrating a method of distinguishing and showing the protruding portion 51.
【図6】 ポリゴンデータの修正を説明する図FIG. 6 is a diagram illustrating correction of polygon data.
【図7】 はみ出し部51を削除して示す方法を説明す
るフローチャートFIG. 7 is a flowchart illustrating a method in which the protruding portion 51 is deleted and shown.
【図8】 はみ出し部51を削除して示す方法を説明す
る図FIG. 8 is a diagram illustrating a method in which a protruding portion 51 is deleted and shown.
【図9】 第1の区切り線を用いる方法を説明するフロ
ーチャートFIG. 9 is a flowchart illustrating a method of using a first dividing line.
【図10】 第1の区切り線を用いる方法を説明する図FIG. 10 is a diagram illustrating a method of using a first dividing line.
【図11】 第1の区切り線を用いる方法を説明する図FIG. 11 is a diagram illustrating a method of using a first dividing line.
【図12】 第2の区切り線を用いる方法を説明するフ
ローチャートFIG. 12 is a flowchart illustrating a method of using a second dividing line.
【図13】 第2の区切り線を用いる方法を説明する図FIG. 13 is a diagram illustrating a method of using a second dividing line.
【図14】 家形データを縮小する第1の方法を説明す
るフローチャートFIG. 14 is a flowchart illustrating a first method for reducing house-shaped data.
【図15】 家形データを縮小して示す第1の方法を説
明する図FIG. 15 is a diagram for explaining a first method of reducing house-shaped data.
【図16】 家形データを縮小する第2の方法を説明す
るフローチャートFIG. 16 is a flowchart illustrating a second method for reducing house-shaped data.
【図17】 家形データを縮小して示す第1の方法を説
明する図FIG. 17 is a diagram illustrating a first method of reducing house-shaped data.
1………第1のシステム 3………ホストコンピュータ 5………内部記憶装置 7a……第1の地図データベース 7b……第2の地図データベース 7c……第3の地図データベース 8………作業用地図データベース 9………アプリケーションプログラム 11………ワーク領域 13………端末機 16………ディスプレイ 17………キーボード 19………プリンタ 49………家形ポリゴン 43………街区線 51………はみ出し部 81………第1の区切り線 85………第2の区切り線 87………街区の中心 1 ... 1st system 3 ... Host computer 5: Internal storage device 7a ... First map database 7b ... second map database 7c ... The third map database 8: Work map database 9 ... Application program 11 ... Work area 13 ......... Terminal 16 ... Display 17 ……… Keyboard 19 ……… Printer 49 ... House-shaped polygon 43 ………… Block line 51 ……… Overhanging part 81 ......... first dividing line 85 ……… The second dividing line 87 ………… The center of the block
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 11/60 - 11/80 G06F 17/50 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06T 11/60-11/80 G06F 17/50
Claims (9)
区域に含まれる家形データを抽出し、第2の地図データ
ベースから前記所定の対象区域に含まれる街区線データ
を抽出し、前記家形データまたは前記街区線データの、
いずれかを座標変換して得た、第1の家形データと第1
の街区線データとを含む第3の地図データベースを作成
するシステムにおいて、 (a)各々の前記第1の家形データについて、各々の前
記第1の街区線データと交差しているか否かを計算し
て、前記第1の街区線データによって区切られた第1の
街区から外側に、はみ出しているか否かを判定する工程
と、 (b)前記工程(a)において前記第1の家形データ
が、はみ出していると判定される場合には、前記第1の
家形データのうち前記第1の街区より外側に位置する部
分の線分のデータを第1の範囲外データとし、前記第1
の街区の内側に位置する部分の線分のデータを第2の家
形データとして、区別する工程と、 を具備することを特徴とする図形データ調整方法。1. House shape data included in a predetermined target area is extracted from a first map database, and block line data included in the predetermined target area is extracted from a second map database, and the house shape data is extracted. Or of the block line data,
The first house shape data and the first house shape data obtained by coordinate conversion of either
In a system for creating a third map database including the city block line data, (a) calculating whether or not each of the first house shape data intersects with each of the first block line data Then, a step of determining whether or not the first block divided by the first block line data extends outward from the first block, and (b) in the step (a), the first house shape data is If it is determined that the first house shape data is outside the first block, the data of the line segment of the portion located outside the first block is regarded as the first out-of-range data, and
And a step of distinguishing the line segment data of the portion located inside the block as the second house shape data, the figure data adjusting method.
1の範囲外データを削除する工程を、さらに具備するこ
とを特徴とする請求項1記載の図形データ調整方法。2. The graphic data adjusting method according to claim 1, further comprising a step of deleting the first out-of-range data distinguished in the step (b).
いて、前記第1の街区線データのうち、前記第1の家形
データと交差すると判定された単数または複数の街区線
データを、第2の街区線データとして区別する工程と、 (f)前記工程(b)において区別した前記第2の家形
データと前記工程(e)で用いた前記第2の街区線デー
タにより囲まれた第3の家形データを作成する工程と、 を、さらに具備することを特徴とする請求項1および請
求項2に記載された図形データ調整方法。3. (e) In the steps (a) and (b), among the first block line data, single or plural block line data determined to intersect with the first house-shaped data are stored. , (F) surrounded by the second house shape data distinguished in the step (b) and the second block line data used in the step (e), 3. The method for adjusting graphic data according to claim 1 or 2, further comprising: a step of creating third house shape data.
区域に含まれる家形データを抽出し、第2の地図データ
ベースから前記所定の対象区域に含まれる街区線データ
を抽出し、前記家形データまたは前記街区線データの、
いずれかを座標変換して得た、第1の家形データと第1
の街区線データとを含む第3の地図データベースを作成
するシステムにおいて、 (a)各々の前記第1の家形データについて、各々の前
記第1の街区線データと交差しているか否かを計算し
て、前記第1の街区線データによって区切られた第1の
街区から外側に、はみ出しているか否かを判定する工程
と、 (b)前記工程(a)において前記第1の家形データ
が、はみ出していると判定される場合には、前記第1の
家形データのうち前記第1の街区より外側に位置する部
分の線分のデータを第1の範囲外データとし、前記第1
の街区の内側に位置する部分の線分のデータを第2の家
形データとして、区別する工程と、 (c)前記第1の範囲外データを削除する工程と、 (d)前記工程(a)および(b)において、前記第1
の街区線データのうち、前記第1の家形データと交差す
ると判定された単数または複数の街区線データを第2の
街区線データとして区別する工程と、 (e)前記第2の街区線データを構成する各街区線から
所定の距離だけ街区の中心側に離れた第1の区切り線を
設ける工程と、 (f)各々の前記第2の家形データについて、前記第1
の区切り線より外側に位置する部分の線分のデータを第
2の範囲外データとし、前記街区線より街区側に位置す
る部分の線分のデータを第4の家形データとして、区別
する工程と、 (g)前記第2の範囲外データを削除する工程と、 (h)前記第4の家形データと、前記第1の区切り線と
で囲まれた第5の家形データを作成する工程と、 (i)全ての第1の家形データについて、工程(a)に
より判定を行ない、工程(a)において、はみ出してい
ると判定された家形データについて、工程(b)から工
程(h)を繰り返す工程と、 を具備することを特徴とする図形データ調整方法。4. The house shape data included in the predetermined target area is extracted from the first map database, and the block line data included in the predetermined target area is extracted from the second map database, and the house shape data is extracted. Or of the block line data,
The first house shape data and the first house shape data obtained by coordinate conversion of either
In a system for creating a third map database including the city block line data, (a) calculating whether or not each of the first house shape data intersects with each of the first block line data Then, a step of determining whether or not the first block divided by the first block line data extends outward from the first block, and (b) in the step (a), the first house shape data is If it is determined that the first house shape data is outside the first block, the data of the line segment of the portion located outside the first block is regarded as the first out-of-range data, and
The line segment data of the portion located inside the block of the second block as the second house shape data, (c) the step of deleting the first out-of-range data, and (d) the step (a). ) And (b), the first
Distinguishing one or a plurality of block line data determined to intersect with the first house-shaped data as second block line data from among the block line data of (e) the second block line data The step of providing a first dividing line that is separated from each block line constituting the block by a predetermined distance toward the center of the block, and (f) for each of the second house shape data,
Of the line segment data located on the outer side of the dividing line as the second out-of-range data, and the line segment data of the part located on the block side of the block line as the fourth house-shaped data. And (g) deleting the second out-of-range data, and (h) creating fifth house-shape data surrounded by the fourth house-shape data and the first dividing line. Step (i) For all the first house shape data, the judgment is performed by the step (a), and for the house shape data that is judged to be protruding in the step (a), the steps (b) to ( and a step of repeating h), and a graphic data adjusting method comprising:
区域に含まれる家形データを抽出し、第2の地図データ
ベースから前記所定の対象区域に含まれる街区線データ
を抽出し、前記家形データまたは前記街区線データの、
いずれかを座標変換して得た、第1の家形データと第1
の街区線データとを含む第3の地図データベースを作成
するシステムにおいて、 (a)全ての前記第1の街区線データを構成する街区線
について、前記街区線から所定の距離だけ街区の中心側
に離れた位置に、第2の区切り線を設ける工程と、 (b)各々の前記第1の家形データについて、前記第2
の区切り線によって区切られた範囲から外側に、はみ出
しているか否かを判定する工程と、 (c)前記工程(b)において前記第1の家形データ
が、はみ出していると判定される場合には、前記第1の
家形データのうち前記第2の区切り線より外側に位置す
る部分の線分のデータを第3の範囲外データとし、前記
第2の区切り線より街区の中心側に位置する部分の線分
のデータを第6の家形データとして、区別する工程と、 (d)前記第3の範囲外データを削除する工程と、 (e)前記第2の区切り線のうち、前記工程(b)およ
び(c)において、前記第1の家形データと交差すると
判定された単数または複数の第2の区切り線を第3の区
切り線として区別する工程と、 (f)前記第6の家形データと、前記第3の区切り線と
で囲まれた第7の家形データを作成する工程と、 (g)全ての第1の家形データについて、工程(b)に
より判定を行ない、工程(b)において、はみ出してい
ると判定された家形データについて、工程(c)から工
程(f)を繰り返す工程と、 を具備することを特徴とする図形データ調整方法。5. The house shape data included in the predetermined target area is extracted from the first map database, and the block line data included in the predetermined target area is extracted from the second map database, and the house shape data is extracted. Or of the block line data,
The first house shape data and the first house shape data obtained by coordinate conversion of either
In a system for creating a third map database including the block line data of (a), for all the block lines forming all the first block line data, a predetermined distance from the block line to the center side of the block Providing a second dividing line at a distant position, and (b) for each of the first house-form data, the second
A step of determining whether or not it is protruding outward from a range delimited by the dividing line of (c), and (c) in the case where it is determined that the first house shape data is protruding in the step (b). Is the data of the line segment of the portion of the first house-shaped data located outside the second dividing line as the third out-of-range data, and is located closer to the center of the block than the second dividing line. A step of distinguishing the line segment data of the portion to be treated as the sixth house shape data; (d) a step of deleting the third out-of-range data; and (e) a step of deleting the second delimiter line. In steps (b) and (c), distinguishing one or a plurality of second dividing lines determined to intersect with the first house-form data as a third dividing line, and (f) the sixth dividing line. Surrounded by the house shape data and the third dividing line The step of creating the seventh house shape data, and (g) all the first house shape data are judged by the step (b), and in the step (b), the house shape data is judged to be protruding. And a step of repeating step (c) to step (f).
区域に含まれる家形データを抽出し、第2の地図データ
ベースから前記所定の対象区域に含まれる街区線データ
を抽出し、前記家形データまたは前記街区線データの、
いずれかを座標変換して得た、第1の家形データと第1
の街区線データとを含む第3の地図データベースを作成
するシステムにおいて、 (a)各々の前記第1の家形データについて、各々の前
記第1の街区線データと交差しているか否かを計算し
て、前記第1の街区線データによって区切られた第1の
街区から外側に、はみ出しているか否かを判定する工程
と、 (b)前記第1の家形データのうち、前記工程(a)に
おいて、はみ出していると判定された家形データを第8
の家形データとして区別する工程と、 (c)第1の街区のうち、第8の家形データの一部分を
含む街区を、第2の街区として区別する工程と、 (d)前記第2の街区の中心点を求める工程と、 (e)前記第1の家形データのうち、前記第2の街区内
に全体または一部分が含まれている家形データを抽出し
て、第9の家形データとして区別する工程と、 (f)各々の前記第2の街区について、前記第9の家形
データを前記工程(d)で求めた前記中心点を原点とし
て所定の割合で縮小して、第10の家形データを作成す
る工程と、 (g)前記第9の家形データを削除する工程と、 を具備することを特徴とする図形データ調整方法。6. The house shape data included in the predetermined target area is extracted from the first map database, and the block line data included in the predetermined target area is extracted from the second map database, and the house shape data is extracted. Or of the block line data,
The first house shape data and the first house shape data obtained by coordinate conversion of either
In a system for creating a third map database including the city block line data, (a) calculating whether or not each of the first house shape data intersects with each of the first block line data And a step of determining whether or not the first block divided by the first block line data is outside the first block, and (b) the step (a) of the first house shape data. ), The house shape data determined to be protruding is
And (c) distinguishing a block including a part of the eighth house shape data from the first block as the second block, and (d) the second block. A step of determining a center point of the block, and (e) extracting, from the first house-form data, house-form data that is wholly or partly included in the second block, and forming a ninth house-form. (F) For each of the second blocks, the ninth house shape data is reduced at a predetermined ratio with the central point obtained in the step (d) as an origin, and A method for adjusting graphic data, comprising: a step of creating 10 house shape data; and (g) a step of deleting the ninth house shape data.
区域に含まれる家形データを抽出し、第2の地図データ
ベースから前記所定の対象区域に含まれる街区線データ
を抽出し、前記家形データまたは前記街区線データの、
いずれかを座標変換して得た、第1の家形データと第1
の街区線データとを含む第3の地図データベースを作成
するシステムにおいて、 (a)前記第1の街区線データから、前記第1の街区線
データによって囲まれた第1の街区を判定する工程と、 (b)各々の前記第1の街区について、各々の前記第1
の街区の中心点を求める工程と、 (c)各々の前記第1の街区について、前記第1の家形
データのうち、どの家形データの一部分または全部が含
まれているかを判定して抽出し、第11の家形データと
して区別する工程と、 (d)各々の前記第1の街区毎に、前記工程(c)にお
いて抽出された前記第11の家形データを、前記工程
(b)において求められた前記中心点を原点として所定
の割合で縮小して、第12の家形データを作成する工程
と、 (e)全ての前記第1の家形データを削除して、前記第
12の家形データを保管する工程と、 を具備することを特徴とする図形データ調整方法。7. The house shape data included in the predetermined target area is extracted from the first map database, and the block line data included in the predetermined target area is extracted from the second map database, and the house shape data is extracted. Or of the block line data,
The first house shape data and the first house shape data obtained by coordinate conversion of either
A system for creating a third map database including the block line data, and (a) determining a first block surrounded by the first block line data from the first block line data. (B) For each of the first blocks, each of the first blocks
Determining the center point of each block, and (c) determining and extracting which part or all of the house shape data among the first house shape data is included for each of the first blocks. And (d) for each of the first blocks, the eleventh house shape data extracted in the step (c) is used as the eleventh house shape data. Creating a twelfth house shape data by reducing the center point obtained in step 1 as a starting point at a predetermined ratio; and (e) deleting all the first house shape data to obtain the twelfth house shape data. And a step of storing the house shape data of the above, and a graphic data adjusting method comprising :.
図データベースであることを特徴とする請求項1から請
求項7に記載された図形データ調整方法。8. The graphic data adjusting method according to claim 1, wherein the first map database is a national land basic map database.
図データベースであることを特徴とする請求項1から請
求項7に記載された図形データ調整方法。9. The graphic data adjusting method according to claim 1, wherein the second map database is a road ledger map database.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33874894A JP3535596B2 (en) | 1994-12-31 | 1994-12-31 | Figure data adjustment method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33874894A JP3535596B2 (en) | 1994-12-31 | 1994-12-31 | Figure data adjustment method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08190619A JPH08190619A (en) | 1996-07-23 |
| JP3535596B2 true JP3535596B2 (en) | 2004-06-07 |
Family
ID=18321093
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP33874894A Expired - Lifetime JP3535596B2 (en) | 1994-12-31 | 1994-12-31 | Figure data adjustment method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3535596B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3317211B2 (en) * | 1997-09-24 | 2002-08-26 | 松下電器産業株式会社 | Map editing device |
-
1994
- 1994-12-31 JP JP33874894A patent/JP3535596B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08190619A (en) | 1996-07-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103150328B (en) | A kind of integrated approach utilizing data base's autodraft | |
| CN108022273B (en) | A kind of drawing method that can be disassembled and combined | |
| US20020191863A1 (en) | Methods and apparatus for cut-and-paste editing of multiresolution surfaces | |
| CN113223164B (en) | A Batch Processing Method for Large Terrain Data | |
| JP2004117245A (en) | House alteration discriminating method | |
| Kratochvílová et al. | Using the automatic vectorisation method in generating the vector altimetry of the historical Vltava River valley | |
| CN115859414A (en) | Cross-coordinate system use method for global scale geographic information base map | |
| Heipke et al. | Semiautomatic extraction of roads from aerial images | |
| CN113763289B (en) | Original terrain correction method and system based on BIM (building information modeling) model and computer terminal | |
| JP3535596B2 (en) | Figure data adjustment method | |
| JP4535337B2 (en) | Registration transfer information reflecting apparatus and method | |
| CN116934986A (en) | Three-dimensional road map optimization method and device and electronic equipment | |
| CN115624747B (en) | Terrain data processing method, device, equipment and storage medium | |
| JPH09305643A (en) | Method and device for designing plant layout | |
| JP2002024336A (en) | Method and system for managing power-transmission line drawing | |
| Hardy | Map production from an active object database, using dynamic representation and automated generalisation | |
| JP3393166B2 (en) | Geographic information system | |
| JP2002056399A (en) | Image data processing apparatus and image data processing method | |
| JP2837514B2 (en) | Image editing device | |
| JP3353212B2 (en) | Leader automatic creation method and leader automatic creation system | |
| JPH08161377A (en) | Terrain modification simulation method | |
| JP3259998B2 (en) | System for automatically creating equipment sectional views and method for automatically creating equipment sectional views | |
| JP2007256402A (en) | Map data generating device | |
| KR102913809B1 (en) | Method and device for generating matched height map by matching terrain elevation information and road height map | |
| JPH06168223A (en) | Pipe network analyzer, data display device thereof, and graphic generation method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040309 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040312 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080319 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080319 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090319 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090319 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100319 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100319 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110319 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110319 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120319 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120319 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130319 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130319 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140319 Year of fee payment: 10 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| EXPY | Cancellation because of completion of term |