JP2017102318A - Map display device - Google Patents
Map display device Download PDFInfo
- Publication number
- JP2017102318A JP2017102318A JP2015236464A JP2015236464A JP2017102318A JP 2017102318 A JP2017102318 A JP 2017102318A JP 2015236464 A JP2015236464 A JP 2015236464A JP 2015236464 A JP2015236464 A JP 2015236464A JP 2017102318 A JP2017102318 A JP 2017102318A
- Authority
- JP
- Japan
- Prior art keywords
- character string
- character
- predetermined shape
- map
- enlargement
- 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
Links
Images
Landscapes
- Navigation (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
- Instructional Devices (AREA)
Abstract
Description
本発明は、道路名称等の文字列が含まれる地図画像を表示する地図表示装置に関する。 The present invention relates to a map display device that displays a map image including a character string such as a road name.
従来から、地図画像の含まれる道路名等の文字列を構成する各文字をどこに表示すべきかの位置座標を対応付けておき、各文字をそれぞれの座標の位置に表示するようにした地図表示装置が知られている(例えば、特許文献1参照。)。この地図表示装置では、地図画像を回転させたときに、各文字の角度に応じて文字列の配置順番を入れ替えることにより、自然で読みやすい地図表示を実現している。 Conventionally, a map display device that associates position coordinates of where each character constituting a character string such as a road name included in a map image is to be displayed and displays each character at the position of each coordinate Is known (for example, see Patent Document 1). This map display device realizes a natural and easy-to-read map display by changing the arrangement order of the character strings according to the angle of each character when the map image is rotated.
ところで、上述した特許文献1に開示された地図表示装置では、文字列を構成する各文字の位置座標が予め決まっているため、地図画像を拡大した場合に、各文字の間隔も拡大倍率に応じて広くなって、文字列が間延びしてしまい、表示が不自然になって文字列が読みにくくなるという問題があった。特に、道路等の形状に沿って文字列を配置する場合には、拡大時に間延びした文字列の間隔を狭くしようとすると、道路等の形状に沿わなくなってしまうため、不用意に文字列の間隔を変えることで表示の不自然さを改善することはできない。 By the way, in the map display device disclosed in Patent Document 1 described above, since the position coordinates of each character constituting the character string are determined in advance, when the map image is enlarged, the interval between the characters also depends on the enlargement magnification. There is a problem that the character string becomes long and widened, the display becomes unnatural and the character string becomes difficult to read. In particular, when character strings are arranged along the shape of roads, etc., if you try to reduce the distance between the character strings that are extended when enlarged, the character strings will be inadvertently not aligned with the shape of the roads. It is not possible to improve the unnaturalness of the display by changing.
本発明は、このような点に鑑みて創作されたものであり、その目的は、特定の形状に沿って配置された文字列を含む地図画像を拡大したときに、表示が不自然になって文字列が読みにくくなることを防止することができる地図表示装置を提供することにある。 The present invention was created in view of the above points, and its purpose is to display an unnatural image when a map image including a character string arranged along a specific shape is enlarged. An object of the present invention is to provide a map display device that can prevent a character string from becoming difficult to read.
上述した課題を解決するために、本発明の地図表示装置は、構成する各文字が所定間隔を有する文字列が、所定形状に沿って配置された地図画像を所定の拡大倍率で拡大して表示する地図表示装置であって、文字列に対応する所定形状を拡大倍率で拡大する形状拡大手段と、形状拡大手段によって拡大された後の所定形状に沿って、構成する各文字が所定間隔を維持するように文字列を配置する文字列再配置手段とを備えている。 In order to solve the above-described problem, the map display device of the present invention displays a map image in which character strings each having a predetermined interval are arranged along a predetermined shape with a predetermined magnification. A map display device for enlarging a predetermined shape corresponding to a character string at an enlargement ratio, and maintaining a predetermined interval between each character constituting the predetermined shape after being enlarged by the shape enlargement unit And a character string rearranging means for arranging the character strings.
これにより、道路等の形状に沿って文字列が配置されている場合に道路等を含む地図画像を拡大した場合であっても、拡大された道路等の形状に沿って文字列を、拡大前と同じ文字間隔で再配置することができ、文字列が間延びすることもなくなるため、表示が不自然になって文字列が読みにくくなることを防止することができる。 As a result, even when the map image including the road is enlarged when the character string is arranged along the shape of the road or the like, the character string is enlarged along the shape of the enlarged road or the like before the enlargement. Can be rearranged at the same character spacing, and the character string is not extended, so that it is possible to prevent the display from becoming unnatural and the character string from becoming difficult to read.
また、拡大後の所定形状に沿って再配置される文字列は、拡大前の所定形状において文字列の開始点と終了点で挟まれた区間に対応する拡大後の所定形状の区間内に再配置されることが望ましい。これにより、拡大前の文字列を他の文字列と重複しないように配置した場合に、拡大後の文字列も他の文字列と重複しないようにすることができる。 In addition, the character string rearranged along the predetermined shape after enlargement is re-entered within the section of the predetermined shape after expansion corresponding to the section sandwiched between the start point and end point of the character string in the predetermined shape before expansion. It is desirable to be arranged. Thereby, when the character string before expansion is arranged so as not to overlap with other character strings, the character string after expansion can be prevented from overlapping with other character strings.
また、拡大後の所定形状に沿って再配置される文字列の開始点あるいは終了点は、拡大前の所定形状において文字列の開始点あるいは終了点に対応する位置に配置されることが望ましい。これにより、再配置される文字列の各文字の位置を一義的に決めることができ、処理の簡略化が可能となる。 Further, it is desirable that the start point or end point of the character string rearranged along the predetermined shape after enlargement is arranged at a position corresponding to the start point or end point of the character string in the predetermined shape before enlargement. Thereby, the position of each character of the character string to be rearranged can be uniquely determined, and the processing can be simplified.
また、拡大前の所定形状は、所定の関数を用いて形状が設定されていることが望ましい。所定形状を関数近似することにより、拡大後の所定形状に沿った各文字の位置を計算により求めることが可能になる。 Further, it is desirable that the predetermined shape before enlargement is set using a predetermined function. By approximating the predetermined shape as a function, the position of each character along the enlarged predetermined shape can be obtained by calculation.
また、上述した所定の関数は、次数nの多項式であることが望ましい。これにより、拡大後の所定形状に沿った各文字の位置計算が容易になって、処理の簡略化が可能になる。 The predetermined function described above is preferably a polynomial of degree n. Thereby, the position calculation of each character along the predetermined shape after enlargement becomes easy, and the processing can be simplified.
以下、本発明の地図表示装置を適用した一実施形態のナビゲーション装置について、図面を参照しながら説明する。 Hereinafter, a navigation device according to an embodiment to which a map display device of the present invention is applied will be described with reference to the drawings.
図1は、一実施形態のナビゲーション装置の構成を示す図である。図1に示すナビゲーション装置は、ナビゲーションコントローラ1、地図データ記憶装置3、操作部4、車両位置検出部5、表示装置6、オーディオ部7を含んで構成されている。このナビゲーション装置は、車両に搭載されている。
FIG. 1 is a diagram illustrating a configuration of a navigation device according to an embodiment. The navigation device shown in FIG. 1 includes a navigation controller 1, a map
ナビゲーションコントローラ1は、CPU、ROM、RAM等を用いて所定の動作プログラムを実行することにより、自車位置周辺の地図画像表示動作や施設検索動作、経路探索・誘導動作などの各種機能を実現する。ナビゲーションコントローラ1の詳細構成については後述する。 The navigation controller 1 implements various functions such as a map image display operation around the own vehicle position, a facility search operation, and a route search / guidance operation by executing a predetermined operation program using a CPU, ROM, RAM, and the like. . The detailed configuration of the navigation controller 1 will be described later.
地図データ記憶装置3は、地図表示、施設検索、経路探索などに必要な地図データが格納されている記憶媒体およびその読み取り装置である。この地図データ記憶装置3には、経度および緯度で適当な大きさに区切られた矩形形状の図葉を単位とした地図データが格納されている。各図葉の地図データは、図葉番号を指定することにより特定され、読み出すことが可能となる。
The map
この地図データは、経緯度で表現された点(ノード)の座標集合で表されており、また、道路は2以上のノードの連結からなり、2つのノードを連結した部分はリンクと呼ばれる。地図データは、道路リスト、ノードテーブル、交差点構成ノードリスト、交差点ネットリスト等からなるマップマッチング用および経路探索用の道路データ、地図画面上に道路、公園、河川、目印となる建物や施設等の各種物件を表示するための背景データ、市町村名などの行政区画名、道路名、交差点名、建物の名前等の文字や地図記号等を表示するための文字・記号データなどから構成されている。 This map data is represented by a coordinate set of points (nodes) expressed by longitude and latitude, and a road is formed by connecting two or more nodes, and a portion connecting two nodes is called a link. Map data includes road data for map matching and route search, including road lists, node tables, intersection configuration node lists, intersection net lists, etc., roads, parks, rivers, landmark buildings and facilities on the map screen, etc. It consists of background data for displaying various properties, administrative division names such as municipalities, road names, intersection names, characters such as building names, and character / symbol data for displaying map symbols.
地図データを構成する各種データのうち本発明に関連するのは文字・記号データであり、この文字・記号データには、所定形状(例えば、道路形状、鉄道形状、河川形状など)に沿って配置される文字列の内容・位置を特定するための文字列情報が含まれている。文字列情報の詳細については後述する。 Of the various data constituting the map data, the data related to the present invention is character / symbol data, and the character / symbol data is arranged along a predetermined shape (for example, road shape, railway shape, river shape, etc.). The character string information for specifying the content / position of the character string to be processed is included. Details of the character string information will be described later.
地図データ記憶装置3は、ハードディスク装置や半導体メモリによって、あるいは、DVDとその読み取り装置によって実現される。また、地図データ記憶装置3を通信装置に置き換えて、外部の地図配信サーバ(図示せず)から地図データを取得するようにしてもよい。
The map
操作部4は、利用者の指示(操作)を受け付けるためのものであり、各種の操作ボタンや操作つまみ類を備えている。また、操作部4は、表示装置6の画面に取り付けられたタッチパネルを含んでおり、画面上の一部を直接利用者が指等で指し示すことにより、操作指示を行うことができるようになっている。車両位置検出部5は、例えば、GPS受信機、方位センサ、距離センサなどを備えており、所定のタイミングで車両位置(経度、緯度)の検出を行い、検出結果を出力する。 The operation unit 4 is for receiving user instructions (operations), and includes various operation buttons and operation knobs. In addition, the operation unit 4 includes a touch panel attached to the screen of the display device 6, and the user can directly perform an operation instruction by pointing a part on the screen with a finger or the like. Yes. The vehicle position detection unit 5 includes, for example, a GPS receiver, an orientation sensor, a distance sensor, and the like, detects the vehicle position (longitude, latitude) at a predetermined timing, and outputs a detection result.
表示装置6は、例えばLCD(液晶表示装置)によって構成されており、ナビゲーションコントローラ1から出力される映像信号に基づいて自車位置周辺の地図画像や交差点案内画像、あるいは、施設検索によって得られた施設やその周辺駐車場が含まれる検索結果画像などを表示する。例えば、この表示装置6は、ダッシュボード中央あるいはダッシュボード上に配置されたナビゲーション装置の筐体と一体になっている。なお、表示装置6は、ナビゲーション装置の筐体とは分離し、運転者の見やすい位置に離して配置するようにしてもよい。オーディオ部7は、ナビゲーションコントローラ1から入力される音声信号に基づいて生成した案内音声等を車室内に出力する。 The display device 6 is composed of, for example, an LCD (liquid crystal display device), and is obtained by a map image around the vehicle position, an intersection guide image, or a facility search based on the video signal output from the navigation controller 1. A search result image including the facility and the surrounding parking lot is displayed. For example, the display device 6 is integrated with a housing of a navigation device arranged in the center of the dashboard or on the dashboard. The display device 6 may be separated from the casing of the navigation device and separated from the driver's legible position. The audio unit 7 outputs a guidance voice or the like generated based on the voice signal input from the navigation controller 1 into the vehicle interior.
次に、ナビゲーションコントローラ1の詳細構成について説明する。図1に示すナビゲーションコントローラ1は、地図バッファ10、地図読出制御部12、地図描画部14、車両位置計算部20、目的地設定部22、経路探索処理部24、経路誘導処理部26、入力処理部30、表示処理部40を含んで構成されている。
Next, a detailed configuration of the navigation controller 1 will be described. 1 includes a
地図バッファ10は、地図データ記憶装置3から読み出された地図データを一時的に格納する。地図読出制御部12は、車両位置計算部20により算出される車両位置や利用者が操作部4を操作して指定した位置に応じて、所定範囲の地図データの読み出し要求を地図データ記憶装置3に出力する。地図描画部14は、地図バッファ10に格納された地図データに基づいて、表示装置6に地図画像を表示するために必要な描画処理を行って地図画像描画データを作成する。地図描画部14の詳細については後述する。
The
車両位置計算部20は、車両位置検出部5から出力される検出データに基づいて自車位置を計算するとともに、計算した自車位置が地図データの道路上にない場合には、自車位置を修正するマップマッチング処理を行う。
The vehicle
目的地設定部22は、経路探索処理の目的地を設定する。例えば、目的地設定部22は、利用者によって指定される検索条件を満足する施設を検索して目的地として設定する。経路探索処理部24は、出発地と目的地(あるいは経由地)との間を所定の探索条件にしたがって結ぶ走行経路(誘導経路)を探索する。経路誘導処理部26は、経路探索処理部24による探索処理によって得られた誘導経路を地図上に重ねて表示したり、右左折交差点の拡大図を表示するための誘導経路描画データを作成するとともに、誘導経路に沿って車両を誘導するために必要な交差点案内等の音声信号を生成する。
The
入力処理部30は、操作部4から入力される各種の操作指示に対応する動作を行うための命令をナビゲーションコントローラ1内の各部に向けて出力する。表示処理部40は、地図描画部14によって作成される地図画像描画データが入力されており、この描画データに基づいて所定範囲の地図画像を表示装置6の画面に表示する。
The
次に、地図描画部14の詳細について説明する。図1に示すように、地図描画部14は、背景描画部140、文字・記号描画部142を備えている。本実施形態では、表示対象となる地図画像は、背景画像とこの背景画像に重ねて表示される文字や記号等によって構成されているものとする。
Next, details of the
背景描画部140は、地図データに含まれる背景データに基づいて、海、湖、森林、田、畑、建物、道路、線路、河川などの背景画像を描画する。文字・記号描画部142は、地図データに含まれる文字・記号データに基づいて、背景画像上に重ねて配置される道路名、線路名、河川名、地名、建物名等あるいは地図記号等の各種の文字列や記号を描画する。
The
本実施形態では、地図画像の表示縮尺の変更は、ある範囲については基準縮尺を有する背景画像を拡大することにより行われる。図2は、基準縮尺とそれ以外の表示縮尺との関係を示す図である。図2に示すように、広域表示から詳細表示までの広い範囲で表示縮尺が変更可能である場合に、複数の基準縮尺A〜Gが設定されており、それぞれの基準縮尺に対応する背景データや文字・記号データが用意されている。なお、各基準縮尺に対応する背景データは、ビットマップ形式やJPEG形式で持つ場合や、ポリゴンデータとテクスチャデータを組み合わせる場合、これらを組み合わせる場合など様々なものが考えられるが、本発明では背景データの種類については特に限定されない。 In the present embodiment, the map image display scale is changed by enlarging a background image having a reference scale for a certain range. FIG. 2 is a diagram showing the relationship between the reference scale and other display scales. As shown in FIG. 2, when the display scale can be changed in a wide range from the wide area display to the detailed display, a plurality of reference scales A to G are set, and background data corresponding to each reference scale or Character / symbol data is available. There are various background data corresponding to each reference scale, such as a case where the background data is in a bitmap format or JPEG format, a case where polygon data and texture data are combined, and a case where these are combined. There is no particular limitation on the type of the above.
また、隣接する基準縮尺間、例えば基準縮尺Cと基準縮尺Dの間の表示縮尺の背景画像を表示する場合には、表示縮尺が小さい側の基準縮尺Cの背景画像を拡大することにより行われる。表示したい背景画像の表示縮尺をC’とすると、この背景画像は、基準縮尺Cの背景画像を拡大倍率(C/C’)で拡大すればよい。このような背景画像の拡大は背景描画部140によって行われる。
Further, when displaying a background image of a display scale between adjacent reference scales, for example, between the reference scale C and the reference scale D, it is performed by enlarging the background image of the reference scale C on the smaller display scale. . Assuming that the display scale of the background image to be displayed is C ′, the background image may be enlarged at a magnification (C / C ′) of the background image of the reference scale C. Such background image enlargement is performed by the
また、文字列や記号については、大きさは変えずに、拡大後の背景画像上に重ねて配置される。特に、拡大前の背景画像に含まれる道路等に沿って配置されていた文字列については、拡大後の背景画像に含まれる道路等に沿うように、かつ、文字列を構成する各文字の間隔が広がらないように(間延びしないように)各文字の再配置が行われる。 In addition, the character strings and symbols are arranged on the enlarged background image without changing the size. In particular, for character strings arranged along roads and the like included in the background image before enlargement, the distance between the characters constituting the character string so as to follow the roads and the like included in the background image after enlargement Each character is rearranged so as not to spread (so as not to be spread out).
このような所定形状に沿った文字列を構成する各文字の再配置を行うために、文字・記号描画部142は、拡大倍率計算部144、形状拡大部146、文字列再配置部148を備える。
The character / symbol drawing unit 142 includes an enlargement
拡大倍率計算部144は、表示縮尺が変更されたときに、変更後の表示縮尺に最も近く、変更後の表示縮尺よりも小さい基準縮尺を特定し、縮尺変更の前後の比を拡大倍率として計算する。上述した表示縮尺C’に変更する場合を考えると、表示縮尺C’よりも小さい最も近い基準縮尺はCであり、拡大倍率(C/C’)が計算される。
When the display scale is changed, the enlargement
形状拡大部146は、文字列に対応する所定形状を、拡大倍率計算部144による計算により得られた拡大倍率で拡大する。拡大前の所定形状は、所定の関数、望ましくは、次数nの多項式を用いて形状が設定されている。例えば、多項式の次数をn、多項式の各項の係数をan、an-1、an-2、・・・、a1、a0とすると、この多項式は以下のように表すことができる。
The
anxn+an-1xn+1+an-2xn+2+・・・+a1+a0 ・・・(1)
文字列再配置部148は、形状拡大部146によって拡大された後の所定形状に沿って、構成する各文字が、拡大前の文字列と同じ所定間隔を維持するように文字列を配置する。拡大後の所定形状に沿って再配置される文字列は、拡大前の所定形状において文字列の開始点と終了点で挟まれた区間に対応する拡大後の所定形状の区間内に再配置される。具体的には、拡大後の所定形状に沿って再配置される文字列の開始点あるいは終了点は、拡大前の所定形状において文字列の開始点あるいは終了点に対応する位置に配置される。
a n x n + a n-1 x n + 1 + a n-2 x n + 2 + ... + a 1 + a 0 (1)
The character
図3は、拡大後の文字列の再配置範囲の説明図である。図3(A)には、拡大後の所定形状の区間内の中間位置に文字列が配置された例が示されている。図3(B)には、拡大前後の所定形状の区間内において文字列の開始点を合わせた例が示されている。図3(C)には、拡大前後の所定形状の区間内において文字列の終了点を合わせた例が示されている。 FIG. 3 is an explanatory diagram of a rearranged range of character strings after enlargement. FIG. 3A shows an example in which a character string is arranged at an intermediate position in a section having a predetermined shape after enlargement. FIG. 3B shows an example in which the start points of the character strings are combined in a predetermined-shaped section before and after the enlargement. FIG. 3C shows an example in which the end points of the character strings are matched in a section having a predetermined shape before and after the enlargement.
上述した形状拡大部146が形状拡大手段に、文字列再配置部148が文字列再配置手段にそれぞれ対応する。
The above-described
本実施形態のナビゲーション装置はこのような構成を有しており、次に、その動作を説明する。 The navigation device of this embodiment has such a configuration, and the operation thereof will be described next.
図4は、文字列情報の詳細を示す図である。図4に示すように、文字列情報には、「文字列」、「基準縮尺配置開始点」、「基準縮尺配置終了点」、「多項式の次数」、「多項式係数列」が含まれている。「文字列」は、文字列を構成する各文字を特定する情報であり、各文字に対応する文字コードが含まれている。「基準縮尺配置開始点」は、文字列の先頭文字の位置を、基準縮尺の地図画像上での座標で示したものである。「基準縮尺配置終了点」は、文字列の最終文字の位置を、基準縮尺の地図画像上での座標で示したものである。「多項式の次数」は、文字列に対応する所定形状を近似した多項式の次数nであり、具体的な数字がnの値として設定される。「多項式係数列」は、n次多項式の各項の係数であり、(1)式に示す多項式の係数an、an-1、an-2、・・・、a1、a0が含まれる。例えば、nが3の場合には、4つの係数a3、a2、a1、a0の具体的な値が含まれる。 FIG. 4 is a diagram showing details of the character string information. As shown in FIG. 4, the character string information includes “character string”, “reference scale arrangement start point”, “reference scale arrangement end point”, “degree of polynomial”, and “polynomial coefficient string”. . “Character string” is information for identifying each character constituting the character string, and includes a character code corresponding to each character. The “reference scale placement start point” indicates the position of the first character of the character string by coordinates on the map image of the reference scale. The “reference scale placement end point” indicates the position of the last character of the character string by coordinates on the map image of the reference scale. “Polynomial degree” is the degree n of a polynomial approximating a predetermined shape corresponding to a character string, and a specific number is set as the value of n. "Polynomial coefficients column" is a coefficient of each term of the polynomial of degree n, (1) coefficient a n of the polynomial shown in the expression, a n-1, a n -2, ···, is a 1, a 0 included. For example, when n is 3, specific values of four coefficients a 3 , a 2 , a 1 , and a 0 are included.
図5は、地図画像の拡大時に、文字列を構成する各文字を再配置する動作手順を示す流れ図である。この動作手順は、表示画面が更新される周期(例えば、1/30秒毎)で繰り返し実施される。また、この動作手順は、所定形状に沿って配置される1つの文字列に着目したものであって、背景画像に重ねて配置される文字列が複数存在する場合には、各文字列について同様の動作が行われる。 FIG. 5 is a flowchart showing an operation procedure for rearranging the characters constituting the character string when the map image is enlarged. This operation procedure is repeatedly performed at a cycle (for example, every 1/30 seconds) at which the display screen is updated. In addition, this operation procedure focuses on one character string arranged along a predetermined shape, and when there are a plurality of character strings arranged on the background image, the same applies to each character string. Is performed.
まず、拡大倍率計算部144は、表示縮尺が基準縮尺に対して変更されているか否かを判定する(ステップ100)。変更されている場合には肯定判断が行われる。次に、拡大倍率計算部144は、基準縮尺と変更後の表示縮尺とに基づいて、文字列に対応する所定形状の拡大倍率を計算する(ステップ102)。例えば、図2に示す例では、表示縮尺C’と基準縮尺Cとに基づいて、拡大倍率M(=C/C’)が計算される。
First, the
次に、形状拡大部146は、文字列に対応する所定形状をステップ102で計算した拡大倍率Mで拡大する(ステップ104)。例えば、(1)式をf(x)として、この関数f(x)を用いて所定形状を近似した場合を考えると、基準縮尺の表示画像における各文字列の座標(x、y)は、
y=f(x) ・・・(2)
で計算することができる。なお、関数f(x)をできるだけ単純なものとするために、基準縮尺配置開始点と基準縮尺配置終了点の両方がX軸(水平軸)上に配置されるように文字列の各文字の位置を回転するとともに、基準縮尺配置開始点を座標の原点(0,0)に置き換えた後に、(2)式の関数f(x)が定義されている。したがって、最終的に各文字の座標(x、y)が計算によって得られた後に、再度反対向きに各文字の位置を回転させるとともに、基準縮尺配置開始点の座標を原点に置き換えた分元に戻すための座標変換が必要であるが、説明を簡略化するため、このらの操作については説明を省略する。
Next, the
y = f (x) (2)
Can be calculated with In order to make the function f (x) as simple as possible, each character of the character string is arranged so that both the reference scale arrangement start point and the reference scale arrangement end point are arranged on the X axis (horizontal axis). After rotating the position and replacing the reference scale arrangement start point with the coordinate origin (0, 0), the function f (x) in the equation (2) is defined. Therefore, after the coordinates (x, y) of each character are finally obtained by calculation, the position of each character is rotated again in the opposite direction, and the coordinates of the reference scale placement start point are replaced with the origin. Coordinate conversion for returning is necessary, but in order to simplify the explanation, explanation of these operations is omitted.
(2)式で示される関数で近似された所定形状を、x軸方向およびy軸方向にM倍すると、拡大後の所定形状に沿った位置の座標(x、y)は、
y=M×f(x/M) ・・・(3)
で計算することができる。
When the predetermined shape approximated by the function expressed by the equation (2) is multiplied by M in the x-axis direction and the y-axis direction, the coordinates (x, y) of the position along the predetermined shape after expansion are
y = M × f (x / M) (3)
Can be calculated with
次に、文字列再配置部148は、文字列の1文字目について所定形状に沿った配置を決定する(ステップ106)。なお、図3(B)に示すケース(拡大前後の所定形状の区間内において文字列の開始点を合わせた場合)では、拡大後の所定形状の一方端である原点(0,0)の位置に文字列の1文字目(先頭文字)の位置が配置される。
Next, the character
次に、文字列再配置部148は、文字列の2文字目について所定形状に沿った位置を決定する(ステップ108)。
Next, the character
図6は、文字列の2文字目以降を配置する説明図である。図6において、P1は1文字目の配置の中心位置を、T1は文字列の1文字目の文字の表示範囲をそれぞれ示している。各文字には、互いに重ならないで配置することができる隣接文字の中心位置を指定するための枠Wが設定されている。文字列再配置部148は、1文字目の文字に対応して設定された枠Wと、拡大後の関数M×f(x/M)とが交差する位置P2を2文字目の位置の中心位置に設定する。なお、このようにして隣接する文字の位置を決定する手順は、拡大後の所定形状に沿って文字列を配置する場合だけでなく、拡大前の所定形状に沿って文字列を配置する場合も同じであり、その結果、拡大前後で文字列を構成する各文字の間隔を同じにすることができる。
FIG. 6 is an explanatory diagram for arranging the second and subsequent characters of the character string. In FIG. 6, P1 indicates the center position of the first character arrangement, and T1 indicates the display range of the first character in the character string. Each character is provided with a frame W for designating the center position of adjacent characters that can be arranged without overlapping each other. The character
次に、文字列再配置部148は、次の文字があるか否かを判定する(ステップ110)。3文字目以降が存在する場合には肯定判断が行われる。次に、文字列再配置部148は、2文字目の配置を決定した手順と同様にして、次の文字の位置を決定する(ステップ112)。その後、ステップ110に戻って次の文字の有無判定以降の動作が繰り返される。
Next, the character
また、文字列を構成する全ての文字の位置が決定するとステップ110の判定において否定判断が行われ、拡大した地図画像に含まれる拡大後の所定形状に沿った文字列の再配置動作が終了する。
When the positions of all the characters constituting the character string are determined, a negative determination is made in the determination in
なお、表示縮尺が変更されずに基準縮尺の地図画像表示が行われている場合にはステップ100の判定において否定判断が行われ、ステップ102、104における所定形状の拡大はせず、直ちにステップ106に移行する。この場合には、拡大後の所定形状に対応する関数(M×f(x/M))ではなく、拡大前の所定形状に対応する関数(f(x))を用いて、文字列を構成する各文字の配置を行えばよい。
If the reference scale map image display is performed without changing the display scale, a negative determination is made in the determination of
このように、本実施形態のナビゲーション装置では、道路等の形状に沿って文字列が配置されている場合に道路等を含む地図画像を拡大した場合であっても、拡大された道路等の形状に沿って文字列を、拡大前と同じ文字間隔で再配置することができ、文字列が間延びすることもなくなるため、表示が不自然になって文字列が読みにくくなることを防止することができる。 As described above, in the navigation device of the present embodiment, even when a map image including a road or the like is enlarged when a character string is arranged along the shape of the road or the like, the shape of the enlarged road or the like The character string can be rearranged at the same character spacing as before enlargement, and the character string will not be extended, thereby preventing the display from becoming unnatural and difficult to read. it can.
また、拡大後の所定形状に沿って再配置される文字列を、拡大前の所定形状において文字列の開始点と終了点で挟まれた区間に対応する拡大後の所定形状の区間内に再配置することにより(図3(A))、拡大前の文字列を他の文字列と重複しないように配置した場合に、拡大後の文字列も他の文字列と重複しないようにすることができる。 In addition, the character string rearranged along the predetermined shape after the enlargement is rearranged in the section of the predetermined shape after the expansion corresponding to the section sandwiched between the start point and the end point of the character string in the predetermined shape before the expansion. By arranging (FIG. 3A), when the character string before enlargement is arranged so as not to overlap with other character strings, the character string after enlargement may also be prevented from overlapping with other character strings. it can.
また、拡大後の所定形状に沿って再配置される文字列の開始点あるいは終了点を、拡大前の所定形状において文字列の開始点あるいは終了点に対応する位置に配置することにより(図3(B)、(C))、再配置される文字列の各文字の位置を一義的に決めることができ、処理の簡略化が可能となる。 Further, the start point or end point of the character string rearranged along the predetermined shape after enlargement is arranged at a position corresponding to the start point or end point of the character string in the predetermined shape before enlargement (FIG. 3). (B), (C)), the position of each character in the rearranged character string can be uniquely determined, and the processing can be simplified.
また、文字列に対応する拡大前の所定形状を関数近似することにより、拡大後の所定形状に沿った各文字の位置を計算により求めることが可能になる。また、この関数を次数nの多項式とすることにより、拡大後の所定形状に沿った各文字の位置計算が容易になって、処理の簡略化が可能になる。 Further, by approximating the predetermined shape before enlargement corresponding to the character string by a function, the position of each character along the predetermined shape after enlargement can be obtained by calculation. Further, by making this function a polynomial of degree n, it becomes easy to calculate the position of each character along a predetermined shape after enlargement, and the processing can be simplified.
なお、本発明は上記実施形態に限定されるものではなく、本発明の要旨の範囲内において種々の変形実施が可能である。例えば、上述した実施形態では、地図画像を拡大した際に、文字列を構成する各文字の順番を維持するようにしたが、ヘディングアップで地図画像を表示する際に車両の向きとともに地図画像が回転するような場合には、文字列を左から右へ、あるいは、上から下に読むことができるように、必要に応じて文字列の順番を入れ替えるようにしてもよい。このような場合であっても、拡大後の所定形状に沿って文字列を構成する各文字を再配置する動作自体には変わりがないため、本発明を適用することができる。 In addition, this invention is not limited to the said embodiment, A various deformation | transformation implementation is possible within the range of the summary of this invention. For example, in the above-described embodiment, when the map image is enlarged, the order of the characters constituting the character string is maintained. However, when the map image is displayed with heading up, the map image is displayed together with the vehicle direction. In the case of rotation, the order of the character strings may be changed as necessary so that the character strings can be read from left to right or from top to bottom. Even in such a case, the present invention can be applied because there is no change in the operation itself of rearranging the characters constituting the character string along the enlarged predetermined shape.
また、上述した実施形態では、車両に搭載されたナビゲーション装置に本発明を適用したが、携帯端末装置で実行する地図アプリケーションにおいて地図画像を拡大する場合や、パーソナルコンピュータ等で実行する地図アプリケーションにおいて地図画像を拡大する場合についても本発明を適用することができる。 In the embodiment described above, the present invention is applied to a navigation device mounted on a vehicle. However, when a map image is enlarged in a map application executed by a mobile terminal device, or a map is executed in a map application executed by a personal computer or the like. The present invention can also be applied to the case of enlarging an image.
上述したように、本発明によれば、道路等の形状に沿って文字列が配置されている場合に道路等を含む地図画像を拡大した場合であっても、拡大された道路等の形状に沿って文字列を、拡大前と同じ文字間隔で再配置することができ、文字列が間延びすることもなくなるため、表示が不自然になって文字列が読みにくくなることを防止することができる。 As described above, according to the present invention, when a character string is arranged along the shape of a road or the like, even if the map image including the road or the like is enlarged, the shape of the enlarged road or the like is obtained. The character string can be rearranged at the same character spacing as before the enlargement, and the character string is not extended, so that it is possible to prevent the display from becoming unnatural and difficult to read. .
1 ナビゲーションコントローラ
3 地図データ記憶装置
6 表示装置
10 地図バッファ
12 地図読出制御部
14 地図描画部
20 車両位置計算部
40 表示処理部
140 背景描画部
142 文字・記号描画部
144 拡大倍率計算部
146 形状拡大部
148 文字列再配置部
DESCRIPTION OF SYMBOLS 1
Claims (5)
前記文字列に対応する前記所定形状を前記拡大倍率で拡大する形状拡大手段と、
前記形状拡大手段によって拡大された後の前記所定形状に沿って、構成する各文字が前記所定間隔を維持するように前記文字列を配置する文字列再配置手段と、
を備えることを特徴とする地図表示装置。 A character string having a predetermined interval between each character constituting a map display device that displays an enlarged map image arranged at a predetermined magnification at a predetermined magnification,
Shape enlarging means for enlarging the predetermined shape corresponding to the character string at the enlargement magnification;
A character string rearrangement unit that arranges the character string so that each character constituting the character string maintains the predetermined interval along the predetermined shape after being enlarged by the shape enlargement unit;
A map display device comprising:
拡大後の前記所定形状に沿って再配置される前記文字列は、拡大前の前記所定形状において前記文字列の開始点と終了点で挟まれた区間に対応する拡大後の前記所定形状の区間内に再配置されることを特徴とする地図表示装置。 In claim 1,
The character string to be rearranged along the predetermined shape after expansion is a section of the predetermined shape after expansion corresponding to a section sandwiched between the start point and end point of the character string in the predetermined shape before expansion A map display device characterized by being rearranged inside.
拡大後の前記所定形状に沿って再配置される前記文字列の開始点あるいは終了点は、拡大前の前記所定形状において前記文字列の開始点あるいは終了点に対応する位置に配置されることを特徴とする地図表示装置。 In claim 1 or 2,
The start point or end point of the character string to be rearranged along the predetermined shape after enlargement is arranged at a position corresponding to the start point or end point of the character string in the predetermined shape before enlargement. A featured map display device.
拡大前の前記所定形状は、所定の関数を用いて形状が設定されていることを特徴とする地図表示装置。 In any one of Claims 1-3,
The map display device, wherein the predetermined shape before the enlargement is set using a predetermined function.
前記所定の関数は、次数nの多項式であることを特徴とする地図表示装置。 In claim 4,
The map display device, wherein the predetermined function is a polynomial of degree n.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015236464A JP2017102318A (en) | 2015-12-03 | 2015-12-03 | Map display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015236464A JP2017102318A (en) | 2015-12-03 | 2015-12-03 | Map display device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2017102318A true JP2017102318A (en) | 2017-06-08 |
Family
ID=59015297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015236464A Pending JP2017102318A (en) | 2015-12-03 | 2015-12-03 | Map display device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2017102318A (en) |
-
2015
- 2015-12-03 JP JP2015236464A patent/JP2017102318A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2002098538A (en) | Navigation system and method for displaying information of pseudo three dimensional map | |
JP5312815B2 (en) | Map enlargement display device | |
JP2007298301A (en) | Map display device | |
JP2020173685A (en) | Display control device and display control method | |
US9582915B2 (en) | Method, apparatus and computer program product for improved visualization of geo-located features | |
JP7223624B2 (en) | Display control device and display control method | |
JP2006201072A (en) | Navigation apparatus | |
US10409842B2 (en) | Storage medium, map information processing apparatus, and data generation method | |
JP5556526B2 (en) | Map display device, map display method and program | |
US9360340B1 (en) | Customizable presentation of navigation directions | |
JP2014119339A (en) | Navigation device, screen display method, and screen display program | |
JP2007212836A (en) | Information acquisition device, information display device, information acquiring method, and the like | |
JP2017102318A (en) | Map display device | |
JP2016038305A (en) | Map drawing system and map drawing method | |
JP5203588B2 (en) | Map data generation method and map display device | |
JP2010197407A (en) | Navigation system and display method of road network on the same | |
US10552997B2 (en) | Data aware interface controls | |
US9574900B2 (en) | Navigation apparatus and method for drawing map | |
JP6247456B2 (en) | Navigation device and map drawing method | |
JP6574570B2 (en) | Information processing apparatus, program, and drawing method | |
JP4008746B2 (en) | Navigation device | |
JP2005077569A (en) | Map display device and map display program | |
JP5734451B2 (en) | Map data conversion method, storage medium, and map display device | |
JP2016095137A (en) | Map display device and method | |
JP2007328231A (en) | Data structure of object content display information, data structure of map information, recording medium with map information recorded thereon, display controller, display control method, display control program, and recording medium with the program recorded thereon |