JP2009020364A - Map display device and map display method - Google Patents

Map display device and map display method Download PDF

Info

Publication number
JP2009020364A
JP2009020364A JP2007183661A JP2007183661A JP2009020364A JP 2009020364 A JP2009020364 A JP 2009020364A JP 2007183661 A JP2007183661 A JP 2007183661A JP 2007183661 A JP2007183661 A JP 2007183661A JP 2009020364 A JP2009020364 A JP 2009020364A
Authority
JP
Japan
Prior art keywords
attribute information
layer
cpu
map display
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.)
Pending
Application number
JP2007183661A
Other languages
Japanese (ja)
Inventor
Masahiro Hida
正宏 飛田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2007183661A priority Critical patent/JP2009020364A/en
Publication of JP2009020364A publication Critical patent/JP2009020364A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a map display device where processing speed is increased while suppressing the rise in CPU processing amount, and to provide a map display method. <P>SOLUTION: In the map display device 1, a CPU 11 associates attribute information on each layer of map data with identification information and registers it in an attribute information storage section 25, associates graphic data of each layer with the identification information corresponding to the attribute information on the graphic data and outputs it. A drawing processor 13 performs drawing processing on the basis of the attribute information on the attribute information storage section 25 related to the identification information from the CPU 11 and the graphic data of each layer outputted from the CPU 11. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、地図表示装置および地図表示方法に関し、特に、複数のレイヤーを有する地図データを表示するための地図表示装置および地図表示方法に関する。   The present invention relates to a map display device and a map display method, and more particularly to a map display device and a map display method for displaying map data having a plurality of layers.

従来より、カーナビゲーション装置等において地図表示が行われている。地図表示は、一般に、描画プロセッサを用いて行われる。描画プロセッサを用いる場合、属性情報(State)を設定した後に、複数の座標データを設定すると、描画プロセッサは、その設定された属性情報を利用して、複数の座標データに基づく描画を連続して行うことができる。すなわち、各図形の描画の度に属性情報の設定をする必要なく、描画プロセッサは、連続して複数の図形を描画することができる。   Conventionally, a map display is performed in a car navigation device or the like. The map display is generally performed using a drawing processor. When using a drawing processor, after setting attribute information (State) and then setting a plurality of coordinate data, the drawing processor continuously draws based on the plurality of coordinate data using the set attribute information. It can be carried out. In other words, the drawing processor can draw a plurality of figures continuously without having to set attribute information each time each figure is drawn.

このような属性情報の設定と、座標データの設定を組み合わせて行う方法は、例えば、「OpenGLプログラミングガイド 第2版」Person Education Japan p9に記述されている。その方法によれば、属性情報の設定の効果は、属性情報の変更がされるまで持続する。すなわち、設定された属性情報は、他の属性情報に設定の変更がされるまで有効とされ、描画される図形は、設定された属性情報に基づいて行われる。地図表示を行うための地図データにおいても、属性情報が描画図形毎に異なっている技術も提案されている(例えば、特許文献1参照)。   A method of combining such attribute information setting and coordinate data setting is described in, for example, “OpenGL Programming Guide Second Edition” Person Education Japan p9. According to the method, the effect of setting the attribute information lasts until the attribute information is changed. In other words, the set attribute information is valid until the setting is changed to other attribute information, and the figure to be drawn is performed based on the set attribute information. Also in the map data for performing map display, a technique in which attribute information is different for each drawing figure has been proposed (see, for example, Patent Document 1).

また、カーナビゲーション装置、GIS(地図情報システム)、DAS(配電自動化システム)等において地図の描画を行う場合は、任意の、位置及び倍率の地図データを読み出すために、図形データは、一般的にパーセル(parcel)等の名称で呼ばれる、地図を矩形で区切った単位で読み出される。さらに、各パーセルは、一般に、階層構造を有する複数のレイヤーで構成され、例えば最下位層のレイヤーに街路の図形を割り当て、その上のレイヤーに高速道路を割り当て、さらにその高速道路の図形のレイヤーの上のレイヤーに建物の図形を割り当てる、などのように、下位のレイヤーから上位のレイヤーの各レイヤーに順に、各描画図形が割り当てられる。各パーセルにおける図形の描画は、レイヤー毎に、属性情報を設定し、かつ座標データ等の図形データを設定することを、繰り返しながら行われる。すなわち、レイヤーが切り替る度に、属性情報の設定が行われる。   In addition, when drawing a map in a car navigation device, GIS (map information system), DAS (distribution automation system), etc., in order to read out map data at an arbitrary position and magnification, graphic data is generally The map is read in a unit called a parcel (parcel) or the like divided into rectangles. Furthermore, each parcel is generally composed of a plurality of layers having a hierarchical structure. For example, a street shape is assigned to the lowest layer, a highway is assigned to the upper layer, and the expressway shape layer is further assigned. Each drawing figure is assigned in order from the lower layer to each layer of the upper layer, such as assigning a building figure to the upper layer. Drawing of graphics in each parcel is performed by repeatedly setting attribute information and setting graphic data such as coordinate data for each layer. That is, attribute information is set every time the layer is switched.

従って、地図の描画を行う場合、地図データをパーセル単位で読み出し、かつレイヤー単位で各図形の描画が行われるが、レイヤー毎に属性情報が異なる為に、その都度に属性情報の設定が行わなければならない。表示される地図全体を一枚の地図としてみれば、同じ属性情報を何度も出力しなければならない。   Therefore, when drawing a map, map data is read in parcel units and each figure is drawn in layer units. However, attribute information is different for each layer, so attribute information must be set each time. I must. If the entire displayed map is viewed as a single map, the same attribute information must be output many times.

しかし、上述したOpenGLのような方法では、カーナビゲーション装置等における地図データのような、パーセル単位及びレイヤー単位に分割され同じ属性情報が繰返されるタイプの電子データに対する描画処理は、そもそも考慮されていない。これは、例えばOpenGLでは、モデルとなる、描画対象としてのオブジェクトを定義し、そのオブジェクトを投影して描画するというプロセスを経由して描画が行われるが、その描画の元となるオブジェクトが、地図データのように矩形で分割されたものであるという概念が無いためである。すなわち、1回の属性情報の設定で、その属性情報に係る複数の図形を描画できるので、属性情報の設定は、一回で問題ないと考えられたためである。   However, in the method such as OpenGL described above, drawing processing for electronic data of a type that is divided into parcel units and layer units and the same attribute information is repeated, such as map data in a car navigation device or the like, is not considered in the first place. . For example, in OpenGL, drawing is performed via a process of defining an object as a drawing target that is a model, and projecting and drawing the object. This is because there is no concept of being divided into rectangles like data. That is, since it is possible to draw a plurality of figures related to the attribute information by setting the attribute information once, it is considered that there is no problem in setting the attribute information once.

また、属性情報を保存する考え方も既にあり、OpenGLでは、次のようなAPI(Application Program Interface)が実装されている。   In addition, there is already a concept of storing attribute information, and OpenGL implements the following API (Application Program Interface).

・glPushAttrib
・glPopAttrib
これらのAPIは、属性情報をスタックメモリに保存する機能を実現している。しかし、属性情報はスタックメモリに保存されるため、保存した属性情報はスタックメモリに保存された順とは逆の順でしか取り出せない。そのため、地図の描画処理においては、パーセルが切り替ると最下位のレイヤーから描画を始めるために、スタックメモリ内の全ての属性情報をポップする必要があり、属性情報をスタックメモリに保存する機能は、有効な機能ではない。
・ GlPushAttrib
・ GlPopAttrib
These APIs realize the function of saving attribute information in the stack memory. However, since the attribute information is stored in the stack memory, the stored attribute information can be extracted only in the reverse order of the order stored in the stack memory. Therefore, in the map drawing process, it is necessary to pop all attribute information in the stack memory to start drawing from the lowest layer when the parcel switches, and the function to save the attribute information in the stack memory is It is not an effective function.

