JP2003242151A - Method and apparatus for searching point information - Google Patents

Method and apparatus for searching point information

Info

Publication number
JP2003242151A
JP2003242151A JP2002035764A JP2002035764A JP2003242151A JP 2003242151 A JP2003242151 A JP 2003242151A JP 2002035764 A JP2002035764 A JP 2002035764A JP 2002035764 A JP2002035764 A JP 2002035764A JP 2003242151 A JP2003242151 A JP 2003242151A
Authority
JP
Japan
Prior art keywords
small area
search
point
small
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002035764A
Other languages
Japanese (ja)
Inventor
Toshiyuki Tanaka
俊行 田中
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2002035764A priority Critical patent/JP2003242151A/en
Publication of JP2003242151A publication Critical patent/JP2003242151A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To make searchable point information within a certain distance from a designated point at a high speed. <P>SOLUTION: In the method and the apparatus, a prescribed number of pieces of the nearest point information within a certain distance from the designated near search position are searched from among point information represented by one coordinate in which a number of pieces of point information are distributed on a plane. The plane is divided into small regions without gaps, numbers are assigned to the respective small regions, and the method and the apparatus have a database 4 in which the above mentioned numbers corresponding to the coordinate are assigned to the point information to be searched, a coordinate designation part 2 which designates the near search positions, a searching part 1 which searches from the database 4 by limiting the point information within small region groups to be searched by using the numbers, making the small regions including the adjacent detection positions and small regions adjacent to the small regions to be searched, and an information display part 3 which displays the searched result at the searching part 1. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、平面上に多数分
布する1座標に関連付けられた地点情報の中から、指定
した地点の近傍に位置する地点情報の検索を行う地点情
報検索方法及び装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a spot information searching method and device for searching spot information located in the vicinity of a designated spot from spot information associated with one coordinate distributed on a plane. It is a thing.

【0002】[0002]

【従来の技術】指定領域に属する図形を検索する図形検
索装置として、特許第2712729号公報に開示され
ている如き装置が知られている。この装置は、図形の属
する領域をマトリックスに分割して割り当てられたマト
リックス番号に基づき生成された包絡矩形の範囲情報
と、指定領域のマトリックス番号とを比較して該指定領
域に重なる包絡矩形を持つ図形を抽出するものであっ
た。
2. Description of the Related Art As a figure retrieval apparatus for retrieving a figure belonging to a designated area, an apparatus as disclosed in Japanese Patent No. 2712729 is known. This device compares an envelope rectangle range information generated based on a matrix number assigned by dividing an area to which a figure belongs into a matrix, and compares the matrix number of the specified area with an envelope rectangle overlapping the specified area. It was to extract a figure.

【0003】[0003]

【発明が解決しようとする課題】従来の図形検索装置は
以上のように構成されているので、1座標で代表される
地点情報も複数のマトリックスに分割される可能性を考
慮して検索しなければならず、多数の図形と指定範囲と
のマトリックス番号の比較演算を行うことが必要であ
る。
Since the conventional graphic retrieval apparatus is constructed as described above, point information represented by one coordinate must be retrieved in consideration of the possibility of being divided into a plurality of matrices. Therefore, it is necessary to perform a comparison operation of matrix numbers between a large number of figures and a specified range.

【0004】この発明は上記のような問題を解決するた
めになされたものであり、平面上に多数存在する1座標
で代表される地点情報の中から、指定地点から一定距離
内の最近傍に存在する一定数を上限とする地点情報を高
速に検索することができる地点情報検索方法及び装置を
得ることを目的とする。
The present invention has been made in order to solve the above problems, and selects from among the point information represented by a large number of one coordinate on a plane, the nearest point within a certain distance from a designated point. It is an object of the present invention to obtain a spot information search method and device capable of searching spot information within a fixed number of existing spots at high speed.

【0005】[0005]

【課題を解決するための手段】この発明に係る地点情報
検索方法は、1座標で代表される地点情報が多数分布す
る平面領域を小領域に隙間なく分割したうえで各小領域
に番号を割り当てると共に、その地点情報の座標に対応
する小領域の番号を付した地点情報をデータベースに格
納しておき、指定した近傍検索地点を含む小領域及びそ
の小領域に隣接する小領域からなる小領域群を検索対象
とし、上記小領域番号を用いて、上記検索対象とした領
域内の地点情報を上記データベースから検索するように
したものである。
A spot information retrieval method according to the present invention divides a flat area in which a large number of spot information represented by one coordinate is distributed into small areas without any gaps, and then assigns a number to each small area. Along with this, the point information with the number of the small area corresponding to the coordinates of the point information is stored in the database, and the small area group consisting of the small area including the specified neighborhood search point and the small areas adjacent to the small area Is set as a search target, and the spot information in the search target region is searched from the database using the small region number.

【0006】また、1座標で代表される地点情報が多数
分布する平面領域を狭い小領域とこれより広い小領域に
隙間なく分割したうえで狭い各小領域と広い各小領域に
それぞれ番号を割り当てると共に、その地点情報の座標
に対応する上記二つの小領域の番号を付した地点情報を
データベースに格納しておき、まず、近傍検索地点を含
む狭い小領域及びその小領域に隣接する小領域からなる
小領域群を検索対象とし、上記狭い小領域番号を用い
て、上記検索対象小領域内の地点情報を上記データベー
スから検索したうえで検索結果数が所定数に達しない場
合のみ、次に、近傍検索地点を含む広い小領域及びその
小領域に隣接する小領域からなる小領域群を検索対象と
し、上記広い小領域番号を用いて、上記検索対象小領域
内の地点情報を上記データベースから検索するようにし
たものである。
Further, a plane area in which a large number of point information represented by one coordinate is distributed is divided into a narrow small area and a small area wider than this without any space, and numbers are respectively assigned to the narrow small areas and the wide small areas. Along with that, the point information with the numbers of the above two small areas corresponding to the coordinates of the point information is stored in the database, and first, from a small area including the neighborhood search point and a small area adjacent to the small area. Only when the number of search results does not reach a predetermined number after searching for the spot information in the search target small area from the database using the narrow small area number as a search target, A small area group including a wide small area including a nearby search point and a small area adjacent to the small area is set as a search target, and the point information in the search target small area is set by using the wide small area number. In which it was to be retrieved from the database.

