JP5010134B2 - Map data generation apparatus and generation method - Google Patents

Map data generation apparatus and generation method Download PDF

Info

Publication number
JP5010134B2
JP5010134B2 JP2005313574A JP2005313574A JP5010134B2 JP 5010134 B2 JP5010134 B2 JP 5010134B2 JP 2005313574 A JP2005313574 A JP 2005313574A JP 2005313574 A JP2005313574 A JP 2005313574A JP 5010134 B2 JP5010134 B2 JP 5010134B2
Authority
JP
Japan
Prior art keywords
polygon
detailed
point
map data
generating
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 - Fee Related
Application number
JP2005313574A
Other languages
Japanese (ja)
Other versions
JP2007121668A (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.)
Zenrin Co Ltd
Original Assignee
Zenrin 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 Zenrin Co Ltd filed Critical Zenrin Co Ltd
Priority to JP2005313574A priority Critical patent/JP5010134B2/en
Publication of JP2007121668A publication Critical patent/JP2007121668A/en
Application granted granted Critical
Publication of JP5010134B2 publication Critical patent/JP5010134B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

本発明は、電子地図データにおいて地形を表すための地形ポリゴンの生成方法に関し、詳しくは、詳細形状を表す地形ポリゴンを修正して、概略形状を表す地形ポリゴンを生成する方法に関する。   The present invention relates to a method for generating a terrain polygon for representing terrain in electronic map data, and more particularly to a method for generating a terrain polygon representing a rough shape by correcting a terrain polygon representing a detailed shape.

電子地図データは、種々の縮尺で地図を表示可能である。電子地図データには、陸地、河川などの地形、道路や建築物などの地物を表示可能なポリゴンが格納されている。これらのポリゴンは、縮尺のレベルに応じて階層的に用意されるのが通常である。即ち、縮尺が大きい拡大図を表示するためのデータとして、地形や地物の形状を比較的詳細に表した下位レベルのポリゴンが用意され、縮尺が小さい広域図を表示するためのデータとして、地形や地物の概略形状を表した上位レベルのポリゴンが用意されている。両者の間に中間的な階層のポリゴンが用意されていることもある。このようにレベルの異なる多階層のポリゴンを用意しておくことにより、地図表示に要する時間が長くなることを抑えつつ、それぞれの縮尺に応じた精度で地図を表示することができる。   The electronic map data can display a map at various scales. The electronic map data stores polygons that can display landforms such as land and rivers, and features such as roads and buildings. These polygons are usually prepared hierarchically according to the scale level. That is, as data for displaying an enlarged map with a large scale, lower-level polygons representing the shape of the terrain and features are prepared in relatively detail, and as data for displaying a wide-area map with a small scale, the terrain And higher-level polygons that represent the approximate shape of the feature. There may be an intermediate layer of polygons between them. By preparing polygons of multi-hierarchies with different levels in this way, it is possible to display a map with an accuracy corresponding to each scale while suppressing an increase in time required for map display.

従来、多階層の地図データは、オペレータの手作業によって作成されていた。まず、航空写真や測量結果等に基づいて詳細表示用、即ち下位レベルのポリゴンが生成される。そして、このポリゴンを、縮尺に応じてオペレータが簡略化して、上位レベルのポリゴンを生成していた。この作業は、非常に煩雑であり、オペレータの処理負荷は多大であった。   Conventionally, multi-level map data has been created manually by an operator. First, polygons for detailed display, that is, lower-level polygons are generated based on aerial photographs and survey results. Then, this polygon is simplified by the operator according to the scale, and a high-level polygon is generated. This operation is very complicated, and the processing load on the operator is great.

特開2003−132353号公報JP 2003-132353 A

従来、オペレータの負荷を軽減するために、地図データの生成処理を自動化する提案がなされている。例えば、特許文献1では、道路を表すポリゴンに基づいて、ボロノイ分割を用いて当該道路の中心線を表すデータを生成する技術が開示されている。ボロノイ分割とは、計算幾何学の分野で周知の処理であり、与えられた複数の母点の勢力範囲を表す図である。ある母点を含むボロノイ多角形内であればいずれの点においても、当該母点への距離が他の母点への距離よりも短くなる。   Conventionally, proposals have been made to automate the process of generating map data in order to reduce the load on the operator. For example, Patent Document 1 discloses a technique for generating data representing a center line of a road using Voronoi division based on a polygon representing the road. Voronoi division is a well-known process in the field of computational geometry, and is a diagram showing the range of power of a plurality of given mother points. In any point within the Voronoi polygon including a certain mother point, the distance to the mother point is shorter than the distance to the other mother point.

ボロノイ分割は、ポリゴンを線分化するのに利用可能な処理ではあるが、これを河川などの水系に適用しても所望の概略形状は得られない。道路と異なりこれらの水系は幅が一定ではないため、ボロノイ分解の結果は非常に複雑となるからである。また、水系の場合には、例えば、池の中央付近など、概略形状だからといって必ずしも線分化すべきではない部分もある。特許文献1記載の技術では、このような領域についても画一的に線分化されてしまうおそれがあった。   Voronoi division is a process that can be used to line-divide a polygon. However, even if this process is applied to a water system such as a river, a desired schematic shape cannot be obtained. This is because, unlike roads, these water systems are not uniform in width, so the results of Voronoi decomposition are very complex. In the case of an aqueous system, for example, there is a portion that should not necessarily be line-divided just because of its approximate shape, such as the vicinity of the center of a pond. In the technique described in Patent Document 1, there is a possibility that such a region may be uniformly differentiated.

上述の課題は、水系に限らず、陸地を表すための海岸線ポリゴン、高さに応じて等高線に従って陸地の色を塗り分けるために用意される等高線ポリゴンなどでも同様の課題が生じ得た。本発明は、これらの課題に鑑み、電子地図データに用いられる詳細形状の地形ポリゴンを変形して、軽い負荷で概略形状の地形ポリゴンを生成可能とすることを目的とする。   The above-mentioned problem is not limited to the water system, but the same problem may occur in coastline polygons for representing land, and contour line polygons prepared for painting colors of land according to contour lines according to height. In view of these problems, an object of the present invention is to deform a terrain polygon having a detailed shape used for electronic map data so as to generate a terrain polygon having a substantially shape with a light load.

本発明は、拡大図用に用意され地形の詳細形状を表示可能な詳細ポリゴンから、広域図用に概略形状を表示するための概略ポリゴンを生成する地図データ生成装置として構成することができる。地図データ生成装置は、まず詳細ポリゴンを入力する。詳細ポリゴンは、地図データ生成装置内に予め格納しておくようにしてもよいし、CD−ROMなどの記憶媒体から提供したり、ネットワークを介して所定のサーバから提供するようにしてもよい。詳細ポリゴンは、本発明の地図データ生成装置用に用意されたものだけでなく、電子地図データとして用意されたものであってもよい。   The present invention can be configured as a map data generation device that generates a schematic polygon for displaying a schematic shape for a wide-area map from a detailed polygon prepared for an enlarged map and capable of displaying a detailed shape of a terrain. The map data generation apparatus first inputs detailed polygons. The detailed polygon may be stored in advance in the map data generation device, may be provided from a storage medium such as a CD-ROM, or may be provided from a predetermined server via a network. The detailed polygon may be prepared not only for the map data generation device of the present invention but also for electronic map data.

地図データ生成装置は、詳細ポリゴンを構成する構成点、および詳細ポリゴンの辺上に所定の条件で生成された生成点から、ボロノイ分割の母点を設定する。生成点を生成する条件としては、例えば、生成点同士の間隔を所定値以下に抑えるという条件、ポリゴンの構成点間を所定数で分割した点に生成点を設けるという条件などが考えられる。こうして生成された点のみを母点としてもよいし、ポリゴンの構成点のみを母点としてもよいし、両者を混在させて母点として用いてもよい。前記所定値や所定数は、目的とする概略図の縮尺に依存して定めてもよい。   The map data generation device sets a generating point for Voronoi division from the constituent points constituting the detailed polygon and the generated points generated on the sides of the detailed polygon under predetermined conditions. As the conditions for generating the generation points, for example, a condition that the interval between the generation points is suppressed to a predetermined value or less, a condition that the generation points are provided at points obtained by dividing the polygon configuration points by a predetermined number, and the like are conceivable. Only the points generated in this way may be used as mother points, only the constituent points of polygons may be used as mother points, or both may be used as mother points. The predetermined value or the predetermined number may be determined depending on the scale of the target schematic diagram.