以上のように、OpenGLのような方法は、例えば3次元オブジェクト等、同一の属性情報を有して連続して描画を行うような場合には適しているが、地図描画のように、矩形で分割されかつ複数のレイヤーで構成される地図データに基づいて、図形等の描画を行う場合には、属性情報の設定の頻度が多くなる。属性情報の設定頻度が多くなると、CPUの処理量が増えて処理速度が遅くなるだけでなく、属性情報を記憶するためのメモリの記憶容量も多く必要となるという問題があった。
特開2002-333829号公報
As described above, a method such as OpenGL is suitable when drawing continuously with the same attribute information, such as a three-dimensional object, but it is rectangular like a map drawing. When drawing a figure or the like based on map data that is divided and composed of a plurality of layers, the frequency of setting attribute information increases. When the attribute information setting frequency is increased, there is a problem that not only the processing amount of the CPU is increased and the processing speed is decreased, but also a storage capacity of a memory for storing the attribute information is required.
JP 2002-333829 A

そこで、本発明は、CPUの処理量の増加を抑え、処理速度を速くした地図表示装置及び地図表示方法を提供することを目的とする。   Therefore, an object of the present invention is to provide a map display device and a map display method that suppress an increase in the processing amount of the CPU and increase the processing speed.

本発明の一態様によれば、地図データのレイヤー毎の属性情報を、識別情報と関連付けて属性情報記憶部への登録を行う登録部と、前記レイヤー毎の図形データと、該図形データの属性情報に対応する前記識別情報とを関連付けて出力する出力制御部と、該出力制御部から出力された前記識別情報に関連する前記属性情報記憶部の属性情報と、前記出力制御部から出力された前記レイヤー毎の図形データと、に基づいて描画処理を行う描画処理部と、を有する地図表示装置を提供することができる。   According to one aspect of the present invention, a registration unit that registers attribute information for each layer of map data in association with identification information in an attribute information storage unit, graphic data for each layer, and attributes of the graphic data An output control unit that associates and outputs the identification information corresponding to the information, attribute information of the attribute information storage unit related to the identification information output from the output control unit, and output from the output control unit It is possible to provide a map display device having a drawing processing unit that performs drawing processing based on the graphic data for each layer.

本発明によれば、CPUの処理量の増加を抑え、処理速度を速くした地図表示装置及び地図表示方法を実現することができる。   According to the present invention, it is possible to realize a map display device and a map display method that suppress an increase in the processing amount of the CPU and increase the processing speed.

以下、図面を参照して本発明の実施の形態を説明する。
(第1の実施の形態)
まず図1に基づき、本発明の第1の実施の形態に係わる地図表示装置の構成を説明する。図1は、本実施の形態に係わる地図表示装置の構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings.
(First embodiment)
First, based on FIG. 1, the structure of the map display apparatus concerning the 1st Embodiment of this invention is demonstrated. FIG. 1 is a block diagram showing a configuration of a map display apparatus according to the present embodiment.

地図表示装置1は、中央処理装置(以下、CPUという)11と、地図表示プログラム12a及び地図データ12bを記憶する記憶部としてのハードディスク装置(以下、HDDという)12と、描画処理を実行する描画プロセッサ13と、地図表示を行うためのモニタ装置(以下、単にモニタという)14とを含んで構成される。地図表示装置1は、例えば、カーナビゲーション装置である。   The map display device 1 includes a central processing unit (hereinafter referred to as CPU) 11, a hard disk device (hereinafter referred to as HDD) 12 as a storage unit for storing a map display program 12 a and map data 12 b, and drawing for executing drawing processing. It includes a processor 13 and a monitor device (hereinafter simply referred to as a monitor) 14 for displaying a map. The map display device 1 is, for example, a car navigation device.

CPU11は、図示しない操作部からの操作信号に基づいて、HDD12に記憶された地図データ12bの中から表示に必要な1以上のパーセルの地図データを読み出して、描画プロセッサ13へ供給する。ここで、供給とは、例えば、主メモリ15に受け渡したい地図データを書き込み、そのデータの主メモリ15における先頭アドレスとサイズの情報を通知することでもよく、さらに、プロセッサ、全体の装置構成等に応じて、種々の供給形態があり得る。描画プロセッサ13は、供給されたデータに基づいて、描画処理を行って表示データを生成して、モニタ14へ出力する。その結果、モニタ14には、カーナビゲーション装置である地図表示装置1に対してユーザにより指示された所定の地図が表示される。   The CPU 11 reads out map data of one or more parcels necessary for display from the map data 12 b stored in the HDD 12 based on an operation signal from an operation unit (not shown), and supplies it to the drawing processor 13. Here, the supply may be, for example, writing the map data to be transferred to the main memory 15 and notifying information on the start address and size of the data in the main memory 15. There can be various supply forms depending on the case. The drawing processor 13 performs drawing processing based on the supplied data, generates display data, and outputs the display data to the monitor 14. As a result, a predetermined map instructed by the user is displayed on the monitor 14 with respect to the map display device 1 which is a car navigation device.

HDD12に記憶される地図データ12bは地図を矩形で区切ったパーセル単位で記憶され、かつ各パーセルは複数のレイヤーを有する。ここでは、4つのレイヤーを有する地図データで説明する。最下位層の第1のレイヤーL1に街路の図形が割り当てられ、その上の第2のレイヤーL2に高速道路の図形が割り当てられ、さらにその第2のレイヤーL2の上の第3のレイヤーL3に建物の図形が割り当てられ、最上位の第4のレイヤーL4に文字が割り当てられている。各レイヤーには、属性情報が対応付けられている。HDD12には、各レイヤーの属性情報も予め記憶されている。
CPU11から描画プロセッサ13に供給されるデータは、図形、文字等を表示するための座標データ、フォントデータ等の図形データと、属性情報と、属性情報の識別情報とである。図形データ、属性情報、及び識別情報は、地図表示プログラム12aによって、ライブラリプログラムを介して、描画プロセッサ13に供給される。描画プロセッサ13は、各レイヤーの図形を、対応する属性情報を用いて描画する。
The map data 12b stored in the HDD 12 is stored in units of parcels obtained by dividing the map into rectangles, and each parcel has a plurality of layers. Here, the map data having four layers will be described. A street shape is assigned to the first layer L1 of the lowest layer, a highway shape is assigned to the second layer L2 above it, and further to the third layer L3 above the second layer L2 A building figure is assigned, and characters are assigned to the uppermost fourth layer L4. Each layer is associated with attribute information. The HDD 12 stores attribute information of each layer in advance.
Data supplied from the CPU 11 to the drawing processor 13 is coordinate data for displaying graphics, characters, etc., graphic data such as font data, attribute information, and identification information of attribute information. The graphic data, attribute information, and identification information are supplied to the drawing processor 13 by the map display program 12a via the library program. The drawing processor 13 draws the figure of each layer using the corresponding attribute information.

よって、ユーザが、例えばカーナビゲーション装置である地図表示装置1に対して、所望の操作を行うと、その操作に対応した機能が実行され、そのときに、HDD12から必要な地図データの一部がCPU11によって読み出され、その読み出された地図データに基づいて描画プロセッサ13が描画処理を実行して、モニタ14に地図表示を行う。   Therefore, for example, when the user performs a desired operation on the map display device 1 which is a car navigation device, a function corresponding to the operation is executed, and at that time, a part of necessary map data is stored from the HDD 12. Based on the read map data, the drawing processor 13 executes a drawing process based on the read map data, and displays a map on the monitor 14.