【0007】また、上記小領域の形状を、正方形または
正三角形にしたものである。
Further, the shape of the small area is a square or an equilateral triangle.

【0008】また、上記小領域群を、近傍検索地点を含
む小領域及び上記小領域の正方形または正三角形の頂点
に接する小領域としたものである。
The small area group is a small area including a neighborhood search point and a small area in contact with a vertex of a square or an equilateral triangle of the small area.

【0009】また、近傍検索地点を含む小領域及びその
小領域と隣接する小領域からなる小領域群から、近傍検
索地点を含む小領域内での近傍検索地点の位置から一定
距離内の範囲と重なる領域を持たない小領域を除外した
領域を検索対象小領域群とするものである。
In addition, a range within a certain distance from the position of the neighborhood search point in the small area including the neighborhood search point is selected from a small area group including the small area including the neighborhood search point and a small area adjacent to the small area. An area excluding a small area having no overlapping area is used as a search target small area group.

【0010】また、この発明に係る地点情報検索装置
は、平面上に多数分布する1座標で代表される地点情報
の中から、指定した近傍検索地点より一定距離内で最も
近傍の所定数の地点情報を検索するものであって、上記
平面を小領域に隙間無く分割したうえで各小領域に番号
を割り当て、検索対象となる地点情報を、その座標に対
応する小領域番号を付して格納したデータベースと、近
傍検索地点の指定を行う座標指定部と、近傍検索地点を
含む小領域及びその小領域と隣接する小領域を検索対象
小領域群とし、上記番号を用いて、検索対象小領域群内
の地点情報を上記データベースから検索する検索部と、
上記検索部での検索結果を表示する情報表示部とを備え
たものである。
Further, the spot information searching device according to the present invention is such that, from among spot information represented by a large number of one coordinate distributed on a plane, a predetermined number of spots closest to a designated neighborhood search spot within a certain distance. This is for searching information, dividing the above plane into small areas without gaps, assigning numbers to each small area, and storing the point information to be searched with the small area number corresponding to the coordinates stored. Database, the coordinate specification unit that specifies the neighborhood search point, the small area including the neighborhood search point and the small area adjacent to the small area as the search target small area group, and using the above numbers, the search target small area A search unit that searches for point information in the group from the above database,
And an information display unit for displaying the search result of the search unit.

【0011】[0011]

【発明の実施の形態】実施の形態1.以下、この発明の
実施の形態1を図について説明する。図1はこの発明に
係る地点情報検索装置の構成を示す図で、1は検索部、
2はこの検索部1に対して、近傍の地点情報を検索しよ
うとする任意の地点(近傍検索地点)の座標を指定する
座標指定部、3は検索部1で検索された結果を表示する
情報表示部、4はデータベースである。5はデータベー
ス4に格納されている情報のデータ格納形式である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiment 1. Embodiment 1 of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the configuration of a spot information search device according to the present invention, in which 1 is a search unit,
Reference numeral 2 is a coordinate designation unit for designating the coordinates of an arbitrary point (neighborhood search point) to be searched for nearby point information, and reference numeral 3 is information for displaying a result searched by the search unit 1. The display unit 4 is a database. Reference numeral 5 is a data storage format of information stored in the database 4.

【0012】図2は建物、交差点、公園等からなる地点情
報(図示省略)が多数存在する平面の領域を示す図であ
る。地点情報が存在する平面領域は、まず、図2に示す
ように、地点情報が存在する平面を、検索しようとする
距離の長さ(近傍検索距離)、例えば100メートルを
一辺とする正方形の小領域で隙間無く分割し、各小領域
に小領域番号を割り当てる。例えば、線x0と線x1、
及び線y0と線y1で囲まれた正方形S0は小領域番号
を(x0,y0)とするという規則で各小領域に小領域
番号を割り当てる。
FIG. 2 is a diagram showing a plane area in which a lot of spot information (not shown) including buildings, intersections, parks and the like exists. First, as shown in FIG. 2, the plane area where the point information exists is a small square of which one side is the length of the distance (neighborhood search distance) to be searched for the plane where the point information exists, for example, 100 meters. The area is divided without gaps, and a small area number is assigned to each small area. For example, line x0 and line x1,
The square S0 surrounded by the line y0 and the line y1 assigns a small area number to each small area according to the rule that the small area number is (x0, y0).

【0013】次に、平面上に存在する全ての地点情報に
ついて、地点情報の座標から、各地点情報が属する小領
域番号を求め、図1のデータベース4内に小領域番号を
含んだ地点情報として5のデータ格納形式で格納してお
く。すなわち、このデータ格納形式は、各地点情報5c
に対してその座標5b及び小領域番号5aが付されてい
る。
Next, for all the spot information existing on the plane, the small area number to which each piece of spot information belongs is obtained from the coordinates of the spot information, and the small area number is included in the database 4 of FIG. 1 as spot information. It is stored in the data storage format of No. 5. That is, this data storage format is based on each point information 5c.
Is assigned the coordinates 5b and the small area number 5a.