地図データ生成装置は、こうして得られた母点に基づき、詳細ポリゴンをボロノイ分割する。ボロノイ分割によって、詳細ポリゴン内外には、多数の多角形が形成され、この多角形を規定する頂点が生成される。地図データ生成装置は、ボロノイ分割によって得られた各頂点から母点までの距離に基づいて、次に行う変形処理の対象となるべき構成点を選択する。上述の距離と所定値との大小関係に基づいて選択してもよいし、所定半径内に存在する頂点の中から、上記距離が最小または最大となるもののみを選択し、その頂点を含むボロノイ多角形に含まれる構成点を選択するようにしてもよい。後者の処理で選択対象となる頂点は、詳細ポリゴン内に存在するものに限ってもよい。次に、地図データ生成装置は、変形処理、即ち選択された構成点の少なくとも一部を削除して詳細ポリゴンを変形させる処理を実行し、概略ポリゴンを生成する。   The map data generation device divides the detailed polygon into Voronois based on the generating points thus obtained. By Voronoi division, a large number of polygons are formed inside and outside the detailed polygon, and vertices that define the polygon are generated. The map data generation device selects a constituent point to be subjected to a deformation process to be performed next based on the distance from each vertex to the mother point obtained by Voronoi division. The distance may be selected based on the magnitude relationship between the distance and the predetermined value, or only those having the minimum or maximum distance from the vertices existing within the predetermined radius are selected, and the Voronoi including the vertex is selected. You may make it select the composing point contained in a polygon. The vertices to be selected in the latter processing may be limited to those existing in the detailed polygon. Next, the map data generation device executes a deformation process, that is, a process of deleting at least a part of the selected constituent points to deform the detailed polygon, thereby generating a schematic polygon.

本発明の地図データ生成装置によれば、詳細ポリゴンの構成点の少なくとも一部を削除することで概略ポリゴンを生成することができる。削除の対象となる構成点の選択は、ボロノイ分割の頂点から母点への距離に基づいて行われる。母点は詳細ポリゴンの構成点または辺上に生成された点であるから、上述の距離を基準とすることにより、構成点の選択時にポリゴンの形状が考慮されていることになる。従って、本発明によれば、処理対象となる地形に応じて適切な変形処理を実現することができる。   According to the map data generation apparatus of the present invention, it is possible to generate a schematic polygon by deleting at least a part of the constituent points of the detailed polygon. The selection of the constituent points to be deleted is performed based on the distance from the vertex of the Voronoi division to the mother point. Since the generating point is a constituent point of the detailed polygon or a point generated on the side, the shape of the polygon is taken into consideration when selecting the constituent point by using the above-mentioned distance as a reference. Therefore, according to the present invention, it is possible to realize an appropriate deformation process according to the terrain to be processed.

変形処理の一例として、縮退処理を行うようにしてもよい。縮退処理とは、頂点から母点までの距離に基づいてボロノイ分割で得られた頂点の一部を選択し、詳細ポリゴンの少なくとも一部を、この選択された頂点に基づいて定義される折れ線で表現する処理を言う。詳細ポリゴンのうち、先に説明した処理で選択された構成点は削除される。この結果、詳細ポリゴンの一部を削除するとともに、上述の折れ線が接続された形状の概略ポリゴンが生成されることになる。変形処理の負荷を軽減するとともに、変形後の折れ線とポリゴンとが分離されるという支障が生じることを回避するため、縮退処理を実行する際に頂点を選択するための基準と、詳細ポリゴンの構成点を選択する基準とは統一しておくことが好ましい。   As an example of the deformation process, a degeneration process may be performed. The reduction process is to select a part of the vertices obtained by Voronoi division based on the distance from the vertex to the mother point, and at least part of the detailed polygon is a polygonal line defined based on the selected vertex. Say the process to express. Among the detailed polygons, the constituent points selected in the process described above are deleted. As a result, a part of the detailed polygon is deleted, and a schematic polygon having a shape to which the above-mentioned broken line is connected is generated. In order to reduce the load of deformation processing and avoid the trouble of separating the polygonal line and polygon after deformation, the criteria for selecting vertices when performing degeneration processing and the configuration of detailed polygons It is preferable that the standard for selecting points is unified.

縮退処理において、上述した頂点の選択では、一例として、上述の距離が詳細ポリゴンの幅の半分以下となる頂点を選択する方法を採ることができる。こうすることにより、例えば、池の中央付近など非常にポリゴンの外周から遠く離れた場所に生成された頂点を、縮退処理の対象外とすることができる。上述の「半分」は厳密な値ではなく、選択の基準値は、半分よりも大きい値や半分よりも小さい値に設定することも可能である。   In the reduction processing, for example, in the above-described vertex selection, a method of selecting a vertex whose distance is equal to or less than half the width of the detailed polygon can be employed. In this way, for example, vertices generated at locations far away from the outer periphery of the polygon, such as near the center of the pond, can be excluded from the degeneration process. The above-mentioned “half” is not a strict value, and the reference value for selection can be set to a value larger than half or a value smaller than half.

また、「詳細ポリゴンの幅」も種々の設定が可能である。例えば、処理時に入力された値や、予め属性値として登録された値などを用いることができる。また、処理対象となっている詳細ポリゴン全体の最大幅、最小幅、または平均幅を採用するものとしてもよい。それぞれの頂点近傍の領域で幅を計測するようにしてもよい。   Various settings can also be made for the “detail polygon width”. For example, a value input at the time of processing or a value registered in advance as an attribute value can be used. Further, the maximum width, the minimum width, or the average width of the entire detailed polygon to be processed may be adopted. You may make it measure a width | variety in the area | region of each vertex vicinity.

地図データ生成装置は、更に、選択された頂点のうち、縮退処理によって所定長さ以下の折れ線を形成する頂点を除外するようにしてもよい。こうすることにより、縮退によって短い線が発生することを回避することができる。一般に概略ポリゴンは、広域図などの小さい縮尺で用いられることが多い。かかる場合には、短い線分で表示された形状は認識されないことが多く、これを表示することによって地図が見にくくなるおそれがある。上記態様によれば、縮退処理において短い線分の発生を回避することができるため、こうした弊害を回避することが可能となる。   The map data generation apparatus may further exclude vertices that form a polygonal line having a predetermined length or less from the selected vertices by reduction processing. By doing so, it is possible to avoid occurrence of a short line due to degeneration. In general, outline polygons are often used on a small scale such as a wide area map. In such a case, the shape displayed by the short line segment is often not recognized, and there is a possibility that it becomes difficult to see the map by displaying this. According to the above aspect, it is possible to avoid occurrence of a short line segment in the degeneration process, and thus it is possible to avoid such an adverse effect.