図2は、描画プロセッサ13の構成を説明するためのブロック図である。
図2に示すように、CPU11と、HDD12と、描画プロセッサ13と、主メモリ15は、バス16を介して接続されている。
描画プロセッサ13は、CPUI/F21と、描画処理部としての画像データ生成部22と、表示画像データを保持するVRAM23と、表示制御部24と、属性情報保持部25と、属性情報保持部25から出力する属性情報を指定するためのセレクタ26を含んで構成されている。
FIG. 2 is a block diagram for explaining the configuration of the drawing processor 13.
As shown in FIG. 2, the CPU 11, the HDD 12, the drawing processor 13, and the main memory 15 are connected via a bus 16.
The drawing processor 13 includes a CPU I / F 21, an image data generation unit 22 as a drawing processing unit, a VRAM 23 that holds display image data, a display control unit 24, an attribute information holding unit 25, and an attribute information holding unit 25. It includes a selector 26 for designating attribute information to be output.

CPUI/F21は、CPU11と内部バス27とのインターフェースである。表示制御部24は、VRAM23に記憶された表示画像データに基づいてモニタ14に地図画像を表示するための制御を行う。   The CPU I / F 21 is an interface between the CPU 11 and the internal bus 27. The display control unit 24 performs control for displaying a map image on the monitor 14 based on the display image data stored in the VRAM 23.

画像データ生成部22、属性情報保持部25、及びセレクタ26は、内部バス27を介して互いに接続されている。画像データ生成部22には、CPU11からCPUI/F21を介して座標データ等の図形データが供給される。属性情報保持部25には、CPU11からCPUI/F21を介して属性情報が供給され、記憶される。セレクタ26には、CPU11からCPUI/F21を介して属性情報を指定する属性情報指定情報が供給される。   The image data generation unit 22, the attribute information holding unit 25, and the selector 26 are connected to each other via an internal bus 27. The image data generation unit 22 is supplied with graphic data such as coordinate data from the CPU 11 via the CPU I / F 21. The attribute information holding unit 25 is supplied with attribute information from the CPU 11 via the CPU I / F 21 and stored therein. The selector 26 is supplied with attribute information designation information for designating attribute information from the CPU 11 via the CPU I / F 21.

画像データ生成部22は、属性情報保持部25からの属性情報とレイヤー毎の図形データとに基づいて描画処理を行う描画処理部を構成する。   The image data generation unit 22 constitutes a drawing processing unit that performs a drawing process based on the attribute information from the attribute information holding unit 25 and the graphic data for each layer.

CPU11は属性情報保持部25に属性情報を記憶するとき、セレクタ26に対して、記憶する属性情報に対応する属性情報指定情報を付加して、あるいは指定して、その属性情報指定情報と対応付けて属性情報を、属性情報保持部25に記憶すなわち保持させる。すなわち、属性情報保持部25は、図形データに基づいて画像データ生成部22が描画処理を行うために用いる属性情報を、属性情報指定情報であるID情報と関連付けて、保持すなわち記憶する属性情報記憶部である。従って、CPU11は、地図データのレイヤー毎の属性情報を、識別情報と関連付けて属性情報保持部25への登録を行う登録部を構成する。セレクタ26は、属性情報保持部25に保存された属性情報を切り替えて出力するための属性情報切替え部を構成する。   When the CPU 11 stores the attribute information in the attribute information holding unit 25, the attribute information specifying information corresponding to the stored attribute information is added or specified to the selector 26, and is associated with the attribute information specifying information. Attribute information is stored in the attribute information holding unit 25. In other words, the attribute information storage unit 25 stores or stores attribute information used by the image data generation unit 22 for performing drawing processing based on graphic data in association with ID information that is attribute information designation information. Part. Therefore, the CPU 11 configures a registration unit that registers the attribute information for each layer of the map data in the attribute information holding unit 25 in association with the identification information. The selector 26 constitutes an attribute information switching unit for switching and outputting the attribute information stored in the attribute information holding unit 25.

そして、属性情報保持部25は、ID情報を指定することによって属性情報を選択するための選択信号(図2において、Sで示す)が入力されると、その指定されたID情報に対応する属性情報(図2において、Aで示す)を、出力することができる記憶部である。ID情報は、属性情報を出力するための属性情報保持部25にとっての識別情報である。以下、4つのレイヤーのID情報を、ID1、ID2、ID3、ID4とする。   Then, when a selection signal (indicated by S in FIG. 2) for selecting the attribute information is input by specifying the ID information, the attribute information holding unit 25 receives the attribute corresponding to the specified ID information. This is a storage unit that can output information (indicated by A in FIG. 2). The ID information is identification information for the attribute information holding unit 25 for outputting the attribute information. Hereinafter, the ID information of the four layers is ID1, ID2, ID3, and ID4.

属性情報は、例えば、カラー、線分及びポリゴンの破線パターン、ポリゴンの描画モード、ピクセル格納のルールなどの情報であり、OpenGLの例では、glEnable/DisableのAPIコマンドで設定される項目である。例えば、街路表示であれば、属性情報として、カラー情報、破線パターン、街路に使用するポリゴンの描画パターン等の複数の項目情報が指定される。建物表示であれば、ポリゴンで描画するためのカラー情報、塗り潰し用のテクスチャ情報等の複数の項目情報が設定される。
上述したように、主メモリ15には、HDD12から読み出された地図表示プログラム12a及び地図データ12bが記憶され、地図表示プログラム12aが実行されると、CPU11は、地図データを各パーセルのレイヤー別に、描画プロセッサ13へ出力する。そして、CPU11は、描画プロセッサ13へ地図データを供給するとき、そのレイヤー毎に対応する属性情報を属性情報保持部25から出力するためのID情報と共に、そのレイヤーの図形データを、描画処理データとして、描画プロセッサ13に供給する。
The attribute information is, for example, information such as color, line segment and polygon broken line pattern, polygon drawing mode, pixel storage rule, and the like, and is an item set by the glEnable / Disable API command in the OpenGL example. For example, in the case of street display, a plurality of item information such as color information, a broken line pattern, and a polygon drawing pattern used for a street are specified as attribute information. In the case of building display, a plurality of item information such as color information for drawing with polygons and texture information for painting are set.
As described above, the main memory 15 stores the map display program 12a and map data 12b read from the HDD 12, and when the map display program 12a is executed, the CPU 11 stores the map data for each parcel layer. To the drawing processor 13. Then, when the CPU 11 supplies the map data to the drawing processor 13, the graphic data of the layer is used as drawing processing data together with ID information for outputting attribute information corresponding to each layer from the attribute information holding unit 25. To the drawing processor 13.

なお、属性情報は、描画プロセッサ13に描画処理を行わせる前に、CPU11によって主メモリ15に記憶され、その後、その記憶された属性情報が、CPUI/F21を介して属性情報保持部25に記憶される。   The attribute information is stored in the main memory 15 by the CPU 11 before the drawing processor 13 performs the drawing process, and then the stored attribute information is stored in the attribute information holding unit 25 via the CPU I / F 21. Is done.

そして、地図表示プログラム12aが実行されて、描画プロセッサ13によって描画が行われるとき、CPU11は、レイヤー毎に、描画に使用するID情報をセレクタ26に供給し、画像データ生成部22は、属性情報保持部25から出力された属性情報を用いて、CPU11から供給された図形データに基づいて描画処理を行い、処理された描画処理結果データをVRAM23に記憶する。描画処理については、後で詳述する。   When the map display program 12a is executed and drawing is performed by the drawing processor 13, the CPU 11 supplies ID information used for drawing to the selector 26 for each layer, and the image data generation unit 22 receives attribute information. Using the attribute information output from the holding unit 25, the drawing process is performed based on the graphic data supplied from the CPU 11, and the processed drawing process result data is stored in the VRAM 23. The drawing process will be described in detail later.