【0014】このような領域の地点情報検索を図1に示
す装置で行う手順について図4の抜粋フロー図で説明す
る。まず、座標指定部2を用いて、地点情報を得ようと
する任意の地点すなわち近傍検索地点の指定を行う(ス
テップ10)。この近傍検索地点は座標値で表現され
る。検索部1は指定された近傍検索地点の座標値からそ
の地点を含む小領域の小領域番号を算出して求める(ス
テップ11)。次に、検索部1は、求めた小領域番号を
元に、検索対象とすべき小領域を決定し、その小領域群
(検索対象小領域群)のすべての小領域番号を求める
(ステップ12)。
A procedure for performing the spot information retrieval of such an area by the apparatus shown in FIG. 1 will be described with reference to the excerpted flow chart of FIG. First, the coordinate designation unit 2 is used to designate an arbitrary spot for which spot information is to be obtained, that is, a neighborhood search spot (step 10). This neighborhood search point is represented by coordinate values. The search unit 1 calculates and obtains the small area number of the small area including the specified neighborhood search point from the coordinate value of the specified nearby search point (step 11). Next, the search unit 1 determines a small area to be searched based on the obtained small area number, and finds all small area numbers of the small area group (search target small area group) (step 12). ).

【0015】ここで、近傍検索地点を含む小領域に対す
る検索対象小領域群の決定について説明する。図3は座
標指定部2で指定された近傍検索地点6と、その地点を
含む小領域7に対する検索対象小領域群8を図示したも
ので、小領域群8を、近傍検索地点6を含む小領域7の
正方形及びこの小領域7に隣接する小領域、つまり、小
領域7及びこの小領域7の正方形の四つの頂点と接する
全正方形小領域に限定する。そして、この小領域群8を
検索対象領域とする。なお、検索対象とする小領域群
(検索対象小領域群)は、予め近傍検索地点を含む小領
域からの相対的位置関係によって固定的に定義しておけ
ばよく、上記に限るものではないが、上記のように近傍
検索地点を含む小領域正方形の頂点と接する全正方形と
することにより一義的に小領域群を決定できる。
Here, the determination of the search target small area group for the small area including the neighborhood search point will be described. FIG. 3 illustrates a neighborhood search point 6 designated by the coordinate designating section 2 and a search target small area group 8 for a small area 7 including the neighborhood. The area 7 is limited to the square and the small area adjacent to the small area 7, that is, the small area 7 and all square small areas that are in contact with the four vertices of the square of the small area 7. Then, this small area group 8 is set as a search target area. It should be noted that the small area group to be searched (search target small area group) may be fixedly defined in advance by a relative positional relationship from the small area including the neighborhood search point, but is not limited to the above. As described above, the small area group can be uniquely determined by using all the squares that are in contact with the vertices of the small area square including the neighborhood search points.

【0016】次に、検索部1はデータベース4から検索
対象小領域群8を構成する各小領域内の全て地点情報の
読み込みを行う(ステップ13)。この際、予めデータ
ベース4に対し小領域番号の列にインデックスを設定し
ておき、検索対象小領域群内のみの地点情報を参照す
る。次に、検索部1はステップ13で読み込んだ地点情
報の中から、近傍検索地点6から一定距離内の最近傍の
座標を持つ地点情報を検索する(ステップ14)。この
ようにして検索された一定数の最近傍の地点情報を情報
表示部3に表示する(ステップ15)。
Next, the retrieval unit 1 reads all the spot information in each of the small areas constituting the search target small area group 8 from the database 4 (step 13). At this time, an index is set in advance in the column of the small area numbers in the database 4, and the spot information only in the search target small area group is referred to. Next, the search unit 1 searches the spot information read in step 13 for spot information having coordinates of the nearest neighbor within a certain distance from the neighborhood search spot 6 (step 14). A certain number of nearest spot information retrieved in this way is displayed on the information display unit 3 (step 15).

【0017】以上のように、地点情報に小領域番号を付
与してデータベースに格納しておき、指定された近傍検
索地点を含む小領域に隣接する限定された小領域群内の
地点情報のみを読み込み、この中から一定距離内にある
最近傍検索を行うようにすることにより、検索結果を高
速に得ることが可能となる。
As described above, the small area number is added to the spot information and stored in the database, and only the spot information in the limited small area group adjacent to the small area including the designated neighborhood search spot is stored. By reading and performing nearest neighbor search within a certain distance from this, it becomes possible to obtain a search result at high speed.

【0018】実施の形態2.上記実施の形態1は近傍検
索地点に対する検索対象小領域群を、近傍検索地点を含
む小領域正方形の頂点が接する全ての小領域としている
が、この実施の形態2では、近傍検索地点を含む小領域
内での近傍検索地点の位置により一部の小領域を上記実
施の形態1の方法で求めた検索対象小領域群から除外す
ることにより、検索範囲を狭くしてさらに高速に検索結
果を得ようとするものである。
Embodiment 2. In the first embodiment, the search target small area group for the neighborhood search point is all the small areas where the vertices of the small area square including the neighborhood search point are in contact, but in the second embodiment, the small area including the neighborhood search point is included. By excluding some of the small areas from the search target small area group obtained by the method of the first embodiment according to the position of the neighborhood search point in the area, the search range is narrowed and the search result is obtained at a higher speed. It is something to try.