変形処理の他の例として、選択された構成点のうち一部を削除した残りの構成点を用いて、詳細ポリゴンの少なくとも一部を、折れ線で表現する線分化処理を実行するものとしてもよい。こうすることで、縮退処理よりも軽い負荷で、詳細ポリゴンの一部を線分で表現した概略ポリゴンを生成することが可能となる。縮退処理では、詳細ポリゴンの中心付近を走る線分が定義されるのに対し、この態様では詳細ポリゴンの端部に沿う線分が定義されることになる。従って、表示された時の形状の違和感を緩和するため、この態様は、詳細ポリゴンの幅が狭い領域に対して適用することが好ましい。かかる観点から、例えば、詳細ポリゴンの幅に応じて、線分化処理と縮退処理とを使い分けるようにしてもよい。   As another example of the deformation process, a line segmentation process for expressing at least a part of the detailed polygon with a polygonal line may be executed using the remaining component points from which some of the selected component points are deleted. . By doing so, it is possible to generate a schematic polygon in which a part of the detailed polygon is expressed by a line segment with a lighter load than the reduction process. In the reduction process, a line segment that runs near the center of the detailed polygon is defined, whereas in this aspect, a line segment that extends along the end of the detailed polygon is defined. Therefore, this mode is preferably applied to an area where the width of the detailed polygon is narrow in order to alleviate the uncomfortable feeling of the shape when displayed. From this point of view, for example, the line differentiation process and the reduction process may be properly used according to the width of the detailed polygon.

本発明の地図データ生成装置は、上述した第1の構成とは異なる第2の構成として、詳細ポリゴンを表示し、その表示上でボロノイ分割の対象となるべき領域の指定を受け付け可能としてもよい。母点生成やボロノイ分割は、こうして指定された領域を対象として実行する。縮退処理は、この領域で生成された頂点を用いて行う。領域内の頂点を無条件に用いるようにしてもよいし、先に説明した第1の構成と同様、所定の条件に基づいて縮退処理の対象となるべき頂点を選択するようにしてもよい。   The map data generation device of the present invention may display a detailed polygon as a second configuration different from the first configuration described above, and be able to accept designation of an area to be subjected to Voronoi division on the display. . Generating points and Voronoi division are executed for the area thus specified. The degeneration process is performed using the vertices generated in this area. Vertices in the region may be used unconditionally, or as in the first configuration described above, vertices to be subjected to the reduction process may be selected based on predetermined conditions.

頂点を選択する場合には、例えば、ボロノイ分割がなされた後、その結果を詳細ポリゴンに重ねて表示し、その表示上で、縮退処理の対象となるべき頂点の指定を受け付けるようにしてもよい。縮退処理は、選択された頂点を対象として行うことになる。かかる方法によれば、オペレータは頂点の選択を視覚的に行うことができるため、より人間のイメージに適合した簡略ポリゴンを生成することが可能となる。   When selecting vertices, for example, after Voronoi division is performed, the result may be displayed superimposed on the detailed polygon, and on the display, designation of a vertex that should be subject to degeneration processing may be accepted. . The degeneration process is performed on the selected vertex. According to such a method, the operator can visually select a vertex, and therefore, it is possible to generate a simple polygon more suitable for a human image.

本発明は、第1、第2の構成において説明した種々の特徴を全て備えている必要はなく、一部を省略したり、適宜組み合わせたりしてもよい。第1の構成における特徴を第2の構成に取り込んでも良いし、その逆を行っても良い。例えば、第2の構成における特徴を、第1の構成の前処理または後処理として取り込んでもよい。本発明は、地図データ生成装置の他、コンピュータによって地図データを生成する地図データ生成方法として構成することもできる。また、コンピュータにかかる地図データの生成を実行されるためのコンピュータプログラムとして構成してもよい。   The present invention does not have to include all the various features described in the first and second configurations, and some of them may be omitted or appropriately combined. Features in the first configuration may be incorporated into the second configuration, or vice versa. For example, the features in the second configuration may be captured as pre-processing or post-processing of the first configuration. The present invention can be configured as a map data generation method in which map data is generated by a computer in addition to a map data generation device. Moreover, you may comprise as a computer program for performing the production | generation of the map data concerning a computer.

更に、このコンピュータプログラムを記録した記録媒体として構成することもできる。ここで、記録媒体としては、フレキシブルディスクやCD−ROM、光磁気ディスク、ICカード、ROMカートリッジ、パンチカード、バーコードなどの符号が印刷された印刷物、コンピュータの内部記憶装置(RAMやROMなどのメモリ)および外部記憶装置等、コンピュータが読取り可能な種々の媒体を利用できる。   Furthermore, it can also be configured as a recording medium on which this computer program is recorded. Here, as a recording medium, a flexible disk, a CD-ROM, a magneto-optical disk, an IC card, a ROM cartridge, a punch card, a printed matter on which a code such as a barcode is printed, an internal storage device of a computer (RAM, ROM, etc. Various types of computer-readable media such as a memory) and an external storage device can be used.

本発明の実施例について以下の順序で説明する。
A.装置構成:
B.デフォルメ処理:
B1.ボロノイ分割:
B2.頂点選択:
C.前処理:
D.後処理:
E.変形例:
Embodiments of the present invention will be described in the following order.
A. Device configuration:
B. Deformation processing:
B1. Voronoi split:
B2. Vertex selection:
C. Preprocessing:
D. Post-processing:
E. Variations:

A.装置構成:
図1は実施例としての地図データ生成装置10の概略構成を示す説明図である。本実施例では、地図データ生成装置10は、汎用のパーソナルコンピュータに、地図データ生成装置としての機能を実現するためのコンピュータプログラムをインストールすることにより構成される。図中の各機能ブロックは、ソフトウェア的に構成されることになるが、少なくとも一部をハードウェア的に構成することも可能である。また、図の例では、スタンドアロンで機能する装置を例示したが、ネットワークで接続された複数のコンピュータの分散処理によって地図データ生成装置10を構成するようにしてもよい。
A. Device configuration:
FIG. 1 is an explanatory diagram showing a schematic configuration of a map data generation device 10 as an embodiment. In this embodiment, the map data generation device 10 is configured by installing a computer program for realizing a function as a map data generation device in a general-purpose personal computer. Each functional block in the figure is configured by software, but at least a part may be configured by hardware. In the example of the figure, an apparatus that functions as a stand-alone is illustrated, but the map data generation apparatus 10 may be configured by distributed processing of a plurality of computers connected via a network.

本実施例の地図データ生成装置10は、既存の地図データを利用して、新たな地図データを生成する機能を奏する。予め地図データとして、拡大図の表示用に詳細な地形または地物形状を表したポリゴン(以下、「詳細ポリゴン」と呼ぶ)が用意されているものとし、この詳細ポリゴンをデフォルメして、広域図の表示用に概略形状を表すポリゴン(以下、「概略ポリゴン」と呼ぶ)を生成するのである。地図データ生成装置には、この他にも道路ネットワークを生成するための機能や、新規にポリゴンを生成する機能など、多様な機能を備えることが可能であるが、図1では、デフォルメにより地図データを生成する機能に関連する部分のみを示した。   The map data generation device 10 of the present embodiment has a function of generating new map data using existing map data. It is assumed that polygons representing detailed topography or feature shapes (hereinafter referred to as “detailed polygons”) are prepared as map data in advance for displaying enlarged maps, and these detailed polygons are deformed to create a wide area map. For this display, a polygon representing a schematic shape (hereinafter referred to as “schematic polygon”) is generated. In addition to this, the map data generation device can have various functions such as a function for generating a road network and a function for generating a new polygon. In FIG. Only the part related to the function to generate is shown.

地図DB20は、階層的に用意された地図データを格納する。上位レベルとは、広域図を表示するための概略形状を表したデータ、即ち概略ポリゴンであり、下位レベルとは、拡大図を表示するための詳細な形状を表したデータ、即ち詳細ポリゴンである。地図DB20に備えられる地図データのレベル数は、表示時の縮尺および表示の処理時間に対する要請を考慮して、任意に設定可能である。   The map DB 20 stores map data prepared hierarchically. The upper level is data representing a schematic shape for displaying a wide area map, that is, a schematic polygon, and the lower level is data representing a detailed shape for displaying an enlarged map, that is, a detailed polygon. . The number of levels of map data provided in the map DB 20 can be arbitrarily set in consideration of a request for the scale at the time of display and the processing time of display.