次に、具体的な例を用いて説明する。図3は、複数のパーセルにより構成される地図データのデータ構造を説明するための図である。ここでは、理解容易のために、表示すべき地図データのパーセルが9つの例で説明する。9つのパーセルPi(iは、1から9のいずれかの整数)は、それぞれ4つのレイヤーを有する。各パーセルPiにおいて、第1のレイヤーL1に街路の図形表示、第2のレイヤーL2に高速道路の図形表示、第3のレイヤーL3に建物の図形表示、そして第4のレイヤーL4に文字の図形表示が、割り当てられており、それぞれのレイヤーLk(kは、1から4のいずれかの整数)の座標データ、フォントデータ等(以下、図形データという)に対応する属性情報が指定されることにより、描画プロセッサ13は、各レイヤーLkの図形データを適切に描画することができる。   Next, a specific example will be described. FIG. 3 is a diagram for explaining the data structure of map data composed of a plurality of parcels. Here, for the sake of easy understanding, description will be given with nine examples of map data parcels to be displayed. Each of the nine parcels Pi (i is an integer from 1 to 9) has four layers. In each parcel Pi, street graphic display on the first layer L1, highway graphic display on the second layer L2, building graphic display on the third layer L3, and character graphic display on the fourth layer L4 Are assigned, and attribute information corresponding to coordinate data, font data, etc. (hereinafter referred to as graphic data) of each layer Lk (k is an integer from 1 to 4) is designated, The drawing processor 13 can appropriately draw the graphic data of each layer Lk.

次に、地図表示を行うときのCPU11からの情報の供給について説明する。図4は、CPUから供給される図形データと属性情報の対応を説明するための図である。9つのパーセルPiの図形データがP1からP9の順に供給され、かつ各パーセルPi内では、4つのレイヤーLkの図形データがL1からL4の順に供給されるとする。   Next, the supply of information from the CPU 11 when performing map display will be described. FIG. 4 is a diagram for explaining the correspondence between the graphic data supplied from the CPU and the attribute information. It is assumed that graphic data of nine parcels Pi is supplied in the order of P1 to P9, and graphic data of four layers Lk are supplied in order of L1 to L4 in each parcel Pi.

図4において、図形データPiと各レイヤーのID情報とを含む描画処理データ31は、CPU11から描画プロセッサ13に供給される描画処理データである。各レイヤーの属性情報32は、属性情報保持部25に記憶された情報である。属性情報32は、CPU11によって、主メモリ15から属性情報保持部25に予め転送して記憶された情報である。   In FIG. 4, drawing processing data 31 including graphic data Pi and ID information of each layer is drawing processing data supplied from the CPU 11 to the drawing processor 13. The attribute information 32 of each layer is information stored in the attribute information holding unit 25. The attribute information 32 is information that is transferred and stored in advance by the CPU 11 from the main memory 15 to the attribute information holding unit 25.

後述するように、9つのパーセルP1からP9の図形データは、パーセルP1からP9の順にCPU11から描画プロセッサ13に供給される。なお、図4において、矢印Pは、9つのパーセルPiの図形データの供給順番の方向を示し、矢印Lにより、各パーセル内のレイヤーLkの図形データの供給順番の方向を示している。   As will be described later, the graphic data of the nine parcels P1 to P9 are supplied from the CPU 11 to the drawing processor 13 in the order of the parcels P1 to P9. In FIG. 4, the arrow P indicates the direction of the graphic data supply order of the nine parcels Pi, and the arrow L indicates the direction of the graphic data supply order of the layer Lk in each parcel.

CPU11が描画プロセッサ13に描画処理データ31を供給するとき、CPU11は、まずパーセルP1のレイヤーL1の図形データDL1を、描画プロセッサ13に供給するが、レイヤーL1の属性情報(すなわち、街路の図形を表示するための属性情報)に対応するID情報、すなわちID1を、レイヤーL1の図形データDL1の供給に先立って描画プロセッサ13に供給する。続いて、CPU11は、パーセルP1のレイヤーL2の図形データDL2を、描画プロセッサ13に供給するときに、レイヤーL2の属性情報(すなわち、高速道路の図形を表示するための属性情報)に対応するID2を、図形データDL2の供給に先立って描画プロセッサ13に供給する。続いて、同様にして、CPU11は、パーセルP1のレイヤーL3の図形データDL3を、描画プロセッサ13に供給するときに、レイヤーL3の属性情報(すなわち、建物の図形を表示するための属性情報)に対応するID3を、図形データDL3の供給に先立って描画プロセッサ13に供給する。そして、同様にして、CPU11は、パーセルP1のレイヤーL4の図形データDL4を、描画プロセッサ13に供給するときに、レイヤーL4の属性情報(すなわち、文字を表示するための属性情報)に対応するID4を、図形データDL4の供給に先立って描画プロセッサ13に供給する。   When the CPU 11 supplies the drawing processing data 31 to the drawing processor 13, the CPU 11 first supplies the graphics data DL1 of the layer L1 of the parcel P1 to the drawing processor 13, but the attribute information of the layer L1 (that is, the street graphics) ID information corresponding to the attribute information for display), that is, ID1 is supplied to the drawing processor 13 prior to supplying the graphic data DL1 of the layer L1. Subsequently, when the CPU 11 supplies the graphic data DL2 of the layer L2 of the parcel P1 to the drawing processor 13, the ID2 corresponding to the attribute information of the layer L2 (that is, attribute information for displaying the graphic of the highway) Is supplied to the drawing processor 13 prior to the supply of the graphic data DL2. Subsequently, similarly, when the CPU 11 supplies the graphic data DL3 of the layer L3 of the parcel P1 to the drawing processor 13, the CPU 11 uses the attribute information of the layer L3 (that is, attribute information for displaying the graphic of the building). Corresponding ID3 is supplied to the drawing processor 13 prior to the supply of the graphic data DL3. Similarly, when the CPU 11 supplies the graphic data DL4 of the layer L4 of the parcel P1 to the drawing processor 13, the ID4 corresponding to the attribute information (that is, attribute information for displaying characters) of the layer L4. Is supplied to the drawing processor 13 prior to the supply of the graphic data DL4.

以上のようにして、CPU11は、パーセルP1についての図形データを描画プロセッサ13に供給する。同様にして、パーセルP2についても、各レイヤーの図形データを描画プロセッサ13に供給するときに、CPU11は、各図形データの供給に先立って対応するID情報を供給する。以下、パーセルP3からP9の各パーセルについても、同様に、CPU11は、各レイヤーの図形データを描画プロセッサ13に供給するときに、各図形データの供給に先立って対応するID情報を供給する。   As described above, the CPU 11 supplies graphic data for the parcel P1 to the drawing processor 13. Similarly, for the parcel P2, when supplying graphic data of each layer to the drawing processor 13, the CPU 11 supplies corresponding ID information prior to the supply of the graphic data. Hereinafter, for the parcels of parcels P3 to P9, similarly, when supplying graphic data of each layer to the drawing processor 13, the CPU 11 supplies corresponding ID information prior to the supply of the graphic data.