【0019】図5を用いて本実施の形態に係る方法を説
明する。図5は本実施の形態において近接検索地点に対
する検索対象小領域群を決定する方法を説明する図であ
る。近傍検索地点30を含む小領域31の一頂点33a
に着目し、頂点33aから正方形の一辺の長さより遠い
領域34に近傍検索地点30が含まれる場合、上記実施
の形態1の方法により求めた検索対象小領域群32から
小領域35を除外する。同様に近傍検索地点30を含む
小領域31のほかの頂点33b、33c、33dについ
ても同様の判定を行い、除外できる小領域があれば検索
対象小領域群から除外する。
The method according to the present embodiment will be described with reference to FIG. FIG. 5 is a diagram illustrating a method of determining a search target small area group for a proximity search point in the present embodiment. One vertex 33a of the small area 31 including the neighborhood search point 30
When the neighborhood search point 30 is included in the area 34 farther than the length of one side of the square from the apex 33a, the small area 35 is excluded from the search target small area group 32 obtained by the method of the first embodiment. Similarly, the same determination is made for the other vertices 33b, 33c, 33d of the small area 31 including the neighborhood search point 30, and if there are small areas that can be excluded, they are excluded from the search target small area group.

【0020】本実施の形態により少量の計算を検索部1
に追加して行わせるだけでデータベース4への不要な小
領域内の地点情報の参照を省略し、より高速に検索結果
を得ることが可能となる。
According to the present embodiment, a small amount of calculation is performed by the search unit 1
It is possible to obtain the search result at a higher speed by omitting the reference to the unnecessary spot information in the small area to the database 4 just by additionally performing the above.

【0021】本実施の形態2に係る装置の構成は図1と
同じであり、座標指定部2、情報表示部3、データベー
ス4の動作は実施の形態1と同じである。上述した検索
対象小領域群の決定を検索部1で行うことにより、実施
の形態1よりさらに限定された検索対象小領域群の地点
情報のみをデータベース4から読み込んで検索を行う。
The configuration of the apparatus according to the second embodiment is the same as that of FIG. 1, and the operations of the coordinate designation section 2, the information display section 3, and the database 4 are the same as those of the first embodiment. By performing the above-described determination of the search target small area group by the search unit 1, only the point information of the search target small area group, which is more limited than that in the first embodiment, is read from the database 4 and the search is performed.

【0022】実施の形態3.上記実施の形態1では地点
情報が存在する平面を正方形の小領域に分割している
が、本実施の形態3では地点情報が存在する平面を近傍
検索距離の長さと等しい高さの正三角形の小領域に分割
する。本実施の形態3における構成および動作は小領域
の形状と小領域番号の生成規則、及び検索対象小領域群
の決定方法以外は実施の形態1と同様とする。
Embodiment 3. In the first embodiment, the plane in which the point information exists is divided into small square areas, but in the third embodiment, the plane in which the point information exists is a regular triangle having a height equal to the length of the neighborhood search distance. Divide into small areas. The configuration and operation of the third embodiment are the same as those of the first embodiment except for the shape of the small area, the generation rule of the small area number, and the method of determining the small area group to be searched.

【0023】図6を用いて小領域番号の生成規則を説明
する。線aと線b、及び線cと線dで囲まれた並行四辺
形を構成する三角形のうち、線aと線cの交点を頂点に
持つ三角形T0の小領域番号を(a、c、0)、もう一
方の三角形T1の小領域番号を(a、c、1)とする規
則で各小領域に小領域番号を割り当てる。
The generation rule of the small area number will be described with reference to FIG. Of the triangles forming the parallelogram enclosed by the lines a and b and the lines c and d, the small area number of the triangle T0 having the intersection of the lines a and c at its vertex is (a, c, 0). ), The small area number is assigned to each small area according to the rule that the small area number of the other triangle T1 is (a, c, 1).

【0024】図7は近傍検索地点16と、その地点を含
む小領域17に対する検索対象となる小領域群18を図
示したもので、小領域群18は近傍検索地点16を含む
小領域17の頂点と接する全三角形小領域とする。近傍
検索距離(正三角形の高さ)をLとした場合、小領域を
正方形とした実施の形態1では、検索対象小領域群は図
3の8の範囲となりその総面積は9L2(Lは正方形の
一辺の長さ)となるのに対し、小領域を正三角形とした
本実施の形態では検索対象小領域群の総面積は13L2
/√3となり約17%狭い面積となることから、検索対
象となる地点情報の数がより限定されるため高速に検索
結果を得ることが可能となる。
FIG. 7 shows a neighborhood search point 16 and a small area group 18 to be searched for the small area 17 including the neighborhood. The small area group 18 is the apex of the small area 17 including the neighborhood search point 16. The whole triangular small area in contact with. When the neighborhood search distance (height of an equilateral triangle) is L, in the first embodiment in which the small area is a square, the small area group to be searched is in the range of 8 in FIG. 3 and its total area is 9L 2 (where L is The length of one side of the square), whereas the total area of the search target small area group is 13 L 2 in the present embodiment in which the small area is an equilateral triangle.
Since it is / √3 and the area is about 17% narrower, the number of pieces of point information to be searched is more limited, so that the search result can be obtained at high speed.

【0025】従って、上述した検索対象小領域群の決定
を検索部1で行わせることにより、検索対象領域を一層
限定でき、さらに検索速度を向上させることができる。
Therefore, by causing the search unit 1 to determine the above-described small group of search target areas, the search target areas can be further limited and the search speed can be further improved.

【0026】実施の形態4.上記実施の形態3は近傍検
索地点に対する検索対象小領域群を、近傍検索地点を含
む小領域正三角形の頂点が接する全ての小領域としてい
るが、この実施の形態4では、近傍検索地点を含む小領
域内での近傍検索地点の位置により一部の小領域を検索
対象小領域群から除外すること以外は上記実施の形態3
と同様とする。
Fourth Embodiment In the above-described third embodiment, the search target small area group for the neighborhood search point is all the small areas where the vertices of the small area regular triangle including the neighborhood search point are in contact, but in the fourth embodiment, the neighborhood search point is included. Embodiment 3 described above except that some small areas are excluded from the search target small area group depending on the position of the neighborhood search point in the small area.
Same as.