地図DB参照部16は、地図DB20を参照し、デフォルメの処理対象となるポリゴンを抽出する。デフォルメ処理部15は、この抽出されたポリゴンのデフォルメ処理を実行する。処理の詳細な内容については後述する。デフォルメDB21はこのデフォルメ処理の設定条件をデータベースとして保持している。ボロノイ分割部12は、デフォルメ処理部15からの指示に従って、ポリゴンのデフォルメ処理の過程で用いられるボロノイ分割を実行し、その結果をデフォルメ処理部15に受け渡す。デフォルメDB21には、併せて、デフォルメ処理過程における種々のデータを格納してもよい。   The map DB reference unit 16 refers to the map DB 20 and extracts a polygon to be deformed. The deformation processing unit 15 executes deformation processing of the extracted polygon. Details of the processing will be described later. The deformation DB 21 holds the setting conditions for the deformation processing as a database. The Voronoi division unit 12 executes Voronoi division used in the process of polygon deformation processing in accordance with an instruction from the deformation processing unit 15, and passes the result to the deformation processing unit 15. In addition, various data in the deformation process may be stored in the deformation DB 21.

デフォルメ修正部14は、デフォルメ処理された結果に対して、オペレータからのコマンドに応じて、種々の修正を加える。デフォルメ処理部15による処理結果に対して、修正や確認の必要性がないと考えられる場合には、デフォルメ修正部14は省略してもよい。デフォルメDB21は、デフォルメ修正処理の設定条件も併せて保持している。   The deformation correction unit 14 applies various corrections to the result of the deformation process according to commands from the operator. When it is considered that there is no need to correct or confirm the processing result by the deformation processing unit 15, the deformation correction unit 14 may be omitted. The deformation DB 21 also holds setting conditions for deformation correction processing.

表示制御部13は、以上で説明したデフォルメ処理に際して、デフォルメされた結果の表示やデフォルメの条件その他を入力するためのインタフェース画面を提示する。コマンド入力部11は、キーボードやマウスに対する操作を介して、オペレータからのコマンドを入力する。   The display control unit 13 presents an interface screen for inputting the display of the deformed result, the conditions of the deformation, and the like during the deformation process described above. The command input unit 11 inputs a command from an operator through an operation on a keyboard and a mouse.

B.デフォルメ処理:
図2は河川ポリゴンのデフォルメ処理例を示す説明図である。左側に、詳細ポリゴンを示し、右側に概略ポリゴンを示した。河川ポリゴンには、それぞれハッチングを付した。本来ならば、概略ポリゴンは広域図に用いられるものであるため、詳細ポリゴンよりも小さいサイズで描かれるものであるが、ここでは説明の便宜上、同じサイズで示した。
B. Deformation processing:
FIG. 2 is an explanatory diagram showing an example of deformation processing of river polygons. Detailed polygons are shown on the left, and schematic polygons are shown on the right. Each river polygon is hatched. Originally, the outline polygon is used in a wide area map, so it is drawn with a size smaller than that of the detailed polygon.

地図データ生成装置は、詳細ポリゴンにおいて楕円で囲んだ領域のように、河川が比較的狭く描かれている箇所を、線で表すことによって概略ポリゴンを生成する。このように、ポリゴンを線で置換する処理を縮退(処理)と呼ぶ。以下では、この処理の内容について説明する。   The map data generation device generates a schematic polygon by representing a portion where a river is drawn relatively narrowly, such as a region surrounded by an ellipse in a detailed polygon, with a line. In this way, the process of replacing a polygon with a line is called degeneration (processing). Below, the content of this process is demonstrated.

図3はデフォルメ処理のフローチャートである。デフォルメ処理部15(図1参照)が他の機能ブロックと協同して実現する処理であり、ハードウェア的には地図データ生成装置のCPUが実行する処理である。   FIG. 3 is a flowchart of the deformation process. The deformation processing unit 15 (see FIG. 1) is a process realized in cooperation with other functional blocks, and is a process executed by the CPU of the map data generation device in terms of hardware.

処理が開始されると、CPUは地図DB20を用いて地図を表示し、処理対象ポリゴンの指定を入力する(ステップS10)。処理対象ポリゴンの指定は、例えば、地図上でオペレータがマウス等でクリックする方法や、処理対象とすべき河川の名称などを入力する方法を採ることができる。   When processing is started, the CPU displays a map using the map DB 20, and inputs designation of a processing target polygon (step S10). The processing target polygon can be specified by, for example, a method in which an operator clicks on the map with a mouse or the like, or a method of inputting the name of a river to be processed.

次に、CPUはボロノイ分割に使用する母点を設定する(ステップS20)。図中に母点の設定方法を例示した。河川ポリゴンPOLの形状は、黒丸で示した点P1、P2等(以下、「ポリゴン構成点」と呼ぶ)によって規定されているとする。第1にこれらのポリゴン構成点P1、P2等は、そのまま母点となる。そして、CPUは、ポリゴン構成点P1、P2等の間を等分割して生成点Pm1、Pm2を生成する。図中の例では3等分して生成点を生成するものとした。これらの生成点も母点となる。   Next, the CPU sets a generating point used for Voronoi division (step S20). The method for setting the generating points is illustrated in the figure. The shape of the river polygon POL is defined by points P1, P2, etc. (hereinafter referred to as “polygon constituent points”) indicated by black circles. First, these polygon composing points P1, P2, etc. are used as mother points as they are. Then, the CPU generates the generation points Pm1, Pm2 by equally dividing the polygon composing points P1, P2, etc. In the example in the figure, the generation points are generated by dividing into three equal parts. These generation points are also generating points.

母点は、上述の方法によらず、種々の方法で生成可能である。例えば、母点間の距離が所定値以下となるように、各ポリゴン構成点P1,P2等の間ごとに分割数を設定してもよい。ポリゴン構成点のみを母点として設定してもよいし、生成点のみを母点として設定してもよい。   The generating point can be generated by various methods regardless of the method described above. For example, the number of divisions may be set for each polygon constituting point P1, P2, etc. so that the distance between the mother points is equal to or less than a predetermined value. Only polygon composing points may be set as generating points, or only generated points may be set as generating points.

こうして設定された母点を利用して、CPUはポリゴンPOLを分割して、ボロノイ多角形を生成する処理を実行する(ステップS30)。ボロノイ多角形への分割処理は、計算幾何学で周知の処理なので、詳細な説明は省略する。図中に、ボロノイ多角形の処理例を示した。この処理によって、ボロノイ多角形の頂点が多数規定されることになる。   Using the mother point set in this way, the CPU divides the polygon POL and executes a process for generating a Voronoi polygon (step S30). Since the process of dividing into Voronoi polygons is a well-known process in computational geometry, a detailed description is omitted. In the figure, an example of Voronoi polygon processing is shown. By this processing, many vertices of the Voronoi polygon are defined.

CPUは、ボロノイ多角形の頂点の中から、予め設定された縮退条件に基づき、縮退処理に用いるべき頂点を選択し(ステップS40)、これらの頂点を結ぶとともに、選択された頂点に対応するポリゴン構成点を削除することで縮退処理を行う(ステップS50)。図中の例では、例えば、CPUは、ポリゴン構成点P4,P7よりも右側の破線で示した領域Aについては、縮退処理を施すべきではないと判断し、これよりも左側の領域についてのみ縮退処理を施すのである。この処理の結果、図中に示すように、ポリゴンPOLは、ポリゴンPOL1と折れ線CLから表されることになる。縮退処理の対象となるべき頂点を選択するための縮退条件については、後述する。   The CPU selects vertices to be used for the reduction process from the voronoi polygon vertices based on a preset reduction condition (step S40), connects these vertices, and also corresponds to the selected vertex. Degeneration processing is performed by deleting the constituent points (step S50). In the example in the figure, for example, the CPU determines that the reduction process should not be performed for the area A indicated by the broken line on the right side of the polygon composing points P4 and P7, and only the area on the left side of this is reduced. Process it. As a result of this processing, as shown in the figure, the polygon POL is represented by the polygon POL1 and the polygonal line CL. A degeneration condition for selecting a vertex to be subjected to degeneration processing will be described later.