一方、描画プロセッサ13では、初めに、ID1がセレクタ26によって受信され、セレクタ26は、ID1に対応する属性情報Aを選択して画像データ生成部22に出力するように属性情報保持部25に選択信号Sを出力する。図形データDL1は、画像データ生成部22によって受信され、画像データ生成部22は、属性情報保持部25の属性情報32の中から出力されたID1に対応する属性情報Aを用いて、図形データDL1に基づいて、描画処理を実行する。   On the other hand, in the drawing processor 13, first, ID 1 is received by the selector 26, and the selector 26 selects the attribute information A corresponding to ID 1 and selects the attribute information holding unit 25 to output to the image data generation unit 22. Output signal S. The graphic data DL1 is received by the image data generation unit 22, and the image data generation unit 22 uses the attribute information A corresponding to ID1 output from the attribute information 32 of the attribute information holding unit 25 to use the graphic data DL1. Based on the above, the drawing process is executed.

続いて、ID2がセレクタ26によって受信され、セレクタ26は、ID2に対応する属性情報Aを選択して画像データ生成部22に出力するように属性情報保持部25に選択信号Sを出力する。図形データDL2は、画像データ生成部22によって受信され、画像データ生成部22は、属性情報保持部25の属性情報32の中から出力されたID2に対応する属性情報Aを用いて描画処理を実行する。   Subsequently, ID 2 is received by the selector 26, and the selector 26 outputs a selection signal S to the attribute information holding unit 25 so that the attribute information A corresponding to ID 2 is selected and output to the image data generation unit 22. The graphic data DL2 is received by the image data generation unit 22, and the image data generation unit 22 executes a drawing process using the attribute information A corresponding to ID2 output from the attribute information 32 of the attribute information holding unit 25. To do.

以下、パーセルP1のレイヤーL3とレイヤーL4についても、それぞれ、CPU11から描画プロセッサ13にID情報と図形データが同様に供給されて、属性情報保持部25に保持された属性情報32の中から出力された、それぞれのID情報に対応する属性情報Aを用いて、画像データ生成部22は、レイヤーL3とL4の描画処理を実行する。   Hereinafter, for the layers L3 and L4 of the parcel P1, the ID information and the graphic data are similarly supplied from the CPU 11 to the drawing processor 13 and output from the attribute information 32 held in the attribute information holding unit 25, respectively. In addition, the image data generation unit 22 executes the drawing processing of the layers L3 and L4 using the attribute information A corresponding to each ID information.

パーセルP1についてレイヤーL1からL4の順に描画処理を行い、パーセルP1の描画処理が終了すると、CPU11は続いて、パーセルP2についての地図データの供給を行う。すなわち、CPU11からは、まず、パーセルP2のレイヤーL1のID1が、出力され、続いてパーセルP2のレイヤーL1の図形データDL1が出力される。ID1は、描画プロセッサ13のセレクタ26によって受信され、セレクタ26は、ID1に対応する属性情報を選択して画像データ生成部22に出力するように属性情報保持部25に選択信号Sを出力する。図形データDL1は、描画プロセッサ13の画像データ生成部22によって受信され、画像データ生成部22は、属性情報保持部25の属性情報32の中から出力されたID1に対応する属性情報を用いて描画処理を実行する。   Drawing processing is performed in the order of layers L1 to L4 for the parcel P1, and when the drawing processing of the parcel P1 is completed, the CPU 11 continues to supply map data for the parcel P2. That is, the CPU 11 first outputs the ID1 of the layer L1 of the parcel P2, and then outputs the graphic data DL1 of the layer L1 of the parcel P2. ID 1 is received by the selector 26 of the drawing processor 13, and the selector 26 outputs a selection signal S to the attribute information holding unit 25 so that the attribute information corresponding to ID 1 is selected and output to the image data generation unit 22. The graphic data DL1 is received by the image data generation unit 22 of the drawing processor 13, and the image data generation unit 22 draws using the attribute information corresponding to ID1 output from the attribute information 32 of the attribute information holding unit 25. Execute the process.

続いて、パーセルP2のレイヤーL2のID2が、出力され、続いてパーセルP2のレイヤーL2の図形データDL2が出力される。ID2は、描画プロセッサ13のセレクタ26によって受信され、セレクタ26は、ID2に対応する属性情報を選択して画像データ生成部22に出力するように属性情報保持部25に選択信号Sを出力する。図形データDL2は、描画プロセッサ13の画像データ生成部22によって受信され、画像データ生成部22は、属性情報保持部25の属性情報32の中から出力されたID2に対応する属性情報を用いて描画処理を実行する。以下、パーセルP2のレイヤーL3とレイヤーL4についても、同様に描画処理が実行される。
さらに、以下、パーセルP3からP9まで同様に描画処理が行われる。
Subsequently, ID2 of the layer L2 of the parcel P2 is output, and then the graphic data DL2 of the layer L2 of the parcel P2 is output. ID 2 is received by the selector 26 of the drawing processor 13, and the selector 26 outputs the selection signal S to the attribute information holding unit 25 so that the attribute information corresponding to ID 2 is selected and output to the image data generation unit 22. The graphic data DL2 is received by the image data generation unit 22 of the drawing processor 13, and the image data generation unit 22 performs drawing using attribute information corresponding to ID2 output from the attribute information 32 of the attribute information holding unit 25. Execute the process. Hereinafter, the drawing process is similarly executed for the layers L3 and L4 of the parcel P2.
Further, drawing processing is performed in the same manner from the parcels P3 to P9.

次に、上述した、CPU11における地図表示プログラム12aの処理について説明する。図5は、CPU11における地図表示プログラム12aの処理の流れの例を示すフローチャートである。   Next, the processing of the map display program 12a in the CPU 11 described above will be described. FIG. 5 is a flowchart showing an example of the processing flow of the map display program 12a in the CPU 11.

図5は、地図の中からある場所の地図を表示する処理を実行する際、CPU11が9つのパーセルからなる地図データをHDD12から読み出し、読み出したパーセル毎の図形データを描画プロセッサ13に供給するときの処理を示す。   FIG. 5 shows a case where the CPU 11 reads out map data including nine parcels from the HDD 12 and supplies the graphic data for each read parcel to the drawing processor 13 when executing a process of displaying a map of a certain place from the map. The process of is shown.

まず、CPU11は、パーセルの番号をカウントするために、変数kを1にする処理(k=1)を行う(ステップS1)。続いて、地図データのレイヤーLk、すなわちレイヤーL1、の属性情報をHDD12から主メモリ15に読み出し、CPU11は、属性情報保持部25にID情報、すなわちID1と関連付けて登録する(ステップS2)。地図データが複数あれば、その中から表示を行う地図データの各レイヤーの属性情報が読み出されて登録される。   First, the CPU 11 performs a process of setting the variable k to 1 (k = 1) in order to count parcel numbers (step S1). Subsequently, the attribute information of the layer Lk of the map data, that is, the layer L1, is read from the HDD 12 to the main memory 15, and the CPU 11 registers the attribute information in the attribute information holding unit 25 in association with the ID information, that is, ID1 (step S2). If there are a plurality of map data, the attribute information of each layer of the map data to be displayed is read and registered.