【0027】次に、図8を用いて近傍検索地点に対する
検索対象小領域群を決定する方法を説明する。近傍検索
地点20を含む小領域21の一頂点22aに着目し、頂
点22aから正三角形の高さ分の長さLより遠い領域2
3に近傍検索地点20が含まれる場合は、上記実施の形
態3の方法により求めた検索対象小領域群28から小領
域26と27を除外する。同様に頂点22aから三角形
の高さ分の長さLより遠い領域24に近傍検索地点20
が含まれる場合、検索対象小領域群28から小領域25
と26を除外する。同様に近傍検索地点20を含む小領
域21のほかの二頂点22b、22cに対しても同様に
判定を行う。
Next, a method for determining a small area group to be searched for a nearby search point will be described with reference to FIG. Focusing on one apex 22a of the small area 21 including the neighborhood search point 20, the area 2 farther from the apex 22a than the length L corresponding to the height of the equilateral triangle.
When 3 includes the neighborhood search point 20, the small areas 26 and 27 are excluded from the search target small area group 28 obtained by the method of the third embodiment. Similarly, in a region 24 farther than the length L corresponding to the height of the triangle from the vertex 22a, the neighborhood search point 20
, The search target small area group 28 to the small area 25
And exclude 26. Similarly, the same determination is performed on the other two vertices 22b and 22c of the small area 21 including the neighborhood search point 20.

【0028】本実施の形態により検索部1での少量の計
算を追加するだけでデータベース4からの不要な小領域
内の地点情報の参照を省略することで、より高速に検索
結果を得ることが可能となる。
According to the present embodiment, the search result can be obtained at a higher speed by adding a small amount of calculation in the search unit 1 and omitting the reference of the point information in the unnecessary small area from the database 4. It will be possible.

【0029】実施の形態5.上記実施の形態1乃至実施
の形態4では、一地点情報に一小領域番号を付与してデ
ータベースに格納するが、本実施の形態5では一地点情
報に二つまたはそれ以上の小領域番号を付与する。
Embodiment 5. In the first to fourth embodiments described above, one small area number is given to one point information and stored in the database, but in the fifth embodiment, two or more small area numbers are added to one point information. Give.

【0030】図9は本実施の形態5において地点情報に
二つの小領域番号を付してデータベース4に格納するデ
ータ格納形式を示したものであり、一つの地点情報5c
に対して5a1の小領域番号1と5a2の小領域番号2
の二つの小領域番号を付している。これら二つの小領域
番号について図10により説明する。図10の例では、
多数の地点情報を含む平面の領域を一辺100mの正方
形の狭い小領域40で分割して求めた小領域番号を小領
域番号1として用い、一辺400mの正方形の広い小領
域41で分割して求めた小領域番号を小領域番号2とし
て用いる。
FIG. 9 shows a data storage format in which two small area numbers are added to the spot information and stored in the database 4 in the fifth embodiment. One spot information 5c is shown.
For small area number 1 of 5a1 and small area number 2 of 5a2
Two small area numbers are attached. These two small area numbers will be described with reference to FIG. In the example of FIG.
A small area number obtained by dividing a plane area including a large number of point information by a small square area 40 having a side of 100 m is used as a small area number 1, and obtained by dividing a small area 41 having a wide square of 400 m on a side. The small area number is used as the small area number 2.

【0031】次に、上記のようにして生成したデータベ
ースに対する地点情報の最近傍検索動作を図11に示す
抜粋フロー図を用いて説明する。まず座標指定部2で任
意の地点である最近傍検索地点を指定する(ステップ5
0)。座標指定を受けた検索部1は、最近傍検索地点に
対応する一辺100mの狭い小領域40の小領域番号を
計算により求める(ステップ51)。次に実施の形態1
と同様にして近傍検索地点に対する検索対象小領域群を
一辺100mの狭い小領域40について求める(ステッ
プ52)。さらに、検索部1はデータベース4から、実
施の形態1と同様にして検索対象小領域群を構成する小
領域の番号を持つ全地点情報を読み込む(ステップ5
3)。検索部1は読み込んだ情報のうちで、近傍検索地
点から近傍検索距離100m以内の地点情報を検索する
(ステップ54)。ここで、検索部1は検索結果件数が
地点情報の表示を行う一定の上限件数に達しているかど
うか判定する(ステップ55)。上限に達していれば地
点情報を情報表示部3で表示し(ステップ56)、検索
動作を終了する。
Next, the nearest neighbor search operation of spot information for the database generated as described above will be described with reference to the excerpt flow chart shown in FIG. First, the coordinate designation unit 2 designates the nearest search point, which is an arbitrary point (step 5).
0). Upon receiving the coordinate designation, the search unit 1 calculates the small area number of the small area 40 having a side of 100 m and corresponding to the nearest search point (step 51). Next, the first embodiment
Similarly, the search target small area group for the neighborhood search point is obtained for the small area 40 having a side of 100 m (step 52). Further, the search unit 1 reads all spot information having the numbers of the small areas forming the search target small area group from the database 4 in the same manner as in the first embodiment (step 5).
3). The search unit 1 searches the read information for spot information within a neighborhood search distance of 100 m from the neighborhood search spot (step 54). Here, the search unit 1 determines whether or not the number of search results has reached a certain upper limit number for displaying the spot information (step 55). If the upper limit is reached, the spot information is displayed on the information display unit 3 (step 56), and the search operation ends.