こうして生成された折れ線CLは、図中に示す通り、非常に凹凸が激しい形状となるのが通常である。CPUは、このような折れ線CL上の点をリサンプリングして、平滑化し(ステップS60)、処理を完了する。リサンプリングとは、図中に「■」で示すように、折れ線CLの点列よりも粗い間隔で折れ線CL上の点を抽出することを言う。こうして抽出された点(図中の「■」)を結ぶことにより、折れ線CLを平滑化することができる。   As shown in the figure, the polygonal line CL generated in this way usually has an extremely uneven shape. The CPU resamples and smooths such points on the polygonal line CL (step S60), and completes the process. Resampling means extracting points on the polygonal line CL at an interval coarser than the point line of the polygonal line CL, as indicated by “■” in the figure. By connecting the points thus extracted (“■” in the figure), the broken line CL can be smoothed.

B1.ボロノイ分割:
図4はボロノイ分割の処理例を示す説明図である。図中のハッチングを付した部分が河川である。先に説明した通り、河川のポリゴンの輪郭上に、黒丸で示す母点を設定して、ボロノイ分割を施すことにより、実線で示す多数のボロノイ多角形が得られる。
B1. Voronoi split:
FIG. 4 is an explanatory diagram showing an example of Voronoi division processing. The hatched parts in the figure are rivers. As described above, a large number of Voronoi polygons indicated by solid lines can be obtained by setting the generating points indicated by black circles on the contours of river polygons and performing Voronoi division.

B2.頂点選択:
図5は縮退処理の対象となる頂点の選択方法および結果を示す説明図である。本実施例では、次の条件を縮退条件として設定した。この縮退条件は、予めデフォルメDB(図1参照)に登録されている。
(条件1)ポリゴンの内側に存在する点であること;
(条件2)母点までの最小距離が所定値以下であること;
所定値は、「河川幅の半分+実数α」とした。河川幅は、オペレータが入力するものとしてもよいが、本実施例では地図DBに予め属性として登録されている値を用いるものとした。実数αは、河川幅の値に対する余裕であり、任意に設定可能である。所定値は、「河川幅の半分×係数」の形で設定するようにしてもよい。
B2. Vertex selection:
FIG. 5 is an explanatory diagram showing a method for selecting vertices to be subjected to the reduction process and a result thereof. In this embodiment, the following conditions are set as the degeneration conditions. This degeneration condition is registered in advance in the deformation DB (see FIG. 1).
(Condition 1) A point existing inside the polygon;
(Condition 2) The minimum distance to the generating point is not more than a predetermined value;
The predetermined value was “half of the river width + real number α”. The river width may be input by an operator, but in this embodiment, a value registered in advance in the map DB as an attribute is used. The real number α is a margin for the value of the river width, and can be set arbitrarily. The predetermined value may be set in the form of “half the river width × coefficient”.

ここでは、河川幅が図中の楕円で囲んだ領域A1内の河川ポリゴンの平均幅と同等であるものとして説明をする。図中の頂点P1の場合、最も近い母点までの距離は図中のd1と求まる。頂点P1は河川ポリゴンの内部の点なので条件1は満足し、距離d1が所定値以下であれば、頂点P1は縮退処理の対象として選択される。これに対し、例えば、頂点P2は、母点までの距離d2が所定値よりも大きいため、選択されない。このように、上述の条件2を設けることにより、頂点P2のように、河川ポリゴンの縁線から遠くにある頂点は、縮退の対象から除かれることになる。この処理によって、楕円領域A1,A2,A3内に白丸で付した頂点が縮退処理の対象として選択される。図中では、縮退処理によって得られる折れ線、即ち、選択された頂点を結んだ折れ線を太線で併せて示した。   Here, the description will be made on the assumption that the river width is equal to the average width of the river polygons in the region A1 surrounded by the ellipse in the drawing. In the case of the vertex P1 in the figure, the distance to the nearest mother point is obtained as d1 in the figure. Since the vertex P1 is a point inside the river polygon, the condition 1 is satisfied, and if the distance d1 is equal to or less than a predetermined value, the vertex P1 is selected as a target for the degeneration process. On the other hand, for example, the vertex P2 is not selected because the distance d2 to the mother point is larger than a predetermined value. As described above, by providing the above-described condition 2, a vertex far from the edge of the river polygon, such as the vertex P2, is excluded from the object of degeneration. By this process, the vertices marked with white circles in the elliptical areas A1, A2, and A3 are selected as the target of the reduction process. In the drawing, the broken line obtained by the reduction process, that is, the broken line connecting the selected vertices is also shown by a bold line.

上述の選択処理では、所定値の基準となる河川幅を別途入力または登録してあるものとして説明した。これに対し、河川幅は、例えば、次の方法で河川ポリゴンから算出するようにしてもよい。まず、母点Mに対して、その周囲の母点との距離L1、L2、L3を求める。この中から、母点Mと、ポリゴンの同一縁線上にない点を選択し、その距離を母点Mにおける河川幅とする。図の例では、距離L3が河川幅として設定されることになる。この処理を、全母点について実行し、河川ポリゴンの河川幅を、各母点について求められた値の最大値、最小値、平均値などの代表値で設定する。こうすることにより、予め河川幅等が入力または登録されていない場合でも、頂点の選択を行うことが可能となる。   In the above-described selection process, it has been described that the river width serving as a reference for the predetermined value is separately input or registered. On the other hand, the river width may be calculated from the river polygon by the following method, for example. First, distances L1, L2, and L3 of the generating point M from the surrounding generating points are obtained. From this, a point that is not on the same edge line of the polygon point M and the polygon is selected, and the distance is set as the river width at the mother point M. In the example of the figure, the distance L3 is set as the river width. This process is executed for all generating points, and the river width of the river polygon is set with representative values such as the maximum value, minimum value, and average value of the values obtained for each generating point. This makes it possible to select vertices even when the river width or the like is not input or registered in advance.

本実施例では、図5で説明した条件に基づく選択に加えて、更に、次の条件3を付加して頂点を選択するものとした。
(条件3)縮退処理によって得られる折り線の長さが所定長以上であること;
所定長は、任意に設定可能である。本実施例では、図中の領域A1の折れ線と、領域A2,A3の折れ線との間で設定した。つまり、本実施例では、領域A1の頂点は縮退処理の対象として選択され、領域A2、A3内の頂点は除外されることになる。条件3を用いることにより、縮退によって無用に短い線分が多数生成されることにより、形状がかえって複雑化することを回避することができる。条件3は、折れ線の長さに基づいて設定する他、折れ線に含まれる頂点数に基づいて設定してもよい。
In this embodiment, in addition to the selection based on the conditions described in FIG. 5, the following condition 3 is further added to select the vertex.
(Condition 3) The length of the folding line obtained by the degeneration process is not less than a predetermined length;
The predetermined length can be arbitrarily set. In the present embodiment, it is set between the polygonal line in the area A1 and the polygonal lines in the areas A2 and A3 in the drawing. That is, in this embodiment, the vertices in the area A1 are selected as the target of the degeneration process, and the vertices in the areas A2 and A3 are excluded. By using Condition 3, it is possible to avoid complicated shapes due to the generation of many unnecessary short line segments due to degeneration. Condition 3 may be set based on the number of vertices included in the broken line, in addition to being set based on the length of the broken line.