従って、初めにレイヤーL1の属性情報が属性情報保持部25にID1と関連付けて登録される。
そして、変数kがレイヤー数4に1を加えた5になったか、すなわち、k=5か否かが判断され(ステップS3)、Noであると、k=k+1の処理がされ(ステップS4)、処理は、ステップS2に戻る。その結果、CPU11は、ステップS2において、レイヤーL2、の属性情報をHDD12から読み出し、CPU11は、属性情報保持部25にID2と関連付けて登録する(ステップS2)。
以下同様にして、k=5でなければ、レイヤーL3とL4の属性情報も、それぞれID情報であるID3とID4と関連付けられて登録される。以上により、CPU11によって実行されるステップS1からS4までの処理が、属性情報をID情報と関連付けて属性情報保持部25に登録する登録部を構成する。
k=5になると、ステップS3においてYESとなり、i=1の処理がされ(ステップS5)、続いて、k=1の処理がされる(ステップS6)。
Therefore, first, the attribute information of the layer L1 is registered in the attribute information holding unit 25 in association with ID1.
Then, it is determined whether or not the variable k is 5 which is obtained by adding 1 to the number of layers 4, that is, whether or not k = 5 (step S3). If No, the process of k = k + 1 is performed (step S3). S4) The process returns to step S2. As a result, the CPU 11 reads out the attribute information of the layer L2 from the HDD 12 in step S2, and the CPU 11 registers the attribute information holding unit 25 in association with ID2 (step S2).
Similarly, unless k = 5, the attribute information of layers L3 and L4 is also registered in association with ID information ID3 and ID4, respectively. As described above, the processing from steps S1 to S4 executed by the CPU 11 constitutes a registration unit that registers the attribute information in the attribute information holding unit 25 in association with the ID information.
When k = 5, YES is set in step S3, i = 1 is processed (step S5), and then k = 1 is processed (step S6).

そして、CPU11は、パーセルP1のレイヤーLk、すなわちレイヤーL1のID情報であるID1を、描画プロセッサ13に供給する(ステップS7)。   Then, the CPU 11 supplies the drawing processor 13 with the layer Lk of the parcel P1, that is, ID1 that is the ID information of the layer L1 (step S7).

次に、CPU11は、ステップS7において供給したID1に対応する、レイヤーL1の図形データDL1を、描画プロセッサ13に供給する(ステップS8)。   Next, the CPU 11 supplies the graphic processor DL1 of the layer L1 corresponding to ID1 supplied in step S7 to the drawing processor 13 (step S8).

そして、k=5か否かが判断され(ステップS9)、Noであると、k=k+1の処理がされ(ステップS10)、処理は、ステップS7に戻る。その結果、CPU11は、レイヤーL2のID情報(ID2)を、描画プロセッサ13に供給し(ステップS7)、その後、レイヤーL2の図形データDL2を、描画プロセッサ13に供給する(ステップS8)。   Then, it is determined whether or not k = 5 (step S9). If No, k = k + 1 is processed (step S10), and the process returns to step S7. As a result, the CPU 11 supplies the layer L2 ID information (ID2) to the drawing processor 13 (step S7), and then supplies the layer L2 graphic data DL2 to the drawing processor 13 (step S8).

以下同様にして、k=5か否かが判断され(ステップS9)、Noであると、k=k+1の処理がされ(ステップS10)、ステップS7以下の処理が繰り返されることによって、パーセルP1の4つのレイヤーLkの図形データの全てが、CPU11から描画プロセッサ13に出力される。
CPU11によって実行されるステップS7とS8の処理が、レイヤー毎の図形データと、その図形データの属性情報に対応するID情報とを関連付けて出力する出力制御部を構成する。
Similarly, it is determined whether or not k = 5 (step S9). If No, k = k + 1 is processed (step S10), and the processing from step S7 onward is repeated. All of the graphic data of the four layers Lk of P1 are output from the CPU 11 to the drawing processor 13.
The processing of steps S7 and S8 executed by the CPU 11 constitutes an output control unit that outputs the graphic data for each layer in association with ID information corresponding to the attribute information of the graphic data.

ステップS9において、YESのとき、すなわち1つのパーセルの4つのレイヤーの全ての図形データの出力が終了すると、i=10か否かが判断される(ステップS11)。ステップS11でNOの場合、すなわち、パーセルP1から始めてP9まで終了していない場合、処理は、i=i+1の処理を行い(ステップS12)、ステップS6に移行する。   If YES in step S9, that is, when the output of all graphic data of the four layers of one parcel is completed, it is determined whether i = 10 (step S11). If NO in step S11, that is, if not starting from parcel P1 and ending with P9, the process performs i = i + 1 (step S12) and proceeds to step S6.

ステップS6において、k=1の処理がされ、CPU11は、パーセルP2のレイヤーLk、すなわちL1のID情報であるID1を、描画プロセッサ13に供給し(ステップS7)、レイヤーL1の図形データDL1を、描画プロセッサ13に供給する(ステップS8)。   In step S6, the process of k = 1 is performed, and the CPU 11 supplies the layer Lk of the parcel P2, that is, ID1 that is the ID information of L1 to the drawing processor 13 (step S7), and the graphic data DL1 of the layer L1 is This is supplied to the drawing processor 13 (step S8).

以下同様にして、k=5か否かが判断され(ステップS9)、Noであると、k=k+1の処理がされ(ステップS10)、ステップS7以下の処理が繰り返されることによって、パーセルP2の4つのレイヤーLkの図形データの全てが、CPU11から描画プロセッサ13に出力される。   Similarly, it is determined whether or not k = 5 (step S9). If No, k = k + 1 is processed (step S10), and the processing from step S7 onward is repeated. All the graphic data of the four layers Lk of P2 are output from the CPU 11 to the drawing processor 13.

以上のステップS6からS9の処理が9つのパーセルについて行われると、ステップS11で、i=10が判断されたときに、YESの場合となって処理は終了する。   When the processes of steps S6 to S9 described above are performed for nine parcels, when i = 10 is determined in step S11, the process is ended when YES.

上述したように、地図表示プログラム12aは、地図表示のために図形の描画をする場合に、まずID情報を付加してすなわち指定して、属性情報を送り、描画プロセッサ13に必要な属性情報の設定すなわち登録を行う。そして、地図表示プログラム12aは、属性情報の登録後、図形描画処理の度に属性情報の設定をする必要のないように、各レイヤーの図形データを描画プロセッサ13に供給するときに、図形データに関連付けてID情報を送る。すなわち、描画プロセッサ13内では、各レイヤーの図形データに基づいて描画処理を行うときに、ID情報によって、各レイヤーに応じた属性情報が切り替えられる。   As described above, when drawing a graphic for map display, the map display program 12a first adds ID information, that is, designates it, sends attribute information, and sends necessary attribute information to the drawing processor 13. Set or register. When the map display program 12a supplies the graphic data of each layer to the drawing processor 13 so that the attribute information does not need to be set every time the graphic drawing process is performed after the attribute information is registered, Send ID information in association. In other words, in the drawing processor 13, when drawing processing is performed based on the graphic data of each layer, attribute information corresponding to each layer is switched by the ID information.

以上のように、地図表示のための描画処理を行う時に、レイヤー毎の属性情報を初回だけ設定し、以降は属性情報をIDで指定することにより属性情報の設定するようにしたので、従来のような描画処理の度に属性情報を設定するという処理が削減される。   As described above, when drawing processing for map display is performed, attribute information for each layer is set only for the first time, and thereafter attribute information is set by specifying attribute information by ID. The process of setting attribute information for each drawing process is reduced.

特に、CPU11が描画プロセッサ13に各図形データの描画処理の度に属性情報を送信する処理が削減され、描画プロセッサ13内においても、各図形データの描画処理の度に属性情報を設定する処理が削減される。また、描画処理において、描画処理の度に属性情報を用意する処理が不要になり、また、コマンドとして属性情報を保存する記憶領域も不要となる。   In particular, the processing of the CPU 11 transmitting attribute information to the drawing processor 13 each time drawing processing of each graphic data is reduced, and the processing of setting attribute information every time drawing processing of each graphic data is performed in the drawing processor 13. Reduced. Further, in the drawing process, a process for preparing attribute information for each drawing process becomes unnecessary, and a storage area for storing the attribute information as a command becomes unnecessary.

