JPH0869525A - Vector data conversion method and conversion device - Google Patents

Vector data conversion method and conversion device

Info

Publication number
JPH0869525A
JPH0869525A JP20631594A JP20631594A JPH0869525A JP H0869525 A JPH0869525 A JP H0869525A JP 20631594 A JP20631594 A JP 20631594A JP 20631594 A JP20631594 A JP 20631594A JP H0869525 A JPH0869525 A JP H0869525A
Authority
JP
Japan
Prior art keywords
vector
data
angle
conversion
source data
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.)
Withdrawn
Application number
JP20631594A
Other languages
Japanese (ja)
Inventor
Shinji Tonokawa
伸次 殿川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP20631594A priority Critical patent/JPH0869525A/en
Publication of JPH0869525A publication Critical patent/JPH0869525A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

(57)【要約】 【目的】 本発明は、ベクトルデータの変換を行なう方
法及び装置に関し、元データを軽量化してこれを利用す
る能力の低いコンピュータを軽快に動作させることが可
能となる方法及び装置の提供を目的とする。 【構成】 複数の直線ベクトルが折れ線状に逐次連結し
た内容の変換元データを読み出し、読み出された変換元
データから各ベクトル連結部分における折れ角度を間引
きの基準角度と比較し、折れ角度がわずかであることを
示す比較結果が得られたベクトル連結部分をパスして該
部分に隣接した両側のベクトル連結部分を直線ベクトル
で結んだ変換先データを生成する。
(57) [Abstract] [Object] The present invention relates to a method and apparatus for converting vector data, and a method and a method that enable a computer having a low ability to use the original data to operate lightly. The purpose is to provide a device. [Structure] The conversion source data in which a plurality of straight line vectors are sequentially connected in a polygonal line shape is read, and the bending angle at each vector connection portion is compared with the reference angle for thinning out from the read conversion source data. The vector connected portion for which the comparison result indicating that is obtained is passed and the converted data in which the vector connected portions on both sides adjacent to this portion are connected by a straight line vector are generated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ベクトルデータの変換
を行なう方法及びその装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for converting vector data.

【0002】例えば道路の様子を調査するために現地へ
地図を持参する場合、一般に、必要な地図の枚数が多く
なることから、調査業務の効率が低下する。このため、
ホストコンピュータ側に地図データを蓄積し、その地図
データを変換して携帯コンピュータへ移し、同コンピュ
ータを調査係員が現地へ携行する。
[0002] For example, when bringing a map to the site for investigating the condition of a road, the number of required maps generally increases, and the efficiency of the survey work decreases. For this reason,
The map data is stored on the host computer side, the map data is converted and transferred to a mobile computer, and the research staff carries the computer to the site.

【0003】[0003]

【従来の技術】ホストコンピュータに多くの端末を接続
し、各端末で地図データを作成してホストコンピュータ
のハードディスクなどへ蓄積する。
2. Description of the Related Art Many terminals are connected to a host computer, each terminal creates map data and stores it in a hard disk of the host computer.

【0004】この地図データは道路などを示すベクトル
データと地名などを示す文字データが含まれており、現
地調査に必要となる地図部分のデータのうちベクトルの
座標が示されるものをホストコンピュータ側から取り出
して携帯コンピュータへ移し、そのコンピュータを調査
係員が現地へ携行する。
This map data includes vector data indicating roads and the like and character data indicating place names and the like. From the data of the map portion necessary for on-site inspection, data indicating vector coordinates is sent from the host computer side. Take it out and move it to a portable computer, and a researcher will take the computer to the site.

【0005】[0005]

【発明が解決しようとする課題】しかしながら多くの場
合、精密な地図データがホストコンピュータ側に蓄積さ
れ、携帯コンピュータへ移される座標データの量がその
携帯コンピュータにとって過大なものとなることから
(携帯コンピュータはCPUの能力が低く、主記憶及び
ディスクの容量が制限される)、現地において地図を十
分な速度で表示させることが困難となる。
However, in many cases, the precise map data is accumulated in the host computer, and the amount of coordinate data transferred to the portable computer becomes too large for the portable computer (portable computer). Has a low CPU capacity, and the capacity of main memory and disk is limited), and it becomes difficult to display the map at a sufficient speed in the field.

【0006】本発明は上記従来の事情に鑑みてなされた
ものであり、その目的は、元データを軽量化することが
可能となる変換方法及び装置を提供することにある。
The present invention has been made in view of the above conventional circumstances, and an object of the present invention is to provide a conversion method and apparatus capable of reducing the weight of original data.

【0007】[0007]

