JP5094904B2 - Regional information retrieval server and regional information retrieval method - Google Patents

Regional information retrieval server and regional information retrieval method Download PDF

Info

Publication number
JP5094904B2
JP5094904B2 JP2010092017A JP2010092017A JP5094904B2 JP 5094904 B2 JP5094904 B2 JP 5094904B2 JP 2010092017 A JP2010092017 A JP 2010092017A JP 2010092017 A JP2010092017 A JP 2010092017A JP 5094904 B2 JP5094904 B2 JP 5094904B2
Authority
JP
Japan
Prior art keywords
mesh
order
section
search
poi
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
JP2010092017A
Other languages
Japanese (ja)
Other versions
JP2011221888A (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.)
Yahoo Japan Corp
Original Assignee
Yahoo Japan 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 Yahoo Japan Corp filed Critical Yahoo Japan Corp
Priority to JP2010092017A priority Critical patent/JP5094904B2/en
Publication of JP2011221888A publication Critical patent/JP2011221888A/en
Application granted granted Critical
Publication of JP5094904B2 publication Critical patent/JP5094904B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Instructional Devices (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、地域情報検索サーバ、地域情報検索システム及び地域情報検索方法に関し、特に、ユーザからの位置情報に基づく中心地点の周辺の地域情報の検索に関し、多階層に階層化されたメッシュ構造において、検索メッシュ次数を変更して、地域情報の検索を行う地域情報検索サーバ、地域情報検索システム及び地域情報検索方法に関する。   The present invention relates to an area information search server, an area information search system, and an area information search method, and more particularly, to a search for area information around a central point based on position information from a user, in a mesh structure hierarchized in multiple layers. The present invention relates to an area information search server, an area information search system, and an area information search method for searching for area information by changing the search mesh order.

インターネット上で提供される地域情報検索サービスでは、日本全土または世界全体を表す地図データを所定の範囲のメッシュに区切って管理し、ユーザが入力した位置情報に対応するメッシュやその周辺のメッシュに含まれるPOIを検索結果として出力している。メッシュは複数の階層構造を有し、次数が高いほど詳細な領域を対象とし、高次のメッシュは低次のメッシュに包含される構造になっている。   In the regional information search service provided on the Internet, map data representing the whole of Japan or the whole world is divided into meshes of a predetermined range and managed, and included in meshes corresponding to location information entered by the user and surrounding meshes. Output POI as a search result. The mesh has a plurality of hierarchical structures, and the higher the order, the more detailed the region is targeted, and the higher order mesh is included in the lower order mesh.

周辺のメッシュに位置する地域情報を取得する方法についての先行技術として、特許文献1があった。特許文献1では、特定次数のメッシュでの情報検索を対象として、当該特定次数のメッシュで分割された領域に含まれるデータを抽出する際に、時計回りや反時計回りにメッシュの検索順序を決定している。   As a prior art about the method of acquiring the regional information located in the surrounding mesh, there was Patent Literature 1. In Patent Document 1, when data included in a region divided by a mesh of a specific order is extracted for information search using a mesh of a specific order, the mesh search order is determined clockwise or counterclockwise. is doing.

特開2004−178191号公報JP 2004-178191 A

しかしながら、特許文献1では、特定次数のメッシュでの情報検索を対象としており、地方や山間部などのように、当該メッシュに含まれる地域情報が少ない場合、高次数のメッシュでは、相当の量のメッシュを計算する必要があり、演算処理の負荷がかかるという問題点があった。   However, Patent Document 1 is intended for information retrieval using a mesh of a specific order, and when there is little area information included in the mesh, such as in a rural area or a mountainous area, a considerable amount of mesh is required for a high-order mesh. There is a problem in that it is necessary to calculate the mesh, and the processing load is increased.

更に、m次中心メッシュ、m次中心メッシュを含むm−1次メッシュ、m−1次メッシュを含むm−2メッシュ、・・・と、地域情報検索単位の検索メッシュ次数を小さくして広域の地域情報を取得しようとした場合に、ユーザが指定した位置情報に対応する高次の中心メッシュが低次メッシュの中心に位置するとは限らず、m次中心メッシュからの位置に偏りがでてしまい、該低次メッシュに含まれる複数の地域情報について、中心メッシュからの距離が地域情報の位置によって、大きく異なってしまうという問題点があった。   Further, the m-order center mesh, the m-1 order mesh including the m order center mesh, the m-2 mesh including the m-1 order mesh,. When trying to acquire regional information, the high-order center mesh corresponding to the position information specified by the user is not always located at the center of the low-order mesh, and the position from the m-order center mesh is biased. The plurality of pieces of regional information included in the low-order mesh have a problem that the distance from the center mesh varies greatly depending on the location of the regional information.

本発明は、上記問題点に鑑みてなされたものであり、複数次数に階層化されたメッシュ構造において、検索するメッシュの次数を距離に応じて変化させ、地方や山間部のように地域情報が疎であっても、演算処理負荷を掛けることがなく、また、地域情報をなるべく中心メッシュから偏ることがなく検索することのできる地域情報検索サーバ、地域情報検索システム及び地域情報検索方法を提供することを目的とする。   The present invention has been made in view of the above problems, and in a mesh structure hierarchized into a plurality of orders, the order of meshes to be searched is changed according to distance, and regional information such as regions and mountainous areas is obtained. Provided is a region information search server, a region information search system, and a region information search method capable of searching even if sparse, without applying a processing load, and making it possible to search the region information with as little deviation from the central mesh as possible. For the purpose.

請求項1記載の発明によれば、地域情報検索サーバであって、全体地図を複数のメッシュに分割して、縮尺に応じて当該メッシュのサイズが異なる複数の段階の1次〜m次(mは2以上の整数)の次数のメッシュに階層化されたメッシュ構造において、各POIを一意に特定するPOI識別子を含みPOI情報を記憶するPOI情報データベースと、前記POI識別子及び各POIが位置するメッシュを特定する情報を記憶するPOI検索データベースと、リクエストされた位置情報が示す初期検索メッシュ次数の中心メッシュから成る区分(i−1)(i=1)、又は各対応する検索メッシュ次数の中心メッシュから該検索メッシュ次数について緯度又は経度方向に1個以上離間する隣接メッシュの集合であり、該対応する検索メッシュ次数のメッシュから成る区分j(j=1〜i−1,iは2以上の整数)の最外周のメッシュの直外側の1重の矩形の現在の検索メッシュ次数kのメッシュからなる区分iを前記メッシュ構造に基づいて生成する区分生成部と、 前記区分生成部が抽出した区分iに含まれる前記現在の検索メッシュ次数kのメッシュのメッシュ数に基づいて、以降の区分における対応する検索メッシュ次数を変更するか否かを判定する検索メッシュ次数変更判定部と、前記検索メッシュ次数変更判定部が前記検索メッシュ次数を変更すると判定したとき、前記区分iに含まれる前記次数kの各メッシュと地図範囲が重なる次数k−1のメッシュと地図範囲が重なり、前記区分生成部により生成された前記区分iのメッシュ以外の前記次数kのメッシュを含むか否かに基づいて、補完するか否かを判断する補完判断部と、前記補完判断部が補完すると判断したとき、前記区分iのメッシュ以外の前記次数kのメッシュを含む前記次数kの補完用メッシュを特定する補完用メッシュ特定部と、前記補完用メッシュを前記区分生成部が生成した区分iにマージして区分iとする区分再生成部と、前記POI検索データベースを検索して、前記区分iに属するメッシュ内に位置するPOI集合Riを取得するPOI集合検索部と前記POI集合検索部により取得された前記POI集合Riより、前記POI情報データベースに記憶された所定の件数の前記POI情報を取得するPOI取得部とを具備し、前記区分生成部は、前記検索メッシュ次数変更判定部が検索メッシュ次数を変更すると判定したとき、前記次数k−1を現在の検索メッシュ次数として区分i+1を生成することを特徴とする地域情報検索サーバが提供される。   According to the first aspect of the present invention, the regional information search server divides the entire map into a plurality of meshes, and the first to m-th order (m Is a mesh structure hierarchized in meshes of order of 2 or more), a POI information database that stores POI information including a POI identifier that uniquely identifies each POI, and a mesh in which the POI identifier and each POI are located A POI search database for storing information for specifying the information and a section (i-1) (i = 1) consisting of a center mesh of the initial search mesh order indicated by the requested position information, or a center mesh of each corresponding search mesh order Is a set of one or more adjacent meshes separated from each other in the latitude or longitude direction with respect to the search mesh order, and the corresponding search mesh order A section i consisting of a mesh of the current search mesh degree k of a single rectangle just outside the outermost mesh of the section j (j = 1 to i-1, i is an integer of 2 or more) Based on the number of meshes of the mesh of the current search mesh order k included in the section i extracted by the section generation unit, the section generation unit that generates based on the mesh structure, and the corresponding search mesh order in the subsequent section A search mesh order change determination unit that determines whether or not to change, and each mesh and map range of the order k included in the category i when the search mesh order change determination unit determines to change the search mesh order Whether or not the k-th order mesh overlaps with the map range and includes the mesh of degree k other than the mesh of section i generated by the section generation unit. And a complementary determining unit that determines whether or not to complement, and when the complementary determining unit determines to complement, the complementary mesh of the order k including the mesh of the order k other than the mesh of the section i A complementary mesh identification unit to be identified; a segment regeneration unit that merges the complementary mesh with the segment i generated by the segment generation unit to form the segment i; and searches the POI search database to obtain the segment i The POI set retrieval unit for obtaining the POI set Ri located in the mesh to which the mesh belongs and the POI set Ri stored in the POI information database from the POI set Ri acquired by the POI set search unit. A POI acquisition unit, and the segment generation unit determines that the search mesh order change determination unit changes the search mesh order, Local search server and generates a divided i + 1 to k-1 as the current search mesh orders is provided.

請求項2記載の発明によれば、請求項1記載の発明において、前記各対応する検索メッシュ次数のメッシュの集合である区分j(j=1〜i−1,iは2以上の整数)の最外周の前記次数kのメッシュは、緯度方向にn個、経度方向にn個のn×nのメッシュの集合であり、前記検索メッシュ次数変更判定部は、前記nが所定値no以上であるとき、以降の区分における前記検索メッシュ次数メッシュを変更すると判定する地域情報検索サーバが提供される。   According to a second aspect of the present invention, in the first aspect of the present invention, the classification j (j = 1 to i−1, i is an integer of 2 or more), which is a set of meshes of the corresponding search mesh orders. The outermost k-order mesh is a set of n × n meshes in the latitudinal direction and n in the longitude direction, and the search mesh order change determination unit determines that n is equal to or greater than a predetermined value no. A regional information search server that determines to change the search mesh order mesh in the subsequent sections is provided.

請求項3記載の発明によれば、請求項2記載の発明において、各l(l=2〜m−1)次のメッシュは、2×2の(l+1)次のメッシュに分割され、前記補完用メッシュ特定部は、前記各対応する検索メッシュ次数のメッシュの集合である区分j(j=1〜i,iは2以上の整数)の最外周の前記次数kのメッシュ及び最外周の前記nが偶数の時、(n+2)×(n+2)、前記nが奇数の時、(n+1)×(n+1)の前記次数kのメッシュを含む前記次数kのメッシュの集合が示す補完の種類を分類する補完パターンを判断して、前記補完用メッシュを特定する地域情報検索サーバが提供される。   According to a third aspect of the present invention, in the second aspect of the present invention, each l (l = 2 to m−1) degree mesh is divided into 2 × 2 (l + 1) degree meshes, and the complementary The mesh specifying unit for the meshes of the order k and the n of the outermost circumference of the section j (j = 1 to i, i is an integer of 2 or more) that is a set of meshes of the corresponding search mesh orders. When n is an even number, (n + 2) × (n + 2), and when n is an odd number, classify the complement types indicated by the set of meshes of order k including the mesh of order k of (n + 1) × (n + 1) A regional information search server that determines a complementary pattern and identifies the complementary mesh is provided.

請求項4記載の発明によれば、請求項1記載の発明において、前記区分再生成部は、前記補完用メッシュを区分iにマージせずに、区分i+1に属するものとして区分i+1を生成し、前記区分生成部は、前記次数k−1を現在の検索メッシュ次数として、前記補完用メッシュが属する区分i+1の次の区分i+2を生成することを特徴とする地域情報検索サーバが提供される。   According to the invention of claim 4, in the invention of claim 1, the partition regeneration unit generates the partition i + 1 as belonging to the partition i + 1 without merging the complementary mesh with the partition i, The section generation unit is provided with an area information search server that generates the next section i + 2 of the section i + 1 to which the complementary mesh belongs, with the order k-1 as the current search mesh order.

請求項1、又は8記載の発明によると、リクエストされた位置情報が示す中心に近い程、高次のメッシュで地域情報を検索して、中心から離れると、低数のメッシュで地域情報を検索するので、地方や山間部等のように、地域情報の分布が疎な場合でも、演算負荷を掛けずに適切な範囲のメッシュを計算して、必要な件数のデータを取得することが可能となる。補完用メッシュを区分iにマージするので、検索される地域情報の位置に偏りが生じることを防止できる。   According to the first or eighth aspect of the invention, the closer to the center indicated by the requested position information, the higher-order mesh is searched for regional information, and the farther away from the center, the lower-order mesh is searched for regional information. Therefore, even if the distribution of regional information is sparse, such as in rural areas and mountainous areas, it is possible to calculate the appropriate range of mesh without applying computational load and obtain the required number of data Become. Since the complementary mesh is merged with the section i, it is possible to prevent the position of the searched area information from being biased.

請求項2記載の発明によると、区分j(j=0〜i)をn×nの1重のメッシュで構成するので、リクエストされた位置情報が示す中心メッシュから検索メッシュ次数が変更された区分(i+1)のk−1次メッシュまでの距離を近似的に等しくすることが可能になり、検索される地域情報の中心からの距離に偏りが生じることを効果的に防止できる。   According to the second aspect of the invention, since the section j (j = 0 to i) is composed of a single n × n mesh, the section in which the search mesh order is changed from the center mesh indicated by the requested position information. It becomes possible to make the distance to the (k + 1) -order mesh of (i + 1) approximately equal, and it is possible to effectively prevent a deviation from occurring in the distance from the center of the searched area information.

請求項3記載の発明によると、区分j(j=0〜i)の最外周のk次メッシュ及び最外周のnが偶数の時、(n+2)×(n+2)、nが奇数の時、(n+1)×(n+1)のメッシュに従って、補完パターンを判断して、補完用メッシュを決定するので、中心メッシュから検索メッシュ次数変更後の区分iまでの距離を近似的に等しくすることが可能となり、検索される地域情報の中心からの距離に偏りが生じることをより効果的に防止できる。   According to the third aspect of the present invention, when the outermost k-th order mesh of the section j (j = 0 to i) and the outermost n is an even number, (n + 2) × (n + 2), when n is an odd number, According to the n + 1) × (n + 1) mesh, the complementary pattern is determined and the complementary mesh is determined. Therefore, the distance from the center mesh to the segment i after the search mesh order change can be made approximately equal. It is possible to more effectively prevent a deviation in the distance from the center of the searched area information.

請求項4記載の発明によると、補完用メッシュを区分iにマージせずに、区分(i+1)とするので、地域情報の中心メッシュからの距離に遠近のばらつきが生じることを防止できる。   According to the fourth aspect of the present invention, since the complementary mesh is not merged with the section i and is set to the section (i + 1), it is possible to prevent a variation in distance from the center mesh of the regional information from occurring.

請求項5記載の発明によると、所定の件数が検索されるまで順次区分iを拡大するとともに、中心から離れるに従って、検索メッシュ次数を低次として広域に検索するので、地域情報の分布が疎な場合でも、効果的に演算負荷を掛けずに適切な範囲のメッシュを計算して、必要な件数のデータを取得することができる。   According to the invention described in claim 5, since the section i is sequentially expanded until a predetermined number of cases are searched, and the search is performed in a wide area with a lower order of the search mesh as the distance from the center increases, the distribution of regional information is sparse. Even in this case, it is possible to obtain a necessary number of data by calculating a mesh in an appropriate range without effectively applying a calculation load.

請求項6記載の発明によれば、初期検索メッシュ次数の中心メッシュのメッシュ座標から区分iの隣接メッシュのメッシュ座標を算出するので、中心メッシュのメッシュ座標から加減算及び2の冪乗の演算により、隣接メッシュのメッシュ座標を算出するので、区分の検索メッシュ次数が変更になる場合でも区分iを高速に検索することができる。   According to the invention described in claim 6, since the mesh coordinates of the adjacent mesh of the section i are calculated from the mesh coordinates of the center mesh of the initial search mesh order, the addition / subtraction and the power of 2 are calculated from the mesh coordinates of the center mesh, Since the mesh coordinates of the adjacent mesh are calculated, the section i can be searched at high speed even when the search mesh order of the section is changed.

本発明の実施形態による地域情報検索システムの概略構成図である。1 is a schematic configuration diagram of a regional information search system according to an embodiment of the present invention. 図1中の携帯端末装置の機能ブロック図である。It is a functional block diagram of the portable terminal device in FIG. 図1中の地域情報検索サーバの機能ブロック図である。It is a functional block diagram of the area information search server in FIG. 図3中のPOIリスト取得部の機能ブロック図である。FIG. 4 is a functional block diagram of a POI list acquisition unit in FIG. 3. 図4中の区分i内メッシュ座標算出部の機能プロック図である。It is a functional block diagram of the mesh coordinate calculation part in the division i in FIG. 図1中のPOI情報テーブルの構成図である。It is a block diagram of the POI information table in FIG. 図1中のPOI検索テーブルの構成図である。It is a block diagram of the POI search table in FIG. 本発明の実施形態による多階層メッシュ構造を説明するための図である。It is a figure for demonstrating the multilevel mesh structure by embodiment of this invention. 2次メッシュ及び2次メッシュ番号を示す図である。It is a figure which shows a secondary mesh and a secondary mesh number. n次(nは3以上の整数)メッシュ及びn次メッシュ番号を示す図である。It is a figure which shows a n-th order (n is an integer greater than or equal to 3) mesh and a n-th order mesh number. 隣接メッシュのメッシュ座標の算出方法を示す図である。It is a figure which shows the calculation method of the mesh coordinate of an adjacent mesh. 隣接メッシュのメッシュ座標の算出方法を示す図である。It is a figure which shows the calculation method of the mesh coordinate of an adjacent mesh. 偶数の場合の補完パターンを示す図である。It is a figure which shows the complementary pattern in the case of an even number. 奇数の場合の補完パターンを示す図である。It is a figure which shows the complementary pattern in the case of an odd number. 地域情報検索方法(マージの場合)を示す図である。It is a figure which shows the area information search method (in the case of merge). 地域情報検索方法(区分iとして利用する場合)を示す図である。It is a figure which shows the local information search method (when using as a division i). 地域情報検索方法を示すフローチャートである。It is a flowchart which shows the area information search method. 図19中の区分iの生成方法を示すフローチャートである。It is a flowchart which shows the production | generation method of the division i in FIG. 携帯端末装置と地域情報検索サーバとの間でPOIリスト取得に係るシーケンスチャートである。It is a sequence chart which concerns on POI list acquisition between a portable terminal device and a regional information search server. POIの分布を示す図である。It is a figure which shows distribution of POI.

図1は本発明の実施形態による地域情報検索システム1の構成図である。図1に示すように、地域情報検索システム1は、携帯端末装置2と、無線基地局4、基地局制御装置6、インターネット等の通信ネットワーク8と、地域情報検索サーバ10と、POI情報検索テーブル12と、POI検索テーブル14を具備する。   FIG. 1 is a configuration diagram of a regional information search system 1 according to an embodiment of the present invention. As shown in FIG. 1, a regional information search system 1 includes a mobile terminal device 2, a radio base station 4, a base station control device 6, a communication network 8 such as the Internet, a regional information search server 10, and a POI information search table. 12 and a POI search table 14.