よって、本実施の形態の地図表示装置によれば、CPU11から描画プロセッサ13に各レイヤーの図形データを、属性情報と共に供給する必要がないので、CPU11の処理量も従来に比べて減少し、処理速度を速くした地図表示を実現することができる。   Therefore, according to the map display device of the present embodiment, it is not necessary to supply the graphic data of each layer from the CPU 11 to the drawing processor 13 together with the attribute information. It is possible to realize a map display at a high speed.

なお、上述した実施の形態では、描画プロセッサ13内の属性情報保持部25が、地図データの4つのレイヤー分の属性情報を記憶できる記憶領域を有しているが、4つ分の記憶領域がない場合(例えば1つ分の記憶領域しかない場合)は、残りのレイヤー(例えば3つ分のレイヤー)の属性情報は、対応する図形データを描画処理するときに、CPU11が主メモリ15から読み出して描画プロセッサ13に供給するようにしてもよい。   In the embodiment described above, the attribute information holding unit 25 in the drawing processor 13 has a storage area in which attribute information for four layers of map data can be stored. If there is not (for example, if there is only one storage area), the attribute information of the remaining layers (for example, three layers) is read out from the main memory 15 by the CPU 11 when drawing the corresponding graphic data. May be supplied to the drawing processor 13.

(第2の実施の形態)
次に、本発明の第2の実施の形態について説明する。
第1の実施の形態の地図表示装置は、CPUと描画プロセッサを含んで構成されていたが、第2の実施の形態の地図表示装置は、専用の描画プロセッサを有しておらず、CPUが描画処理をソフトウエアプログラムにより実行する。
図6は、本実施の形態に係る地図表示装置1Aの構成を示すブロック図である。図6において、図2と同じ構成要素については同じ符号を付し、重複する説明は省略する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described.
The map display device of the first embodiment is configured to include a CPU and a drawing processor. However, the map display device of the second embodiment does not have a dedicated drawing processor, and the CPU The drawing process is executed by a software program.
FIG. 6 is a block diagram showing the configuration of the map display device 1A according to the present embodiment. In FIG. 6, the same components as those in FIG. 2 are denoted by the same reference numerals, and redundant description is omitted.

本実施の形態の地図表示装置1Aにおいても、CPU11は、HDD12から地図表示プログラム12aを読み出して、かつHDD12から地図データを読み出して、主メモリ15に展開して処理を実行し、かつ、描画処理プログラム22aもHDD12から読み出し、主メモリ15に展開して実行する。   Also in the map display device 1A of the present embodiment, the CPU 11 reads the map display program 12a from the HDD 12, reads the map data from the HDD 12, develops it in the main memory 15, executes the process, and performs the drawing process. The program 22a is also read from the HDD 12, loaded into the main memory 15, and executed.

描画処理プログラム22aは、第1の実施の形態における画像データ生成部22の機能をソフトウエアプログラムで実現するプログラムである。なお、図6では、描画処理プログラム22aは、CPU11が実行することを示すためにCPU11のブロック中に描かれている。   The drawing processing program 22a is a program that realizes the function of the image data generation unit 22 in the first embodiment with a software program. In FIG. 6, the drawing processing program 22a is drawn in a block of the CPU 11 to indicate that the CPU 11 executes.

すなわち、CPU11が、図5のステップS1からS4の属性情報の登録処理と、描画処理プログラムによる描画処理とを行う。   That is, the CPU 11 performs the attribute information registration process of steps S1 to S4 in FIG. 5 and the drawing process by the drawing process program.

また、主メモリ15には、第1の実施の形態における属性情報保持部25と同じデータを記憶する属性情報記憶部25aが含まれる。   Further, the main memory 15 includes an attribute information storage unit 25a that stores the same data as the attribute information holding unit 25 in the first embodiment.

図7は、地図表示装置1Aの地図表示プログラム12aの処理の流れの例を示すフローチャートである。図5のフローチャートと同じ処理については同じ符号を付し、説明は省略する。   FIG. 7 is a flowchart showing an example of the processing flow of the map display program 12a of the map display device 1A. The same processes as those in the flowchart of FIG. 5 are denoted by the same reference numerals, and description thereof is omitted.

ステップS1からS6までは、図5と同じ処理である。ステップS6の後、CPU11は、パーセルPiのレイヤーLkのID情報に基づいて、属性情報記憶部25aから属性情報を読み出す(ステップS21)。   Steps S1 to S6 are the same as those in FIG. After step S6, the CPU 11 reads the attribute information from the attribute information storage unit 25a based on the ID information of the layer Lk of the parcel Pi (step S21).

そして、CPU11は、描画処理プログラム22aを実行することによって、パーセルPiのレイヤーLkの図形データに基づいて、ステップS21で読み出した属性情報を用いて描画処理を行う(ステップS22)。
ステップS22の後は、ステップS9以降の処理を実行するが、ステップS9以降の処理は、図5と同様である。
Then, the CPU 11 executes the drawing processing program 22a to perform drawing processing using the attribute information read out in step S21 based on the graphic data of the layer Lk of the parcel Pi (step S22).
After step S22, the processes after step S9 are executed. The processes after step S9 are the same as those in FIG.

すなわち、ステップS21とS22の処理は、第1の実施の形態における描画プロセッサ13によって実行されていた処理であるが、第2の実施の形態では、CPU11の描画処理プログラム22aにより実行される。   That is, the processes of steps S21 and S22 are processes executed by the drawing processor 13 in the first embodiment, but are executed by the drawing process program 22a of the CPU 11 in the second embodiment.

従って、本実施の形態によっても、CPU11は、描画処理を行う前に、一度だけ属性情報保持部25aに属性情報を記憶させる。そして、CPU11は、ID情報と図形データを含む描画処理データを生成して、描画処理プログラム22aによって描画処理を行うときに、属性情報保持部25aから属性情報を読み出して使用するので、CPU11の処理量も従来に比べて減少し、処理速度を速くした地図表示を実現することができる。   Therefore, also in the present embodiment, the CPU 11 stores the attribute information in the attribute information holding unit 25a only once before performing the drawing process. Then, the CPU 11 generates drawing processing data including ID information and graphic data, and when the drawing processing program 22a performs the drawing processing, the attribute information is read out from the attribute information holding unit 25a and used. The amount is reduced as compared with the prior art, and a map display with a higher processing speed can be realized.

以上のように、上述した2つの実施の形態によれば、CPUの処理量の増加を抑え、処理速度を速くした地図表示装置及び地図表示方法を実現することができる。   As described above, according to the two embodiments described above, it is possible to realize a map display device and a map display method that suppress an increase in the processing amount of the CPU and increase the processing speed.

なお、以上説明した動作を実行するプログラムのコードは、ソフトウエアプログラム製品として、フロッピー(登録商標)ディスク、CD−ROM等の可搬媒体や、ハードディスク等の記憶装置等に、その全体あるいは一部が記録され、あるいは記憶されている。そのプログラムがコンピュータにより読み取られて、動作の全部あるいは一部が実行される。あるいは、そのプログラムの全体あるいは一部を通信ネットワークを介して流通または提供することができる。利用者は、通信ネットワークを介してそのプログラムをダウンロードしてコンピュータにインストールしたり、あるいは記録媒体からコンピュータにインストールすることで、容易に本発明の地図表示装置を実現することができる。   Note that the code of the program for executing the above-described operation may be entirely or partially stored as a software program product on a portable medium such as a floppy (registered trademark) disk or CD-ROM, or on a storage device such as a hard disk. Is recorded or stored. The program is read by a computer, and all or part of the operation is executed. Alternatively, all or part of the program can be distributed or provided via a communication network. The user can easily realize the map display device of the present invention by downloading the program via a communication network and installing it on a computer, or installing it from a recording medium to a computer.