【0032】上限に達していない場合は、検索部1は近
傍検索地点の指定座標から近傍検索地点を含む一辺40
0mの広い小領域41の小領域番号2を算出して求める
(ステップ57)。さらに、検出部1は実施の形態1と
同様にして近傍検索地点に対する検索対象小領域群を一
辺400mの広い小領域41について求める(ステップ
58)。検索部1は実施の形態1と同様にして検索対象
小領域群内の全地点情報をデータベース4から読み込む
(ステップ59)。次に、検索部1は近傍検索地点から
400m以内の小領域群を検索し(ステップ60)、そ
の結果である地点情報を情報表示部3に表示する(ステ
ップ61)。
If the upper limit has not been reached, the search unit 1 uses the designated coordinates of the neighborhood search point to search for one side 40 including the neighborhood search point.
The small area number 2 of the small area 41 of 0 m wide is calculated and obtained (step 57). Further, similarly to the first embodiment, the detection unit 1 obtains a search target small area group for a nearby search point for a small area 41 having a side of 400 m (step 58). Similar to the first embodiment, the search unit 1 reads all spot information in the search target small area group from the database 4 (step 59). Next, the search unit 1 searches for a small area group within 400 m from the neighborhood search point (step 60), and displays the resulting point information on the information display unit 3 (step 61).

【0033】以上のように、地点情報一つに対し、狭い
小領域と広い小領域の二通りに平面を分割してそれぞれ
に対応する小領域番号を付し、狭い範囲と広い範囲の二
段階の最近傍検索を行うことで、地点情報の密度が高い
場所においても少量の地点情報を対象に検索を行い、高
速に検索結果を得ることができる。もちろん地点情報一
つに対して三通り以上の小領域番号を付して上記の手順
を繰り返すことにより検索を行ってもよい。
As described above, for one piece of point information, the plane is divided into two small areas, a small area and a wide area, and the small area numbers corresponding to each area are assigned to the two areas, the narrow area and the wide area. By performing the nearest neighbor search of, the search can be performed at a high speed even when the location information density is high and a small amount of location information is searched. Of course, it is also possible to add three or more small area numbers to one piece of point information and repeat the above procedure to perform the search.

【0034】[0034]

【発明の効果】以上のように、この発明によれば、地点
情報に小領域番号を付与してデータベースに格納してお
き、指定された地点に近い、限定された小領域群内の地
点情報のみを読み込み、この中から最近傍検索を行うよ
うにすることにより、検索結果を高速に得ることが可能
となる。
As described above, according to the present invention, a small area number is added to spot information and stored in a database, and spot information in a limited small area group near a designated spot is stored. By reading only that and performing the nearest neighbor search from among these, the search result can be obtained at high speed.

【0035】また、限定された小領域群から、検索の指
定地点を含む小領域内での指定地点の位置から一定距離
内の範囲と重なる領域が無い小領域を除外した領域を検
索対象小領域群とすることにより、さらに高速に検索結
果を得ることが可能となる。
Further, an area obtained by excluding a small area that does not overlap an area within a certain distance from the position of the designated point within the small area including the designated point of the search is extracted from the limited small area group as the search target small area. By forming a group, it becomes possible to obtain search results at a higher speed.

【0036】また、地点情報一つに対し、狭い領域と広
い領域の少なくとも二通りに平面を分割してそれぞれに
対応する小領域番号を付し、狭い範囲と広い範囲の二段
階の最近傍検索を行うことで地点情報の密度が高い場所
においても少量の地点情報を対象に検索を行い、高速に
検索結果を得ることができる。
Further, with respect to one piece of point information, a plane is divided into at least two ways of a narrow area and a wide area, and small area numbers corresponding to the respective areas are given, and a two-step nearest neighbor search of a narrow area and a wide area is performed. By performing the above, it is possible to perform a search for a small amount of spot information even in a place where the spot information density is high, and obtain a search result at high speed.

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

【図1】 この発明の実施の形態1に係る地点情報検索
装置を示すブロック図である。
FIG. 1 is a block diagram showing a spot information search device according to a first embodiment of the present invention.

【図2】 実施の形態1における平面分割方法を示す線
図である。
FIG. 2 is a diagram showing a plane dividing method according to the first embodiment.

【図3】 実施の形態1における検索対象小領域群決定
方法を示す線図である。
FIG. 3 is a diagram showing a search target small area group determination method according to the first embodiment.

【図4】 実施の形態1における検索処理の抜粋フロー
図である。
FIG. 4 is an excerpt flow diagram of a search process according to the first embodiment.

【図5】 この発明の実施の形態2に係る地点情報検索
方法における検索対象小領域群決定方法を示す線図であ
る。
FIG. 5 is a diagram showing a search target small area group determining method in the spot information searching method according to the second embodiment of the present invention.

【図6】 この発明の実施の形態3に係る地点情報検索
方法における平面分割方法を示す線図である。
FIG. 6 is a diagram showing a plane division method in a spot information search method according to Embodiment 3 of the present invention.

【図7】 実施の形態3における検索対象小領域群決定
方法を示す線図である。
FIG. 7 is a diagram showing a search target small area group determination method according to the third embodiment.

【図8】 この発明の実施の形態4に係る地点情報検索
方法における検索対象小領域群決定方法を示す線図であ
る。
FIG. 8 is a diagram showing a search target small area group determining method in the spot information searching method according to the fourth embodiment of the present invention.

【図9】 この発明の実施の形態5に係る地点情報検索
方法における地点情報のデータ格納形式を示す図であ
る。
FIG. 9 is a diagram showing a data storage format of spot information in a spot information search method according to a fifth embodiment of the present invention.