携帯端末装置2は、携帯電話、スマートフォン、PDA(Personal Digital Assistants)等の移動体端末であり、無線基地局4及び基地局制御装置6等の移動ネットワーク及びインターネット等の通信ネットワーク8を通して、地域情報検索サーバ10に接続される。携帯端末装置2は、地域情報検索サーバ10と、所定の通信プロトコル、例えば、HTTPプロトコルに従って通信する。また、携帯端末装置2は、図示しないGPS(Global Positioning System)や無線基地局4から緯度・経度の位置情報を取得する。通信ネットワーク8は、インターネット等の通信ネットワークである。   The mobile terminal device 2 is a mobile terminal such as a mobile phone, a smart phone, or a PDA (Personal Digital Assistants), and the local information is transmitted through a mobile network such as the radio base station 4 and the base station controller 6 and a communication network 8 such as the Internet. Connected to the search server 10. The mobile terminal device 2 communicates with the area information search server 10 according to a predetermined communication protocol, for example, an HTTP protocol. Further, the mobile terminal device 2 acquires position information of latitude and longitude from a GPS (Global Positioning System) (not shown) and the radio base station 4. The communication network 8 is a communication network such as the Internet.

図2は、図1中の携帯端末装置2の地域情報(以下、POI(Point Of Interest))の取得に係る機能ブロック図である。図2に示すように携帯端末装置2のPOI取得に係る機能ブロックは、イベントキャッチ部52、位置情報取得部54、リクエスト部56、レスポンス受信部58及びデータ表示部60から構成され、これらは、記憶装置に格納された該当プログラムがメインメモリにローディングされて、CPUによるプログラムの実行により実現される。   FIG. 2 is a functional block diagram relating to acquisition of area information (hereinafter referred to as POI (Point Of Interest)) of the mobile terminal device 2 in FIG. As shown in FIG. 2, the functional block related to POI acquisition of the mobile terminal device 2 includes an event catch unit 52, a position information acquisition unit 54, a request unit 56, a response reception unit 58, and a data display unit 60. The corresponding program stored in the storage device is loaded into the main memory and realized by the execution of the program by the CPU.

イベントキャッチ部52は、位置情報の取得やPOIリクエスト等に係るリンク情報が設定された該当の文字部がクリック操作されたこと等の各種のイベントをキャッチして、位置情報の取得やPOIリクエストに必要なリンク情報をパラメータとして位置情報取得部54やリクエスト部56に出力する。   The event catch unit 52 catches various events such as the click operation of the corresponding character part in which the link information related to the acquisition of the position information or the POI request is set, and the acquisition of the position information or the POI request Necessary link information is output as a parameter to the position information acquisition unit 54 and the request unit 56.

位置情報取得部54は、イベントキャッチ部52より地域情報検索の指示がされると、無線基地局4や図示しないGPSと所定のプロトコルに従って無線通信を行い、緯度・経度の位置情報を取得して、リクエスト部56に位置情報及びリンク情報が設定されたジャンルを出力し、POIのリクエストを指示する。   When the location information acquisition unit 54 is instructed to search for area information from the event catch unit 52, the location information acquisition unit 54 performs radio communication with the radio base station 4 or a GPS (not shown) according to a predetermined protocol, and acquires location information of latitude and longitude. The genre in which the position information and link information are set is output to the request unit 56, and a POI request is instructed.

リクエスト部56は、POIリクエスト部70を有し、POIをリクエストするために、クリックしたときに、リンク情報に対応する情報を地域情報検索サーバ10にリクエストする。   The request unit 56 includes a POI request unit 70, and requests the area information search server 10 for information corresponding to the link information when clicking to request a POI.

POIリクエスト部70は、位置情報取得部54より取得された位置情報を指定して、該位置情報により示される中心メッシュの隣接メッシュに位置するPOIリストの送信を地域情報検索サーバ10にリクエスト(例えば、HTTPリクエスト)する。   The POI request unit 70 designates the position information acquired from the position information acquisition unit 54, and requests the local information search server 10 to transmit the POI list located in the adjacent mesh of the center mesh indicated by the position information (for example, , HTTP request).

レスポンス受信部58は、地域情報検索サーバ10より、リクエストに対するレスポンスを受信するものであり、POIリスト受信部76等を有する。POIリスト受信部76は、POIリストのリクエストのレスポンスであるPOIリストを受信して、データ表示部60に出力する。   The response receiving unit 58 receives a response to the request from the regional information search server 10 and includes a POI list receiving unit 76 and the like. The POI list receiving unit 76 receives a POI list that is a response to the POI list request and outputs the POI list to the data display unit 60.

データ表示部60は、レスポンス受信部58から出力されたレスポンスを画面に表示するのであり、POIリスト表示部82を有する。POIリスト表示部82は、POIリスト受信部76が受信したPOIリストを画面に表示する。   The data display unit 60 displays the response output from the response receiving unit 58 on the screen, and has a POI list display unit 82. The POI list display unit 82 displays the POI list received by the POI list receiving unit 76 on the screen.

地域情報検索サーバ10は、POI情報テーブル12及びPOI検索テーブル14を有し、以下の機能を有する。   The regional information search server 10 has a POI information table 12 and a POI search table 14 and has the following functions.

(1) 図8は、メッシュ構造を示す図である。図9は、2次メッシュ番号を示す図である。図10は、3次〜m(mは3以上の整数)次メッシュのメッシュ番号を示す図である。図8に示すように、全体地図を複数のメッシュに分割して、縮尺に応じて当該メッシュのサイズが異なる複数の段階に階層化されている。例えば、1次メッシュが8×8の2次メッシュに分割され、2次メッシュが2×2の3次メッシュに分割され、3次メッシュが2×2の4次メッシュ、4次メッシュが2×2の5次メッシュ、・・と階層的に分割されている。   (1) FIG. 8 is a diagram showing a mesh structure. FIG. 9 is a diagram showing secondary mesh numbers. FIG. 10 is a diagram showing the mesh numbers of the third-order to m (m is an integer of 3 or more) order mesh. As shown in FIG. 8, the entire map is divided into a plurality of meshes, and is hierarchized into a plurality of stages in which the sizes of the meshes differ according to the scale. For example, the primary mesh is divided into 8 × 8 secondary meshes, the secondary mesh is divided into 2 × 2 tertiary meshes, the tertiary mesh is 2 × 2 quaternary mesh, and the quaternary mesh is 2 ×. 2 quintic meshes,...

1次メッシュは、1次メッシュに含まれる任意の地点の緯度をlat、経度をlonとすると、1次メッシュ番号の2桁の緯度部分の10進数値(整数)はlat×1.5となり、1次メッシュ番号の2桁の経度部分の10進数値(整数)は(lon−100)となる。   In the primary mesh, if the latitude of an arbitrary point included in the primary mesh is lat and the longitude is lon, the decimal value (integer) of the 2-digit latitude part of the primary mesh number is lat × 1.5, The decimal value (integer) of the 2-digit longitude part of the primary mesh number is (lon-100).

図9に示すように,2次メッシュのメッシュ番号は、2桁が付与されて、上位1桁の緯度部分には、緯度が大きくなるとともに値が大きくなるように0〜7までの数が割り当てられている。例えば、2次メッシュの一番南には0、一番北には7が付与されている。下位1桁の経度部分には、経度が大きくなるとともに値が大きくなるように0〜7までの数が付与されている。例えば、2次メッシュの一番西には0、一番東には7が割り当てられている。   As shown in FIG. 9, the mesh number of the secondary mesh is given 2 digits, and the upper 1 digit latitude part is assigned a number from 0 to 7 so that the value increases as the latitude increases. It has been. For example, 0 is given to the south of the secondary mesh, and 7 is given to the north. A number from 0 to 7 is assigned to the longitude part of the lower one digit so that the value increases as the longitude increases. For example, 0 is assigned to the west of the secondary mesh, and 7 is assigned to the east.

図10に示すように、i次(iは3以上)メッシュは2×2に分割されて、左下隅に0、右下隅に1、左上隅に2、右上隅に3が割り当てられている。これにより、0〜3までの10進数値を2ビットの2進数値に変換したとき、上位1ビットが緯度部分となり、下2つのメッシュは0、上2つのメッシュ番号は1となり、緯度が大きいメッシュ番号の値は1大きくなる。下位1ビットは経度部部分となり、左2つのメッシュは0、右2つのメッシュは1となり、経度が大きいメッシュの値は1大きくなる。1次メッシュ及び2次メッシュは総務省で定められたメッシュであり、3次以降のメッシュは拡張メッシュである。   As shown in FIG. 10, the i-th order (i is 3 or more) mesh is divided into 2 × 2, and 0 is assigned to the lower left corner, 1 is assigned to the lower right corner, 2 is assigned to the upper left corner, and 3 is assigned to the upper right corner. As a result, when a decimal value from 0 to 3 is converted to a 2-bit binary value, the upper 1 bit is the latitude part, the lower two meshes are 0, the upper two mesh numbers are 1, and the latitude is large. The value of the mesh number is increased by 1. The lower 1 bit is the longitude part, the left two meshes are 0, the right two meshes are 1, and the value of a mesh with a large longitude is 1 larger. The primary mesh and the secondary mesh are meshes determined by the Ministry of Internal Affairs and Communications, and the tertiary and subsequent meshes are extended meshes.

(2) 区分j(j=0,1,・・・)を帰納的に生成する。即ち、携帯端末装置2からPOIリストのリクエストとともに送信された位置情報(緯度経度)から位置情報が示す地点が属する最高次数(初期検索メッシュ次数)の中心メッシュの後述する式(1),(2)に従って、位置情報が示す地点が位置する最高次数の中心メッシュの緯度コード及び経度コードからなるメッシュ座標を算出して、中心メッシュのメッシュ座標を区分i(i=0)として作成する。区分i−1(i=0,・・・)の検索メッシュ次数のメッシュ数から区分iの検索メッシュ次数を変更するか否かを判定する。尚、区分iは、メッシュの集合であるとともに、該メッシュを特定するメッシュ座標の集合を意味する。   (2) A section j (j = 0, 1,...) Is generated recursively. That is, equations (1) and (2) to be described later of the center mesh of the highest order (initial search mesh order) to which the point indicated by the position information belongs from the position information (latitude and longitude) transmitted from the portable terminal device 2 together with the POI list request. ) To calculate the mesh coordinates composed of the latitude code and longitude code of the highest order center mesh where the point indicated by the position information is located, and create the mesh coordinates of the center mesh as the section i (i = 0). It is determined whether or not to change the search mesh order of the section i from the number of meshes of the search mesh order of the section i-1 (i = 0,...). The section i means a set of meshes and a set of mesh coordinates that specify the meshes.

区分iの検索メッシュ次数を変更する必要がない場合は、区分i−1と同じ検索メッシュ次数kで区分i−1に属するメッシュの外周のメッシュのメッシュ座標を求めて区分iを生成する。区分iのメッシュ次数を(k−1)に変更する必要があれば、区分i−1の北西端、北東端、南西端、南東端のk次メッシュのk次メッシュ番号から補完の必要があるか否かを判断する。補完の必要ある場合とは、区分i−1のk次メッシュの領域をk−1次メッシュで分割したときに、k−1次メッシュが区分i−1のk次メッシュ以外のk次メッシュを含むことをいう。   When there is no need to change the search mesh order of the section i, the mesh i of the meshes on the outer periphery of the mesh belonging to the section i-1 is obtained with the same search mesh order k as the section i-1, and the section i is generated. If it is necessary to change the mesh order of the section i to (k−1), it is necessary to complement the k-th mesh number of the k-order mesh at the northwest end, northeast end, southwest end, and southeast end of the section i-1. Determine whether or not. The case where complementation is necessary means that when the k-order mesh region of the section i-1 is divided by the k-1 order mesh, the k-1 order mesh is a k-order mesh other than the k-order mesh of the section i-1. Including.

k−1次に検索メッシュ次数を変更して区分iを生成した場合に、検索メッシュ次数k−1の区分i−1の外周の地域と区分iの地域との間に他の地域が含まれないようして、区分i(i=0,1,・・・)を間隙なく生成するとともに、緯度方向にn個のk−1次メッシュ、経度方向にn個のk−1次のメッシュ(以下、n×nのメッシュ)となるように補完用メッシュを生成する。n×nのメッシュとするのは、中心メッシュから区分iのk−1次メッシュまでが近似的に等距離となるようにするためである。   When section i is generated by changing the order of k-1 search mesh, another area is included between the area of section i-1 of search mesh order k-1 and the area of section i. The section i (i = 0, 1,...) Is generated without a gap, and n k−1 order meshes in the latitude direction and n k−1 order meshes in the longitude direction ( Hereinafter, a complementary mesh is generated so as to be n × n mesh). The reason why the n × n mesh is used is that the distance from the center mesh to the k−1th order mesh of section i is approximately equal.

補完の必要が有る場合は、区分i−1のk次検索メッシュがn×nのメッシュからなるとき、nが偶数か奇数かに応じて、北西端、北東端、南西端、南東端のいずれか一つのk次メッシュのk次メッシュ番号から補完用パターンを判断して、補完用メッシュを求める。補完用メッシュは、区分i−1のk次メッシュを含めて、nが偶数の場合、(n+2)×(n+2)のメッシュ、nが奇数の場合に、(n+1)×(n+1)のメッシュとなるように決定される。初期検索メッシュ次数の中心メッシュがなるべく区分i−1及び補完用メッシュからなるk−1次メッシュの集合の中心となるようにして、各メッシュ間の距離の偏りを少なくするためである。   If there is a need for completion, when the k-order search mesh of section i-1 is composed of n × n meshes, any one of the northwest end, the northeast end, the southwest end, and the southeast end depending on whether n is an even number or an odd number A complementary pattern is determined from the k-th mesh number of one k-th mesh and a complementary mesh is obtained. Complementary meshes include the k-th order mesh of section i-1, when n is an even number, (n + 2) × (n + 2) mesh, and when n is an odd number, (n + 1) × (n + 1) mesh and To be determined. This is because the center mesh of the initial search mesh order is set to the center of the set of k−1 order meshes composed of the division i−1 and the complementary mesh as much as possible to reduce the deviation of the distance between the meshes.

補完用メッシュを区分i−1にマージまたは区分iとして利用する。補完用メッシュを区分i−1にマージするとは、補完用メッシュを区分i−1に含ませることをいう。区分iとして利用するとは、補完用メッシュのみからなる区分iを生成することをいう。区分i−1(補完用メッシュを区分i−1にマージする場合)又は区分i−1,i(補完用メッシュを区分iとして利用する場合)の外周に(k−1)次メッシュから成る区分i(補完用メッシュをマージする場合)又は区分i+1(補完用メッシュを区分iとして利用する場合)を生成する。上記区分i(i=0,1,・・・)を帰納的に順次生成する。各区分i(i=0,1,・・・)は、区分iに属するメッシュを特定できれば良いが、ここではメッシュ座標を用いている。   The complementary mesh is merged into section i-1 or used as section i. Merging the complementary mesh into the section i-1 means that the complementary mesh is included in the section i-1. Using as the section i means generating the section i including only the complementary mesh. A section consisting of (k-1) -order meshes on the outer periphery of section i-1 (when the complementary mesh is merged with section i-1) or section i-1, i (when the complementary mesh is used as section i) i (when merging complementary meshes) or section i + 1 (when using complementary mesh as section i) is generated. The section i (i = 0, 1,...) Is sequentially generated recursively. Each section i (i = 0, 1,...) Only needs to be able to specify a mesh belonging to section i, but here, mesh coordinates are used.

(3) 区分0に含まれる初期検索次数の中心メッシュのメッシュ座標や区分i(i=1,2,・・・,の場合)に含まれる隣接メッシュのメッシュ座標を後述するパックコードに変換して、パックコードのリストを作成し、パックコードリストをキーにしてPOI検索テーブル14による絞り込みとPOI情報テーブル12とのテーブル結合を行って、区分i内のPOI集合Ri(i=0,1,・・・)を取得する。POI集合Ri(i=0,1,・・・)を所定のキーに基づいて、昇順にソートして、ソートされたPOI集合Ri(i=0,1,・・・)から順に所定の件数(以下、N件)を取得して、N件のPOIリストを携帯端末装置2にレスポンスする。   (3) The mesh coordinates of the center mesh of the initial search order included in section 0 and the mesh coordinates of adjacent meshes included in section i (in the case of i = 1, 2,...) Are converted into pack codes described later. Then, a list of pack codes is created, narrowing down by the POI search table 14 and table combination with the POI information table 12 are performed using the pack code list as a key, and a POI set Ri (i = 0, 1, ...) is acquired. The POI set Ri (i = 0, 1,...) Is sorted in ascending order based on a predetermined key, and a predetermined number of items are sequentially ordered from the sorted POI set Ri (i = 0, 1,...). (Hereinafter, N cases) is acquired, and N POI lists are returned to the mobile terminal device 2.

区分i内にN件が存在しなければ、次の区分i+1に含まれる隣接メッシュのメッシュ座標をパックコードに変換し、当該パックコードリストをキーにして、POI検索テーブル14による絞り込みとPOI情報テーブル12とのテーブル結合を行って、区分i+1内のPOI集合Ri+1を取得する。POI集合Ri+1を所定のキーに基づいて、昇順にソートして、ソートされたPOI集合Rj(j=0,1,・・・,i),Ri+1から所定の件数(以下、N件)を取得する。   If there are no N items in the section i, the mesh coordinates of the adjacent meshes included in the next section i + 1 are converted into pack codes, and the narrowing by the POI search table 14 and the POI information table are performed using the pack code list as a key. The table join with 12 is performed to obtain the POI set Ri + 1 in the section i + 1. The POI set Ri + 1 is sorted in ascending order based on a predetermined key, and a predetermined number (hereinafter referred to as N) is acquired from the sorted POI set Rj (j = 0, 1,..., I + 1). To do.

N件が取得できなければ、更に、区分i+2,・・・について同様の処理をして、POI集合Rj(j=0,1,・・・,i),Ri+1,Ri+2,・・・からN件を取得する。即ち、POI集合Rj(j=0〜i)において、Σ|Rj|(j=0〜i),|Rj|はPOI集合Rjの個数))≧Nとなるまで、POI集合Rjが検索される。尚、N件の検索は、区分0が最優先され,区分iが区分i+1に優先する。これにより、初期検索メッシュ次数の中心メッシュからの距離が大きくなるにつれて、検索メッシュ次数が小さくなり、広域で地域情報が検索される。   If N cannot be acquired, the same processing is performed for the section i + 2,..., And the POI set Rj (j = 0, 1,..., I), Ri + 1, Ri + 2,. Get the records. That is, in the POI set Rj (j = 0 to i), the POI set Rj is searched until Σ | Rj | (j = 0 to i), | Rj | is the number of POI sets Rj)) ≧ N. . In the N searches, section 0 has the highest priority and section i has priority over section i + 1. As a result, as the distance from the center mesh of the initial search mesh order increases, the search mesh order decreases and the area information is searched over a wide area.

地域情報検索サーバ10のハードウェア構成は、CPU、表示装置、入力手段、ROM、メインメモリ、記憶媒体、I/Oコントローラ及び通信インタフェース部等を有する。   The hardware configuration of the regional information search server 10 includes a CPU, a display device, an input unit, a ROM, a main memory, a storage medium, an I / O controller, a communication interface unit, and the like.