本発明は、上述した実施の形態に限定されるものではなく、本発明の要旨を変えない範囲において、種々の変更、改変等が可能である。   The present invention is not limited to the above-described embodiments, and various changes and modifications can be made without departing from the scope of the present invention.

本発明の第1の実施の形態に係わる地図表示装置の構成を示すブロック図である。It is a block diagram which shows the structure of the map display apparatus concerning the 1st Embodiment of this invention. 第1の実施の形態に係わる描画プロセッサの構成を説明するためのブロック図である。3 is a block diagram for explaining a configuration of a drawing processor according to the first embodiment; FIG. 複数のパーセルにより構成される地図データのデータ構造を説明するための図である。It is a figure for demonstrating the data structure of the map data comprised by a some parcel. CPUから供給される図形データと属性情報の対応を説明するための図である。It is a figure for demonstrating a response | compatibility with the graphic data supplied from CPU, and attribute information. 第1の実施の形態に係わる、地図表示プログラムの処理の流れの例を示すフローチャートである。It is a flowchart which shows the example of the flow of a process of the map display program concerning 1st Embodiment. 本発明の第2の実施の形態に係る地図表示装置の構成を示すブロック図である。It is a block diagram which shows the structure of the map display apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る、地図表示プログラムの処理の流れの例を示すフローチャートである。It is a flowchart which shows the example of the flow of a process of the map display program based on the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1、1A 地図表示装置、11 CPU、12 ハードディスク装置、13 描画プロセッサ、14 モニタ、15 主メモリ、16、27 バス、21 CPUインターフェース、22 画像データ生成部、23 VRAM、24 表示制御部、25、25a 属性情報保持部、26 セレクタ 1, 1A map display device, 11 CPU, 12 hard disk device, 13 drawing processor, 14 monitor, 15 main memory, 16, 27 bus, 21 CPU interface, 22 image data generation unit, 23 VRAM, 24 display control unit, 25, 25a Attribute information holding unit, 26 selector

Claims (5)

地図データのレイヤー毎の属性情報を、識別情報と関連付けて属性情報記憶部への登録を行う登録部と、
前記レイヤー毎の図形データと、該図形データの属性情報に対応する前記識別情報とを関連付けて出力する出力制御部と、
該出力制御部から出力された前記識別情報に関連する前記属性情報記憶部の属性情報と、前記出力制御部から出力された前記レイヤー毎の図形データと、に基づいて描画処理を行う描画処理部と、
を有することを特徴とする地図表示装置。
A registration unit that registers the attribute information for each layer of the map data in the attribute information storage unit in association with the identification information;
An output control unit that outputs the graphic data for each layer in association with the identification information corresponding to the attribute information of the graphic data;
A rendering processing unit that performs rendering processing based on the attribute information of the attribute information storage unit related to the identification information output from the output control unit and the graphic data for each layer output from the output control unit When,
A map display device comprising:
さらに、描画プロセッサを有し、該描画プロセッサは前記描画処理部を含むことを特徴とする請求項1に記載の地図表示装置。   The map display device according to claim 1, further comprising a drawing processor, wherein the drawing processor includes the drawing processing unit. 前記属性情報記憶部は、前記描画プロセッサ内に設けられ、前記出力制御部からの前記識別情報を入力して、入力された前記識別情報に関連付けられた属性情報を出力することを特徴とする請求項2に記載の地図表示装置。   The attribute information storage unit is provided in the drawing processor, inputs the identification information from the output control unit, and outputs attribute information associated with the input identification information. Item 3. The map display device according to Item 2. さらに、中央処理装置と、主メモリとを有し、前記中央処理装置が、前記登録部による前記登録と、前記描画処理部による前記描画処理とを行うことを特徴とする請求項1に記載の地図表示装置。   The apparatus according to claim 1, further comprising a central processing unit and a main memory, wherein the central processing unit performs the registration by the registration unit and the drawing processing by the drawing processing unit. Map display device. 地図データのレイヤー毎の属性情報を、識別情報と関連付けて属性情報記憶部への登録を行い、
前記レイヤー毎の図形データと、該図形データの属性情報に対応する前記識別情報とを関連付けて出力し、
出力された前記識別情報に関連する前記属性情報記憶部の属性情報と、出力された前記レイヤー毎の図形データと、に基づいて描画処理を行う、
ことを特徴とする地図表示方法。
Associate the attribute information for each layer of the map data with the identification information and register it in the attribute information storage unit.
The graphic data for each layer and the identification information corresponding to the attribute information of the graphic data are output in association with each other.
A drawing process is performed based on the attribute information of the attribute information storage unit related to the output identification information and the graphic data for each output layer.
A map display method characterized by that.
JP2007183661A 2007-07-12 2007-07-12 Map display device and map display method Pending JP2009020364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007183661A JP2009020364A (en) 2007-07-12 2007-07-12 Map display device and map display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007183661A JP2009020364A (en) 2007-07-12 2007-07-12 Map display device and map display method

Publications (1)

Publication Number Publication Date
JP2009020364A true JP2009020364A (en) 2009-01-29

Family

ID=40360037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007183661A Pending JP2009020364A (en) 2007-07-12 2007-07-12 Map display device and map display method

Country Status (1)

Country Link
JP (1) JP2009020364A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663159A (en) * 2012-03-14 2012-09-12 浙江工业大学 Layered automatic configuration and optimization method of single line diagram outside power distribution network
CN108592926A (en) * 2012-03-30 2018-09-28 株式会社电装 Information processing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663159A (en) * 2012-03-14 2012-09-12 浙江工业大学 Layered automatic configuration and optimization method of single line diagram outside power distribution network
CN102663159B (en) * 2012-03-14 2014-05-21 浙江工业大学 Layered automatic configuration and optimization method of single line diagram outside power distribution network
CN108592926A (en) * 2012-03-30 2018-09-28 株式会社电装 Information processing system

Similar Documents

Publication Publication Date Title
JP4071196B2 (en) Automatic memory management for zone rendering
JP4076502B2 (en) Efficient graphics state management for zone rendering
CN110223216B (en) Data processing method and device based on parallel PLB and computer storage medium
US20150325022A1 (en) Technique for processing a character string for graphical representation on a man/machine interface
JPWO2007069557A1 (en) Presentation display device, computer control method and program
JP2005182207A (en) Image plotting device and method, program and recording medium
JP2009020364A (en) Map display device and map display method
CN104050619A (en) Stencil then cover path rendering with shared edges
JP2012032456A (en) Image processing apparatus
JP2003187256A (en) Data structure of graphic data to be recorded in electronic map data and electronic map display device
US7154513B2 (en) Method and system for displaying images
JP4760390B2 (en) Image processing device
JP2001184373A (en) Method and system for generating drawing and computer readable recording medium stored with drawing generation program generating two-dimensional drawing from three-dimensional model data
JP2004233711A (en) Map data construction system
US6867783B2 (en) Recording medium having recorded thereon three-dimensional graphics drawing data having data structure shareable by frames and method of drawing such data
JP3741053B2 (en) Image processing device
JP2004021149A (en) Image processing apparatus and image processing method
JP2007047417A (en) Image generating device
JP2012177958A (en) Graphic system
CN104094348B (en) Display device
US10459681B2 (en) Information processing apparatus, information processing method, and storage medium
JP2009271347A (en) Font plotting device and information processor
JP4152383B2 (en) Navigation system
JP4960768B2 (en) Information processing apparatus, information processing method, and program
JPS58146931A (en) Display