折れ線によっては、条件1または2で縮退処理対象からはずされた頂点が、途中に1〜2個程度存在することによって、折れ線の長さが条件3を満たさなくなる場合が起こりうる。このような折れ線が縮退処理の対象からはずれることを回避するため、次の処理を施しても良い。まず、折れ線間で脱落している頂点数が所定値(例えば、2個程度)以下となる折れ線群の有無を検出する。このような折れ線群が発見された場合には、その折れ線群を対象として、条件2の所定値を段階的に大きくし、折れ線が連続となるか否かを判定する。条件2の所定値を予め決められた範囲で大きくすることで折れ線が連続となる場合には、脱落していた頂点を縮退対象として選択し、連続した折れ線に基づいて条件3を具備するか否かを判定する。条件2の所定値を予め決められた範囲で大きくしても、折れ線が連続とならない場合には、当初の折れ線で条件3を具備するか否かを判定する。この処理を施すことによって、些細な条件不備によって縮退対象から除かれる頂点を減らすことができ、概略ポリゴン生成の適正化を図ることができる。条件2,3を用いるまでなく、上述の折れ線群を無条件に連続化させてもよい。   Depending on the polygonal line, there may be a case where the length of the polygonal line does not satisfy the condition 3 due to the presence of about one or two vertices that are removed from the reduction processing target in the condition 1 or 2. In order to avoid such a broken line being deviated from the target of the degeneration process, the following process may be performed. First, the presence / absence of a broken line group in which the number of vertices dropped between broken lines is equal to or less than a predetermined value (for example, about 2) is detected. When such a line group is found, the predetermined value of Condition 2 is increased stepwise for the line group, and it is determined whether or not the line is continuous. If the polygonal line becomes continuous by increasing the predetermined value of condition 2 within a predetermined range, whether or not the dropped vertex is selected as a degeneration target and condition 3 is satisfied based on the continuous polygonal line Determine whether. Even if the predetermined value of condition 2 is increased within a predetermined range, if the broken line is not continuous, it is determined whether or not condition 3 is satisfied in the initial broken line. By performing this process, it is possible to reduce the number of vertices that are excluded from the degeneration target due to minor inadequacy, and it is possible to optimize the generation of outline polygons. Needless to say, conditions 2 and 3 may be used, and the above-mentioned broken line group may be continued unconditionally.

図6は概略ポリゴンの生成結果を示す説明図である。図5で示した領域Aについてのみ縮退処理が施され、その他の部分は詳細ポリゴン形状が維持されている。詳細ポリゴンからは、縮退処理時に選択された頂点を含むボロノイ多角形内の構成点が削除される。このように、実施例で説明したデフォルメ処理によれば、河川のように広幅の部分、狭幅の部分が混在するポリゴンに対しても、いびつな形状を招くことなく概略ポリゴンを生成することができる。上述の処理中で示した条件2の所定値や、条件3の所定長の設定により、多レベルに応じた概略ポリゴンを生成することが可能である。   FIG. 6 is an explanatory diagram showing a result of generating a schematic polygon. Only the area A shown in FIG. 5 is subjected to the reduction process, and the detailed polygon shape is maintained in the other portions. From the detail polygon, the constituent points in the Voronoi polygon including the vertex selected at the time of the reduction process are deleted. As described above, according to the deformation process described in the embodiment, a rough polygon can be generated without causing an irregular shape even for a polygon having a wide portion and a narrow portion such as a river. it can. By setting the predetermined value of condition 2 and the predetermined length of condition 3 shown in the above process, it is possible to generate a schematic polygon corresponding to multiple levels.

C.前処理:
図7は変形例としてのデフォルメ処理のフローチャートである。第1実施例では、河川ポリゴンから縮退対象となる頂点を自動的に選択する例を示した。変形例では、前処理としてデフォルメの対象となる領域をオペレータが指定する例を示す。
C. Preprocessing:
FIG. 7 is a flowchart of a deformation process as a modification. In the first embodiment, an example is shown in which vertices to be reduced are automatically selected from river polygons. In the modification, an example is shown in which the operator specifies a region to be deformed as preprocessing.

処理が開始されると、CPUは画面上に、地図を表示し、処理対象ポリゴンの指定を入力する(ステップS10A)。図中に表示画面DISPを示した。図の中央のハッチングを付したポリゴンRVは河川を表している。オペレータは、この表示画面DISP上で、マウスなどのポインティングデバイスにより、処理対象として枠Zの領域を指定することができる。地図データ生成装置は、河川ポリゴンRVのうち、枠Z内にある範囲を処理対象として認識する。   When the processing is started, the CPU displays a map on the screen and inputs the designation of the processing target polygon (step S10A). The display screen DISP is shown in the figure. A polygon RV with hatching in the center of the figure represents a river. The operator can designate an area of the frame Z as a processing target on the display screen DISP with a pointing device such as a mouse. The map data generation device recognizes a range in the frame Z in the river polygon RV as a processing target.

CPUは、次に、河川ポリゴンRVに基づき、指定された領域からなるデフォルメ用の仮想ポリゴンを生成する(ステップS11A)。つまり、河川ポリゴンRVのうち、枠Z内にある範囲を、仮想ポリゴンとして切り出す。   Next, based on the river polygon RV, the CPU generates a deformed virtual polygon composed of the designated area (step S11A). That is, the range within the frame Z in the river polygon RV is cut out as a virtual polygon.

こうして設定された仮想ポリゴンを対象として、CPUは実施例のデフォルメ処理(図3参照)のステップS20以降の処理を実行する。つまり、母点生成、ボロノイ分割、頂点の選択、および縮退処理、リサンプリングによる平滑化の各処理を行うのである。この処理過程では、実施例と同様、条件1〜3に基づいて縮退対象となるべき頂点が選択される。   For the virtual polygon set in this way, the CPU executes the processing after step S20 of the deformation processing (see FIG. 3) of the embodiment. That is, each process of generating a mother point, Voronoi division, vertex selection, degeneration processing, and smoothing by resampling is performed. In this process, as in the embodiment, vertices to be degenerated are selected based on conditions 1 to 3.

変形例では、縮退処理に先立って、処理対象となる領域をオペレータが指定することができる。この処理により、一見して縮退処理が不要と考えられる領域を除外することができる。従って、概略ポリゴンを生成するデフォルメ処理の負荷を軽減することが可能となる。   In the modification, the operator can specify an area to be processed prior to the reduction process. By this process, it is possible to exclude an area that seems to be unnecessary for the degeneration process. Therefore, it is possible to reduce the load of deformation processing for generating a schematic polygon.

変形例では、実施例と同様の条件によって頂点を選択する場合を例示した。変形例では、オペレータが処理対象となる領域を指定するため、頂点の抽出処理(図3のステップ40)を省略してもよい。   In the modification, the case where the vertex is selected under the same conditions as in the embodiment is illustrated. In the modified example, the vertex extraction process (step 40 in FIG. 3) may be omitted because the operator designates a region to be processed.

D.後処理:
図8はデフォルメ修正処理のフローチャートである。デフォルメ処理(図3および図7参照)が施された後の概略ポリゴンに対する修正を行うための後処理である。
D. Post-processing:
FIG. 8 is a flowchart of the deformation correction process. This is post-processing for correcting the general polygon after the deformation processing (see FIGS. 3 and 7) is performed.

処理が開始されると、CPUはデフォルメ処理前後の地図データを読込み、両者を重ねて表示する(ステップS100)。図中に表示例を示した。ハッチングの部分は河川ポリゴンを示している。説明の便宜上、図5中の領域A1〜A3全てについて縮退処理が施された状態を例示した。   When the process is started, the CPU reads the map data before and after the deformation process and displays both of them in a superimposed manner (step S100). A display example is shown in the figure. The hatched area shows the river polygon. For convenience of explanation, the state in which the reduction process is performed on all the regions A1 to A3 in FIG. 5 is illustrated.

オペレータが、この表示画面上で、要縮退箇所、縮退不要箇所をそれぞれ指定すると、地図データ生成装置は、その指定を受け付ける(ステップS110)。図中の例において、例えば、オペレータが、縮退処理で得られた線CL1だけでは不十分と判断した場合には、この線分CL1に続く領域Zaを要縮退箇所として指定する。逆に、縮退処理不要と判断した箇所に対しては、例えば、領域Zb、Zcのように縮退結果として得られた線分を取り囲む領域を指定する。   When the operator designates a required reduction location and a reduction unnecessary location on the display screen, the map data generation device accepts the designation (step S110). In the example in the figure, for example, when the operator determines that the line CL1 obtained by the reduction process is not sufficient, the area Za following the line segment CL1 is designated as a required reduction point. On the other hand, for a portion that is determined not to be reduced, a region surrounding a line segment obtained as a reduction result, such as regions Zb and Zc, is designated.