図3に示すように、地域情報検索サーバ10は、リクエスト受信部150、POIリスト取得部152及びレスポンス送信部156を有する。   As illustrated in FIG. 3, the regional information search server 10 includes a request reception unit 150, a POI list acquisition unit 152, and a response transmission unit 156.

図6はPOI情報テーブル12の構成図である。図6に示すように、各POIはPOIを一意に特定するPOIID、POIが位置する緯度経度、POIの名称、POIのジャンル、POIの電話番号、並びに図示しないPOIの詳細情報を提供するURL及びサムネイル画像等を含む。   FIG. 6 is a configuration diagram of the POI information table 12. As shown in FIG. 6, each POI has a POI ID that uniquely identifies the POI, a latitude / longitude where the POI is located, a POI name, a POI genre, a POI telephone number, and a URL that provides detailed information about the POI (not shown) Includes thumbnail images.

図7は図1中のPOI検索テーブル14の構成図である。図7に示すように、POI検索テーブル14は、POIIDとパックコードとを紐付けるためのテーブルであり、各POIのPOIID及び該POIが位置するn(最高次数)次メッシュのパックコードが格納される。以下、各メッシュを特定するメッシュ座標及びパックコードの説明をする。   FIG. 7 is a block diagram of the POI search table 14 in FIG. As shown in FIG. 7, the POI search table 14 is a table for associating POIIDs and pack codes, and stores the POIID of each POI and the pack code of the n (highest order) order mesh in which the POI is located. The Hereinafter, mesh coordinates and pack codes for specifying each mesh will be described.

メッシュに位置する地点の緯度から次式(1)よりm(mは3以上の任意の次数)次メッシュのメッシュ座標の緯度コードCaを求める。緯度をlatとする。ここで、緯度が度・分・秒で指定されている場合は、分・秒を度に変換する。   The latitude code Ca of the mesh coordinates of the m-th mesh is obtained from the latitude of the point located on the mesh by the following formula (1) (m is an arbitrary order of 3 or more). Let latitude be lat. If latitude is specified in degrees / minutes / seconds, minutes / seconds are converted to degrees.

Ca=FLOOR(((lat−10)×3)÷2)×(i(i=2〜m)次メッシュの経度方向の数をi=2〜mまで乗算した値)) ・・・ (1)
FLOOR()は小数点以下を切り捨てる関数である。
Ca = FLOOR (((lat−10) × 3) ÷ 2) × (i (i = 2 to m) value obtained by multiplying the number of longitudes of the next mesh from i = 2 to m)) (1 )
FLOOR () is a function that truncates the decimal part.

2次メッシュが1次メッシュを8×8に分割し、i(i=3〜m)次メッシュが(i−1)(i=3〜m)次メッシュを2×2に分割する場合、緯度方向の2次メッシュの数=23個、i(i=3〜n)次メッシュの緯度方向の数が2個であることから、i(i=2〜m)次メッシュの緯度方向の数をi=2〜mまで乗算した値は、23×2(m-2)=2の(m+1)乗となり、
Ca=FLOOR((((lat−10)×3)÷2)×(2の(m+1)乗))
となる。
If the secondary mesh divides the primary mesh into 8 × 8 and the i (i = 3 to m) order mesh divides the (i−1) (i = 3 to m) order mesh into 2 × 2, the latitude The number of secondary meshes in the direction = 2 3, and the number of i (i = 2 to m) order meshes in the latitudinal direction is 2, so the number of i (i = 2 to m) order meshes in the latitudinal direction I = 2 to m is 2 3 × 2 (m−2) = 2 to the power of (m + 1),
Ca = FLOOR ((((lat-10) × 3) ÷ 2) × (2 to the (m + 1) th power))
It becomes.

メッシュに位置する経度から次式(2)よりm(mは3以上)次メッシュのメッシュ座標の経度コードCbを求める。経度をlonとする。ここで、経度が度・分・秒で指定されている場合は、分・秒を度に変換する。   The longitude code Cb of the mesh coordinates of the m-th mesh is obtained from the longitude located on the mesh by the following formula (2). Let longitude be lon. Here, if the longitude is specified in degrees / minutes / seconds, the minutes / seconds are converted into degrees.

Cb=FLOOR((lon−100)×i(i=2〜m)次メッシュの経度方向の数をi=2〜mまで乗算した値) ・・・ (2)
FLOOR()は小数点以下を切り捨てる関数である。
Cb = FLOOR ((lon-100) × i (i = 2 to m) value obtained by multiplying the number of longitudes of the next mesh from i = 2 to m) (2)
FLOOR () is a function that truncates the decimal part.

例えば、2次メッシュが1次メッシュを8×8に分割して、i(i=1〜m)次メッシュが(i−1)(i=1〜m)次メッシュを2×2に分割するとする。この場合、経度方向の2次メッシュの数=23、経度方向のi(i=3〜m)次メッシュの経度方向の数が2であることから、経度方向のi(i=2〜m)次メッシュの数をi=2〜nまで乗算した値は、23×2(m-2)=2の(m+1)乗)となり、
Cb=FLOOR((lon−100)×(2の(m+1)乗))
となる。
For example, when the secondary mesh divides the primary mesh into 8 × 8 and the i (i = 1 to m) th mesh divides the (i−1) (i = 1 to m) th mesh into 2 × 2. To do. In this case, since the number of secondary meshes in the longitude direction = 2 3 and the number of longitude directions in the i direction (i = 3 to m) in the longitude direction are 2, i (i = 2 to m in the longitude direction). ) The value obtained by multiplying the number of the next mesh from i = 2 to n is 2 3 × 2 (m−2) = 2 to the (m + 1) th power)
Cb = FLOOR ((lon−100) × (2 to the power of (m + 1)))
It becomes.

緯度コードCa=C1aC2aC3a・・・C7aC8a・・・Cma、経度コードCb=C1bC2bC3b・・・C7bC8b・・・Cmbとすると、緯度コードCa及び経度コードCbのメッシュ座標から各次数i(i=1〜m)の緯度部分Cia及び経度部分Cibについて緯度部分Ciaを経度部分Cibの上位ビット側にし、1次を最上位側にして、次数の昇順に結合して、パックコードに変換する。   Latitude code Ca = C1aC2aC3a ... C7aC8a ... Cma, longitude code Cb = C1bC2bC3b ... C7bC8b ... Cmb, each degree i (i = 1 to m) from mesh coordinates of latitude code Ca and longitude code Cb ) Of the latitude portion Cia and the longitude portion Cib, the latitude portion Cia is set to the upper bit side of the longitude portion Cib, the primary is set to the most significant side, and the order is combined in ascending order, and converted into a pack code.

即ち、緯度コードCa=C1aC2aC3a・・・Cma、経度コードCb=C1bC2bC3b・・・Cmbとすると、パックコードP1aP1bP2aP2bP3・・・Pmは、以下のようになる。   That is, assuming that the latitude code Ca = C1aC2aC3a ... Cma and the longitude code Cb = C1bC2bC3b ... Cmb, the pack code P1aP1bP2aP2bP3 ... Pm is as follows.

P1a=C1a,P1b=C1b,P2a=C2a,P2b=C2b,P3=C3aC3b,P4=C4aC4b,P5=C5aC5b,P6=C6aC6b,P7=C7aC7b,・・・・,Pm=CmaCmbとなる。   P1a = C1a, P1b = C1b, P2a = C2a, P2b = C2b, P3 = C3aC3b, P4 = C4aC4b, P5 = C5aC5b, P6 = C6aC6b, P7 = C7aC7b,..., Pm = CmaCmb.

図3中のリクエスト受信部150は、携帯端末装置2よりリクエストを受信するものであり、POIリストリクエスト受信部160を有する。POIリストリクエスト受信部160は、POIリストのリクエストを受信して、緯度経度の位置情報をPOIリスト取得部152に出力する。   A request receiving unit 150 in FIG. 3 receives a request from the mobile terminal device 2 and includes a POI list request receiving unit 160. The POI list request receiving unit 160 receives the POI list request and outputs the latitude / longitude position information to the POI list acquisition unit 152.

図4は図3中のPOIリスト取得部152の構成図であり、中心メッシュ座標算出部190、区分i内メッシュ座標算出部192、POI集合Ri検索部194、POI集合Riソート部196、N件取得部198及び結果生成部202を有する。   FIG. 4 is a block diagram of the POI list acquisition unit 152 in FIG. 3. The center mesh coordinate calculation unit 190, the mesh coordinate calculation unit 192 within the section i, the POI set Ri search unit 194, the POI set Ri sort unit 196, N cases An acquisition unit 198 and a result generation unit 202 are included.

中心メッシュ座標算出部190は、POIリストリクエスト受信部160が受信した緯度経度から前述の式(1),(2)に従って、該緯度経度の地点が含まれる初期検索メッシュ次数(例えば、最高次数)のメッシュの緯度コード及び経度コードからなるメッシュ座標を算出する。   The center mesh coordinate calculation unit 190 uses the latitude and longitude received by the POI list request reception unit 160 according to the above formulas (1) and (2), and the initial search mesh order (for example, the highest order) including the point of the latitude and longitude. The mesh coordinates consisting of the latitude code and longitude code of the mesh are calculated.

区分i内メッシュ座標算出部192は、区分i(i=1,2,・・・)を帰納的に生成するものであり、図5に示すように、区分i生成部203、検索メッシュ次数変更判定部204、補完用メッシュ判定部205、補完用メッシュ特定部206及び区分i再生成部207を有する。   The intra-section i mesh coordinate calculation unit 192 generates the section i (i = 1, 2,...) Recursively. As illustrated in FIG. 5, the section i generation unit 203 and the search mesh order change are performed. It has a determination unit 204, a complementary mesh determination unit 205, a complementary mesh identification unit 206, and a segment i regeneration unit 207.

区分i生成部203は、区分i(i=0,1,・・・)を帰納的に生成する。即ち、携帯端末装置2からPOIリストのリクエストとともに送信された位置情報(緯度経度)から位置情報が示す地点が属する最高次数(初期検索メッシュ次数)の中心メッシュの前述の式(1),(2)に従って、中心メッシュ座標算出部190により算出された中心メッシュのメッシュ座標の区分i(i=0)として作成する。区分i(i=1,・・・)については、後述の検索メッシュ次数変更判定部204より検索メッシュ次数kの変更をしないと判定されたか否かに応じて、以下のようにして、区分iを生成する。   The section i generator 203 generates the section i (i = 0, 1,...) Recursively. That is, the above formulas (1) and (2) of the center mesh of the highest order (initial search mesh order) to which the point indicated by the position information belongs from the position information (latitude and longitude) transmitted from the portable terminal device 2 together with the POI list request. ) To create a mesh coordinate section i (i = 0) of the center mesh calculated by the center mesh coordinate calculation unit 190. For the category i (i = 1,...), The category i is determined as follows depending on whether or not the search mesh order change determination unit 204 described later determines that the search mesh order k is not changed. Is generated.

(A) 検索メッシュ次数変更判定部205より検索メッシュ次数kの変更をしないと判定されたとき、区分i−1のn×nのk次メッシュの最外周の外周に1重の(n+2)×(n+2)の隣接メッシュからなる区分iを以下のようにして生成する。   (A) When it is determined by the search mesh order change determination unit 205 that the search mesh order k is not to be changed, a single (n + 2) × is placed on the outermost periphery of the n × n k-order mesh of the section i−1. A section i consisting of (n + 2) adjacent meshes is generated as follows.

(a) 検索メッシュ次数が初期検索メッシュ次数と同じ場合
図11及び図12は、隣接メッシュのメッシュ座標の算出方法を示す図である。本例では、10次メッシュの場合を示している。携帯端末装置2より受信した緯度経度を「東経139.754394度、北緯35.669921度」とすると、前述した式(1),(2)により算出した、
緯度コードは、10011010000001010(Ca001010と記載する)
経度コードは、10011111000001001(Cb001001と記載する)
となる。
(A) When the search mesh order is the same as the initial search mesh order FIGS. 11 and 12 are diagrams illustrating a method of calculating mesh coordinates of an adjacent mesh. In this example, the case of a 10th-order mesh is shown. Assuming that the latitude and longitude received from the mobile terminal device 2 are “13.754394 degrees east longitude and 35.669921 degrees north latitude”, the above-described equations (1) and (2) were calculated.
Latitude code is 100110100000000010 (referred to as Ca001010)
The longitude code is 10011111000001001 (described as Cb001001)
It becomes.

パックコードP1aP1bP2aP2bP3P4P5P6P7P8P9P10は,P1a=100110、P1b=100111、P2a=100、P2b=110、P3=00、P4=00、P5=00、P6=00、P7=11、P8-=00、P9=10、P10=01となる。   The pack codes P1aP1bP2aP2bP3P4P5P6P7P8P9P10 are P1a = 100110, P1b = 100111, P2a = 100, P2b = 110, P3 = 00, P4 = 00, P5 = 00, P6 = 00, P7 = 11, P8- = 00, P9 = 10, P10 = 01.

上記のように、緯度経度の地点が位置する中心メッシュM33のメッシュコードは53394600003021(以下、M003021,M=53394600と記載する)となる。   As described above, the mesh code of the center mesh M33 where the latitude and longitude points are located is 53394600003021 (hereinafter referred to as M003021, M = 53394600).

式(1)より、緯度コードは、北緯10度の地点が含まれる地点から1次メッシュを北に隙間なく並べ、該1次メッシュと縮尺を等しくしたm次(例えば、10次)メッシュで各1次メッシュを分割したとき、北緯がlatの地点が含まれる10次メッシュまでの緯度方向のm次メッシュの個数−1であることから、中心メッシュM33から緯度方向にi個10次メッシュが離間するメッシュの緯度コードは中心メッシュM33の緯度コードCa001010にiの2進数値を緯度の方向に従って加減算した値である。   From Equation (1), the latitude code is an m-order (for example, 10th-order) mesh in which the primary meshes are arranged to the north from a point including a point of 10 degrees north latitude, and the scale is equal to the primary mesh. When the primary mesh is divided, the number of m-order meshes in the latitudinal direction up to the 10th-order mesh including the point where the north latitude is lat is −1, so i-th tenth meshes are separated from the central mesh M33 in the latitudinal direction. The latitude code of the mesh to be obtained is a value obtained by adding or subtracting the binary value of i to the latitude code Ca001010 of the center mesh M33 in accordance with the latitude direction.

式(2)より、経度コードは、東経100度の地点が含まれる地点から1次メッシュを東に隙間なく並べ、該1次メッシュと縮尺を等しくしたm次(例えば、10次)メッシュで各1次メッシュを分割したとき、東経がlonの地点が含まれるm次メッシュまでの経度方向のm次メッシュの個数−1であることから、中心メッシュM33から経度方向にi個10次メッシュが離間するメッシュの経度コードは中心メッシュM33の緯度コードCa001010にiの2進数値を経度の方向に従って加減算した値である。   From Equation (2), the longitude code is an m-order (for example, 10th-order) mesh in which primary meshes are arranged eastward from a point including a point of 100 degrees east longitude and the scale is equal to the primary mesh. When the primary mesh is divided, the number of m-th meshes in the longitude direction to the m-th mesh including the point where the longitude is lon is −1, so i-th tenth meshes are separated from the center mesh M33 in the longitude direction. The longitude code of the mesh to be obtained is a value obtained by adding or subtracting the binary value of i to the latitude code Ca001010 of the center mesh M33 according to the longitude direction.

よって、図11に示すように、メッシュM11の緯度コードはCa001000、経度コードはCb000111、メッシュコードはM002111、メッシュM12の緯度コードはCa001000、経度コードはCb001000、メッシュコードはM003000、メッシュM13の緯度コードはCa001000、経度コードはCb001001、メッシュコードはM003001、メッシュM14の緯度コードはCa001000、経度コードはCb001010、メッシュコードはM003010、メッシュM15の緯度コードはCa001000、経度コードはCb001011、メッシュコードはM003011となる。メッシュMij(i=2〜5,j=1〜5)についても、同様にして、緯度コード及び経度コードが求められる。   Therefore, as shown in FIG. 11, the latitude code of the mesh M11 is Ca001000, the longitude code is Cb000111, the mesh code is M002111, the latitude code of the mesh M12 is Ca001000, the longitude code is Cb001000, the mesh code is M003000, and the latitude code of the mesh M13. Is Ca001000, longitude code is Cb001001, mesh code is M003001, mesh M14 latitude code is Ca001000, longitude code is Cb001010, mesh code is M003010, mesh M15 latitude code is Ca001000, longitude code is Cb001011, mesh code is M003011 . For the mesh Mij (i = 2 to 5, j = 1 to 5), the latitude code and the longitude code are obtained in the same manner.

図12に示すように、m次の中心メッシュM33をm次メッシュとすると、m次メッシュが1個離間する区分1に属するメッシュM22,M23,M24,M34,M44,M43,M42,M32,M22のメッシュ座標、中心メッシュのメッシュ座標に1加減算して算出する。また、区分1の外周のメッシュM22,M23,M24,M34,M44,M43,M42,M32,M22の外周の区分2のメッシュM11,M12,M13,M14,M15,M25,M35,M45,M55,M54,M53,M52,M51,M41,M31,M21のメッシュ座標は、区分1のメッシュM22,M23,M24,M34,M44,M43,M42,M32,M22のメッシュ座標に1加減算することにより算出する。   As shown in FIG. 12, when the m-th order center mesh M33 is an m-th order mesh, meshes M22, M23, M24, M34, M44, M43, M42, M32, M22 belonging to the section 1 in which the m-th order mesh is separated by one. 1 is added to or subtracted from the mesh coordinates of the center mesh. Further, the outer meshes M22, M23, M24, M34, M44, M43, M42, M32, and M22 of the outer circumference of the section 1 are meshes M11, M12, M13, M14, M15, M25, M35, M45, M55, The mesh coordinates of M54, M53, M52, M51, M41, M31, and M21 are calculated by adding / subtracting 1 to / from the mesh coordinates of the meshes M22, M23, M24, M34, M44, M43, M42, M32, and M22 of section 1. .

このように、区分iがm次のメッシュであれば、m次中心メッシュから離間するm次メッシュ数をm次中心メッシュ座標に加減算することにより、区分iの隣接メッシュのメッシュ座標を算出することができる。尚、各m次のメッシュMij(i=1〜5,j=1〜5)が含まれる実線で示す(m−1)次メッシュはメッシュMijのメッシュ座標/2により算出することができる。一般に、k次の中心メッシュのメッシュ座標は、m次の中心メッシュのメッシュ座標/2(m-k)となる。 As described above, if the section i is an m-th order mesh, the mesh coordinates of the adjacent meshes of the section i are calculated by adding or subtracting the number of m-th order meshes separated from the m-order center mesh to the m-order center mesh coordinates. Can do. Note that the (m−1) th order mesh indicated by a solid line including each mth order mesh Mij (i = 1 to 5, j = 1 to 5) can be calculated from the mesh coordinates / 2 of the mesh Mij. In general, the mesh coordinates of the k-th order center mesh are mesh coordinates / 2 (mk) of the m-order center mesh.

(b) 検索メッシュ次数kが初期検索メッシュ次数mと異なる場合
以前の区分において検索メッシュ次数の変更により検索メッシュ次数が初期検索メッシュ次数mと異なる場合、k次中心メッシュのメッシュ座標を初期検索メッシュ次数の中心メッシュのメッシュ座標を2の(初期検索メッシュ次数−k)乗で除算して算出する。区分iのメッシュをn×nとする。
(B) When the search mesh order k is different from the initial search mesh order m When the search mesh order is different from the initial search mesh order m due to the change of the search mesh order in the previous classification, the mesh coordinates of the k-th order center mesh are used as the initial search mesh It is calculated by dividing the mesh coordinates of the center mesh of the order by the power of 2 (initial search mesh order-k). The mesh of section i is n × n.

nが奇数の時、上記(a)と同様に、k次中心メッシュから区分iまでのk次メッシュのメッシュ数(n−1)/2をk次中心メッシュのメッシュ座標の緯度コード及び経度コードに加減算して区分iのメッシュ座標を算出する。   When n is an odd number, the same as (a) above, the number of meshes of the k-th order mesh from the k-th order center mesh to the section i (n−1) / 2 is the latitude code and longitude code of the mesh coordinates of the k-th order center mesh. Is added to or subtracted from to calculate the mesh coordinates of section i.

nが偶数の時、k次の区分i−1の南西端及び北東端のk次メッシュの外側を周回するように区分iを生成する。周回のアルゴリズムは南西端からk次メッシュ座標の加減算により隣接メッシュを辿ることにより区分iのk次メッシュのメッシュ座標を求める。   When n is an even number, the section i is generated so as to go around the south-west end and the north-east end of the k-th order mesh of the k-th section i-1. The rounding algorithm obtains the mesh coordinates of the k-th order mesh of section i by tracing the adjacent mesh by adding / subtracting the k-th order mesh coordinates from the southwest end.

(B) 検索メッシュ次数変更判定部205により検索メッシュ次数kの変更をすると判定されたとき
区分i−1(区分i−1にマージする場合)、又は区分i−1,i−2(区分iとして利用する場合)の最外周のn×nのk次メッシュの外周に1重の(n/2+2)×(n/2+2)、(n/2+3)×(n/2+3)又は((n+1)/2+2)×((n+1)/2+2)のk−1次メッシュの区分iを以下のようにして生成する。
(B) When the search mesh order change determination unit 205 determines that the search mesh order k is to be changed. Section i-1 (when merging with section i-1) or section i-1, i-2 (section i) (N / 2 + 2) × (n / 2 + 2), (n / 2 + 3) × (n / 2 + 3) or ((n + 1)) on the outer periphery of the n × n k-th order mesh of the outermost periphery A segment i of the k−1 order mesh of / 2 + 2) × ((n + 1) / 2 + 2) is generated as follows.

(a) 区分iが奇数×奇数のk−1次メッシュの場合
k−1次中心メッシュのメッシュ座標を初期検索メッシュ次数の中心メッシュのメッシュ座標を2の(初期検索メッシュ次数−k+1)乗で除算して算出する。または、k次の中心メッシュを2で割ることでk−1次中心メッシュのメッシュ座標を算出する。k−1次中心メッシュから区分iのk−1次メッシュまでの離間するk−1次メッシュ数をk−1次中心メッシュのメッシュ座標に加減算することにより、区分iの隣接メッシュのメッシュ座標を算出する。
(A) When the section i is an odd-numbered odd-numbered k-1th order mesh The mesh coordinates of the k-1st order center mesh are the initial search mesh order and the mesh coordinates of the center mesh are the 2nd power of the initial search mesh order-k + 1 Calculate by dividing. Alternatively, the k-th order center mesh is divided by 2 to calculate the mesh coordinates of the k-1 order center mesh. By adding or subtracting the number of k-1 order meshes separated from the k-1 order center mesh to the k-1 order mesh of the section i to the mesh coordinates of the k-1 order center mesh, the mesh coordinates of the adjacent mesh of the section i are obtained. calculate.

(b) 区分iが偶数×偶数のk−1次メッシュの場合
k−1次の区分i−1(区分i−1にマージする場合)、又は区分i−1,i−2(区分iとして利用する場合)の南西端及び北東端のk次メッシュのメッシュ座標を2で割ることでk−1次メッシュのメッシュ座標を求めて、その外側を周回するように区分iを生成する。周回のアルゴリズムは南西端からメッシュ座標の加減算により隣接メッシュを辿ることにより区分iのk−1次メッシュのメッシュ座標を求める。
(B) When section i is an even-numbered x even-numbered k-1 order mesh k-1 order section i-1 (when merging with section i-1) or sections i-1, i-2 (as section i) The mesh coordinates of the k-th order mesh are obtained by dividing the k-order mesh coordinates of the south-west end and the north-east end by 2 by dividing the mesh coordinates of the k-order mesh in the case of use, and a section i is generated so as to go around the outside. The rounding algorithm obtains the mesh coordinates of the k−1th order mesh of section i by tracing the adjacent mesh by adding and subtracting the mesh coordinates from the southwest end.

検索メッシュ次数変更判定部204は、区分i−1の最外周のメッシュ数に基づいて、以下のようにして、検索メッシュ次数の変更があるか否かを判定する。   The search mesh order change determination unit 204 determines whether there is a change in the search mesh order based on the number of outermost meshes in the section i-1 as follows.

カレントの検索メッシュ次数kが最小の次数k_min(例えば、k_min=2)以下であれば、検索メッシュ次数kを変更しない。本実施形態では、低次メッシュが2×2の高次メッシュに分割される場合に検索メッシュ次数の変更が容易に適用可能であり、1次のメッシュは8×8のメッシュに分割されるからである。   If the current search mesh order k is less than or equal to the minimum order k_min (for example, k_min = 2), the search mesh order k is not changed. In the present embodiment, when the low-order mesh is divided into 2 × 2 high-order meshes, the search mesh order can be easily changed, and the primary mesh is divided into 8 × 8 meshes. It is.

区分i−1のメッシュがn×nであるとする。nが初期検索メッシュ次数の中心メッシュから区分i−1のメッシュが一定距離離間していることを示す所定値n0以上であるか否かを判定する。nがn0以上で有れば、検索メッシュ次数の変更有りと判断して、カレントな検索メッシュ次数を1減じる。nがn0未満であれば、初期検索メッシュ次数の中心メッシュから区分i−1のメッシュが一定距離離間していないので、検索メッシュ次数の変更無しと判断して、カレントな検索メッシュ次数kを更新しない。   Assume that the mesh of the section i-1 is n × n. It is determined whether n is equal to or greater than a predetermined value n0 indicating that the mesh of the section i-1 is separated from the center mesh of the initial search mesh order by a certain distance. If n is greater than or equal to n0, it is determined that the search mesh order has changed, and the current search mesh order is reduced by one. If n is less than n0, the mesh of section i-1 is not separated from the center mesh of the initial search mesh order by a certain distance, so it is determined that the search mesh order has not changed, and the current search mesh order k is updated. do not do.

所定値n0は特に限定されることはないが、区分iをn1×n1のメッシュであり、n1が奇数であると、検索メッシュ次数変更後のk−1次中心メッシュが区分iのメッシュの中心に位置することから、中心メッシュから区分iのk次メッシュまでの距離をほぼ等しくすることが可能となる。例えば、n0=4倍数+1であるとすると、区分i−1のk次メッシュがn0×n0となると、区分i−1及び後述の補完用メッシュの含めた最外周の地図範囲を含むk−1次のメッシュ数は、(4の倍数+1+1)/2(=(2の倍数+1))×(2の倍数+1)となり、奇数となる。従って、区分iのk−1次メッシュは奇数×奇数となる。   Although the predetermined value n0 is not particularly limited, if the segment i is an n1 × n1 mesh and n1 is an odd number, the k−1 order center mesh after the change of the search mesh order is the center of the mesh of the segment i Therefore, the distance from the center mesh to the k-th mesh of the section i can be made substantially equal. For example, assuming that n0 = 4 multiple + 1, when the k-order mesh of the section i-1 is n0 × n0, k−1 includes the outermost map range including the section i-1 and a complementary mesh described later. The next mesh number is (multiple of 4 + 1 + 1) / 2 (= (multiple of 2 + 1)) × (multiple of 2 + 1), which is an odd number. Therefore, the k−1th order mesh of section i is odd × odd.

図13及び図14は補完の必要の有無及び補完用メッシュを判定するための補完パターンを示す図である。区分i−1をn×nとして、図13は,nが偶数の場合、図14は,nが奇数の場合の補完パターンを示す図である。図13では、n=2の場合を図示しているが、一般の偶数の場合も同じである。図14では、n=5の場合を図示しているが一般の奇数の場合も同様である。   FIG. 13 and FIG. 14 are diagrams showing a complement pattern for determining whether or not complement is necessary and a complement mesh. FIG. 13 is a diagram illustrating a complementary pattern when n is an even number, and FIG. 14 is a diagram when n is an odd number. In FIG. 13, the case of n = 2 is illustrated, but the same applies to the case of a general even number. In FIG. 14, the case of n = 5 is shown, but the same applies to the case of a general odd number.

補完用メッシュは、次数kの区分i−1と次数k−1の区分i(補完用メッシュを区分i−1にマージする場合)、又は区分i−1及び区分i(補完用メッシュを区分iとして利用する場合)との間にk次メッシュが存在しないように、区分i−1と区分i(補完用メッシュを区分i−1にマージする場合)、又は区分i−1と区分i+1(補完用メッシュを区分iとして利用する場合)を連結して間隙を無くすこと、並びに区分i−1及び補完用メッシュの最外周のk次メッシュの数が緯度方向と経度方向で同数とすることを目的として生成される 。   Complementary meshes include a section k-1 of order k and a section i of order k-1 (when a complementary mesh is merged with section i-1), or a section i-1 and a section i (complementing mesh is divided into sections i). Segment i-1 and segment i (when the complementary mesh is merged with segment i-1), or segment i-1 and segment i + 1 (complement) Purpose of connecting the mesh for use as section i) to eliminate gaps, and to make the number of k-order meshes on the outermost circumference of section i-1 and the complementary mesh equal in the latitude and longitude directions Generated as.

全体地図を複数のメッシュに分割して、縮尺に応じて当該メッシュのサイズが異なる複数の段階の1次〜m次(mは2以上の整数)の次数のメッシュに階層化されたメッシュ構造において、以下のようにして、補完用メッシュを生成すればよい。   In a mesh structure in which an entire map is divided into a plurality of meshes and hierarchized into meshes of a first order to mth order (m is an integer of 2 or more) in a plurality of stages in which the size of the mesh differs according to the scale. The complementary mesh may be generated as follows.

(1) 検索メッシュ次数がk次の区分i−1のk次メッシュ(基準となるメッシュ)と地図範囲が重なる各k−1次メッシュに対応するように、該各k−1次メッシュと地図範囲が重なり、区分i−1のk次メッシュとは異なるk次メッシュを補完用メッシュとして補完する。これにより、該各k−1次メッシュに隣接するk−1次メッシュと区分i−1のk次メッシュとが、補完用メッシュにより連結されて、区分i−1と区分i(補完用メッシュを区分i−1にマージする場合)、又は区分i−1と区分i+1(補完用メッシュを区分iとして利用する場合)との間のk次メッシュの間隙が補完用メッシュにより埋められる。   (1) Each k-1 order mesh and map so as to correspond to each k-1 order mesh whose map range overlaps with the k order mesh (reference mesh) of the section i-1 whose search mesh order is k order. The range overlaps and the k-th order mesh different from the k-th order mesh of the section i-1 is complemented as a complementary mesh. As a result, the k-1th order mesh adjacent to each k-1th order mesh and the kth order mesh of the section i-1 are connected by the complementary mesh, so that the section i-1 and the section i (the complementary mesh The gap of the k-th order mesh between the section i-1 and the section i + 1 (when the complementary mesh is used as the section i) is filled with the complementary mesh.

(2) 区分i−1と補完用メッシュとの最外周のメッシュの数を緯度方向と経度方向で等しくして、区分i(補完用メッシュを区分i−1にマージする場合)、又は区分i+1(補完用メッシュを区分iとして利用する場合)のk−1次メッシュの数を緯度方向と経度方向で同数とするために、区分i−1のk次メッシュを基準となるメッシュとして、該基準となるk次メッシュと(1)の処理により得られたk次の補完用メッシュとの最外周のメッシュについて、緯度方向及び経度方向でメッシュ数が少ない方向に上下又は左右に該最外周のメッシュに隣接するk次メッシュの集合の領域とk−1次メッシュの領域とを重ね合わせて重ならない領域があれば、中心緯度経度から距離を勘案して(例えば、中心緯度経度のk次の中心メッシュから最外周の補完用メッシュまでの距離が等しくなるように)、該k次メッシュの集合からk次メッシュを1行又は1列ずつ該集合から増減させる処理を行い、メッシュを増加させる方向で重ならない領域のk次メッシュを該集合に追加する処理を行い、集合の中で残ったk次メッシュを(1)の補完用メッシュに加えて補完用メッシュとする。これにより、該隣接するk−1次メッシュに隣接するk−1次メッシュと区分i−1とが、この補完用メッシュにより連結されるとともに、区分i(補完用メッシュを区分i−1にマージ)又は区分i+1(補完用メッシュを区分iとして利用する場合)のk−1次メッシュがn1×n1と成る。   (2) The number of outermost meshes of the section i-1 and the complementary mesh is made equal in the latitude direction and the longitude direction, and the section i (when the complementary mesh is merged with the section i-1) or the section i + 1 In order to make the number of k-1 order meshes in the case of using the complementary mesh as the section i equal in the latitude direction and the longitude direction, the k order mesh of the section i-1 is used as a reference mesh. The outermost mesh of the kth order mesh and the kth order complementary mesh obtained by the processing of (1), the outermost mesh in the latitudinal direction and the longitudinal direction in the direction with a small number of meshes in the vertical and horizontal directions If there is a region that does not overlap by overlapping the region of the set of kth order meshes and the region of the k−1th order meshes, the distance is taken into account from the center latitude and longitude (for example, the center of the kth order of the center latitude and longitude) Messi From the set of k-th order meshes to increase or decrease the k-th order meshes by one row or one column at a time. A process of adding the k-th order mesh of the region that does not become to the set is performed, and the k-th order mesh remaining in the set is added to the complementing mesh of (1) to be a complementary mesh. As a result, the k-1 order mesh adjacent to the adjacent k-1 order mesh and the section i-1 are connected by this complementary mesh, and the section i (the complementary mesh is merged with the section i-1). ) Or the k−1 order mesh of the section i + 1 (when the complementary mesh is used as the section i) is n1 × n1.

尚、(2)の処理は、後述する図13(c)〜図13(f)に示す偶数パターン3〜6の場合を想定した処理である。この場合、k−1次メッシュが2×2のk次メッシュに分割されるときは、(1),(2)の処理に代えて、区分i−1の外に、該区分i−1を1重のk次メッシュで囲む通常の区分iを一時的に生成して、該区分iの領域にk−1次メッシュを重ね合わせて重ならない領域があれば、中心緯度経度からの距離を勘案(例えば、区分i−1の最外周のメッシュがn×nのとき、中心緯度経度の地点を含むk次の中心メッシュから距離n/2のk次メッシュと距離n/2+1のk次メッシュがk−1次メッシュで同じメッシュに属するかどうかで判定)して、一時的に生成した区分iから緯度方向もしくは経度方向に補完用メッシュを1行又は1列ずつ増減させ、区分iの中で残ったk次メッシュ及び増加したk次メッシュを補完用メッシュとする処理を行えば良い。   The process (2) is a process assuming the case of even-numbered patterns 3 to 6 shown in FIGS. 13 (c) to 13 (f) described later. In this case, when the k−1th order mesh is divided into 2 × 2 kth order meshes, instead of the processes of (1) and (2), the section i−1 is set outside the section i−1. A normal section i surrounded by a single kth order mesh is temporarily generated, and if there is an area that does not overlap by overlapping the k-1th order mesh in the area of the section i, the distance from the central latitude and longitude is taken into account. (For example, when the outermost mesh of the section i-1 is n × n, the k-th order mesh of the distance n / 2 and the k-th order mesh of the distance n / 2 + 1 from the k-th center mesh including the point of the central latitude and longitude are (K-1) determines whether the meshes belong to the same mesh or not, and temporarily increases or decreases the complementary meshes in the latitude direction or longitude direction by one row or one column from the section i that is temporarily generated. The remaining k-th order mesh and the increased k-th order mesh are used as complementary meshes. What is necessary is just to perform the process.

(3) 区分j(j>i)の検索メッシュ次数が区分j−1(補完用メッシュが区分j−1にマージされる場合)又は区分j−2(補完用メッシュが区分j−1として利用される場合)の検索メッシュ次数k−1からk−2に変更される毎に、区分j−1又は区分j−2の各k−1次メッシュを基準となるメッシュとして、所定の検索メッシュ次数となるまで、(1)を繰り返し、区分j−1又は区分j−2のk−1次のメッシュを基準となるメッシュとして、所定の検索メッシュ次数となるまで、(2)を繰り返し実行する。   (3) The search mesh order of the section j (j> i) is the section j-1 (when the complementary mesh is merged with the section j-1) or the section j-2 (the complementary mesh is used as the section j-1). Each time the search mesh order k-1 is changed from k-1 to k-2, each k-1 order mesh of the section j-1 or the section j-2 is used as a reference mesh. Until (1) is repeated, (2) is repeatedly executed until the k-1th order mesh of the section j-1 or the section j-2 is used as a reference mesh until a predetermined search mesh order is obtained.

区分jの検索メッシュ次数がk−1からk−2に変更になる場合等でも、補完用メッシュを生成するアルゴリズムは同じであり、(1),(2)の処理においては、区分j−1の検索メッシュ次数k−1のメッシュが、検索メッシュ次数がkからk−1に変更になる場合の区分i−1の基準となるk次メッシュに対応し、(1),(2)の処理で上記基準となるメッシュの対応関係に従って、読み替えて処理を行っている。   Even when the search mesh order of the section j is changed from k-1 to k-2, the algorithm for generating the complementary mesh is the same. In the processes (1) and (2), the section j-1 The search mesh order k-1 mesh corresponds to the kth order mesh that becomes the reference of the section i-1 when the search mesh order is changed from k to k-1, and the processing of (1) and (2) Thus, the processing is changed according to the correspondence relationship of the reference mesh.

これにより、検索メッシュ次数が変更されても、基準となる地点から遠ざかるに従って、低次メッシュで広域に地域情報が検索され、地方都市や山間部のように疎な地域の地域情報を高速に検索することができる。   As a result, even if the search mesh order is changed, regional information is searched in a wide area with a low-order mesh as it moves away from the reference point, and regional information in sparse areas such as local cities and mountainous areas is searched at high speed. can do.

本実施形態のj(j=2以上)次メッシュが2×2のj+1次メッシュに分割されるメッシュ構造において、以下のようにして、補完の有無の判断及び補完用メッシュ生成が行われる。   In the mesh structure in which the j (j = 2 or higher) -order mesh of this embodiment is divided into 2 × 2 j + 1-order meshes, the presence / absence of complementation and the generation of the complementary mesh are performed as follows.

図13において、左斜線でハッチングされたメッシュ 210a〜210f(一般の偶数の場合は、最外周のn×nのメッシュ)が次数kの区分i−1、ハッチング無しのメッシュ212a〜212fが区分i−1に隣接する次数k−1の隣接メッシュである。図14において、左斜線でハッチングされたメッシュ230a〜230dの最外周の5×5のメッシュが次数kの区分i−1、ハッチング無しのメッシュ232a〜232dが区分i−1の次数k−1の隣接メッシュである。   In FIG. 13, meshes 210a to 210f hatched with left diagonal lines (in the case of general even numbers, the outermost n × n meshes) are sections i-1 of order k, and meshes 212a to 212f without hatching are sections i. −1 is an adjacent mesh of degree k−1 adjacent to −1. In FIG. 14, the outermost 5 × 5 meshes of meshes 230a to 230d hatched with left diagonal lines are the sections i-1 of the order k, and the meshes 232a to 232d without hatching are the orders k−1 of the sections i-1. Adjacent mesh.

補完判断部205は、検索メッシュ次数変更判定部204が検索メッシュ次数を変更すると判定したとき、区分i−1の検索メッシュ次数kのメッシュを含むk−1次のメッシュが区分i−1のメッシュ以外のk次メッシュを含むか否かを判断して、区分i−1のk次メッシュ以外のk次メッシュを含まない場合は、補完の必要無しと判断し、区分i−1のk次メッシュ以外のk次メッシュを含む場合は、補完の必要有りと判断する。   When the search mesh order change determination unit 204 determines that the search mesh order change determination unit 204 changes the complementation determination unit 205, the k−1 order mesh including the mesh of the search mesh order k of the section i−1 is the mesh of the section i−1. It is determined whether or not a k-order mesh other than that is included, and if no k-order mesh other than the k-order mesh of the section i-1 is included, it is determined that complementation is not necessary, and the k-order mesh of the section i-1 is determined. If any other k-order mesh is included, it is determined that complementation is necessary.

偶数パターン1は、図13(a)に示すように、区分i−1のk次メッシュ及び該k次メッシュを含むk−1次メッシュの経度方向(横方向)及び緯度方向(縦方向)の境界が一致して、北西端、北東端、南西端及び南東端のそれぞれのk次メッシュを含むk−1次メッシュが区分i−1以外のk次メッシュを含まないので、補完の必要がないものと判断される。これは、南西端、南東端、北西端、北東端のk次メッシュのメッシュ番号が0,1,2,3であることにより、偶数パターン1であることが判断される。   As shown in FIG. 13A, the even-numbered pattern 1 includes the k-th order mesh of the section i-1 and the longitude direction (horizontal direction) and the latitude direction (longitudinal direction) of the k-1 order mesh including the k-th order mesh. Since the boundary coincides and the k-1 order mesh including the k order meshes at the northwest end, the northeast end, the southwest end, and the southeast end does not include k order meshes other than the section i-1, there is no need for complementation. Judged to be. This is determined to be an even pattern 1 because the mesh numbers of the k-th order meshes at the southwest end, southeast end, northwest end, and northeast end are 0, 1, 2, and 3.

偶数パターン2は、図13(b)に示すように、区分i−1のk次メッシュ及び該k次メッシュを含むk−1次メッシュの境界が経度方向及び緯度方向に一致せず、区分i−1の北西端、北東端、南西端及び南東端のそれぞれのk次メッシュを含むk−1次メッシュが区分i−1以外に3個のk次メッシュを含むので、補完の必要があるものと判断される。これは、南西端、南東端、北西端、北東端のメッシュのk次のメッシュ番号が3,2,1,0であることにより、偶数パターン2であることが判断される。   As shown in FIG. 13 (b), the even-numbered pattern 2 has a boundary i-1 in which the k-th order mesh of the section i-1 and the boundary of the k-1th order mesh including the k-th order mesh do not match in the longitude direction and the latitude direction. -1 north west end, north east end, south west end and south east end k-1 order meshes including k order meshes include 3 k order meshes other than section i-1 and need to be complemented It is judged. This is determined to be an even pattern 2 because the k-th order mesh numbers of the meshes at the southwest end, southeast end, northwest end, and northeast end are 3, 2, 1, 0.

偶数パターン3,4は、図13(c),(d)に示すように、区分i−1のk次メッシュ及び該k次メッシュを含むk−1次メッシュの境界が経度方向には一致するが、緯度方向には一致せず、区分i−1の北西端、南西端のそれぞれのk次メッシュを含むk−1次メッシュが西に2個、北東端及び南東端のそれぞれのk次メッシュを含むk−1次メッシュが東に2個のk次メッシュを含むので、補完の必要があるものと判断される。これは、南西端、南東端、北西端、北東端のメッシュのk次のメッシュ番号が1,0,3,2であることにより、偶数パターン3,4が判断される。   In the even patterns 3 and 4, as shown in FIGS. 13C and 13D, the k-th order mesh of the section i-1 and the boundary of the k-1th order mesh including the k-th order mesh coincide with each other in the longitude direction. However, they do not match in the latitude direction, and there are two k-1 order meshes in the west, each including the k order meshes at the northwest end and the southwest end of the section i-1, and the k order meshes at the northeast end and the southeast end. Since the (k−1) -order mesh including “2” includes two k-order meshes in the east, it is determined that complementation is necessary. The even-numbered patterns 3 and 4 are judged by the k-th order mesh numbers of the meshes at the southwest end, southeast end, northwest end, and northeast end being 1, 0, 3, and 2.

偶数パターン5,6は、図13(e),(f)に示すように、区分i−1のk次メッシュ及び該k次メッシュを含むk−1次メッシュの境界が緯度方向には一致するが、緯度方向には一致せず、区分i−1の北西端、北東端のそれぞれのk次メッシュを含むk−1次メッシュが北に2個、南西端及び南東端のそれぞれのk次メッシュを含むk−1次メッシュが南に2個のk次メッシュを含むので、補完の必要があるものと判断される。これは、南西端、南東端、北西端、北東端のメッシュのk次のメッシュ番号が2,3,0,1であることにより、偶数パターン5,6であることが判断される。   In the even patterns 5 and 6, as shown in FIGS. 13E and 13F, the boundary of the kth order mesh of the section i-1 and the k-1th order mesh including the kth order mesh match in the latitude direction. However, they do not match in the latitude direction, and there are two k-1 order meshes in the north, and each k order mesh in the southwest end and southeast end including the k order meshes in the northwest and northeast ends of the section i-1. Since the (k−1) -order mesh including “x” includes two k-order meshes in the south, it is determined that complementation is necessary. This is determined to be the even patterns 5 and 6 because the k-th order mesh numbers of the meshes at the southwest end, southeast end, northwest end and northeast end are 2, 3, 0 and 1.

以上のように、nが偶数の場合、補完の必要があるか否かは、区分i−1の南西端、南東端、北西端、北東端のいずれか一つのk次メッシュのメッシュ番号により判定できる。   As described above, when n is an even number, whether or not complementation is necessary is determined by the mesh number of any one of the k-th order meshes of the southwest end, southeast end, northwest end, and northeast end of section i-1. it can.

図14に示すように、奇数の場合は、奇数パターン1,2,3,4のいずれの場合でも、補完の必要有りと判断する。   As shown in FIG. 14, in the case of an odd number, it is determined that complementation is necessary in any of the odd patterns 1, 2, 3, and 4.

奇数パターン1は、図14(a)に示すように、区分i−1の北端のk次メッシュ及び該k次メッシュを含むk−1次メッシュの境界が経度方向に一致して、区分i−1の西端のk次メッシュ及び該k次メッシュを含むk−1次メッシュの境界が緯度方向に一致して、区分i−1の東端及び南端のk次メッシュを含むk−1メッシュが区分i−1のk次メッシュ以外のk次メッシュを含む場合である。これは、南西端、南東端、北西端、北東端のメッシュのk次のメッシュ番号が2,2,2,2であることにより、奇数パターン1であることが判断される。   As shown in FIG. 14 (a), the odd-numbered pattern 1 is obtained by matching the boundary of the k-th order mesh including the k-th order mesh and the k-th order mesh of the section i-1 in the longitude direction. The boundary of the 1st west end k-th order mesh and the k-1th order mesh including the kth order mesh coincide with the latitude direction, and the k-1 mesh including the east end and the south end kth order mesh of the section i-1 is the section i. In this case, k-order meshes other than the k-order mesh of −1 are included. This is determined to be an odd pattern 1 because the k-th order mesh numbers of the meshes at the southwest end, southeast end, northwest end, and northeast end are 2, 2, 2, and 2.

奇数パターン2は、図14(b)に示すように、区分i−1の北端のk次メッシュ及び該k次メッシュを含むk−1次メッシュの境界が経度方向に一致して、区分i−1の東端のk次メッシュ及び該k次メッシュを含むk−1次メッシュの境界が緯度方向に一致して、区分i−1の西端及び南端のk次メッシュを含むk−1メッシュが区分i−1のk次メッシュ以外のk次メッシュを含む場合である。これは、南西端、南東端、北西端、北東端のメッシュのk次のメッシュ番号が3,3,3,3であることにより、奇数パターン2であることが判断される。   As shown in FIG. 14B, the odd-numbered pattern 2 is obtained by matching the boundary of the k-th order mesh including the k-th order mesh and the k-th order mesh of the section i-1 in the longitude direction. The boundary of the kth order mesh of the east end of 1 and the k-1 order mesh including the kth order mesh coincides with the latitude direction, and the k-1 mesh including the kth order mesh of the west end and the south end of the section i-1 is the section i. In this case, k-order meshes other than the k-order mesh of −1 are included. This is determined to be an odd pattern 2 because the k-th order mesh numbers of the meshes at the southwest end, the southeast end, the northwest end, and the northeast end are 3, 3, 3, and 3.

奇数パターン3は、図14(c)に示すように、区分i−1の東端のk次メッシュ及び該k次メッシュのk−1次メッシュの境界が緯度方向に一致して、区分i−1の南端のk次メッシュ及び該k次メッシュを含むk−1次メッシュの境界が経度方向に一致して、区分i−1の西端及び北端のk次メッシュを含むk−1メッシュが区分i−1のk次メッシュ以外のk次メッシュを含む場合である。これは、南西端、南東端、北西端、北東端のメッシュのk次のメッシュ番号が1,1,1,1であることにより、奇数パターン3であることが判断される。   As shown in FIG. 14 (c), the odd-numbered pattern 3 is obtained by dividing the boundary of the k-th order mesh of the east end of the section i-1 and the k-1 order mesh of the k-order mesh in the latitude direction. The boundary of the kth order mesh including the kth order mesh at the south end and the kth order mesh including the kth order mesh coincides with the longitude direction, and the k−1 mesh including the kth order mesh at the west end and the north end of the section i−1 is the section i−. This is a case including k-order mesh other than 1 k-order mesh. This is determined to be the odd pattern 3 because the k-th order mesh numbers of the meshes at the southwest end, the southeast end, the northwest end, and the northeast end are 1, 1, 1, 1.

奇数パターン4は、図14(d)に示すように、区分i−1の西端のk次メッシュ及び該k次メッシュのk−1次メッシュの境界が緯度方向に一致して、区分i−1の南端のk次メッシュ及び該k次メッシュを含むk−1次メッシュの境界が経度方向に一致して、北端及び東端のk次メッシュを含むk−1メッシュが区分i−1のk次メッシュ以外のk次メッシュを含む場合である。これは、南西端、南東端、北西端、北東端のメッシュのk次のメッシュ番号が0,0,0,0であることにより、奇数パターン4であることが判断される。   As shown in FIG. 14 (d), the odd-numbered pattern 4 has a boundary i-1 in which the boundary of the kth order mesh of the west end of the section i-1 and the k-1th order mesh of the kth order mesh coincide with each other in the latitude direction. The boundary of the kth order mesh including the kth mesh at the south end and the kth order mesh including the kth order mesh coincides with the longitude direction, and the kth mesh including the kth order mesh at the north end and the east end is the kth order mesh of the section i-1. It is a case where k order meshes other than are included. This is determined to be an odd pattern 4 because the k-th order mesh numbers of the meshes at the southwest end, southeast end, northwest end, and northeast end are 0, 0, 0, 0.

補完用メッシュ特定部205は、補完必要が有りと判定した場合は、図13,図14の偶数パターン2〜6、奇数パターン1〜4のいずれの補完パターンであるかに従って、補完用メッシュを特定する。   If it is determined that complementation is necessary, the complementation mesh identification unit 205 identifies the complementation mesh according to which of the even patterns 2 to 6 and the odd patterns 1 to 4 in FIG. 13 and FIG. To do.

(1) 偶数パターン2の時
図13(b)中の右斜線のハッチングに示すように、区分i−1の北端及び南端のそれぞれのk次メッシュに北方向及び南方向に1個離間する(n+2)個のk次隣接メッシュ、並びに西端及び東端のそれぞれのk次メッシュに西及び東方向に1個離間する(n+2)個のk次隣接メッシュを補完用メッシュ214bとする。これらのk次隣接メッシュは、間隙をなくすための補完用メッシュである。区分(i−1)及び補完用メッシュを含むk次メッシュの最外周のk次メッシュは(n+2)×(n+2)となる。
(1) Even pattern 2 As shown in the hatched right hatching in FIG. 13B, the k-th meshes at the north end and the south end of the section i-1 are separated by one in the north direction and the south direction ( The n + 2) k-th order adjacent meshes and (n + 2) k-th order adjacent meshes spaced one by one in the west and east directions from the west end and east end k-th meshes are used as the complementary mesh 214b. These k-th order adjacent meshes are complementary meshes for eliminating gaps. The k-th order mesh on the outermost periphery of the k-th order mesh including the section (i-1) and the complementary mesh is (n + 2) × (n + 2).

(2) 偶数パターン3の時
図13(c)中の右斜線のハッチングに示すように、区分i−1の西端及び東端のそれぞれのk次メッシュの西方向及び東方向に1個離間するn個のk次隣接メッシュ及び区分i−1の南端のk次メッシュの南方向に1個及び2個離間する(n+2)個のk次隣接メッシュを補完用メッシュ214cとする。前者のk次隣接メッシュは、間隙をなくすための補完用メッシュであり、後者のk次隣接メッシュは、区分i−1及び補完用メッシュの最外周のk次メッシュの数が緯度方向と経度方向で同数とするための補完用メッシュである。区分i−1及び補完用メッシュを含むk次メッシュの最外周のk次メッシュは(n+2)×(n+2)となる。
(2) For even pattern 3 As shown in the hatched hatching in FIG. 13 (c), n is separated by one in the west and east directions of the respective kth order meshes at the west end and east end of section i-1. The k-th order adjacent meshes and the (n + 2) k-th order adjacent meshes separated in the south direction from the k-th order mesh of the k-th order mesh and the k-th order mesh at the south end of the section i-1 are defined as the complementary mesh 214c. The former k-th order neighboring mesh is a complementary mesh for eliminating gaps, and the latter k-th order neighboring mesh has the number of k-th meshes at the outermost circumference of the section i-1 and the complementary mesh in the latitude direction and the longitude direction. It is a mesh for the complement to make it the same number. The outermost k-th order mesh of the k-th order mesh including the section i-1 and the complementary mesh is (n + 2) × (n + 2).

(3) 偶数パターン4の時
図13(d)中の右斜線のハッチングに示すように、区分i−1の西端及び東端のそれぞれのk次メッシュの西方向及び東方向に1個離間するn個のk次隣接メッシュ及び区分i−1の北端のk次メッシュの北方向に1個及び2個離間する(n+2)個の隣接k次メッシュを補完用メッシュ214dとする。前者のk次隣接メッシュは、間隙をなくすための補完用メッシュであり、後者のk次隣接メッシュは、区分i−1及び補完用メッシュの最外周のk次メッシュの数が緯度方向と経度方向で同数とするための補完用メッシュである。区分i−1及び補完用メッシュを含むk次メッシュの最外周のk次メッシュは(n+2)×(n+2)となる。
(3) Even pattern 4 As shown by hatching in the right oblique line in FIG. 13 (d), n is separated by one in the west and east directions of the respective k-order meshes at the west end and the east end of section i-1. The n-th adjacent k-th order meshes and (n + 2) adjacent k-th order meshes in the north direction of the north-order k-th order mesh of the section i-1 are defined as the complementary mesh 214d. The former k-th order neighboring mesh is a complementary mesh for eliminating gaps, and the latter k-th order neighboring mesh has the number of k-th meshes at the outermost circumference of the section i-1 and the complementary mesh in the latitude direction and the longitude direction. It is a mesh for the complement to make it the same number. The outermost k-th order mesh of the k-th order mesh including the section i-1 and the complementary mesh is (n + 2) × (n + 2).

偶数パターン3,4は、区分i−1及び補完用メッシュの最外周のメッシュが初期検索メッシュ次数の中心メッシュから等距離になるように、いずれかのパターンが選択される。例えば、中心メッシュが区分i−1において南寄りであれば、偶数パターン3を選択して、北寄りであれば、偶数パターン4を選択する。   The even patterns 3 and 4 are selected so that the outermost mesh of the section i-1 and the complementary mesh is equidistant from the center mesh of the initial search mesh order. For example, if the center mesh is closer to the south in the section i-1, the even pattern 3 is selected. If the center mesh is closer to the north, the even pattern 4 is selected.

(4) 偶数パターン5の時
図13(e)中の右斜線のハッチングに示すように、区分i−1の北端及び南端のそれぞれのk次メッシュの北方向及び南方向に1個離間するn個のk次隣接メッシュ及び区分i−1の東端のk次メッシュの東方向に1個及び2個離間する(n+2)個のk次隣接メッシュを補完用メッシュ214eとする。前者のk次隣接メッシュは、間隙をなくすための補完用メッシュであり、後者のk次隣接メッシュは、区分i−1及び補完用メッシュの最外周のk次メッシュの数が緯度方向と経度方向で同数とするための補完用メッシュである。区分i−1及び補完用メッシュを含むk次メッシュの最外周のk次メッシュは(n+2)×(n+2)となる。
(4) For even pattern 5 As shown in the hatched right hatching in FIG. 13 (e), n is separated by one in the north direction and the south direction of the k-th meshes at the north end and the south end of section i-1. The k-th order neighboring meshes and the (n + 2) k-th order neighboring meshes separated in the east direction from the k-th order mesh of the k-th order mesh at the east end of the section i-1 are defined as a complementary mesh 214e. The former k-th order neighboring mesh is a complementary mesh for eliminating gaps, and the latter k-th order neighboring mesh has the number of k-th meshes at the outermost circumference of the section i-1 and the complementary mesh in the latitude direction and the longitude direction. It is a mesh for the complement to make it the same number. The outermost k-th order mesh of the k-th order mesh including the section i-1 and the complementary mesh is (n + 2) × (n + 2).

(5) 偶数パターン6の時
図13(f)中の右斜線のハッチングに示すように、区分i−1の北端及び南端のそれぞれのk次メッシュの北方向及び南方向に1個離間するn個のk次隣接メッシュ及び区分i−1の西端のk次メッシュの西方向に1個及び2個離間する(n+2)個のk次隣接メッシュを補完用メッシュ214fとする。前者のk次隣接メッシュは、間隙をなくすための補完用メッシュであり、後者のk次隣接メッシュは、区分i−1及び補完用メッシュの最外周のk次メッシュの数が緯度方向と経度方向で同数とするための補完用メッシュである。区分i−1及び補完用メッシュを含むk次メッシュの最外周のk次メッシュは(n+2)×(n+2)となる。
(5) Even pattern 6 As shown by hatching in the right oblique line in FIG. 13 (f), n is separated by one in the north direction and the south direction of the k-th meshes at the north end and the south end of the section i-1. The k-th order neighboring meshes and the (n + 2) k-th order neighboring meshes separated in the west direction by the west direction of the k-th order mesh at the west end of the section i-1 are defined as the complementary mesh 214f. The former k-th order neighboring mesh is a complementary mesh for eliminating gaps, and the latter k-th order neighboring mesh has the number of k-th meshes at the outermost circumference of the section i-1 and the complementary mesh in the latitude direction and the longitude direction. It is a mesh for the complement to make it the same number. The outermost k-th order mesh of the k-th order mesh including the section i-1 and the complementary mesh is (n + 2) × (n + 2).

偶数パターン5,6は、区分i−1及び補完用メッシュの最外周のメッシュが初期検索メッシュ次数の中心メッシュから等距離になるように、いずれかのパターンが選択される。例えば、中心メッシュが区分i−1において東寄りであれば、偶数パターン5を選択して、西寄りであれば、偶数パターン6を選択する。   The even patterns 5 and 6 are selected so that the outermost mesh of the section i-1 and the complementary mesh is equidistant from the center mesh of the initial search mesh order. For example, if the center mesh is eastward in the section i-1, the even pattern 5 is selected, and if it is west, the even pattern 6 is selected.

(6) 奇数パターン1の時
図14(a)中の右斜線のハッチングに示すように、区分i−1の東端及び南端のそれぞれのk次メッシュの東方向及び南方向に1個離間する(n+1)個のk次隣接メッシュを補完用メッシュ234aとする。k次隣接メッシュは、間隙をなくすための補完用メッシュである。区分i−1及び補完用メッシュを含むk次メッシュの最外周のk次メッシュは(n+1)×(n+1)となる。
(6) Odd pattern 1 As shown in the hatched hatching in FIG. 14A, the odd-numbered pattern 1 is separated by one in the east and south directions of the k-order mesh at the east end and the south end of section i-1. Let n + 1) k-th order adjacent meshes be complementary meshes 234a. The k-th order adjacent mesh is a complementary mesh for eliminating gaps. The outermost k-th order mesh of the k-th order mesh including the section i-1 and the complementary mesh is (n + 1) × (n + 1).

(7) 奇数パターン2の時
図14(b)中の右斜線のハッチングに示すように、区分i−1の西端及び南端のそれぞれのk次メッシュの西方向及び南方向に1個離間する(n+1)個のk次隣接メッシュを補完用メッシュ234bとする。k次隣接メッシュは、間隙をなくすための補完用メッシュである。区分i−1及び補完用メッシュを含むk次メッシュの最外周のk次メッシュは(n+1)×(n+1)となる。
(7) Odd pattern 2 As shown in the hatched hatching in FIG. 14 (b), the odd-numbered pattern 2 is separated by one in the west and south directions of the respective k-order meshes at the west end and the south end of section i-1. Let n + 1) k-th order adjacent meshes be complementary meshes 234b. The k-th order adjacent mesh is a complementary mesh for eliminating gaps. The outermost k-th order mesh of the k-th order mesh including the section i-1 and the complementary mesh is (n + 1) × (n + 1).

(8) 奇数パターン3の時
図14(c)中の右斜線のハッチングに示すように、区分i−1の北端及び西端のそれぞれのk次メッシュの北方向及び西方向に1個離間する(n+1)個のk次隣接メッシュを補完用メッシュ234cとする。k次隣接メッシュは、間隙をなくすための補完用メッシュである。区分i−1及び補完用メッシュを含むk次メッシュの最外周のk次メッシュは(n+1)×(n+1)となる。
(8) Odd pattern 3 As shown in the hatched hatching in FIG. 14C, the odd-numbered pattern 3 is separated by one in the north direction and the west direction of the k-order mesh at the north end and the west end of the section i-1. Let n + 1) k-th order adjacent meshes be complementary meshes 234c. The k-th order adjacent mesh is a complementary mesh for eliminating gaps. The outermost k-th order mesh of the k-th order mesh including the section i-1 and the complementary mesh is (n + 1) × (n + 1).

(9) 奇数パターン4の時
図14(d)中の右斜線のハッチングに示すように、区分i−1の北端及び東端のそれぞれのk次メッシュの北方向及び東方向に1個離間する(n+1)個のk次隣接メッシュを補完用メッシュ234dとする。k次隣接メッシュは、間隙をなくすための補完用メッシュである。区分i−1及び補完用メッシュを含むk次メッシュの最外周のk次メッシュは(n+1)×(n+1)となる。
(9) Odd pattern 4 As shown by hatching in the right oblique line in FIG. 14D, the k-order meshes at the north end and the east end of the section i-1 are separated by one in the north direction and the east direction ( Let n + 1) k-th order adjacent meshes be complementary meshes 234d. The k-th order adjacent mesh is a complementary mesh for eliminating gaps. The outermost k-th order mesh of the k-th order mesh including the section i-1 and the complementary mesh is (n + 1) × (n + 1).

偶数パターン2〜6及び奇数パターン1〜4のいずれかに該当する補完パターンに応じて、区分i−1のk次メッシュのメッシュ座標を緯度方向及び経度方向について、1又は2加減算することにより、補完用メッシュのメッシュ座標を求める。   By adding or subtracting 1 or 2 mesh coordinates of the k-order mesh of the section i-1 in the latitude direction and the longitude direction according to the complementary pattern corresponding to any of the even patterns 2 to 6 and the odd patterns 1 to 4. Find the mesh coordinates of the complementary mesh.

区分i再生成部206は、補完用メッシュを区分i−1にマージする場合は、補完用メッシュのメッシュ座標を区分i−1にマージし、補完用メッシュを区分iとして利用する場合は、区分iに補完用メッシュのメッシュ座標を含ませて、区分iを補完用メッシュのみとする。   The section i regeneration unit 206 merges the mesh coordinates of the complementary mesh into the section i-1 when merging the complementary mesh with the section i-1, and uses the section mesh when using the complementary mesh as the section i. The mesh coordinates of the complementary mesh are included in i, and the section i is set to only the complementary mesh.

マージする場合は、区分i−1のメッシュ及び補完用メッシュに属するPOIが検索されるので、区分i−1に含まれるk次メッシュの外周が閉じているため、区分i−1に含まれるPOIのリストは偏った方向には出現しない。   In the case of merging, since the POIs belonging to the mesh of the section i-1 and the complementary mesh are searched, the outer circumference of the k-th order mesh included in the section i-1 is closed, so the POI included in the section i-1 This list does not appear in a biased direction.

区分iとして利用する場合は、区分iに含まれるメッシュが中心から見て偏った方向にばかり出現するが、距離順ソートという観点では、マージする場合は、区分iとして利用する場合に比べて、遠近のばらつきが大きくなる。   When used as section i, the mesh included in section i appears only in a biased direction when viewed from the center, but in terms of distance order sorting, when merging, compared to using as section i, Dispersion of perspective is increased.

図15は補完用メッシュをマージする場合を示す図である。図16は補完用メッシュを区分iとして利用する場合を示す図である。ここでは、n0=7としている。区分0は初期検索メッシュ次数の中心メッシュ、区分1は区分0に隣接する3×3のメッシュ,区分2は区分1に隣接する5×5のメッシュ、区分3は区分2に隣接する7×7のメッシュである。区分2はn=5であるので、区分3の検索メッシュ次数は変更されず、初期検索メッシュ次数である。区分3のメッシュは7×7であるので、検索メッシュ次数を変更するものと判断される。区分3のメッシュが7×7であり、nが奇数なので、補完有りと判定される。   FIG. 15 is a diagram illustrating a case where complementary meshes are merged. FIG. 16 is a diagram showing a case where the complementary mesh is used as the section i. Here, n0 = 7. Section 0 is the center mesh of the initial search mesh order, Section 1 is a 3 × 3 mesh adjacent to Section 0, Section 2 is a 5 × 5 mesh adjacent to Section 1, and Section 3 is 7 × 7 adjacent to Section 2. The mesh. Since section 2 has n = 5, the search mesh order of section 3 is not changed and is the initial search mesh order. Since the mesh of section 3 is 7 × 7, it is determined that the search mesh order is changed. Since the mesh of section 3 is 7 × 7 and n is an odd number, it is determined that there is complement.

図15及び図16に示すように、区分3のメッシュの初期検索メッシュ次数のメッシュのm次メッシュ番号から奇数パターン1であると判断して、上述のように、区分3の初期検索メッシュ次数のメッシュ座標を求めて、補完用メッシュのメッシュ座標を算出する。   As shown in FIGS. 15 and 16, it is determined that the pattern is an odd pattern 1 from the m-th mesh number of the mesh of the initial search mesh order of the mesh of section 3, and the initial search mesh order of the section 3 is determined as described above. The mesh coordinates are obtained, and the mesh coordinates of the complementary mesh are calculated.

補完用メッシュを区分i−1にマージする場合は、図15に示すように、補完用メッシュを区分3にマージする。6×6の初期検索メッシュ次数−1のメッシュから成る区分4を生成する。8×8の初期検索メッシュ次数−1のメッシュから成る区分5を生成する。   When the complementary mesh is merged into the section i-1, the complementary mesh is merged into the section 3 as shown in FIG. Generate section 4 consisting of 6 × 6 initial search mesh degree-1 mesh. Generate section 5 consisting of 8 × 8 initial search mesh degree-1 mesh.

補完用メッシュを区分iとして利用する場合は、図16に示すように、区分4を補完用メッシュのみにより構成する。6×6の初期検索メッシュ次数−1のメッシュから成る区分5を生成する。8×8の初期検索メッシュ次数−1のメッシュから成る区分6を生成する。   When the complementary mesh is used as the category i, as shown in FIG. 16, the category 4 is configured only by the complementary mesh. Generate section 5 consisting of a 6 × 6 initial search mesh degree-1 mesh. Generate section 6 consisting of 8 × 8 initial search mesh degree-1 mesh.

POI集合Ri検索部194は、区分iに属するPOI集合Riを検索するものであり、区分iのメッシュ座標を区分iの検索メッシュ次数k(i)のパックコードに変換して、区分iの検索メッシュ次数k(i)のパックコードのリストを生成する。   The POI set Ri search unit 194 searches for a POI set Ri belonging to the section i, converts the mesh coordinates of the section i into a pack code of the search mesh order k (i) of the section i, and searches for the section i. A list of pack codes of mesh order k (i) is generated.

POI集合Ri検索部194は、検索メッシュ次数k(i)のパックコードのリストをキーにしてPOI検索テーブル14による絞り込みとPOI情報テーブル12とのテーブル結合を行って、同一区分i内のPOIのリストであるPOI集合Riを取得する。このとき、POIリクエストにジャンルが指定されている場合は、指定されたジャンルに合致するPOIが検索される。   The POI set Ri search unit 194 performs narrowing down by the POI search table 14 and table combination with the POI information table 12 by using the pack code list of the search mesh degree k (i) as a key, and POIs in the same category i. A POI set Ri that is a list is acquired. At this time, if a genre is specified in the POI request, a POI that matches the specified genre is searched.

検索メッシュ次数kは変更されて、初期検索メッシュ次数mと異なることがあるが、区分iのk(i)次の各メッシュのパックコードP1aP1bP2aP2b・・・Pk(i)とし、P(k(i)+1)L=・・・=PmL=00(2進数)、P(k(i)+1)H=・・・=PmH=11(2進数)と定義すると、パックコードP1aP1bP2aP2b・・・Pk(i)P(k(i)+1)L・・・PmLからパックコードP1aP1bP2aP2b・・・Pk(i)P(k(i)+1)H・・・PmHの範囲でPOI検索テーブル14からパックコードを検索すれば良い。   The search mesh order k may be changed and may be different from the initial search mesh order m. However, the pack code P1aP1bP2aP2b... Pk (i) of the k (i) -th order mesh of the section i is denoted by P (k (i ) +1) L = ... = PmL = 00 (binary number) and P (k (i) +1) H =... = PmH = 11 (binary number), the pack code P1aP1bP2aP2b. i) P (k (i) +1) L ... PmL to pack code P1aP1bP2aP2b ... Pk (i) P (k (i) +1) H ... PmH from the POI search table 14 in the range of PmH Just search.

POI集合Riソート部196は、POI集合Riを特定のPOI情報(例えば、POIID)に従って、昇順にソートする。尚、携帯端末装置2より受信した緯度経度とPOIの緯度経度より、その間の距離に基づいてソートしても良い。   The POI set Ri sorting unit 196 sorts the POI set Ri according to specific POI information (for example, POIID) in ascending order. In addition, you may sort based on the distance between the latitude longitude received from the portable terminal device 2 and the latitude longitude of POI.

N件取得部198は、ソートされたPOI集合Rj(j=0〜i)において、合算してN件のPOIを取得する。N件が取得できない場合は、区分i内隣接メッシュ座標算出部192により区分i+1に属する隣接メッシュのメッシュ座標を算出し、POI集合Ri検索部194により、メッシュ座標をパックコードに変換して、区分i+1に位置するPOI集合Ri+1を検索し、POI集合Riソート部196により、POI集合Ri+1をPOIIDに従って昇順にソートし、区分j(j=0〜i,i+1)において合算してN件のPOIを取得する。N件が取得できなければ、更に、区分i+2、・・・、とPOIの検索の区分の範囲を広げて、区分j(j=0〜i,i+1,i+2,・・・)において合算してN件のPOIを取得する。このとき、区分iが区分i+1よりも優先される。   The N number acquisition unit 198 acquires N POIs in total in the sorted POI set Rj (j = 0 to i). When N cases cannot be acquired, the mesh coordinates of the adjacent mesh belonging to the section i + 1 are calculated by the adjacent mesh coordinate calculation section 192 in the section i, and the mesh coordinates are converted into pack codes by the POI set Ri search section 194. The POI set Ri + 1 located at i + 1 is searched, the POI set Ri sorting unit 196 sorts the POI set Ri + 1 in ascending order according to the POIID, and adds them in the category j (j = 0 to i, i + 1) to obtain N POIs. get. If N cases cannot be acquired, the range of the category of i + 2,..., And POI search is further expanded and added up in category j (j = 0 to i, i + 1, i + 2,...). Get N POIs. At this time, the section i has priority over the section i + 1.

結果生成部202は、N件のPOIリスト(各POIの店名、POIの店名のリンク情報としてその店の詳細情報を提供するURL、サムネイル画像等)並びに中心メッシュを特定するための情報としての中心緯度経度もしくは中心メッシュのメッシュ座標、メッシュコードへのリンクが設定された結果を作成する。   The result generation unit 202 includes N POI lists (store names of each POI, URLs that provide detailed information of the stores as link information of POI store names, thumbnail images, etc.) and center as information for specifying the center mesh. Create the result of setting the latitude and longitude or the mesh coordinates of the center mesh and the link to the mesh code.

図3中のレスポンス送信部156は携帯端末装置2からのリクエストに対してレスポンス(例えば、HTTPレスポンス)をするものであり、POIリストレスポンス部170を有する。POIリストレスポンス部170は、POIリスト取得部152が取得したN件のPOIリストを携帯端末装置2にレスポンス(例えば、HTTPレスポンス)する。   A response transmission unit 156 in FIG. 3 responds to a request from the mobile terminal device 2 (for example, an HTTP response), and includes a POI list response unit 170. The POI list response unit 170 responds to the N POI lists acquired by the POI list acquisition unit 152 to the mobile terminal device 2 (for example, an HTTP response).

図17及び図18は、地域情報検索方法を示すフローチャートである。図19は、携帯端末装置2と地域情報検索サーバ10との間のシーケンスチャートである。図20は、地域情報検索方法を示す図である。以下、これらの図面を参照して地域情報検索方法の説明をする。   17 and 18 are flowcharts showing the area information search method. FIG. 19 is a sequence chart between the mobile terminal device 2 and the area information search server 10. FIG. 20 is a diagram illustrating a region information search method. Hereinafter, the regional information search method will be described with reference to these drawings.

携帯端末装置2は、ユーザの操作に従って、地域情報検索サーバ10にアクセスして、地域情報検索ページのレスポンスを受信すると、該地域情報検索ページを画面に表示する。ユーザは、地域情報検索ページのPOIリストをリクエストするためのリンク情報が設定されている特定のジャンルの文字(和食等)をクリックすると、携帯端末装置2は、図示しないGPSや無線基地局4より現在位置p(緯度経度)を取得し、図19中の(2)に示すように、地域情報検索サーバ10に位置情報及びジャンル等を指定して、POIリストのリクエストをする。   When the mobile terminal device 2 accesses the regional information search server 10 according to the user's operation and receives the response of the regional information search page, the mobile terminal device 2 displays the regional information search page on the screen. When the user clicks on a character (Japanese food, etc.) of a specific genre in which link information for requesting the POI list on the area information search page is set, the mobile terminal device 2 receives a GPS or wireless base station 4 (not shown). The current position p (latitude and longitude) is acquired, and as shown in (2) in FIG. 19, the POI list is requested by specifying the position information, the genre, and the like in the area information search server 10.

図17中のステップS50で、地域情報検索サーバ10は、ユーザから現在位置pを受信する。ステップS52で、現在位置pが含まれる初期検索メッシュ次数k0(例えば、最高次数)の中心メッシュを抽出する。例えば、緯度経度から前述した式(1),(2)に従って、初期検索メッシュ次数の中心メッシュのメッシュ座標を算出する。ステップ54で、図18に示すステップS100〜S130を実行する。   In step S50 in FIG. 17, the area information search server 10 receives the current position p from the user. In step S52, the center mesh of the initial search mesh order k0 (for example, the highest order) including the current position p is extracted. For example, the mesh coordinates of the center mesh of the initial search mesh order are calculated from the latitude and longitude according to the above-described equations (1) and (2). In step 54, steps S100 to S130 shown in FIG. 18 are executed.

図18中のステップS100で、抽出した初期検索メッシュ次数k0の中心メッシュを最初の区分0とする。区分0は中心メッシュのメッシュ座標により特定する。ステップS101で、iに1を代入、区分0の検索メッシュ次数k(0)に初期検索メッシュ次数k0、カレントな検索メッシュ次数kにk0を代入する。ステップS102で、カレントなメッシュ次数kが最小であるかを判定する。ステップS104で、kがk_minよりも大であるか否かを判定する。   In step S100 in FIG. 18, the extracted center mesh of the initial search mesh degree k0 is set as the first section 0. Section 0 is specified by the mesh coordinates of the center mesh. In step S101, 1 is assigned to i, the initial search mesh order k0 is assigned to the search mesh order k (0) of category 0, and k0 is assigned to the current search mesh order k. In step S102, it is determined whether or not the current mesh order k is minimum. In step S104, it is determined whether k is larger than k_min.

肯定判定ならば、ステップS106に進む。否定判定ならば、ステップS110に進む。本実施形態では、低次メッシュが2×2のメッシュに分割される場合に検索メッシュ次数を変更可能としており、1次メッシュは8×8に分割され、検索メッシュ次数の変更をしないことから、例えば、k_min=2とする。区分i−1をカレントな検索メッシュ次数kのメッシュでn×nとする。カレントな検索メッシュ次数は、検索メッシュ次数の変更なしの場合は、区分(i−1)の検索メッシュ次数k(i−1)、検索メッシュ次数を変更する場合は、ステップS126での処理により、区分(i−1)の検索メッシュ次数k(i−1)−1となる。   If a positive determination is made, the process proceeds to step S106. If a negative determination is made, the process proceeds to step S110. In this embodiment, when the low-order mesh is divided into 2 × 2 meshes, the search mesh order can be changed, and the primary mesh is divided into 8 × 8, and the search mesh order is not changed. For example, k_min = 2. The section i−1 is a mesh of the current search mesh degree k and is set to n × n. When the search mesh order is not changed, the current search mesh order is the search mesh order k (i-1) of the category (i-1), and when the search mesh order is changed, the processing in step S126 is performed. The search mesh order k (i-1) -1 of the section (i-1) is obtained.