【図10】 実施の形態5における平面分割方法を示す
線図である。
FIG. 10 is a diagram showing a plane dividing method according to the fifth embodiment.

【図11】 実施の形態5における検索処理の抜粋フロ
ー図である。
FIG. 11 is an excerpt flow diagram of a search process according to the fifth embodiment.

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

1 検索部、 2 座標指定部、3
情報表示部、 4 データベース、5
データ格納形式、 6 近傍検索地点、7
小領域、 8 検索対象小領域
群、16 近傍検索地点、 17 小領域、
18 検索対象小領域群、 20 近傍検索地
点、21、25、26、27 小領域、28 検索対象
小領域群、22a、22b、22c 正三角形の頂点、
23、24 頂点22aから正三角形の高さより遠い領
域、30 近傍検索地点、 31 小領域、
32 検索対象小領域群、33a、33b、33c、3
3d 正方形の頂点、34 頂点33aから正方形の一
辺より遠い領域、35 検索対象除外小領域、 4
0 狭い小領域、41 広い小領域、 S
0 正方形、T0、T1 正三角形。
1 search section, 2 coordinate specification section, 3
Information display, 4 database, 5
Data storage format, 6 Neighborhood search points, 7
Small area, 8 search target small area group, 16 neighborhood search points, 17 small area,
18 search target small area group, 20 neighborhood search points, 21, 25, 26, 27 small area, 28 search target small area group, 22a, 22b, 22c apex of equilateral triangle,
23, 24 area farther from the height of the equilateral triangle from the vertex 22a, 30 neighborhood search point, 31 small area,
32 search target small area group, 33a, 33b, 33c, 3
3d square apex, 34 a region farther than one side of the square from apex 33a, 35 small region excluded from search, 4
0 Narrow small area, 41 Wide small area, S
0 square, T0, T1 equilateral triangle.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 1座標で代表される地点情報が多数分布
する平面領域を小領域に隙間なく分割したうえで各小領
域に番号を割り当てると共に、その地点情報の座標に対
応する小領域の番号を付した地点情報をデータベースに
格納しておき、指定した近傍検索地点を含む小領域及び
その小領域に隣接する小領域からなる小領域群を検索対
象とし、上記小領域番号を用いて、上記検索対象とした
領域内の地点情報を上記データベースから検索するよう
にしたことを特徴とする地点情報検索方法。
1. A flat area in which a large number of point information represented by one coordinate is distributed is divided into small areas without a gap, and a number is assigned to each small area, and the number of the small area corresponding to the coordinates of the point information. The location information marked with is stored in the database, and a small area group consisting of a small area including the specified neighborhood search point and a small area adjacent to the small area is set as a search target, and the small area number is used to A spot information search method, characterized in that spot information in a search target area is searched from the database.
【請求項2】 1座標で代表される地点情報が多数分布
する平面領域を狭い小領域とこれより広い小領域に隙間
なく分割したうえで狭い各小領域と広い各小領域にそれ
ぞれ番号を割り当てると共に、その地点情報の座標に対
応する上記二つの小領域の番号を付した地点情報をデー
タベースに格納しておき、まず、近傍検索地点を含む狭
い小領域及びその小領域に隣接する小領域からなる小領
域群を検索対象とし、上記狭い小領域番号を用いて、上
記検索対象小領域内の地点情報を上記データベースから
検索したうえで検索結果数が所定数に達しない場合の
み、次に、近傍検索地点を含む広い小領域及びその小領
域に隣接する小領域からなる小領域群を検索対象とし、
上記広い小領域番号を用いて、上記検索対象小領域内の
地点情報を上記データベースから検索するようにしたこ
とを特徴とする地点情報検索方法。
2. A plane area in which a large number of point information represented by one coordinate is distributed is divided into a small area and a smaller area without a gap, and numbers are assigned to each of the narrow and wide small areas. Along with that, the point information with the numbers of the above two small areas corresponding to the coordinates of the point information is stored in the database, and first, from a small area including the neighborhood search point and a small area adjacent to the small area. Only when the number of search results does not reach a predetermined number after searching for the spot information in the search target small area from the database using the narrow small area number as a search target, As a search target, a small area group consisting of a wide small area including a neighborhood search point and a small area adjacent to the small area,
A spot information search method, wherein the spot information in the search target small region is searched from the database using the wide small region number.
【請求項3】 上記小領域の形状を、正方形または正三
角形にしたことを特徴とする請求項1または請求項2に
記載の地点情報検索方法。
3. The point information retrieval method according to claim 1 or 2, wherein the shape of the small area is a square or an equilateral triangle.
【請求項4】 上記小領域群を、近傍検索地点を含む小
領域及び上記小領域の正方形または正三角形の頂点に接
する小領域としたことを特徴とする請求項3に記載の地
点情報検索方法。
4. The point information search method according to claim 3, wherein the small area group is a small area including a neighborhood search point and a small area in contact with a vertex of a square or an equilateral triangle of the small area. .
【請求項5】 近傍検索地点を含む小領域及びその小領
域と隣接する小領域からなる小領域群から、近傍検索地
点を含む小領域内での近傍検索地点の位置から一定距離
内の範囲と重なる領域を持たない小領域を除外した領域
を検索対象小領域群とすることを特徴とする請求項1乃
至請求項4のいずれか一項に記載の地点情報検索方法。
5. A range within a certain distance from the position of the neighborhood search point in the small area including the neighborhood search point, from a small area group including the small area including the neighborhood search point and a small area adjacent to the small area. The spot information search method according to any one of claims 1 to 4, wherein an area excluding a small area having no overlapping area is set as a search target small area group.
【請求項6】 平面上に多数分布する1座標で代表され
る地点情報の中から、指定した近傍検索地点より一定距
離内で最も近傍の所定数の地点情報を検索する地点情報
検索装置であって、上記平面を小領域に隙間無く分割し
たうえで各小領域に番号を割り当て、検索対象となる地
点情報を、その座標に対応する小領域番号を付して格納
したデータベースと、近傍検索地点の指定を行う座標指
定部と、近傍検索地点を含む小領域及びその小領域と隣
接する小領域を検索対象小領域群とし、上記番号を用い
て、検索対象小領域群内の地点情報を上記データベース
から検索する検索部と、上記検索部での検索結果を表示
する情報表示部とを備えたことを特徴とする地点情報検
索装置。
6. A point information retrieval device for retrieving a predetermined number of point information points closest to a designated neighborhood search point within a certain distance from the point information represented by one coordinate distributed in a large number on a plane. Then, the above plane is divided into small areas without any gaps, numbers are assigned to each small area, and the location information to be searched is stored with a small area number corresponding to the coordinates and a nearby search point. The coordinate designation section that performs the designation, the small area including the neighborhood search point and the small area adjacent to the small area are set as the search target small area group, and the point information in the search target small area group is set by the above number. A spot information search device comprising: a search unit that searches from a database; and an information display unit that displays a search result of the search unit.
JP2002035764A 2002-02-13 2002-02-13 Method and apparatus for searching point information Pending JP2003242151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002035764A JP2003242151A (en) 2002-02-13 2002-02-13 Method and apparatus for searching point information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002035764A JP2003242151A (en) 2002-02-13 2002-02-13 Method and apparatus for searching point information