これらの指定を受けると、CPUは、指定された箇所を対象としてデフォルメ処理を実行する(ステップS120)。例えば、領域Zaに対して、再度デフォルメ処理を行う。この際、従前の処理と同じ結果が得られるのを回避するため、例えば、頂点を抽出する際の条件1〜3で用いられる所定値、所定長を段階的に緩くしたり、いずれか一つの条件を削除するなどの措置を施すことが好ましい。この処理と併せて、CPUは縮退不要箇所として指定された領域については、従前のポリゴンに戻す処理を実行する。   Upon receiving these designations, the CPU executes a deformation process for the designated location (step S120). For example, the deformation process is performed again on the area Za. At this time, in order to avoid obtaining the same result as the previous processing, for example, the predetermined value and the predetermined length used in the conditions 1 to 3 when extracting the vertices are gradually reduced, or any one of them It is preferable to take measures such as deleting the condition. In addition to this process, the CPU executes a process for returning to the previous polygon for the area designated as the degeneration unnecessary portion.

CPUは、オペレータが終了を指定するまで(ステップS130)、以上の処理を繰り返し実行する。この処理を施すことにより、よりオペレータの意図に沿った形で概略ポリゴンを生成させることが可能となる。   The CPU repeatedly executes the above processing until the operator designates termination (step S130). By performing this processing, it is possible to generate a schematic polygon in a form more in line with the operator's intention.

E.変形例:
図9は変形例としてのデフォルメ処理を示す説明図である。図4〜6で用いた河川ポリゴンに対する処理を例示している。変形例のデフォルメ処理では、実施例と同様にして、ボロノイ分割の頂点(図中の白丸)を選択し、この頂点を含むボロノイ多角形内の構成点を選択する。そして、これらの構成点を、削除すべきものと、残すべきものとに分ける。図の例では、選択された頂点(図中の白丸)を結ぶ線分よりも右側に位置する構成点(領域B1内の構成点)を残すべきものとして選択し、左側の構成点を削除すべきものとした。デフォルメ処理では、こうして残された構成点を線分で結ぶことによって、折れ線L1を定義し、河川ポリゴンの一部を線分化する。この処理を線分化処理と呼ぶものとする。
E. Variations:
FIG. 9 is an explanatory view showing deformation processing as a modification. The process with respect to the river polygon used by FIGS. 4-6 is illustrated. In the deformation process of the modified example, as in the embodiment, the vertex of the Voronoi division (white circle in the figure) is selected, and the constituent point in the Voronoi polygon including this vertex is selected. These constituent points are divided into those to be deleted and those to be left. In the example shown in the figure, the constituent point located on the right side of the line connecting the selected vertices (white circles in the figure) (the constituent point in the region B1) is selected to be left, and the left constituent point should be deleted. It was kimono. In the deforming process, a polygonal line L1 is defined by connecting the remaining constituent points with line segments, and a part of the river polygon is linearized. This process is called a line differentiation process.

変形例の線分化処理によれば、簡易な方法で線分化を実現することができる。また、図9に示すように、河川ポリゴンの辺を定義していた構成点を選択することにより、辺の一部を残す形で線分化が行われることとなる。こうして得られた線分は、十分になめらかであるためリサンプリングによる平滑化(図3のステップS60参照)を省略することができる利点がある。変形例の線分化処理と実施例の縮退処理は、併用することも可能であり、例えば、デフォルメ処理の対象として選択された領域の幅に応じて、両者を使い分けるようにしてもよい。   According to the line differentiation process of the modified example, line differentiation can be realized by a simple method. Also, as shown in FIG. 9, by selecting the constituent points that have defined the sides of the river polygon, line differentiation is performed in a form that leaves some of the sides. Since the line segment obtained in this way is sufficiently smooth, there is an advantage that smoothing by resampling (see step S60 in FIG. 3) can be omitted. The line differentiation process according to the modification and the reduction process according to the embodiment may be used in combination. For example, the line differentiation process and the reduction process according to the embodiment may be used depending on the width of the region selected as the target of the deformation process.

デフォルメ処理の他の態様を図中の領域B2に示した。実施例では、処理対象となる頂点を選択する際に、「(条件1)ポリゴンの内側に存在する点であること」という条件を考慮していた。変形例では、この条件を外して頂点を選択する。この結果、領域B2に示すように河川ポリゴンの凹部を構成する構成点も処理対象として選択される可能性が生じる。変形例では、こうして選択された構成点を削除する。この結果、図中の線分L2で示すように、凹部も河川ポリゴン内に取り込んだ簡易な形状の概略ポリゴンを得ることができる。この処理では、本来、陸地であった部分を河川として表現することになるため、この領域内に地物が存在する場合には処理の実行を回避した方が好ましい場合もある。従って、この処理の実行に際し、オペレータの確認を取るような態様としてもよい。   Another aspect of the deformation process is shown in a region B2 in the figure. In the embodiment, when selecting a vertex to be processed, the condition “(Condition 1) a point existing inside a polygon” is considered. In the modification, this condition is removed and the vertex is selected. As a result, as shown in the region B2, there is a possibility that the constituent points that form the concave portions of the river polygon are also selected as processing targets. In the modified example, the constituent point thus selected is deleted. As a result, as shown by the line segment L2 in the figure, it is possible to obtain a simple polygon having a simple shape with the concave portion taken into the river polygon. In this process, the portion that was originally land was expressed as a river, and therefore it may be preferable to avoid the execution of the process when there is a feature in this area. Therefore, it is good also as an aspect which takes an operator's confirmation when performing this process.

以上、本発明の種々の実施例について説明したが、本発明はこれらの実施例に限定されず、その趣旨を逸脱しない範囲で種々の構成を採ることができることはいうまでもない。上述の例では、河川ポリゴンの処理を例示したが、本実施例は、種々のポリゴンの処理に適用可能である。例えば、等高線で色分けして地図を表示する際に、各等高線に対応したポリゴンのデフォルメに適用してもよい。また、海岸線などのデフォルメに適用してもよい。   As mentioned above, although the various Example of this invention was described, it cannot be overemphasized that this invention is not limited to these Examples, and can take a various structure in the range which does not deviate from the meaning. In the above example, the processing of river polygons is illustrated, but the present embodiment can be applied to processing of various polygons. For example, when displaying a map by color-coding with contour lines, it may be applied to the deformation of the polygon corresponding to each contour line. Moreover, you may apply to deformations, such as a coastline.

実施例としての地図データ生成装置10の概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the map data generation apparatus 10 as an Example. 河川ポリゴンのデフォルメ処理例を示す説明図である。It is explanatory drawing which shows the deformation process example of a river polygon. デフォルメ処理のフローチャートである。It is a flowchart of a deformation process. ボロノイ分割の処理例を示す説明図である。It is explanatory drawing which shows the example of a process of Voronoi division | segmentation. 変形処理の対象となる頂点の選択方法および結果を示す説明図である。It is explanatory drawing which shows the selection method and result of the vertex used as the object of a deformation | transformation process. 概略ポリゴンの生成結果を示す説明図である。It is explanatory drawing which shows the production | generation result of a rough polygon. 変形例としてのデフォルメ処理のフローチャートである。It is a flowchart of deformation processing as a modification. デフォルメ修正処理のフローチャートである。It is a flowchart of a deformation correction process. 変形例としてのデフォルメ処理を示す説明図である。It is explanatory drawing which shows the deformation process as a modification.

符号の説明Explanation of symbols

10…地図データ生成装置
11…コマンド入力部
12…ボロノイ分割部
13…表示制御部
14…デフォルメ修正部
15…デフォルメ処理部
16…地図DB参照部
20…地図DB
DESCRIPTION OF SYMBOLS 10 ... Map data generation apparatus 11 ... Command input part 12 ... Voronoi division part 13 ... Display control part 14 ... Deformation correction part 15 ... Deformation process part 16 ... Map DB reference part 20 ... Map DB