ステップS106で、メッシュ次数の変更判定をする。ステップS108で、nがn0以上であるか否かを判定する。肯定判定ならば、検索メッシュ次数を変更すると判断して、ステップS114に進む。否定判定ならば、ステップS110に進む。検索メッシュ次数を変更しない場合は、ステップS110に進むことになる。検索メッシュを変更する場合も、区分i−1の地域がステップS126で変更されたカレントなメッシュ次数k(=(k(i−1)−1))でカウントされて、nが偶数、且つ補完パターンが偶数パターン1のとき、(n/2×n/2)、nが奇数、且つ補完パターンが奇数パターン1〜4のとき、(n+1)/2)×((n+1)/2))、nが偶数、且つ補完パターンが偶数パターン2〜6のとき、(((n/2+1)×(n/2+1))となり 、ステップS108の判断が否定されてステップS110に進むことになる。   In step S106, the change of the mesh order is determined. In step S108, it is determined whether n is n0 or more. If a positive determination is made, it is determined that the search mesh order is to be changed, and the process proceeds to step S114. If a negative determination is made, the process proceeds to step S110. If the search mesh order is not changed, the process proceeds to step S110. Even when the search mesh is changed, the area of the section i-1 is counted by the current mesh order k (= (k (i-1) -1)) changed in step S126, and n is an even number and complemented. (N / 2 × n / 2) when the pattern is an even pattern 1, (n + 1) / 2) × ((n + 1) / 2)) when n is an odd number and the complementary pattern is an odd pattern 1 to 4. When n is an even number and the complement pattern is an even number pattern 2 to 6, (((n / 2 + 1) × (n / 2 + 1)) is obtained, and the determination in step S108 is denied and the process proceeds to step S110.

ステップS110で、区分iの検索メッシュ次数k(i)にカレントなメッシュ次数kを代入して、区分i−1の外周に上述のように、奇数の場合は、検索メッシュ次数k(i)の中心メッシュのメッシュ座標より、偶数の場合は、上述のように周回のアルゴリズムにより、区分iに属するk(i)次メッシュのメッシュ座標を作成する。   In step S110, the current mesh order k is substituted into the search mesh order k (i) of the section i, and as described above, the search mesh order k (i) of the search mesh order k (i) is set to the outer periphery of the section i-1. In the case of an even number from the mesh coordinates of the center mesh, the mesh coordinates of the k (i) -th mesh belonging to the section i are created by the circulation algorithm as described above.

検索メッシュ次数が変更される場合も、ステップS110で区分iが作成されるが、この場合は、補完用メッシュが区分iとして利用される時は、区分i−1は補完用メッシュのみから成るので、区分i−2及び区分i−1の最外周の外周にk(i)次のメッシュの区分iを作成する。区分iは、区分i−1、又は区分i−1及び区分i−2の最外周のn×nのk(i)次メッシュについて、nが奇数の場合は、検索メッシュ次数k(i)の中心メッシュのメッシュ座標より、偶数の場合は、上述のように周回のアルゴリズムにより、区分iに属する検索メッシュ次数k(i)のメッシュのメッシュ座標を算出する。ステップS112で、iにi+1を代入(iに1加算)して、ステップS128に進む。   Even when the search mesh order is changed, the section i is created in step S110. In this case, when the complementary mesh is used as the section i, the section i-1 is composed of only the complementary mesh. K (i) -th mesh section i is created on the outermost periphery of section i-2 and section i-1. The section i is the section i-1 or the n (n) -th k (i) -order mesh at the outermost periphery of the sections i-1 and i-2. When n is an odd number, the search mesh order k (i) In the case of an even number from the mesh coordinates of the center mesh, the mesh coordinates of the mesh of the search mesh order k (i) belonging to the section i are calculated by the circulation algorithm as described above. In step S112, i + 1 is substituted into i (1 is added to i), and the process proceeds to step S128.

検索メッシュ次数の変更が有る場合は、ステップS114で、nが偶数及び奇数のいずれかであるか、並びに区分i−1の北西端、北東端、南西端、南東端のいずれか一つのk(i−1)次メッシュのメッシュ番号から図13及び図14に示す偶数パターン1〜6、奇数パターン1〜4のいずれのパターンに該当するかを判定する。   If there is a change in the search mesh order, in step S114, whether n is an even number or an odd number and any one of k ( i-1) From the mesh number of the next mesh, it is determined which of the even patterns 1 to 6 and the odd patterns 1 to 4 shown in FIGS.

ステップS116で、補完が必要な要補完パターン(偶数パターン2〜6又は奇数パターン1〜4)であるか否かを判定する。肯定判定ならば、ステップS118に進む。否定判定ならば、ステップS126に進む。ステップS118で、図13,図14の偶数パターン2〜6、奇数パターン1〜4のいずれのパターンであるかに従って、補完用メッシュを特定する。   In step S116, it is determined whether or not the pattern needs to be supplemented (even pattern 2-6 or odd pattern 1-4). If a positive determination is made, the process proceeds to step S118. If a negative determination is made, the process proceeds to step S126. In step S118, a complementary mesh is specified according to which of the even patterns 2 to 6 and the odd patterns 1 to 4 in FIGS.

ステップS120で、補完用メッシュを区分iとして利用するか否かを判定する。肯定判定ならば、ステップS121に進む。否定判定ならば、ステップS124に進む。ステップS121で、補完用メッシュを区分iとして生成する。ステップS122で、検索メッシュ次数k(i)にkを代入、iを1インクリメントして、ステップ126に進む。   In step S120, it is determined whether or not the complementary mesh is used as the category i. If it is affirmation determination, it will progress to step S121. If a negative determination is made, the process proceeds to step S124. In step S121, a complementary mesh is generated as section i. In step S122, k is substituted into the search mesh order k (i), i is incremented by 1, and the process proceeds to step 126.

ステップS124で、区分i−1に補完用メッシュを追加(マージ)して、ステップS126に進む。ステップS126で、カレントな検索メッシュ次数kにk−1を代入(kを1減少して)、検索メッシュ次数を変更する。ステップS128で、区分生成終了判定を行う。例えば、最外周の区分i−1の緯度方向の一辺の長さを終了判定基準とする。ステップS130で、区分生成終了であるか否かを判定する。肯定判定なら、図19中のステップS56に進む。否定判定ならば、ステップS102に戻って、ステップS102〜S130を区分生成が終了するまで繰り返す。   In step S124, a complementary mesh is added (merged) to section i-1, and the process proceeds to step S126. In step S126, k-1 is substituted into the current search mesh order k (k is decreased by 1), and the search mesh order is changed. In step S128, the end of segment generation is determined. For example, the length of one side in the latitude direction of the outermost peripheral section i-1 is used as the end determination criterion. In step S130, it is determined whether or not segment generation is complete. If a positive determination is made, the process proceeds to step S56 in FIG. If it is negative determination, it will return to step S102 and will repeat step S102-S130 until division | segmentation production | generation is complete | finished.

検索メッシュ次数の変更が判断されたとき、ステップS102,S104,S108,S110,S112に進む。この時、検索メッシュ次数がステップS126でk=(k−1)に変更されていることから、検索メッシュ次数変更後のk次メッシュの区分iが生成される。   When it is determined that the search mesh order is changed, the process proceeds to steps S102, S104, S108, S110, and S112. At this time, since the search mesh order has been changed to k = (k−1) in step S126, the k-order mesh classification i after the search mesh order change is generated.

図17中のステップS56で、区分iのメッシュ座標をk(i)次のパックコードに変換して、パックコードのリストをキーにしてPOI検索テーブル14による絞り込みとPOI情報テーブル12とのテーブル結合を行って、区分iに含まれるPOI集合Riを検索する。   In step S56 in FIG. 17, the mesh coordinates of section i are converted into k (i) -order pack codes, and the narrowing by the POI search table 14 and table combination with the POI information table 12 using the pack code list as a key. To search for the POI set Ri included in the section i.

ステップS58で、POI集合Riを特定の基準に従って昇順にソートする。例えば、POIIDに基づいて、POI集合Riをソートする。ステップS60で、POI集合Rj(j=0〜i)の個数が所定値Nを満たすかを判定する。ステップ62で、Σ|Rj|(j=0〜i,|Rj|はPOI集合Rjの個数)≧Nであるか否かを判定する。肯定判定ならば、ステップS66に進む。否定判定ならば、ステップS64に進む。尚、初回は中心メッシュからN件が検索される。   In step S58, the POI sets Ri are sorted in ascending order according to specific criteria. For example, the POI set Ri is sorted based on the POIID. In step S60, it is determined whether the number of POI sets Rj (j = 0 to i) satisfies a predetermined value N. In step 62, it is determined whether or not Σ | Rj | (j = 0 to i, | Rj | is the number of POI sets Rj) ≧ N. If a positive determination is made, the process proceeds to step S66. If a negative determination is made, the process proceeds to step S64. In the first time, N items are searched from the center mesh.

図20に示すように、ユーザが、緯度・経度より、都市部を指定したものとする。本例では、説明の都合上、n0=7としており、1×1の区分0、3×3の区分1、5×5の区分2、7×7の区分3までは、初期検索メッシュ次数k0のメッシュで地域情報が検索される。都市部が指定されているため、区分0,区分1等に地域情報が密集している。区分4において、n=7で、n0に等しいので、検索メッシュ次数の変更が判断されて、区分3が補完パターンに従って、補完される。本例は、奇数パターン2の場合である。   As shown in FIG. 20, it is assumed that the user designates a city part from latitude and longitude. In this example, for convenience of explanation, n0 = 7, and the initial search mesh order k0 is obtained up to 1 × 1 section 0, 3 × 3 section 1, 5 × 5 section 2, and 7 × 7 section 3. The area information is searched with the mesh. Since the urban area is designated, regional information is concentrated in Category 0, Category 1, etc. In section 4, since n = 7 and equal to n0, a change in the search mesh order is determined, and section 3 is complemented according to the complement pattern. This example is a case of the odd pattern 2.

補完用メッシュは、区分3にマージ又は区分4として利用される。例えば、区分3にマージする。区分4の検索メッシュ次数が初期検索メッシュ次数−1となり、区分4のメッシュは、6×6となる。この時点でし、区分4のメッシュの地域は指定された緯度・経度の地点が含まれる都市部から離間しており、地域情報が疎になっており、メッシュ検索次数を低次としているので、演算負荷を掛けずに適切な範囲のメッシュを計算して、必要な件数の地域情報を取得することができる。   The complementary mesh is used as a merge in section 3 or as a section 4. For example, merging into section 3. The search mesh order of section 4 is the initial search mesh order −1, and the mesh of section 4 is 6 × 6. At this point, the mesh area of Category 4 is far from the urban area containing the specified latitude and longitude points, the area information is sparse, and the mesh search order is low, It is possible to obtain a necessary number of pieces of area information by calculating a mesh in an appropriate range without applying a calculation load.

ステップS64で、区分iの範囲を区分i+1に設定して、ステップS56に戻って、ステップS56〜S64をステップS62で肯定されるまで繰り返す。ステップS66で、N件のPOIを取得する。ステップS68で、検索結果を生成する。ステップS70で、区分iと区分内での位置Sを後候補引き継ぎ値として設定して、図19中の(4)に示すように、検索結果+図示しない後候補引き継ぎ値+図示しない中心メッシュを特定するための情報としての中心緯度経度もしくは初期検索次数の中心メッシュのメッシュ座標、メッシュコード等の引き継ぎ値を含むPOIリストレスポンスを携帯端末装置2に送信する。携帯端末装置2は、 図19中の(5)に示すように、各POI名称に詳細を提供するURLがリンクされたPOIリストを表示する。   In step S64, the range of the section i is set to the section i + 1, the process returns to step S56, and steps S56 to S64 are repeated until the determination in step S62 is affirmative. In step S66, N POIs are acquired. In step S68, a search result is generated. In step S70, the section i and the position S in the section are set as the succeeding candidate takeover value, and as shown in (4) in FIG. A POI list response including information such as the center latitude / longitude or the mesh coordinates of the center mesh of the initial search order, the mesh code, and the like as information for specifying is transmitted to the portable terminal device 2. As shown in (5) of FIG. 19, the mobile terminal device 2 displays a POI list in which URLs providing details are linked to each POI name.

本実施形態によれば、リクエストされた位置情報が示す中心に近い程、高次のメッシュで地域情報を検索して、中心から離れるにつれて、低数のメッシュで地域情報を検索するので、地方や山間部等のように、地域情報の分布が疎な場合でも、演算負荷を掛けずに適切な範囲のメッシュを計算して、必要な件数のデータを取得することが可能となる。   According to the present embodiment, the closer to the center indicated by the requested location information, the higher the mesh is searched for the regional information, and the farther away from the center, the lower the number of meshes is searched for the regional information. Even when the distribution of regional information is sparse, such as in a mountainous area, it is possible to obtain a necessary number of data by calculating a mesh in an appropriate range without applying a calculation load.

検索メッシュ次数を変更する場合に、補完用メッシュにより補完するので、検索メッシュ次数の変更前の区分i−1と変更後の区分iとの間に検索されない変更前の検索メッシュ次数のメッシュが存在しなくなり、もれなく地域情報を検索することができるとともに、初期検索メッシュ次数の中心メッシュから区分iのメッシュが近似的に等距離に位置するようにできる。検索メッシュ次数を変更する判断基準としての所定値n0を4の倍数+1とすることにより、検索メッシュ次数が変更された区分iの中心が変更後の検索メッシュ次数の中心メッシュに位置するようにできる。   When the search mesh order is changed, it is complemented by a complementary mesh, so there is a mesh of the search mesh order before the change that is not searched between the section i-1 before the change of the search mesh order and the section i after the change. Thus, it is possible to search the region information without any problem, and to make the mesh of the section i approximately at the same distance from the center mesh of the initial search mesh order. By setting the predetermined value n0 as a criterion for changing the search mesh order to a multiple of 4 + 1, the center of the section i whose search mesh order has been changed can be positioned at the center mesh of the changed search mesh order. .

補完用メッシュを区分iにマージするので、検索される地域情報の分布に偏りが生じることを防止できる。補完用メッシュを区分iとして利用する場合は、距離順ソートという観点では、マージする場合に比べて、遠近のばらつきを小さくすることができる。   Since the complementary mesh is merged with the section i, it is possible to prevent the distribution of the searched area information from being biased. When the complementary mesh is used as the section i, the perspective variation can be reduced from the viewpoint of distance order sorting as compared with the case of merging.

多階層に分割されたメッシュ構造において、初期検索メッシュ次数の中心メッシュのメッシュ座標から加減算により区分iのメッシュ座標を算出して隣接メッシュを抽出するので、隣接メッシュを高速に抽出することができ、隣接メッシュに位置するPOIを高速に検索できる。順序付けされた区分iの順序区分集合において、区分iからPOI集合Riを検索して、ソートするので、検索・ソートの処理範囲が限定されて、検索・ソートの高速化を図ることができる。   In the mesh structure divided into multiple layers, the mesh coordinates of section i are extracted from the mesh coordinates of the center mesh of the initial search mesh order by adding and subtracting to extract the adjacent mesh, so that the adjacent mesh can be extracted at high speed. The POI located in the adjacent mesh can be searched at high speed. Since the POI set Ri is searched from the category i and sorted in the ordered category set of the ordered category i, the search / sort processing range is limited, and the search / sort speed can be increased.

本実施形態では、緯度経度から前述の式(1),(2)を用いてメッシュ座標を算出する例を説明したが、メッシュコードからメッシュ座標を算出することも可能である。
POI検索テーブルには、パックコードではなく、パックコードをメッシュコードに変換し、メッシュコードを格納しておき、初期検索メッシュ次数の中心メッシュや区分iのk(i)次のメッシュのメッシュ座標をk(i)次のパックコードに変換し、パックコードをk(i)次のメッシュコードに変換して、メッシュコードのリストをキーにPOI検索テーブルによる絞り込みとPOI情報テーブルとのテーブル結合をするようにしても良い。初期検索メッシュ次数の中心メッシュのメッシュコードの加減算により、区分iのメッシュ検索次数k(i)のメッシュのメッシュコードを算出するようにしても良い。
In the present embodiment, the example in which the mesh coordinates are calculated from the latitude and longitude using the above-described formulas (1) and (2) has been described, but the mesh coordinates can also be calculated from the mesh code.
In the POI search table, instead of the pack code, the pack code is converted into a mesh code, the mesh code is stored, and the mesh coordinates of the center mesh of the initial search mesh order and the k (i) -th mesh of the section i are stored. Convert to k (i) next pack code, convert pack code to k (i) next mesh code, and narrow down by POI search table and join table to POI information table using mesh code list as key You may do it. You may make it calculate the mesh code of the mesh of the mesh search order k (i) of the division | segmentation i by addition / subtraction of the mesh code of the center mesh of the initial search mesh order.

地図を管理する地図DBから取得したメッシュコードをメッシュ座標に変換して、メッシュ座標を北西端及び南東端の緯度経度1,2とともにメッシュDBに格納しておき、携帯端末装置2から受信した緯度経度に基づいて、地図DBを検索して取得しても良い。   The mesh code acquired from the map DB managing the map is converted into mesh coordinates, and the mesh coordinates are stored in the mesh DB together with the latitudes 1 and 2 at the northwest and southeast ends, and the latitude received from the mobile terminal device 2 The map DB may be searched and acquired based on the longitude.

POI検索テーブルにメッシュ座標を格納して、中心メッシュや隣接メッシュのメッシュ座標のリストをキーにPOI検索テーブルによる絞り込みとPOI情報テーブルの結合をするようにしても良い。   The mesh coordinates may be stored in the POI search table, and the POI search table may be combined with the POI information table by using the list of mesh coordinates of the center mesh and the adjacent mesh as a key.

POI情報テーブルにメッシュコードを格納しておき、POI情報テーブルよりメッシュコードを取得し、メッシュコードよりパックコードに変換して、POI検索テーブルにパックコードをPOIIDとともに格納するようにしても良い。   The mesh code may be stored in the POI information table, the mesh code may be acquired from the POI information table, converted to a pack code from the mesh code, and the pack code may be stored together with the POIID in the POI search table.

本実施形態では、i(iは2以上)次メッシュが2×2個の(i+1)次メッシュに分割されるようなメッシュ構造の場合の検索メッシュ次数を変更する場合を例に説明したが、2l×2l(l>2)の場合にも適用可能で有り、i次メッシュのメッシュ座標を2lで除算することによりi+1次メッシュのメッシュ座標を算出でき、南西端、南東端、北西端、北東端のi次メッシュのi次メッシュ番号により、図13,14と同様に補完パターンを判断して、補完の要否及び補完要の場合は補完用メッシュを生成すれば良い。また、k−1次中心メッシュのメッシュ座標や周回のアルゴリズム等より検索メッシュ次数がk−1に変更された区分iを生成する。 In the present embodiment, the case where the search mesh order is changed in the case of a mesh structure in which the i-th mesh (i is 2 or more) is divided into 2 × 2 (i + 1) -th meshes has been described as an example. Applicable to 2 l × 2 l (l> 2), i + 1 mesh mesh coordinates can be calculated by dividing mesh coordinates of i-th mesh by 2 l , southwest, southeast and northwest The complementary pattern is determined based on the i-th mesh numbers of the i-th meshes at the end and the north-east end in the same manner as in FIGS. 13 and 14. In addition, a section i in which the search mesh order is changed to k−1 is generated based on the mesh coordinates of the k−1 order center mesh, an orbital algorithm, or the like.

本実施形態では、携帯端末装置の場合を例に説明したが、インターネット等のネットワークに接続されたパーソナルコンピュータ等の情報端末装置であっても良い。この場合、地域情報検索サーバが、POIに関わる地図画像をPOIリストとは別に情報端末装置からのリクエストに基づいて、送信し、情報端末装置は、POIリストとともに地図画像を画面に表示するようにしても良い。   In the present embodiment, the case of a portable terminal device has been described as an example, but an information terminal device such as a personal computer connected to a network such as the Internet may be used. In this case, the regional information search server transmits a map image related to the POI based on a request from the information terminal device separately from the POI list, and the information terminal device displays the map image together with the POI list on the screen. May be.

2 携帯端末装置
8 通信ネットワーク
10 地域情報検索サーバ
12 POI情報テーブル
14 POI検索テーブル
203 区分i生成部
204 検索メッシュ次数変更判定部
205 補完判断部
206 補完用メッシュ特定部
207 区分i再生成部
2 Mobile terminal device 8 Communication network 10 Regional information search server 12 POI information table 14 POI search table 203 Section i generation unit 204 Search mesh order change determination section 205 Complementation determination section 206 Complementary mesh specification section 207 Section i regeneration section

Claims (8)

地域情報検索サーバであって、
全体地図を複数のメッシュに分割して、縮尺に応じて当該メッシュのサイズが異なる複数の段階の1次〜m次(mは2以上の整数)の次数のメッシュに階層化されたメッシュ構造において、
各POIを一意に特定するPOI識別子を含みPOI情報を記憶するPOI情報データベースと、
前記POI識別子及び各POIが位置するメッシュを特定する情報を記憶するPOI検索データベースと、
リクエストされた位置情報が示す初期検索メッシュ次数の中心メッシュから成る区分(i−1)(i=1)、又は各対応する検索メッシュ次数の中心メッシュから該検索メッシュ次数について緯度又は経度方向に1個以上離間する隣接メッシュの集合であり、該対応する検索メッシュ次数のメッシュから成る区分j(j=1〜i−1,iは2以上の整数)の最外周のメッシュの直外側の1重の矩形の現在の検索メッシュ次数kのメッシュからなる区分iを前記メッシュ構造に基づいて生成する区分生成部と、
前記区分生成部が生成した区分i に含まれる前記現在の検索メッシュ次数kのメッシュのメッシュ数に基づいて、以降の区分における対応する検索メッシュ次数を変更するか否かを判定する検索メッシュ次数変更判定部と、
前記検索メッシュ次数変更判定部が前記検索メッシュ次数を変更すると判定したとき、前記区分iに含まれる前記次数kの各メッシュと地図範囲が重なる次数k−1のメッシュと地図範囲が重なり、前記区分生成部により生成された前記区分iのメッシュ以外の前記次数kのメッシュを含むか否かに基づいて、補完するか否かを判断する補完判断部と、
前記補完判断部が補完すると判断したとき、前記区分iのメッシュ以外の前記次数kのメッシュを含む前記次数kの補完用メッシュを特定する補完用メッシュ特定部と、
前記補完用メッシュを前記区分生成部が生成した区分iにマージして区分iとする区分再生成部と、
前記POI検索データベースを検索して、前記区分iに属するメッシュ内に位置するPOI集合Riを取得するPOI集合検索部と、
前記POI集合検索部により取得された前記POI集合Riより、前記POI情報データベースに記憶された所定の件数の前記POI情報を取得するPOI取得部とを具備し、
前記区分生成部は、前記検索メッシュ次数変更判定部が検索メッシュ次数を変更すると判定したとき、前記次数k−1を現在の検索メッシュ次数として区分i+1を生成することを特徴とする地域情報検索サーバ。
A local information search server,
In a mesh structure in which an entire map is divided into a plurality of meshes and hierarchized into meshes of a first order to mth order (m is an integer of 2 or more) in a plurality of stages in which the size of the mesh differs according to the scale. ,
A POI information database including POI identifiers that uniquely identify each POI and storing POI information;
A POI search database that stores information identifying the POI identifier and the mesh in which each POI is located;
The section (i-1) (i = 1) consisting of the center mesh of the initial search mesh order indicated by the requested position information, or 1 in the latitude or longitude direction for the search mesh order from the center mesh of each corresponding search mesh order. A set of adjacent meshes separated by at least one, and a single layer immediately outside the outermost mesh of a section j (j = 1 to i−1, i is an integer of 2 or more) composed of meshes of the corresponding search mesh order A section generation unit that generates a section i composed of a mesh of the current search mesh degree k of the rectangular shape based on the mesh structure;
Search mesh order change for determining whether or not to change the corresponding search mesh order in the subsequent section based on the mesh number of the mesh of the current search mesh order k included in the section i generated by the section generation unit A determination unit;
When the search mesh order change determination unit determines that the search mesh order is to be changed, the mesh of the order k−1 that overlaps each mesh of the order k included in the section i overlaps the map range, and the section A complementation determination unit that determines whether or not to complement based on whether or not the mesh of the order k other than the mesh of the section i generated by the generation unit is included;
A complementary mesh specifying unit for specifying a complementary mesh of the order k including the mesh of the order k other than the mesh of the section i, when the complementary determining unit determines to complement;
A segment regeneration unit that merges the complementary mesh with the segment i generated by the segment generation unit to form a segment i;
A POI set search unit that searches the POI search database to obtain a POI set Ri located in a mesh belonging to the section i;
A POI acquisition unit that acquires a predetermined number of the POI information stored in the POI information database from the POI set Ri acquired by the POI set search unit;
When the search mesh order change determining unit determines that the search mesh order change is to be changed, the section generation unit generates a section i + 1 using the order k-1 as a current search mesh order. .
前記区分j(j=1〜i−1,iは2以上の整数)の最外周の前記次数kのメッシュは、緯度方向にn個、経度方向にn個のn×nのメッシュの集合であり、前記検索メッシュ次数変更判定部は、前記nが所定値no以上であるとき、以降の区分における前記検索メッシュ次数メッシュを変更すると判定する請求項1記載の地域情報検索サーバ。   The mesh of degree k on the outermost periphery of the section j (j = 1 to i−1, i is an integer of 2 or more) is a set of n × n meshes in the latitude direction and n in the longitude direction. The area information search server according to claim 1, wherein the search mesh order change determination unit determines that the search mesh order mesh in a subsequent section is changed when the n is equal to or greater than a predetermined value no. 各l(l=2〜m−1)次のメッシュは、2×2の(l+1)次のメッシュに分割され、前記補完用メッシュ特定部は、前記各対応する検索メッシュ次数のメッシュの集合である区分j(j=1〜i,iは2以上の整数) の最外周の前記次数kのメッシュ及び最外周の前記nが偶数の時、(n+2)×(n+2)、前記nが奇数の時、(n+1)×(n+1)の前記次数kのメッシュを含む前記次数kのメッシュの集合が示す補完の種類を分類する補完パターンを判断して、前記補完用メッシュを特定する請求項2記載の地域情報検索サーバ。   Each l (l = 2 to m−1) degree mesh is divided into 2 × 2 (l + 1) order meshes, and the complementary mesh specifying unit is a set of meshes of the corresponding search mesh order. When the mesh of the order k in the outermost circumference of a certain section j (j = 1 to i, i is an integer of 2 or more) and the n of the outermost circumference is an even number, (n + 2) × (n + 2), where n is an odd number 3. The complementary mesh is identified by determining a complementary pattern for classifying a complementary type indicated by a set of meshes of the order k including the mesh of the order k of (n + 1) × (n + 1). Local information search server. 前記区分再生成部は、前記補完用メッシュを区分iにマージせずに、区分i+1に属するものとして区分i+1を生成し、
前記区分生成部は、前記次数k−1を現在の検索メッシュ次数として、前記補完用メッシュが属する区分i+1の次の区分i+2を生成することを特徴とする請求項1記載の地域情報検索サーバ。
The partition regeneration unit generates the partition i + 1 as belonging to the partition i + 1 without merging the complementary mesh with the partition i,
The regional information search server according to claim 1, wherein the section generation unit generates the next section i + 2 of the section i + 1 to which the complementary mesh belongs, with the order k-1 as a current search mesh order.
前記POI取得部は、前記所定の件数のPOIが前記POI集合Riに存在しない場合は、前記区分i及び次の区分i+1についてのPOI集合Ri及びRi+1に基づいて、所定の件数のPOIを検索し、区分i+1でも所定の件数のPOIが取得できない場合は、所定の件数のPOIが取得されるまで区分の範囲を拡大することを特徴する請求項1〜4のいずれかに記載の地域情報検索サーバ。   When the predetermined number of POIs do not exist in the POI set Ri, the POI acquisition unit searches for a predetermined number of POIs based on the POI sets Ri and Ri + 1 for the category i and the next category i + 1. 5. The regional information search server according to claim 1, wherein when a predetermined number of POIs cannot be acquired even in the category i + 1, the range of the category is expanded until a predetermined number of POIs are acquired. . 前記区分生成部は、前記リクエストされた位置情報が示す緯度に基づく値に第1所定値を乗算した第1値に、(i−1)(i=2〜m,mは3以上の整数)次メッシュが分割されるi(i=2〜m,mは3以上の整数)次メッシュの緯度方向の個数を2次〜前記初期検索メッシュ次数まで乗算した第2値を乗算した10進整数値を2進数に変換した2進数値を前記位置情報が示す前記初期検索メッシュ次数の中心メッシュのメッシュ座標の緯度コードとして算出する緯度コード算出部と、前記位置情報が示す経度から第2所定値を減算した第3値に、(i−1)(i=2〜m,mは3以上の整数)次メッシュが分割されるi(i=2〜m,mは3以上の整数)次メッシュの経度方向の個数を2次〜前記初期検索メッシュ次数まで乗算した第4値を乗算した10進整数値を2進数に変換した2進数値を前記中心メッシュのメッシュ座標の経度コードとして算出する経度コード算出部とを具備し、
前記初期検索メッシュ次数の中心メッシュのメッシュ座標に基づき、区分iに属する前記次数kの前記隣接メッシュのメッシュ座標を算出して隣接メッシュを抽出する請求項3記載の地域情報検索サーバ。
The section generation unit adds (i-1) (i = 2 to m, m is an integer of 3 or more) to a first value obtained by multiplying a value based on the latitude indicated by the requested position information by a first predetermined value. Decimal integer value obtained by multiplying the second mesh obtained by multiplying the number in the latitudinal direction of the i-th mesh to which the next mesh is divided (i = 2 to m, m is an integer of 3 or more) from the secondary to the initial search mesh order. A latitude code calculation unit that calculates a binary value obtained by converting the binary number into a binary number as the latitude code of the mesh coordinates of the center mesh of the initial search mesh order indicated by the position information, and a second predetermined value from the longitude indicated by the position information. The subtracted third value (i-1) (i = 2 to m, m is an integer of 3 or more) is divided into i (i = 2 to m, m is an integer of 3 or more) order mesh. A fourth value obtained by multiplying the number in the longitude direction from the second order to the initial search mesh order Was and a longitude code calculating unit for calculating binary numerical values converted to binary number decimal integer value obtained by multiplying a longitude code mesh coordinates of the center mesh,
4. The regional information search server according to claim 3, wherein based on the mesh coordinates of the central mesh of the initial search mesh order, the mesh coordinates of the adjacent mesh of the order k belonging to the section i are calculated to extract the adjacent mesh.
前記POI集合検索部が取得した前記区分iに位置する前記POI集合Riを前記POI情報に基づいて、ソートするPOI集合ソート部を具備し、
前記POI取得部は、前記POI集合ソート部によりソートされた前記POI集合Riより、前記POI情報データベースに記憶された所定の件数の前記POI情報を取得することを特徴とする請求項1〜6のいずれかに記載の地域情報検索サーバ。
A POI set sorting unit for sorting the POI set Ri located in the section i acquired by the POI set search unit based on the POI information;
The POI acquisition unit acquires a predetermined number of the POI information stored in the POI information database from the POI set Ri sorted by the POI set sort unit. The regional information search server described in any one of the above.
地域情報検索方法であって、
全体地図を複数のメッシュに分割して、縮尺に応じて当該メッシュのサイズが異なる複数の段階の1次〜m次(mは2以上の整数)の次数のメッシュに階層化され、各j(j=1〜m−1)次のメッシュが(j+1)次のメッシュに分割されたメッシュ構造において、
リクエストされた位置情報が示す初期検索メッシュ次数の中心メッシュから成る区分(i−1)(i=1)、又は各対応する検索メッシュ次数の中心メッシュから該検索メッシュ次数について緯度又は経度方向に1個以上離間する隣接メッシュの集合であり、該対応する検索メッシュ次数のメッシュから成る区分j(j=1〜i−1,iは2以上の整数)の最外周のメッシュの直外側の1重の矩形の現在の検索メッシュ次数kのメッシュからなる区分iを前記メッシュ構造に基づいて生成する区分生成ステップ と、
前記区分生成ステップで生成した区分iに含まれる前記検索メッシュ次数kのメッシュのメッシュ数に基づいて、以降の区分における前記検索メッシュ次数メッシュを変更するか否かを判定する検索メッシュ次数変更判定ステップと、
前記検索メッシュ次数変更判定ステップで前記検索メッシュ次数を変更すると判定したとき、前記区分iに含まれる前記次数kの各メッシュが分割される次数k−1のメッシュが前記区分iのメッシュ以外に前記次数kのメッシュがあるか否かに基づいて、補完するか否かを判断する補完判断ステップと、
前記補完判断ステップで補完すると判断したとき、前記区分iのメッシュ以外の前記次数kのメッシュを含む前記次数kの補完用メッシュを特定する補完用メッシュ特定ステップと、
前記補完用メッシュを前記区分生成ステップで生成した区分iにマージして区分iとする区分再生成ステップと、
各POI識別子及び各POIが位置するメッシュを特定する情報を記憶するPOI検索データベースを検索して、前記区分iに属するメッシュ内に位置するPOI集合Riを取得するPOI集合検索ステップと、
前記POI集合検索ステップで取得された前記POI集合Riに所定の件数のPOIが存在するか否かを判定し、前記POI集合Riに所定の件数のPOIが存在する場合は、POI集合Riより、各POIを一意に特定するPOI識別子を含みPOI情報を記憶するPOI情報データベースに記憶された所定の件数の前記POI情報を取得するPOI取得ステップとを具備し、
前記区分生成ステップは、前記検索メッシュ次数変更判定ステップで検索メッシュ次数を変更すると判定したとき、前記次数k−1を現在の検索メッシュ次数として区分i+1を生成することを特徴とする地域情報検索方法。
A local information search method,
The entire map is divided into a plurality of meshes, and layered into a plurality of stages of first to m-th order (m is an integer of 2 or more) orders of different sizes depending on the scale, and each j ( j = 1 to m−1) In the mesh structure in which the next mesh is divided into the (j + 1) th mesh,
The section (i-1) (i = 1) consisting of the center mesh of the initial search mesh order indicated by the requested position information, or 1 in the latitude or longitude direction for the search mesh order from the center mesh of each corresponding search mesh order. A set of adjacent meshes separated by at least one, and a single layer immediately outside the outermost mesh of a section j (j = 1 to i−1, i is an integer of 2 or more) composed of meshes of the corresponding search mesh order A section generation step for generating a section i consisting of a mesh of the current search mesh degree k of the rectangle of
Search mesh order change determination step for determining whether or not to change the search mesh order mesh in the subsequent section based on the number of meshes of the mesh of the search mesh order k included in the section i generated in the section generation step. When,
When it is determined in the search mesh order change determination step that the search mesh order is changed, the mesh of the order k−1 obtained by dividing each mesh of the order k included in the section i is the mesh other than the mesh of the section i. A complement determination step for determining whether or not to complement based on whether or not there is a mesh of degree k;
A complementation mesh specifying step for specifying a complementation mesh of the order k including the mesh of the order k other than the mesh of the section i when it is determined to complement in the complementation determination step;
A segment regeneration step that merges the complementary mesh with the segment i generated in the segment generation step to form a segment i;
A POI set search step of searching a POI search database storing information specifying each POI identifier and a mesh in which each POI is located, and obtaining a POI set Ri located in the mesh belonging to the section i;
It is determined whether or not a predetermined number of POIs exist in the POI set Ri acquired in the POI set search step, and when a predetermined number of POIs exist in the POI set Ri, from the POI set Ri, A POI acquisition step of acquiring a predetermined number of the POI information stored in a POI information database that includes a POI identifier that uniquely identifies each POI and stores POI information;
The area generation search method characterized in that the section generation step generates the section i + 1 using the order k-1 as the current search mesh order when it is determined in the search mesh order change determination step that the search mesh order is changed. .
JP2010092017A 2010-04-13 2010-04-13 Regional information retrieval server and regional information retrieval method Expired - Fee Related JP5094904B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010092017A JP5094904B2 (en) 2010-04-13 2010-04-13 Regional information retrieval server and regional information retrieval method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010092017A JP5094904B2 (en) 2010-04-13 2010-04-13 Regional information retrieval server and regional information retrieval method

Publications (2)

Publication Number Publication Date
JP2011221888A JP2011221888A (en) 2011-11-04
JP5094904B2 true JP5094904B2 (en) 2012-12-12

Family

ID=45038780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010092017A Expired - Fee Related JP5094904B2 (en) 2010-04-13 2010-04-13 Regional information retrieval server and regional information retrieval method

Country Status (1)

Country Link
JP (1) JP5094904B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5563545B2 (en) * 2011-12-06 2014-07-30 ヤフー株式会社 Information processing apparatus and method
JP5583178B2 (en) * 2012-07-27 2014-09-03 日本電信電話株式会社 IMPORTANT AREA DETERMINING DEVICE, METHOD, AND PROGRAM
CN107436925B (en) * 2017-07-07 2023-11-17 江苏艾德锐电子科技有限公司 POI data retrieval method and association method
US11140128B2 (en) * 2018-10-05 2021-10-05 Palo Alto Research Center Incorporated Hierarchical geographic naming associated to a recursively subdivided geographic grid referencing
CN114329058B (en) * 2021-12-29 2023-05-16 重庆紫光华山智安科技有限公司 Image file gathering method and device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3598183B2 (en) * 1996-10-16 2004-12-08 株式会社東芝 Multidimensional data management method, multidimensional data management device, medium recording multidimensional data management program

Also Published As

Publication number Publication date
JP2011221888A (en) 2011-11-04

Similar Documents

Publication Publication Date Title
USRE44876E1 (en) Proximity search methods using tiles to represent geographical zones
JP5094904B2 (en) Regional information retrieval server and regional information retrieval method
JP5059132B2 (en) Regional information retrieval server and regional information retrieval method
CN110321443B (en) Three-dimensional live-action model database construction method and device and data service system
CN107092623B (en) Interest point query method and device
CN105678412A (en) Path planning method and device facing multiple passengers
CN109271467B (en) Direction-aware road network moving object k neighbor query method
CN106780262B (en) Co-location mode discovery method and device considering urban road network constraints
JP6435978B2 (en) Location information anonymization method, movement information anonymization method, and apparatus
Oztaysi et al. Fuzzy multicriteria prioritization of Urban transformation projects for Istanbul
CN116775661A (en) Big space data storage and management method based on Beidou grid technology
CN112469116B (en) Positioning method, positioning device, electronic equipment and computer readable storage medium
JP5409402B2 (en) Regional information search server and processing method
CN113901168B (en) Self-owned data expansion and fusion method based on Internet map platform
Goncalves et al. Making recommendations using location-based skyline queries
CN112235723B (en) Positioning method, positioning device, electronic equipment and computer readable storage medium
CN112883292B (en) User behavior recommendation model establishment and position recommendation method based on spatio-temporal information
CN117312396A (en) Lane positioning method and device, electronic equipment and readable storage medium
CN117253209B (en) Automatic driving point cloud detection method, device, communication equipment and storage medium
CN113393009A (en) Path planning method and device of transmission pipeline and computing equipment
JP5565632B2 (en) Map information output device and program
CN114168838A (en) Interest point online search ordering method and system and cloud search service platform
CN111833088A (en) Supply and demand prediction method and device
JP5965353B2 (en) Address resolution system and method
Mohamed et al. Voronoi trees for hierarchical in-network data and space abstractions in wireless sensor networks

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120515

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120712

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 5094904

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150928

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350