Publications (1)

Publication Number Publication Date
JP2003242151A true JP2003242151A (en) 2003-08-29

Family

ID=27777861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002035764A Pending JP2003242151A (en) 2002-02-13 2002-02-13 Method and apparatus for searching point information

Country Status (1)

Country Link
JP (1) JP2003242151A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008527503A (en) * 2004-12-30 2008-07-24 グーグル インコーポレイテッド Indexing documents according to geographical relevance
US7693655B2 (en) 2005-07-27 2010-04-06 Denso Corporation Navigation system including database for storing feature information for points of interest
JP2011141682A (en) * 2010-01-06 2011-07-21 Yahoo Japan Corp Local information retrieval server and local information retrieval method
US8090745B2 (en) 2008-02-19 2012-01-03 Hitachi, Ltd. K-nearest neighbor search method, k-nearest neighbor search program, and k-nearest neighbor search device
US8271518B2 (en) 2009-11-19 2012-09-18 Sumitomo Rubber Industries, Ltd. Nearest neighbor search method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008527503A (en) * 2004-12-30 2008-07-24 グーグル インコーポレイテッド Indexing documents according to geographical relevance
US7801897B2 (en) 2004-12-30 2010-09-21 Google Inc. Indexing documents according to geographical relevance
JP2011238248A (en) * 2004-12-30 2011-11-24 Google Inc Indexing documents according to geographical relevance
US9189496B2 (en) 2004-12-30 2015-11-17 Google Inc. Indexing documents according to geographical relevance
US7693655B2 (en) 2005-07-27 2010-04-06 Denso Corporation Navigation system including database for storing feature information for points of interest
US8090745B2 (en) 2008-02-19 2012-01-03 Hitachi, Ltd. K-nearest neighbor search method, k-nearest neighbor search program, and k-nearest neighbor search device
US8271518B2 (en) 2009-11-19 2012-09-18 Sumitomo Rubber Industries, Ltd. Nearest neighbor search method
JP2011141682A (en) * 2010-01-06 2011-07-21 Yahoo Japan Corp Local information retrieval server and local information retrieval method

Similar Documents

Publication Publication Date Title
US7425968B2 (en) System and method for labeling maps
US6021406A (en) Method for storing map data in a database using space filling curves and a method of searching the database to find objects in a given area and to find objects nearest to a location
JP3025173B2 (en) Database search system
EP0905655B1 (en) Map editing apparatus enabling simplified editing through provision of user-selectable automatic editing functions
KR19980025852A (en) Placement of Names for Point Objects Using Planar Writing
JP2012234174A (en) Navigation device, method for determining height coordinate, and method for generating database
JP2003256855A (en) Graphics image generation method, program using the same and statistical data plotting device
Laycock et al. Automatically generating large urban environments based on the footprint data of buildings
CN103377222A (en) Map tile generating method and device
CN108108489A (en) POI search methods and device based on geographical location
JP2020042793A (en) Obstacle distribution simulation method, device, and terminal based on probability plot
KR102106748B1 (en) E-navigation providing system and amethod and e-navigation device in the same
CN106023317B (en) A kind of weighted Voronoi diagrams drawing generating method for big data test
JP2003242151A (en) Method and apparatus for searching point information
Melachrinoudis An efficient computational procedure for the rectilinear maximin location problem
JP7093680B2 (en) Structure difference extraction device, structure difference extraction method and program
CN113204607B (en) Vector polygon rasterization method for balancing area, topology and shape characteristics
US11537622B2 (en) K-nearest neighbour spatial queries on a spatial database
JP2000250403A (en) Method and device for deforming road form graphics, and recording medium where the method is recorded
JP4260827B2 (en) Land-based land evaluation system, evaluation method, and evaluation program
JP2005196298A (en) Information processor, image data display control method, program and recording medium
JP5081311B2 (en) Map information processing apparatus, map information processing method, map information processing program, and recording medium
CN112999658B (en) Path finding method, device and medium for game three-dimensional space flight
JP4263894B2 (en) Location search method and apparatus using landmark set
JP4840018B2 (en) Shape data retrieval program and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040520

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070529

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071016