【課題を解決するための手段】[Means for Solving the Problems]

・第1発明:複数の直線ベクトルが折れ線状に逐次連結
した内容の変換元データを読み出し(ステップ10
0)、読み出された変換元データから各ベクトル連結部
分における折れ角度を間引きの基準角度と比較し(ステ
ップ102)、折れ角度がわずかであることを示す比較
結果が得られたベクトル連結部分をパスして該部分に隣
接した両側のベクトル連結部分を直線ベクトルで結んだ
変換先データを生成する(ステップ104)。
First invention: The conversion source data having the content in which a plurality of straight line vectors are sequentially connected in a polygonal line shape is read (step 10).
0), comparing the bending angle in each vector connection portion with the read-out source data with the reference angle for thinning (step 102), the vector connection portion for which a comparison result indicating that the bending angle is slight is obtained is obtained. Conversion destination data is generated by passing the vector connection parts on both sides adjacent to the part by a straight line vector (step 104).

【0008】・第2発明:複数の直線ベクトルが折れ線
状に逐次連結した内容の変換元データを記憶する変換元
データ記憶手段10と、変換元データを読み出してベク
トル連結の一端から他端へ向かい直線ベクトルの端座標
を順に全て取得するベクトル座標点取得手段12と、取
得順に連続の3座標で形成された2線分の交差角度を間
引きの基準角度と比較する角度比較手段14と、交差角
度が基準角度以下となる線分交差点の座標を取得の座標
から削除した内容の変換先データを生成する変換先デー
タ生成手段16と、間引きの基準角度を与えられた指示
に従って設定する間引き基準角度設定手段18と、を有
する。
Second invention: A conversion source data storage means 10 for storing conversion source data having a plurality of linear vectors successively connected in a polygonal line shape, and the conversion source data is read to move from one end of the vector connection to the other end. Vector coordinate point acquisition means 12 for sequentially acquiring all the end coordinates of the straight line vector, angle comparison means 14 for comparing an intersection angle of two line segments formed by three consecutive coordinates in the acquisition order with a reference angle for thinning, and an intersection angle. With the reference angle being less than the reference angle, the conversion destination data generating means 16 for generating the conversion destination data having the contents in which the coordinates of the line segment intersection are deleted from the acquisition coordinates, and the thinning reference angle setting for setting the reference angle for thinning according to a given instruction. Means 18 and.

【0009】[0009]

【作用】図1から理解されるように、変換元データにお
いてベクトル連結部分の折れ角度がわずかなものを直線
化した変換先データを生成する。第2発明では変換の基
準となる角度を必要に応じて任意に設定することが可能
となる。
As will be understood from FIG. 1, the conversion-destination data is generated by linearizing the conversion-source data having a small bending angle of the vector connection portion. In the second invention, it is possible to arbitrarily set the angle serving as the reference of conversion, if necessary.

【0010】[0010]

【実施例】図3には実施例の構成が示されており、ホス
トコンピュータ30に多数の端末32はネットワーク3
4を介して接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 3 shows the configuration of the embodiment, in which a host computer 30 has a number of terminals 32 connected to a network 3.
4 are connected.

【0011】このホストコンピュータ30にはハードデ
ィスク36が設けられており、精密な道路の地図データ
が各端末32で作成されてからハードディスク36へ蓄
積される。
A hard disk 36 is provided in the host computer 30, and precise road map data is created in each terminal 32 and then stored in the hard disk 36.

【0012】そして、この地図データの管理者又は現地
調査の係員はいずれかのオンライン端末32を操作し、
必要な地図部分のデータを変換し、これにより軽量化し
たデータをフロッピィディスク38へ書き出す。なお、
端末32に携帯端末40を接続して端末32から携帯端
末40へ変換後のデータをダウンロートしてもよい。
Then, the manager of this map data or the person in charge of the field survey operates one of the online terminals 32,
The data of the necessary map portion is converted, and the lightened data is written to the floppy disk 38. In addition,
The mobile terminal 40 may be connected to the terminal 32 and the data converted from the terminal 32 to the mobile terminal 40 may be downloaded.

【0013】現地調査の各係員はそのフロッピィディス
クとオフラインの携帯端末40を多くの地図若しくは地
図帳に代えて持ち歩き、その携帯端末40を操作するこ
とでフロッピィディスク38に書き込まれていた地図デ
ータの内容を携帯端末40に表示させる。
Each staff member of the field survey carries the floppy disk and the offline portable terminal 40 in place of many maps or atlases, and operates the portable terminal 40 to display the map data written in the floppy disk 38. The content is displayed on the mobile terminal 40.

【0014】図4では本実施例の処理手順がフローチャ
ートを用いて説明されており、また、図5(A),
(B),(C),(D),(E)では本実施例の作用が
説明されている。
In FIG. 4, the processing procedure of this embodiment is described with reference to a flow chart. In addition, FIG.
The operation of this embodiment is described in (B), (C), (D), and (E).

【0015】ハードディスク36に蓄積された地図デー
タの管理者又は現地調査の係員はいずれかのオンライン
端末32を操作し、最初に許容角度(間引きの基準角
度)を設定し(ステップ400)、データ変換の実行を
指示する。この許容角度に応じて、データの減少量が変
化する。
The administrator of the map data stored in the hard disk 36 or the person in charge of the field survey operates one of the online terminals 32 to first set an allowable angle (reference angle for thinning) (step 400) and convert the data. To execute. The amount of data reduction changes according to this allowable angle.

【0016】図5(A)では変換元データが説明されて
おり、その変換元データは4本の直線ベクトルが折れ線
状に逐次連結したもので、座標aを始点とし、座標b,
c,dをベクトル連結部分とし、座標eを終点とする。
In FIG. 5A, the conversion source data is described. The conversion source data is a series of four straight line vectors connected in a polygonal line, and the coordinate a is the starting point and the coordinates b,
Let c and d be vector connection parts, and coordinate e be the end point.

【0017】図4において、許容角度が設定されると
(ステップ400)、変換元データより3つの座標を取
得し、1点目の座標をワーク領域に格納する(ステップ
402)。
In FIG. 4, when the allowable angle is set (step 400), three coordinates are acquired from the conversion source data and the coordinates of the first point are stored in the work area (step 402).

【0018】図5(A)に示された変換元データの場
合、座標a,b,cを順に取得し、座標aを1点目とし
てワーク領域に格納する。次に、それら3点の座標を通
過する2本の直線が交差する角度を算出する(ステップ
404)。
In the case of the conversion source data shown in FIG. 5A, the coordinates a, b, c are acquired in order, and the coordinate a is stored as a first point in the work area. Next, the angle at which two straight lines passing through the coordinates of these three points intersect is calculated (step 404).

【0019】図5(B)ではこの交差角が説明されてお
り、図5(A)の座標a,b,cを取得したときに、座
標aからbへ向かう直線ベクトルと座標bからcへ向か
う直線ベクトルの交差角を求める。
This crossing angle is explained in FIG. 5 (B), and when the coordinates a, b, c in FIG. 5 (A) are acquired, a straight line vector from the coordinates a to b and coordinates b to c. Find the intersection angle of the straight line vectors.

【0020】そして、この交差角度と既に設定されてい
る許容角度とを比較し(ステップ406)、算出の交差
角が許容角度以下の場合(ステップ406でYES)
は、3点目の座標を2点目としてから(ステップ40
8)、次の座標を取得して3点目とし(ステップ41
0)、再び交差角を算出して許容角度と比較する(ステ
ップ404,406)。
Then, this intersection angle is compared with the already set allowable angle (step 406), and when the calculated intersection angle is less than or equal to the allowable angle (YES in step 406).
Sets the coordinates of the third point to the second point (step 40
8) and obtain the next coordinate and make it the third point (step 41).
0), the intersection angle is calculated again and compared with the allowable angle (steps 404 and 406).

【0021】また、交差角度が許容角度以下でない場合
(ステップ406でNO)は、2点目の座標をワーク領
域へ格納し(ステップ412)、2点目の座標を1点目
として3点目の座標を2点目の座標としてから(ステッ
プ414)、次の座標を取得して3点目とし(ステップ
410)、再び交差角度を算出して許容角度と比較する
(ステップ404,406)。
If the intersection angle is not less than the allowable angle (NO in step 406), the coordinates of the second point are stored in the work area (step 412), and the coordinates of the second point are set as the first point and the third point. The coordinate of is set as the coordinate of the second point (step 414), the next coordinate is acquired and set as the third point (step 410), and the intersection angle is calculated again and compared with the allowable angle (steps 404 and 406).

【0022】以上の処理は直線ベクトルが折れ線上に逐
次連結したデータの全てについて並列的に行なわれ、全
座標を取得したことを確認すると(ステップ416でN
O)、ワーク領域に格納されている座標及び2点目の座
標をフロッピィディスク38へ書き出す(ステップ41
8)。
The above processing is carried out in parallel for all the data whose straight line vectors are successively connected on the polygonal line, and when it is confirmed that all the coordinates have been obtained (N at step 416).
O), the coordinates stored in the work area and the coordinates of the second point are written to the floppy disk 38 (step 41).
8).

【0023】図5(A)に示された変換元データの場合
で座標b,cにおける交差角度が許容角度以下のときに
つき説明すると、座標a,b,cの取得時に、座標bに
おける交差角度が許容角度以下であることを確認できる
ことから、図5(C)のように3点目の座標cが2点目
とされ、次の座標dが3点目とされる。次に、座標cに
おける交差角度も許容角度以下であることから、図5
(D)のように座標dが2点目とされ、座標eが3点目
とされる。
In the case of the conversion source data shown in FIG. 5A, the case where the intersection angle at the coordinates b and c is less than or equal to the allowable angle will be described. When the coordinates a, b and c are acquired, the intersection angle at the coordinate b is obtained. Since it can be confirmed that is less than or equal to the allowable angle, the coordinate c of the third point is the second point and the next coordinate d is the third point as shown in FIG. Next, since the intersection angle at the coordinate c is also less than or equal to the allowable angle, FIG.
As in (D), the coordinate d is the second point and the coordinate e is the third point.

【0024】ここで、2点目の座標dにおける交差角度
が許容角度以下でないことから、図5(E)のように2
点目の座標dを1点目として格納し、3点目の座標eを
2点目とする。
Here, since the crossing angle at the coordinate d of the second point is not less than the allowable angle, as shown in FIG.
The coordinate d of the point is stored as the first point, and the coordinate e of the third point is the second point.

【0025】その際に次の座標がないことを確認する
と、ワーク領域に格納されたa,d及び2点目の座標e
を書き出す。したがって、ベクトルの折れ角がわずかな
中間の座標b,cを変換元データから削除した変換先デ
ータがフロッピィディスク40へ書き出される。
At this time, if it is confirmed that there is no next coordinate, a and d stored in the work area and the coordinate e of the second point are stored.
Write out. Therefore, the conversion destination data in which the intermediate coordinates b and c with a slight vector bending angle are deleted from the conversion source data are written to the floppy disk 40.

【0026】このため、各携帯端末40は地図表示を軽
快に十分な速度で行なうことが可能となり、現地調査員
は業務を効率良く快適に遂行できる。
Therefore, each mobile terminal 40 can display the map lightly and at a sufficient speed, and the local investigator can efficiently and comfortably perform the work.

【0027】[0027]

【発明の効果】以上説明したように本発明によれば、変
換元データの量を削減した変換先データが得られるの
で、その変換先データを利用する能力が低いコンピュー
タに処理をより高速に行なわせ、同コンピュータが使用
される業務の効率を高めることが可能となる。
As described above, according to the present invention, since the conversion destination data in which the amount of the conversion source data is reduced can be obtained, the processing can be performed at higher speed on the computer having a low ability to use the conversion destination data. Therefore, it is possible to improve the efficiency of the work in which the computer is used.

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

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

【図2】第2発明の原理説明図である。FIG. 2 is a diagram illustrating the principle of the second invention.

【図3】実施例の構成説明図である。FIG. 3 is a diagram illustrating a configuration of an example.

【図4】実施例の処理を説明するフローチャートであ
る。
FIG. 4 is a flowchart illustrating a process of an embodiment.

【図5】実施例の作用説明図である。FIG. 5 is an explanatory view of the operation of the embodiment.

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

30 ホストコンピュータ 32 端末 34 ネットワーク 36 ハードディスク 38 フロッピィディスク 40 携帯端末 30 host computer 32 terminal 34 network 36 hard disk 38 floppy disk 40 mobile terminal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の直線ベクトルが折れ線状に逐次連
結した内容の変換元データを読み出し、 読み出された変換元データから各ベクトル連結部分にお
ける折れ角度を間引きの基準角度と比較し、 折れ角度がわずかであることを示す比較結果が得られた
ベクトル連結部分をパスして該部分に隣接した両側のベ
クトル連結部分を直線ベクトルで結んだ変換先データを
生成する、 ことを特徴としたベクトルデータの変換方法。
1. A read source of conversion source data in which a plurality of straight line vectors are sequentially connected in a polygonal line shape, a bend angle in each vector connection portion is compared with a reference angle for thinning out from the read source data, and a bend angle is obtained. The vector data characterized by passing the vector connection part for which the comparison result indicating that the number is small is passed and connecting the vector connection parts on both sides adjacent to the part with the straight line vector to generate the conversion destination data. Conversion method.
【請求項2】 複数の直線ベクトルが折れ線状に逐次連
結した内容の変換元データを記憶する変換元データ記憶
手段と、 変換元データを読み出してベクトル連結の一端から他端
へ向かい直線ベクトルの端座標を順に全て取得するベク
トル座標点取得手段と、 取得順に連続の3座標で形成された2線分の交差角度を
間引きの基準角度と比較する角度比較手段と、 交差角度が基準角度以下となる線分交差点の座標を取得
の座標から削除した内容の変換先データを生成する変換
先データ生成手段と、 間引きの基準角度を与えられた指示に従って設定する間
引き基準角度設定手段と、 を有する、 ことを特徴としたベクトルデータの変換装置。
2. A conversion source data storage unit for storing conversion source data having a content in which a plurality of straight line vectors are sequentially connected in a polygonal line form, and an end of the straight line vector which is read from the conversion source data and goes from one end of the vector connection to the other end. Vector coordinate point acquisition means for acquiring all the coordinates in order, angle comparison means for comparing the intersection angle of two line segments formed by three consecutive coordinates in the acquisition order with the reference angle for thinning, and the intersection angle is less than or equal to the reference angle. A conversion destination data generating means for generating conversion destination data with the contents of the line segment intersection deleted from the acquisition coordinates, and thinning reference angle setting means for setting a reference angle for thinning according to a given instruction, An apparatus for converting vector data.
JP20631594A 1994-08-31 1994-08-31 Vector data conversion method and conversion device Withdrawn JPH0869525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20631594A JPH0869525A (en) 1994-08-31 1994-08-31 Vector data conversion method and conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20631594A JPH0869525A (en) 1994-08-31 1994-08-31 Vector data conversion method and conversion device

Publications (1)

Publication Number Publication Date
JPH0869525A true JPH0869525A (en) 1996-03-12

Family

ID=16521269

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20631594A Withdrawn JPH0869525A (en) 1994-08-31 1994-08-31 Vector data conversion method and conversion device

Country Status (1)

Country Link
JP (1) JPH0869525A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004348708A (en) * 2003-04-30 2004-12-09 Hitachi Eng Co Ltd Polygon generation method and device for map information system
JP2008287540A (en) * 2007-05-18 2008-11-27 Dainippon Printing Co Ltd Handwriting reproduction drawing method, handwriting reproduction drawing apparatus, and program used therefor
JP2009230518A (en) * 2008-03-24 2009-10-08 Hitachi Software Eng Co Ltd Road map data creation system
JP2020074060A (en) * 2019-08-28 2020-05-14 日本電信電話株式会社 Route information generating device, method and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004348708A (en) * 2003-04-30 2004-12-09 Hitachi Eng Co Ltd Polygon generation method and device for map information system
JP2008287540A (en) * 2007-05-18 2008-11-27 Dainippon Printing Co Ltd Handwriting reproduction drawing method, handwriting reproduction drawing apparatus, and program used therefor
JP2009230518A (en) * 2008-03-24 2009-10-08 Hitachi Software Eng Co Ltd Road map data creation system
JP2020074060A (en) * 2019-08-28 2020-05-14 日本電信電話株式会社 Route information generating device, method and program

Similar Documents

Publication Publication Date Title
EP0360155B1 (en) Image transformation method and device
EP0557924B1 (en) Method and apparatus for searching line data in graphic data base system
JP3423894B2 (en) Road shape figure deformation method, apparatus, and storage medium recording the method
JP4140338B2 (en) Summary map generation device, road map conversion device, program, and summary map service system
CN117349398B (en) GIS map data processing method, system, equipment and storage medium
CN113487696A (en) Electronic map generation method and device, electronic equipment and storage medium
JP3402981B2 (en) Automatic deformation map creation method and automatic deformation map creation device
JP3339648B2 (en) Information processing apparatus and drawing method
JPS61194571A (en) Graphic recognition mode
JP3089740B2 (en) Line drawing device
JPS61221968A (en) Drawing reader
JPH10333554A (en) Map information display system and map information display method
JP2863484B2 (en) Map display method
JPH01134682A (en) Line folding processing system
JP2881735B1 (en) 3D video data transfer method
JP3312382B2 (en) Normal vector coordinate converter
JPH03180972A (en) Graphic processor
JPH11213002A (en) Map drawing display switching method
JPH0264772A (en) Address retrieving device
JPH0467230B2 (en)
JP2003295761A (en) Test data creation system, test data creation method, and test data creation program
JPS63204469A (en) Drawing processing system
JP2854588B2 (en) Raster vector conversion method and line figure input device
JP2998465B2 (en) Picture data creation device
JPH06332372A (en) Display device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20011106