Claims (3)

拡大図用に用意され地形の詳細形状を表示可能な詳細ポリゴンから、広域図用に概略形状を表示するための概略ポリゴンを生成する地図データ生成装置であって、
前記詳細ポリゴンを入力するデータ入力部と、
前記詳細ポリゴンを構成する構成点、および前記詳細ポリゴンの辺上に所定の条件で生成される生成点から、ボロノイ分割の母点を設定する母点設定部と、
前記母点に基づき、前記詳細ポリゴンをボロノイ分割するボロノイ分割部と、
前記ボロノイ分割によって得られた頂点から母点までの距離に基づいて、前記詳細ポリゴンの構成点のうち次に行う変形処理の対象となるべき構成点を選択する構成点選択部と、
前記選択された構成点の少なくとも一部を削除して前記詳細ポリゴンを変形させる変形処理を実行し、前記概略ポリゴンを生成する変形処理部とを有する地図データ生成装置。
A map data generation device for generating a schematic polygon for displaying a schematic shape for a wide area map from a detailed polygon prepared for an enlarged map and capable of displaying a detailed shape of a terrain,
A data input unit for inputting the detailed polygon;
A generating point setting unit for setting a generating point of Voronoi division from a component point that forms the detailed polygon and a generation point that is generated on a side of the detailed polygon under a predetermined condition;
A Voronoi dividing unit for dividing the detailed polygon into Voronoi based on the generating point;
Based on the distance from the vertex to the mother point obtained by the Voronoi division, a component point selection unit that selects a component point to be subjected to a deformation process to be performed next among the component points of the detailed polygon,
A map data generation device comprising: a deformation processing unit that deletes at least a part of the selected constituent points and deforms the detailed polygon to generate the general polygon.
請求項1記載の地図データ生成装置であって、The map data generation device according to claim 1,
前記変形処理部は、前記選択された構成点のうち一部を削除した残りの構成点を用いて、前記詳細ポリゴンの少なくとも一部を、折れ線で表現する線分化処理を実行する地図データ生成装置。The deformation processing unit is a map data generation device that executes a line segmentation process for expressing at least a part of the detailed polygon with a polygonal line by using the remaining constituent points from which a part of the selected constituent points is deleted. .
拡大図用に用意され地形の詳細形状を表示可能な詳細ポリゴンから、広域図用に概略形状を表示するための概略ポリゴンを生成する地図データ生成方法であって、A map data generation method for generating a schematic polygon for displaying a schematic shape for a wide-area map from a detailed polygon prepared for an enlarged map and capable of displaying a detailed shape of a terrain,
コンピュータが実行する工程として、As a process executed by the computer,
前記詳細ポリゴンを入力するデータ入力工程と、A data input step for inputting the detailed polygon;
前記詳細ポリゴンを構成する構成点、および前記詳細ポリゴンの辺上に所定の条件で生成される生成点から、ボロノイ分割の母点を設定する母点設定工程と、A generating point setting step for setting a generating point of a Voronoi division from a component point forming the detailed polygon and a generation point generated on a side of the detailed polygon under a predetermined condition;
前記母点に基づき、前記詳細ポリゴンをボロノイ分割するボロノイ分割工程と、A Voronoi dividing step for Voronoi dividing the detailed polygon based on the generating point;
前記ボロノイ分割によって得られた頂点から母点までの距離に基づいて、前記詳細ポリゴンの構成点のうち次に行う変形処理の対象となるべき構成点を選択する構成点選択工程と、Based on the distance from the vertex to the mother point obtained by the Voronoi division, a component point selection step of selecting a component point to be subjected to a deformation process to be performed next among the component points of the detailed polygon;
前記選択された構成点の少なくとも一部を削除して前記詳細ポリゴンを変形させる変形処理を実行し、前記概略ポリゴンを生成する変形処理工程とを有する地図データ生成方法。A map data generation method comprising: a deformation process step of generating a rough polygon by executing a deformation process of deforming the detailed polygon by deleting at least a part of the selected constituent points.
JP2005313574A 2005-10-27 2005-10-27 Map data generation apparatus and generation method Expired - Fee Related JP5010134B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005313574A JP5010134B2 (en) 2005-10-27 2005-10-27 Map data generation apparatus and generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005313574A JP5010134B2 (en) 2005-10-27 2005-10-27 Map data generation apparatus and generation method

Publications (2)

Publication Number Publication Date
JP2007121668A JP2007121668A (en) 2007-05-17
JP5010134B2 true JP5010134B2 (en) 2012-08-29

Family

ID=38145578

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005313574A Expired - Fee Related JP5010134B2 (en) 2005-10-27 2005-10-27 Map data generation apparatus and generation method

Country Status (1)

Country Link
JP (1) JP5010134B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5775042B2 (en) * 2012-09-07 2015-09-09 ヤフー株式会社 Information processing apparatus, method, and computer program
JP6060646B2 (en) 2012-11-27 2017-01-18 株式会社デンソー Map display device and map display system
KR101644854B1 (en) * 2014-11-19 2016-08-12 주식회사 픽스 Area designating method
JP2016191777A (en) * 2015-03-31 2016-11-10 株式会社ゼンリン Map display device, map display method, computer program and recording medium
CN106652756A (en) * 2015-11-03 2017-05-10 圆通速递有限公司 Polygon accurate drawing method based on electronic map and application method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04277788A (en) * 1991-03-06 1992-10-02 Fujitsu Ltd Preparation system for small contraction scale map
JP3372910B2 (en) * 1999-10-14 2003-02-04 株式会社ゼンリン Apparatus and method for creating polygon road network data
JP2003132353A (en) * 2001-10-29 2003-05-09 Pasuko:Kk Center line generator
JP4658503B2 (en) * 2004-03-29 2011-03-23 株式会社ゼンリン Simplified map making device, simplified map making method and computer program

Also Published As

Publication number Publication date
JP2007121668A (en) 2007-05-17

Similar Documents

Publication Publication Date Title
US11727163B2 (en) System and method for construction estimation using aerial images
US9430873B2 (en) Slice data generation device, slice data generation method, and non-transitory computer-readable storage medium storing computer program that causes computer to act as slice data generation device or to execute slice data generation method
KR100914218B1 (en) System and method for calculating loft surfaces using ?d scan data
JP3976363B2 (en) Automatic graphic pattern placement method and system
CN105528614B (en) A kind of recognition methods of the cartoon image space of a whole page and automatic recognition system
JP5010134B2 (en) Map data generation apparatus and generation method
JP2010055048A (en) Method for generating stroke-based font character for low-resolution display
US7116844B2 (en) Method for generating vector data for a hand-drawn curve
US6724946B1 (en) Image processing method, apparatus and storage medium therefor
JP4162670B2 (en) How to generate a silhouetted gray font
JP4928993B2 (en) Farm district drawing data creation system
EP2410487B1 (en) Method for automatically modifying a graphics feature to comply with a resolution limit
JP2008204179A (en) Document evaluation device, program and storage medium
JP2007256402A (en) Map data generating device
JP2015158737A (en) Image processor and image processing method
JP2003141567A (en) Three-dimensional city model generating device and method of generating three-dimensional city model
JP2010028429A (en) Image processing apparatus, image processing method, and program
JP5888989B2 (en) Image processing apparatus and image processing method
EP3797907A1 (en) Method and system of additive manufacturing contour-based hatching
JP7329951B2 (en) Image processing device and its control method
JP2005283687A (en) Simple map creating system
JP4435141B2 (en) Character recognition device, character recognition method, and character recognition program
JP4089924B2 (en) Image processing method and apparatus
JP3620658B2 (en) Mapping processing method
JPH07262385A (en) Outline data generator

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081003

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20081117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111101

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111216

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120601

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150608

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees