JP6420749B2 - Geographic network data management apparatus and computer program - Google Patents
Geographic network data management apparatus and computer program Download PDFInfo
- Publication number
- JP6420749B2 JP6420749B2 JP2015235463A JP2015235463A JP6420749B2 JP 6420749 B2 JP6420749 B2 JP 6420749B2 JP 2015235463 A JP2015235463 A JP 2015235463A JP 2015235463 A JP2015235463 A JP 2015235463A JP 6420749 B2 JP6420749 B2 JP 6420749B2
- Authority
- JP
- Japan
- Prior art keywords
- link
- attribute
- node
- record
- observation data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Instructional Devices (AREA)
Description
本発明は、地理ネットワークのノードやリンクに対して自動的に属性を付与できる地理ネットワークデータ管理装置およびコンピュータプログラムに関する。 The present invention relates to a geographic network data management apparatus and computer program that can automatically assign attributes to nodes and links of a geographic network.
地理上の論理的な点をノードとし、点と点を結ぶ辺又は弧をリンクとするネットワーク(以下NWとする)構造を地理ネットワークと呼ぶ。 A network structure (hereinafter referred to as NW) in which a geographical point in the geography is a node and a side or arc connecting the points is a link is referred to as a geography network.
例えば道路を扱う単純な地理NWは、交差点をノードとし、交差点を結ぶ道路をリンクとする。この構造を利用することで、経路計算が可能となる。例えばOpenStreetMapはNW構造で作成された地図サービスであり、この構造を利用した経路計算が可能である(非特許文献1)。 For example, in a simple geographic NW that handles roads, an intersection is a node and a road connecting the intersections is a link. By using this structure, route calculation becomes possible. For example, OpenStreetMap is a map service created with an NW structure, and route calculation using this structure is possible (Non-Patent Document 1).
また、地理NW上の属性を格納し、ユーザに表示するシステムが提案されている(非特許文献2)。ここでは、地理NWとして構築されたバリアフリーマップをユーザ端末に表示する方法が記述されている。 In addition, a system for storing attributes on the geographic network and displaying them to the user has been proposed (Non-Patent Document 2). Here, a method for displaying a barrier-free map constructed as a geographic NW on a user terminal is described.
上記のように、地理NW上に格納された属性情報を表示するシステムは存在するが、実世界を観測したデータに基づき、地理NWに属性を配置するシステムは存在しなかった。
例えば、加速度センサによって道路上に段差があることが測定されたとき、その情報を地理NW上で対応するリンクに属性として自動で付与することはできなかった。
また、属性によっては、地理NWの構成を変更すべきことがある。例えば、1つのリンクに相反する属性が付与される場合、同じ始点・終点ノードを共有するリンクを追加で作成し、それぞれに異なる属性を付与することが有効である。
As described above, there is a system that displays attribute information stored on the geographic network, but there is no system that allocates attributes to the geographic network based on data obtained by observing the real world.
For example, when an acceleration sensor measured that there was a step on the road, the information could not be automatically given as an attribute to the corresponding link on the geographic NW.
Depending on the attribute, the configuration of the geographic network may be changed. For example, when conflicting attributes are given to one link, it is effective to create additional links that share the same start and end nodes and assign different attributes to each link.
本発明は、上記事情に鑑みてなされたものであり、地理ネットワークのノードやリンクに対して自動的に属性を付与できる地理ネットワークデータ管理装置と地理ネットワークデータ管理装置としてコンピュータを機能させるためのコンピュータプログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and a geographic network data management apparatus capable of automatically assigning attributes to nodes and links of a geographic network and a computer for causing a computer to function as the geographic network data management apparatus The purpose is to provide a program.
本発明の地理ネットワークデータ管理装置は、対象地域に含まれる各地点であるノードにつき、対象のノードを示すノードID、ノードの緯度と経度を含むレコードを備えるノードテーブルと、ノード間を結ぶ各リンクにつき、対象のリンクを示すリンクID、当該各ノードのノードIDを含むレコードを備えるリンクテーブルと、ノード又はリンク又はリンクの一部について設定される属性ごとに、対象の属性を示す属性ID、当該属性を含むレコードを備えるフィーチャーテーブルと、属性が設定されたノード又はリンクごとに、当該ノードのノードID又はリンクのリンクIDである対応先ID、対象の属性に対応する前記フィーチャーテーブルのレコードに含まれる属性IDと同じ属性IDを含み、当該属性がリンクの一部に設定される場合は、当該一部の一方端を示す属性始点、および、当該一部の他方端を示す属性終点を含むレコードを備える対応テーブルと、ノードのノードID又はリンクのリンクIDもしくはノード又はリンクの位置情報、属性を含む観測データを観測データ記憶部から読み出し、当該観測データに基づいて、前記フィーチャーテーブルと前記対応テーブルを更新し、当該観測データが属性始点と属性終点を含む場合は、前記対応テーブルの該当レコードに当該属性始点と属性終点を設定する属性データ生成部と、前記対応テーブルに、同じリンクIDで互いに矛盾する属性IDが付与されている複数のレコードが存在する場合、前記リンクIDのリンクの始点ノードおよび終点ノードを共有する新たなリンクIDのレコードを前記リンクテーブルに追加し、前記対応テーブルの前記互いに矛盾する属性が付与された一方のリンクIDを、追加した前記新たなリンクIDで更新する地理ネットワーク変更部とを備えることを特徴とする。 The geographic network data management device according to the present invention provides, for each node included in a target area, a node table including a node ID indicating the target node, a record including the latitude and longitude of the node, and each link connecting the nodes. Per link ID that indicates the target link, a link table that includes a record including the node ID of each node, and an attribute ID that indicates the target attribute for each attribute that is set for a node or a link or part of a link, Included in the feature table having a record including an attribute, and for each node or link in which the attribute is set, the node ID of the node or the link ID of the link, the feature table record corresponding to the target attribute The attribute ID is the same as the attribute ID that is If you, the attribute start showing one end of the part, and, the the correspondence table comprising a record including the attribute endpoints of a portion of the other end, the node ID or link node link ID or node or link Read observation data including position information and attributes from the observation data storage unit, update the feature table and the correspondence table based on the observation data, and if the observation data includes an attribute start point and an attribute end point, the correspondence If there is a plurality of records in which the attribute data generation unit that sets the attribute start point and the attribute end point in the corresponding record of the table and the attribute table having the attribute IDs contradictory to each other exist in the correspondence table, the link ID A record of a new link ID that shares the start node and end node of the link of the link table Add to, said one link ID attribute is granted to contradict each other in the correspondence table, characterized in that it comprises a geographical network change unit that updates at the new link ID added.
本発明のコンピュータプログラムは、本発明の地理ネットワークデータ管理装置としてコンピュータを機能させるためのものである。 The computer program of the present invention is for causing a computer to function as the geographic network data management apparatus of the present invention.
本発明によれば、地理ネットワークのノードやリンクに対して自動的に属性を付与できる。 According to the present invention, an attribute can be automatically assigned to a node or link of a geographic network.
以下、本発明の実施の形態について図面を参照して説明する。
図1は、本実施の形態に係る地理ネットワークデータ管理装置の構成を示す図である。
地理ネットワークデータ管理装置は、地理ネットワークのノードやリンクに対して自動的に属性を付与する装置であり、観測データ取得部1と、地理ネットワークデータ記憶部2と、観測データ記憶部3と、属性データ生成部4と、属性データ記憶部5と、地理ネットワーク構成変更部6とを備える。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing a configuration of a geographic network data management apparatus according to the present embodiment.
The geographic network data management device is a device that automatically assigns attributes to nodes and links of a geographic network, and includes an observation
図2は、地理ネットワークデータ記憶部2の構成を示す図である。
地理ネットワークデータ記憶部2は、ノードとリンクからなる地理ネットワークであり、ノードテーブル21と、リンクテーブル22とを備える。
FIG. 2 is a diagram illustrating a configuration of the geographic network data storage unit 2.
The geographic network data storage unit 2 is a geographic network composed of nodes and links, and includes a node table 21 and a link table 22.
ノードテーブル21は、例えば、対象地域に含まれる各地点(ノード)につきレコードを備える。レコードは、対象のノードを示すノードID、ノードの緯度と経度、ノードの高さ、ノードの名称を含む。なお、場合によっては、ノードの高さやノードの名称を省略してもよい。
ノードIDは、例えば、251055431のような数字列で表現される。後述のリンクID、属性IDも同様である。
For example, the node table 21 includes a record for each point (node) included in the target area. The record includes a node ID indicating the target node, the latitude and longitude of the node, the height of the node, and the name of the node. In some cases, the height of the node and the name of the node may be omitted.
The node ID is expressed by a numeric string such as 251055431, for example. The same applies to link IDs and attribute IDs described later.
例えば、緯度は35.6760470、経度は139.7457789のように表現される。例えば、北緯には正、南緯には負の符号が付く。例えば、東経には正、西経には負の符号が付く。以下、緯度と経度について同様である。 For example, latitude is expressed as 35.6760470 and longitude is expressed as 139.7457789. For example, north latitude is positive and south latitude is negative. For example, east longitude is positive and west longitude is negative. The same applies to latitude and longitude.
例えば、ノードの高さ「0」は地上階を示し、「2」は2階を示し、少数で中間階を示す。
例えば、ノードの名称は、「国会議事堂前」のように表現される。
For example, the node height “0” indicates the ground floor, “2” indicates the second floor, and a small number indicates the intermediate floor.
For example, the name of the node is expressed as “National Diet Building”.
リンクテーブル22は、例えば、ノード間を結ぶ各リンク(道路など)につきレコードを備える。レコードは、対象のリンクを示すリンクID、リンクに接続される一方のノード(リンク始点という)のノードIDである始点ID、リンクに接続される他方のノード(リンク終点という)のノードIDである終点IDを含む。
リンク始点とリンク終点は、例えば、緯度が高い方をリンク始点、低い方をリンク終点のように定義することができる。
For example, the link table 22 includes a record for each link (such as a road) that connects nodes. The record includes a link ID indicating a target link, a start point ID that is a node ID of one node connected to the link (referred to as a link start point), and a node ID of the other node connected to the link (referred to as a link end point). Contains the end point ID.
The link start point and link end point can be defined, for example, such that the higher latitude is the link start point and the lower latitude is the link end point.
図3は、属性データ記憶部5の構成を示す図である。
属性データ記憶部5は、地理ネットワークのノードやリンクに付与される属性を示すものであり、フィーチャーテーブル51と、対応テーブル52を備える。
FIG. 3 is a diagram illustrating a configuration of the attribute
The attribute
フィーチャーテーブル51は、ノード又はリンク又はリンクの一部について設定される属性ごとのレコードを備える。レコードは、対象の属性を示す属性ID、属性の種別、属性の値(属性値)を含む。以下、属性の種別と属性値の組を「属性」という。フィーチャーテーブル51は、同一の「属性」についてはレコードを1つのみ備える。 The feature table 51 includes a record for each attribute set for a node, a link, or a part of a link. The record includes an attribute ID indicating the target attribute, an attribute type, and an attribute value (attribute value). Hereinafter, a combination of an attribute type and an attribute value is referred to as an “attribute”. The feature table 51 includes only one record for the same “attribute”.
対応テーブル52は、属性が設定されたノード又はリンクごとのレコードを備える。レコードは、当該ノードのノードID又はリンクのリンクIDである対応先ID、対象の属性に対応するフィーチャーテーブル51のレコードに含まれる属性IDと同じ属性IDを含み、対象の属性がリンクの一部に設定される場合は、当該一部の一方端を示す属性始点、当該一部の他方端を示す属性終点を含む。 The correspondence table 52 includes a record for each node or link for which an attribute is set. The record includes a node ID of the node or a link destination ID that is a link ID of the link, an attribute ID that is the same as the attribute ID included in the record of the feature table 51 corresponding to the target attribute, and the target attribute is a part of the link Is set to include an attribute start point indicating one end of the part and an attribute end point indicating the other end of the part.
図4は、属性始点、属性終点の表現の一例を示す図である。
属性始点、属性終点は、例えば、リンク始点やリンク終点からの距離で表現される。
FIG. 4 is a diagram illustrating an example of the expression of the attribute start point and the attribute end point.
The attribute start point and attribute end point are expressed by, for example, the distance from the link start point or link end point.
例えば、属性始点「10」、属性終点「15」は、リンク始点からの10m地点から始まる属性が15m地点まで続くことを意味する。
例えば、属性始点「15」、属性終点「10」は、リンク始点からの15m地点から始まる属性が10m地点まで続くことを意味する。つまり、属性始点「10」、属性終点「15」の場合とは属性の方向が反対となる。
For example, the attribute start point “10” and the attribute end point “15” mean that the attribute starting from the 10 m point from the link start point continues to the 15 m point.
For example, the attribute start point “15” and the attribute end point “10” mean that the attribute starting from the 15 m point from the link start point continues to the 10 m point. That is, the direction of the attribute is opposite to that of the attribute start point “10” and the attribute end point “15”.
例えば、属性始点「0」、属性終点「10」は、リンク始点から始まる属性が10m地点まで続くことを意味する。
又は、属性始点、属性終点は、例えば、リンク始点やリンク終点からの距離をリンクの長さで割った割合で表現される。
For example, the attribute start point “0” and the attribute end point “10” mean that the attribute starting from the link start point continues to the 10 m point.
Alternatively, the attribute start point and attribute end point are expressed, for example, as a ratio obtained by dividing the distance from the link start point or link end point by the link length.
例えば、属性始点「10%」、属性終点「50%」は、リンク始点からの10%地点から始まる属性が50m地点まで続くことを意味する。
属性始点や属性終点がリンク始点である場合、属性始点や属性終点を特別に0で表現し、リンク終点である場合は特別に−1で表現してもよい。
For example, the attribute start point “10%” and the attribute end point “50%” mean that the attribute starting from the 10% point from the link start point continues to the 50m point.
If the attribute start point or attribute end point is a link start point, the attribute start point or attribute end point may be expressed specially as 0, and if it is a link end point, it may be expressed specially as -1.
例えば、属性始点「0」、属性終点「−1」は、リンク始点から始まる属性がリンク終点まで続くことを意味する。
例えば、属性始点「−1」、属性終点「0」は、リンク終点から始まる属性がリンク始点まで続くことを意味する。つまり、属性始点「0」、属性終点「−1」の場合とは属性の方向が反対となる。
For example, the attribute start point “0” and the attribute end point “−1” mean that the attribute starting from the link start point continues to the link end point.
For example, the attribute start point “−1” and the attribute end point “0” mean that an attribute starting from the link end point continues to the link start point. That is, the attribute direction is opposite to the attribute start point “0” and attribute end point “−1”.
属性始点、属性終点は、どちらがリンク始点に近くてもよい。属性の種類が(坂道の)縦断勾配である場合、標高の低い方を属性始点、高い方を属性終点のように又は逆に定義することができる。
属性始点と属性終点が一致する場合、レコードの属性始点と属性終点を同じにすればよい。同じものを2つ使用する必要はないので、属性終点は、例えばnilで表現してもよい。
例えば、属性始点「10」、属性終点「nil」は、リンク始点から10m地点の属性を意味する。
Either the attribute start point or the attribute end point may be close to the link start point. When the attribute type is a vertical slope (on a slope), the lower altitude can be defined as the attribute start point and the higher altitude as the attribute end point or vice versa.
If the attribute start point and attribute end point match, the attribute start point and attribute end point of the record may be the same. Since it is not necessary to use the same two, the attribute end point may be expressed by nil, for example.
For example, the attribute start point “10” and the attribute end point “nil” mean attributes at a point 10 m from the link start point.
図5は、観測データの形式の例を示す図である。
<観測データの形式1>
ノードに関する属性を示す観測データは、例えば、ノードID、属性の種別、属性値を含む(図5(a))。
<観測データの形式2>
ノードに関する属性を示す観測データは、例えば、ノードの緯度と経度、属性の種別、属性値を含む(図5(b))。
FIG. 5 is a diagram illustrating an example of the format of observation data.
<
The observation data indicating the attribute relating to the node includes, for example, a node ID, an attribute type, and an attribute value (FIG. 5A).
<Observation data format 2>
The observation data indicating the attribute relating to the node includes, for example, the latitude and longitude of the node, the attribute type, and the attribute value (FIG. 5B).
<観測データの形式3>
1つのリンクの全体に関する属性を示す観測データは、例えば、リンクID、属性の種別、属性値を含む(図5(c))。
<観測データの形式4>
1つのリンクの一部の属性を示す観測データは、例えば、当該リンクのリンクID、当該一部の一方端を示す属性始点、当該一部の他方端を示す属性終点、属性の種別、属性値を含む(図5(d))。
<Observation data format 3>
The observation data indicating the attribute regarding the whole of one link includes, for example, a link ID, an attribute type, and an attribute value (FIG. 5C).
<Observation data format 4>
The observation data indicating the partial attribute of one link includes, for example, the link ID of the link, the attribute start point indicating the one end of the link, the attribute end point indicating the other end of the link, the attribute type, and the attribute value. (FIG. 5D).
<観測データの形式5>
連結される2つ以上のリンクに跨るリンクの一部の属性を示す観測データは、例えば、当該一部の一方端を示す属性始点、属性始点を含むリンク(始点リンク)のリンクID、当該一部の他方端を示す属性終点、属性終点を含むリンク(終点リンク)のリンクID、属性の種別、属性値を含み、始点リンクと終点リンクの間にリンク(中間リンク)が存在する場合は、その中間リンクのリンクIDを含む(図5(e))。
<
The observation data indicating the attribute of a part of the link spanning two or more linked links includes, for example, the attribute start point indicating one end of the part, the link ID of the link including the attribute start point (start link), the one If there is a link (intermediate link) between the start point link and the end point link, including the attribute end point indicating the other end of the part, the link ID of the link including the attribute end point (end point link), the attribute type, and the attribute value, The link ID of the intermediate link is included (FIG. 5E).
<観測データの形式6>
1つのリンクの一部又は直線的に連結される2つ以上のリンクに跨るリンクの一部の属性を示す観測データは、当該一部の一方端(属性始点)の緯度と経度、当該一部の他方端(属性終点)の緯度と経度、属性の種類、属性値を含む(図5(f))。
<Observation data format 6>
The observation data indicating the attribute of a part of one link or a part of a link that spans two or more links that are connected linearly is the latitude and longitude of one end (attribute start point) of the part, the part The latitude and longitude of the other end (attribute end point), attribute type, and attribute value are included (FIG. 5F).
図6は、観測データ取得部1のフローチャートである。
観測データ取得部1は、外部から観測データを読み出し(S1)、観測データに緯度と経度が含まれるか否かを判定する(S3)。緯度と経度を含む場合は、緯度と経度の位置が、対象となる範囲(例えば、対象となる市の区域)内か否かを判定する(S5)。
FIG. 6 is a flowchart of the observation
The observation
観測データ取得部1は、緯度と経度を含まない場合、つまり、ノードIDやリンクIDを含む場合は、そのIDが地理ネットワークデータ記憶部2のノードテーブル21又はリンクテーブル22に含まれるか否かを判定する(S7)。
If the observation
観測データ取得部1は、含まれる場合(S7:YES)、又は、対象となる範囲内の場合(S5:YES)は、観測データを観測データ記憶部3に記憶させる(S11)。
観測データを観測データ記憶部3に記憶させたなら、又は、範囲外の場合、次の観測データの有無を判定し(S13)、有る場合は、ステップS1に戻り、無い場合は、処理を終了させる。
When the observation
If the observation data is stored in the observation data storage unit 3 or if it is out of range, the presence / absence of the next observation data is determined (S13). If there is, the process returns to step S1, and if not, the process ends. Let
観測データ取得部1は、観測データの矛盾を判定し、判定結果に応じた処理を行ってもよい。例えば、矛盾があると判定された一方の観測データは観測データ記憶部3に記憶させず、削除する。
観測データ取得部1は、観測データが同一のノード又はリンク上で矛盾しているか否かを判定する。なお、観測データは全て正しいものが得られていることを仮定し,観測データの信頼性は問わない。
The observation
The observation
例えば、同一のノード又はリンクに対し、属性の種別が同じなのに、異なる属性値が付与される場合は矛盾となる。また、同一のノード又はリンクに対し、矛盾する属性の種別が与えられる場合も矛盾となる。
前者の場合、属性値によって矛盾が許容される場合と許容されない場合があり、ルールによって判定可能である。
For example, if the attribute type is the same for the same node or link, but different attribute values are given, this is a contradiction. In addition, if the conflicting attribute types are given to the same node or link, it is contradictory.
In the former case, contradiction may or may not be allowed depending on the attribute value, and it can be determined by a rule.
図7は、同一の属性の種別の属性値間の矛盾判定で使用されるルールの一例を示す図である。
例えば、図7に示すようなルールを作成する。
FIG. 7 is a diagram illustrating an example of rules used in determining inconsistency between attribute values of the same attribute type.
For example, a rule as shown in FIG. 7 is created.
あるノード又はリンクに対して観測データD1が与えられており、次に、同じノード又はリンクに対して観測データD2が与えられたとする。ここでD1とD2が共に「坂道」を示す観測データであったとする。このとき、D1およびD2の縦断勾配の値が異なっており、その変化によって指定された基準値に対する上下の状態が変化しなかったとする。例えばD1の縦断勾配が3%であり、D2の縦断勾配が5%の場合、基準値の8%を超えないため、基準値に対する変化は生じない。この場合は矛盾が許容されると判定される。 Assume that observation data D1 is given to a certain node or link, and then observation data D2 is given to the same node or link. Here, it is assumed that both D1 and D2 are observation data indicating “slope”. At this time, it is assumed that the values of the vertical gradients of D1 and D2 are different, and the upper and lower states with respect to the reference value designated by the change are not changed. For example, when the longitudinal gradient of D1 is 3% and the longitudinal gradient of D2 is 5%, it does not exceed 8% of the reference value, so that no change with respect to the reference value occurs. In this case, it is determined that a contradiction is allowed.
同様に、あるノード又はリンクに対するデータD3、D4が共に「坂道」を示すデータであるが、D3とD4で上昇方向が逆になっていたとする。この場合、上昇の方向の違いは許容されない属性値であるため、相互に矛盾すると判定される。
後者の場合も矛盾が許容される場合と許容されない場合があり、ルールによって判定可能である。
Similarly, data D3 and D4 for a certain node or link are both data indicating “slope”, but it is assumed that the ascending direction is reversed between D3 and D4. In this case, since the difference in the rising direction is an unacceptable attribute value, it is determined that they are mutually contradictory.
In the latter case, there is a case where contradiction is allowed and a case where it is not allowed, and it can be determined by a rule.
図8は、異なる属性の種別の属性値間の矛盾判定で使用されるルールの一例を示す図である。
ここでは、互いに矛盾する属性の種別同士をグループ化する。つまり、異なるグループに属する属性の種別同士は矛盾しない。
FIG. 8 is a diagram illustrating an example of a rule used in inconsistency determination between attribute values of different attribute types.
Here, attribute types that contradict each other are grouped. That is, the attribute types belonging to different groups do not contradict each other.
例えば、グループG1に属する属性の種別「屋根」とグループG2に属する属性の種別「坂道」が同一のノード又はリンクに付与されても矛盾とはならないが、共にグループG2に属する属性の種別「坂道」、「階段」、「エスカレーター」のいずれか2つが同一のノード又はリンクに付与されることは矛盾と判定される。 For example, even if the attribute type “roof” belonging to the group G1 and the attribute type “slope” belonging to the group G2 are assigned to the same node or link, there is no contradiction, but both the attribute type “slope” belonging to the group G2 It is determined that there is a contradiction when any two of "", "stairs", and "escalator" are assigned to the same node or link.
図9は、属性データ生成部4のフローチャートである。
属性データ生成部4は、観測データ記憶部3から観測データを読み出し(S21)、観測データに緯度と経度が含まれるか否かを判定する(S23)。緯度と経度を含む場合は、緯度と経度と地理ネットワークデータ記憶部2を基に、該当のノード又はリンクを選択する(S25)。
FIG. 9 is a flowchart of the attribute data generation unit 4.
The attribute data generation unit 4 reads the observation data from the observation data storage unit 3 (S21), and determines whether the observation data includes latitude and longitude (S23). When the latitude and longitude are included, the corresponding node or link is selected based on the latitude and longitude and the geographic network data storage unit 2 (S25).
属性データ生成部4は、ノード又はリンクを選択した(S25)なら、又は、観測データに緯度と経度が含まれない場合(S23:NO)、観測データに基づいて、属性データ記憶部5を更新する(S27)。
続いて属性データ生成部4は、次の観測データの有無を判定し(S29)、有る場合は、ステップS21に戻り、無い場合は、処理を終了させる。
The attribute data generation unit 4 updates the attribute
Subsequently, the attribute data generation unit 4 determines whether or not there is next observation data (S29). If there is, the process returns to step S21, and if not, the process is terminated.
<S25の詳細処理>
観測データがノードIDやリンクIDを含まず、緯度と経度を含む場合、即座にノードやリンクを選択できない。ここでは、緯度と経度と地理ネットワークデータ記憶部2を基に、該当のノード又はリンクを選択する処理について説明する。
<Detailed processing of S25>
When observation data does not include a node ID or link ID but includes latitude and longitude, the node or link cannot be selected immediately. Here, a process of selecting a corresponding node or link based on the latitude and longitude and the geographic network data storage unit 2 will be described.
<ノードを選択する場合>
観測データに示された地点をm、その緯度をm0、経度をm1とする(m=(m0,m1))。
このとき、ノードテーブル21のレコードから、地点mに最も距離の近いノードのレコード(ノード)を選択する。具体的には,以下の条件を満たすノードvを選択する。
The point shown in the observation data is m, its latitude is m 0 , and its longitude is m 1 (m = (m 0 , m 1 )).
At this time, the record (node) of the node closest to the point m is selected from the records of the node table 21. Specifically, a node v that satisfies the following conditions is selected.
<リンクを選択する場合>
観測データに示された地点をm、その緯度をm0、経度をm1とする(m=(m0,m1))。
このとき、始点がv=(v0,v1)、終点がw=(w0,w1)であるリンクe=φ(v,w)について、以下の式が成立すれば、リンクeを選択する。
The point shown in the observation data is m, its latitude is m 0 , and its longitude is m 1 (m = (m 0 , m 1 )).
At this time, for the link e = φ (v, w) where the start point is v = (v 0 , v 1 ) and the end point is w = (w 0 , w 1 ), the link e select.
<属性の存在確率の考慮>
S25でリンクを選択する場合、存在確率を考慮することができる。
ある属性の種別と属性値(以下、属性bという)を示す観測データに示された地点をμ、その緯度をμ0、経度をμ1とする。
<Consideration of attribute existence probability>
When a link is selected in S25, the existence probability can be considered.
A point indicated by observation data indicating the type and attribute value of an attribute (hereinafter referred to as attribute b) is μ, its latitude is μ 0 , and its longitude is μ 1 .
μ0、μ1の分散をそれぞれρ0 2、ρ1 2とする。属性bの存在確率は、観測データに示された地点を中心とした正規分布を仮定し、緯度方向と経度方向の相関はないもの(共分散は0)とする。
すると、ある地点x=(x0,x1)における属性bの存在確率は、
Σは対角行列であるため、|Σ|=ρ0 2・ρ1 2である。
The dispersion of μ 0 and μ 1 is assumed to be ρ 0 2 and ρ 1 2 , respectively. The existence probability of the attribute b assumes a normal distribution centered on the point indicated in the observation data, and has no correlation between the latitude direction and the longitude direction (covariance is 0).
Then, the existence probability of the attribute b at a certain point x = (x 0 , x 1 ) is
Since Σ is a diagonal matrix, | Σ | = ρ 0 2 · ρ 1 2 .
また、
そのため、
for that reason,
従って、地点xにおける属性bの存在確率は以下のようになる。
緯度方向と経度方向の分散が等しい(ρ0 2=ρ1 2=ρ2)とすると、存在確率は、以下の式で表される。
<属性データ記憶部5の更新例>
ステップS27においては、観測データの形式に関わらず、属性データ生成部4は、観測データ内の属性の種別と属性値の組を含むレコードをフィーチャーテーブル51から検索する。該当レコードが無い場合は、フィーチャーテーブル51に新たな属性IDと当該属性の種別と属性値を含むレコードを追加する。
<Update example of attribute
In step S27, the attribute data generation unit 4 searches the feature table 51 for a record including a combination of the attribute type and the attribute value in the observation data regardless of the format of the observation data. If there is no corresponding record, a record including a new attribute ID, the attribute type and attribute value is added to the feature table 51.
(形式1)
この形式の観測データについては、属性データ生成部4は、さらに、対応テーブル52に、検索したレコード又は追加したレコードの属性IDと観測データ内のノードIDを含むレコードを追加する。
(形式2)
属性データ生成部4は、この観測データについては、観測データ内の緯度と経度に基づいてノードIDを特定し、以降は形式1の観測データと同様に属性データ記憶部5を更新する。
(Form 1)
For the observation data of this format, the attribute data generation unit 4 further adds a record including the attribute ID of the searched record or the added record and the node ID in the observation data to the correspondence table 52.
(Form 2)
For this observation data, the attribute data generation unit 4 specifies the node ID based on the latitude and longitude in the observation data, and thereafter updates the attribute
(形式3)
この形式の観測データについては、属性データ生成部4は、さらに、対応テーブル52に、検索したレコード又は追加したレコードの属性IDと観測データ内のリンクIDを含むレコードを追加する。
(形式4)
この形式の観測データについては、属性データ生成部4は、さらに、対応テーブル52に、検索したレコード又は追加したレコードの属性IDと観測データ内のリンクIDと属性始点と属性終点を含むレコードを追加する。
(Form 3)
For the observation data in this format, the attribute data generation unit 4 further adds a record including the attribute ID of the searched record or the added record and the link ID in the observation data to the correspondence table 52.
(Form 4)
For the observation data in this format, the attribute data generation unit 4 further adds a record including the attribute ID of the searched record or the added record, the link ID in the observation data, the attribute start point, and the attribute end point to the correspondence table 52. To do.
(形式5)
この形式の観測データについては、属性データ生成部4は、さらに、観測データ内の中間リンクの中から、始点リンクに接続されるリンクを求め、これと始点リンクの接続点となるノードの位置(これを属性終点とする)を求める。属性データ生成部4は、対応テーブル52に、検索したレコード又は追加したレコードの属性IDと観測データ内の始点リンクのリンクIDと属性始点と、求めた属性終点を含むレコードを追加する。
(Form 5)
For the observation data in this format, the attribute data generation unit 4 further obtains a link to be connected to the start point link from the intermediate links in the observation data, and the position of the node that is the connection point of the start point link ( This is the attribute end point). The attribute data generation unit 4 adds a record including the attribute ID of the searched record or the added record, the link ID of the start point link in the observation data, the attribute start point, and the obtained attribute end point to the correspondence table 52.
また、属性データ生成部4は、さらに、観測データ内の中間リンクの中から、終点リンクに接続されるリンクを求め、これと終点リンクの接続点となるノードの位置(これを属性始点とする)を求める。属性データ生成部4は、対応テーブル52に、検索したレコード又は追加したレコードの属性IDと観測データ内の始点リンクのリンクIDと属性終点と、求めた属性始点を含むレコードを追加する。 In addition, the attribute data generation unit 4 further obtains a link connected to the end point link from the intermediate links in the observation data, and the position of the node that is the connection point between this and the end point link (this is the attribute start point) ) The attribute data generation unit 4 adds a record including the attribute ID of the searched record or the added record, the link ID of the start point link in the observation data, the attribute end point, and the obtained attribute start point to the correspondence table 52.
また、属性データ生成部4は、さらに、各中間リンクにつき、リンクIDと、検索したレコード又は追加したレコードの属性IDを含むレコードを追加する。 The attribute data generation unit 4 further adds a record including the link ID and the attribute ID of the searched record or the added record for each intermediate link.
(形式6)
属性データ生成部4は、この観測データについては、属性始点と属性終点の緯度と経度に基づいて、属性始点と属性終点を結ぶ直線に少なくとも一部が位置するリンク(のリンクID)を特定する。
(Form 6)
For this observation data, the attribute data generation unit 4 specifies a link (link ID) at least partially located on a straight line connecting the attribute start point and attribute end point based on the latitude and longitude of the attribute start point and attribute end point. .
リンク(のリンクID)が1つの場合、属性データ生成部4は、形式3の観測データと同様に属性データ記憶部5を更新する。
リンク(のリンクID)が2つ以上の場合、属性データ生成部4は、形式5の観測データと同様に属性データ記憶部5を更新する。この場合、属性始点を含むリンクを始点リンク、属性終点を含むリンクを終点リンク、その他のリンクを中間リンクとして扱う。
When there is one link (link ID), the attribute data generation unit 4 updates the attribute
When there are two or more links (link IDs), the attribute data generation unit 4 updates the attribute
<地理ネットワーク構成変更部6>
図10は、地理ネットワーク構成変更部6のフローチャートである。
地理ネットワーク構成変更部6は、対応テーブル52からレコードを読み出し(S31)、レコード内の属性IDと同じ属性IDを含む、フィーチャーテーブル51のレコードを読み出す(S31)。これらレコードで特定される属性(属性始点、属性終点、属性の種別、属性値)が他の属性と矛盾するか否かを判定する(S33)。
<Geographic network configuration change unit 6>
FIG. 10 is a flowchart of the geographic network configuration changing unit 6.
The geographic network configuration changing unit 6 reads a record from the correspondence table 52 (S31), and reads a record of the feature table 51 including the same attribute ID as the attribute ID in the record (S31). It is determined whether or not the attributes (attribute start point, attribute end point, attribute type, attribute value) specified by these records are inconsistent with other attributes (S33).
矛盾すると判定したなら、地理ネットワーク構成変更部6は、矛盾を解消するように、必要に応じて、ノードテーブル21、リンクテーブル22、フィーチャーテーブル51、対応テーブル52を更新する(S35:地理ネットワークの構成変更)。
矛盾しないと判定したなら、または、更新が行われたなら、地理ネットワーク構成変更部6は、次の対応テーブル52のレコードの有無を判定し(S37)、有る場合は、ステップS31に戻り、無い場合は、処理を終了させる。
If it is determined that there is a contradiction, the geographic network configuration changing unit 6 updates the node table 21, the link table 22, the feature table 51, and the correspondence table 52 as necessary so as to resolve the contradiction (S35: Geographic network). Configuration change).
If it is determined that there is no contradiction, or if an update has been performed, the geographic network configuration change unit 6 determines whether there is a record in the next correspondence table 52 (S37), and if there is, returns to step S31 and does not exist If so, terminate the process.
また、地理ネットワーク構成変更部6は、矛盾がない場合でも、必要に応じて、ノードテーブル21、リンクテーブル22、フィーチャーテーブル51、対応テーブル52を更新する。 Further, the geographic network configuration changing unit 6 updates the node table 21, the link table 22, the feature table 51, and the correspondence table 52 as necessary even when there is no contradiction.
図11は、地理ネットワークの構成変更の例を示す図である。
(ノード変更形式1)
地理ネットワーク構成変更部6は、例えば、リンク上へのノードの追加を行う(図11(a))。
(ノード変更形式2)
地理ネットワーク構成変更部6は、例えば、孤立するノードの追加を行う(図11(b))。
FIG. 11 is a diagram illustrating an example of a configuration change of a geographic network.
(Node change format 1)
For example, the geographic network configuration changing unit 6 adds a node on the link (FIG. 11A).
(Node change format 2)
For example, the geographic network configuration changing unit 6 adds an isolated node (FIG. 11B).
(ノード変更形式3)
地理ネットワーク構成変更部6は、例えば、リンク上のノードの削除を行う(図11(c))。
(ノード変更形式4)
地理ネットワーク構成変更部6は、例えば、孤立するノードの削除を行う(図11(d))。
(Node change format 3)
For example, the geographic network configuration changing unit 6 deletes the node on the link (FIG. 11C).
(Node change format 4)
The geographic network configuration changing unit 6 deletes, for example, an isolated node (FIG. 11D).
(リンク変更形式1)
地理ネットワーク構成変更部6は、例えば、リンクが存在しないノード間へのリンクの追加を行う(図11(e))。
(リンク変更形式2)
地理ネットワーク構成変更部6は、例えば、リンクが存在するノード間へのリンクの追加を行う(図11(f))。
(Link change format 1)
For example, the geographic network configuration changing unit 6 adds a link between nodes where no link exists (FIG. 11E).
(Link change format 2)
For example, the geographic network configuration changing unit 6 adds a link between nodes where the link exists (FIG. 11 (f)).
(リンク変更形式3)
地理ネットワーク構成変更部6は、例えば、ノード間の唯一のリンクの削除を行う(図11(g))。
(リンク変更形式4)
地理ネットワーク構成変更部6は、例えば、複数のリンクが存在するノード間の1つのリンクを削除する(図11(h))。
(Link change format 3)
The geographic network configuration changing unit 6 deletes, for example, a unique link between nodes (FIG. 11 (g)).
(Link change format 4)
For example, the geographic network configuration changing unit 6 deletes one link between nodes having a plurality of links (FIG. 11 (h)).
(ノード変更形式1(リンク上へのノード追加)の詳細処理)
ノードv1のレコードとノードv2のレコードと、ノードv1をリンク始点、ノードv2をリンク終点とするリンクe1のレコードが存在し、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52のレコードに、フィーチャーテーブル51の属性(属性の種別と属性値の組)f1を含むレコードの属性IDが設定されている場合を考える。また、属性始点と属性終点が、リンク始点からの距離をリンクの長さで割った割合で表現されていることとする。
(Detailed processing of node change format 1 (add node on link))
There is a record of the node v1, a record of the node v2, and a record of the link e1 having the node v1 as the link start point and the node v2 as the link end point. The correspondence table 52 is set with the link ID of the link e1 as the correspondence destination ID. Consider a case where an attribute ID of a record including the attribute (a combination of attribute type and attribute value) f1 of the feature table 51 is set in the record. In addition, it is assumed that the attribute start point and the attribute end point are expressed as a ratio obtained by dividing the distance from the link start point by the link length.
新たなノードv3のレコードを追加する場合の処理を以下に示す。
(1) ノードテーブル21にノードv3のレコードを新たに作成し、このレコードに新たなノードIDを設定し、リンクe1のいずれかの位置を示す点の緯度と経度を設定する。
(2) リンクテーブル22におけるリンクe1のレコードの終点IDとして、ノードv3のレコードのノードIDを設定する。
(3) リンクテーブル22において新たなリンクe2のレコードを作成し、このレコードに新たなリンクIDを設定し、始点IDとして、ノードv3のレコードのノードIDを設定し、終点IDとして、第2のノードv2のレコードのノードIDを設定する。
The processing for adding a new node v3 record is shown below.
(1) A new record of the node v3 is created in the node table 21, a new node ID is set in this record, and the latitude and longitude of a point indicating any position of the link e1 are set.
(2) The node ID of the record of the node v3 is set as the end point ID of the record of the link e1 in the link table 22.
(3) Create a new link e2 record in the link table 22, set a new link ID in this record, set the node ID of the record of node v3 as the start point ID, and set the second ID as the end point ID. The node ID of the record of node v2 is set.
(4) 属性f1に対する属性データ記憶部5のレコードを更新する。
(4a)属性f1をリンクe1とリンクe2の両方に付与すべき場合
新たに対応テーブル52にレコードを作成し、対応先IDとして、リンクe2のリンクIDを設定し、属性IDとして、属性f1を含むフィーチャーテーブル51のレコードの属性IDを設定する。
(4) Update the record in the attribute
(4a) When attribute f1 should be given to both link e1 and link e2 A record is newly created in correspondence table 52, the link ID of link e2 is set as the correspondence destination ID, and attribute f1 is assigned as the attribute ID. The attribute ID of the record of the included feature table 51 is set.
なお、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52のレコードには、属性IDとして、属性f1を含むフィーチャーテーブル51のレコードの属性IDが既に設定されている。
また、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52のレコードの属性始点を、短くなったリンクe1の長さに応じて変更する。
また、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52のレコードの属性終点をノードv3を示すように更新する。
また、対応先IDとして、リンクe2のリンクIDを設定された対応テーブル52のレコードの属性始点をノードv3を示すように更新する。
また、対応先IDとして、リンクe2のリンクIDを設定された対応テーブル52のレコードの属性終点を、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52のレコードの更新前の属性終点を示すように更新する。
Note that the attribute ID of the record of the feature table 51 including the attribute f1 is already set as the attribute ID in the record of the correspondence table 52 in which the link ID of the link e1 is set as the correspondence destination ID.
Further, the attribute start point of the record of the correspondence table 52 in which the link ID of the link e1 is set as the correspondence destination ID is changed according to the length of the shortened link e1.
Further, the attribute end point of the record in the correspondence table 52 in which the link ID of the link e1 is set as the correspondence destination ID is updated so as to indicate the node v3.
Further, the attribute start point of the record in the correspondence table 52 in which the link ID of the link e2 is set as the correspondence destination ID is updated so as to indicate the node v3.
Further, the attribute end point of the record of the correspondence table 52 in which the link ID of the link e2 is set as the correspondence destination ID, and the attribute before the update of the record in the correspondence table 52 in which the link ID of the link e1 is set as the correspondence destination ID. Update to indicate end point.
(4b)属性f1をリンクe1だけに付与すべき場合
新たに対応テーブル52にレコードを作成し、対応先IDとして、リンクe2のリンクIDを設定し、属性IDとして、属性f1を含むフィーチャーテーブル51のレコードの属性IDを設定する。なお、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52のレコードには、属性IDとして、属性f1を含むフィーチャーテーブル51のレコードの属性IDが既に設定されている。
また、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52のレコードの属性始点と属性終点を、短くなったリンクe1の長さに応じて変更する。
(4b) When the attribute f1 should be given only to the link e1 A record is newly created in the correspondence table 52, the link ID of the link e2 is set as the correspondence destination ID, and the feature table 51 includes the attribute f1 as the attribute ID. Set the attribute ID of the record. Note that the attribute ID of the record of the feature table 51 including the attribute f1 is already set as the attribute ID in the record of the correspondence table 52 in which the link ID of the link e1 is set as the correspondence destination ID.
Further, the attribute start point and attribute end point of the record in the correspondence table 52 in which the link ID of the link e1 is set as the correspondence destination ID are changed according to the length of the shortened link e1.
(4c)属性f1をリンクe2だけに付与すべき場合
新たに対応テーブル52にレコードを作成し、対応先IDとして、リンクe2のリンクIDを設定し、属性IDとして、属性f1を含むフィーチャーテーブル51のレコードの属性IDを設定する。なお、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52のレコードには、属性IDとして、属性f1を含むフィーチャーテーブル51のレコードの属性IDが既に設定されている。
(4c) When the attribute f1 should be given only to the link e2 A record is newly created in the correspondence table 52, the link ID of the link e2 is set as the correspondence destination ID, and the feature table 51 includes the attribute f1 as the attribute ID. Set the attribute ID of the record. Note that the attribute ID of the record of the feature table 51 including the attribute f1 is already set as the attribute ID in the record of the correspondence table 52 in which the link ID of the link e1 is set as the correspondence destination ID.
この、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52のレコード(属性IDとして、属性f1を含むフィーチャーテーブル51のレコードの属性IDが既に設定されている)を消去する。
また、対応先IDとして、リンクe2のリンクIDを設定された対応テーブル52のレコードの属性始点と属性終点を、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52のレコードの更新前の属性始点と属性終点をそれぞれ示すように更新する。
The record of the correspondence table 52 in which the link ID of the link e1 is set as the correspondence destination ID (the attribute ID of the record of the feature table 51 including the attribute f1 is already set as the attribute ID) is deleted.
In addition, the attribute start point and attribute end point of the record in the correspondence table 52 in which the link ID of the link e2 is set as the correspondence destination ID, and the record in the correspondence table 52 in which the link ID of the link e1 is set as the correspondence destination ID. Update to show previous attribute start point and attribute end point respectively.
図12は、ノード変更形式1の一例を示す図である。
図のように、リンク上へ2つのノードを追加する場合は、上記ノード変更形式1の方法でリンク上へノードを追加し、元のリンク又は追加されたリンク上へ上記ノード変更形式1の方法でノードを追加すればよい。例えば、リンクのある部分に属性がある場合、その属性始点を、追加する一方のノードとし、属性終点を、追加する他方のノードとすることができる。この場合、追加された2つのノード間のリンク全体に属性が設定されることとなる。
(ノード変更形式2(孤立するノードの追加および削除)の詳細処理)
FIG. 12 is a diagram illustrating an example of the
As shown in the figure, when two nodes are added on the link, the node is added on the link by the method of the
(Detailed processing of node change format 2 (addition and deletion of isolated nodes))
孤立しているノードの追加に当たってノードテーブル21、フィーチャーテーブル51、対応テーブル52をどのように更新するかは自明であるため、説明を省略する。 Since it is obvious how to update the node table 21, the feature table 51, and the correspondence table 52 when adding an isolated node, a description thereof will be omitted.
(ノード変更形式3(リンク上のノードの削除)の詳細処理)
ノードv1のレコードとノードv2のレコードと、ノードv1をリンク始点、ノードv2をリンク終点とするリンクe1のレコードが存在し、ノードv2のレコードとノードv3のレコードと、ノードv2をリンク始点、ノードv3をリンク終点とするリンクe1のレコードが存在し、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52のレコードに、フィーチャーテーブル51の属性f1を含むレコードの属性IDが設定され、対応先IDとして、リンクe2のリンクIDを設定された対応テーブル52のレコードに、フィーチャーテーブル51の属性f2を含むレコードの属性IDが設定されている場合を考える。また、属性始点と属性終点が、リンク始点からの距離をリンクの長さで割った割合で表現されていることとする。
(Detailed processing of node change format 3 (deletion of node on link))
There is a record for node v1, a record for node v2, a record for link e1 with node v1 as the link start point, and a node v2 as the link end point, a record with node v2, a record with node v3, and a node v2 with the link start point. There is a record of link e1 with v3 as the link end point, and the attribute ID of the record including the attribute f1 of the feature table 51 is set to the record of the correspondence table 52 in which the link ID of the link e1 is set as the correspondence destination ID. Consider a case where the attribute ID of a record including the attribute f2 of the feature table 51 is set in the record of the correspondence table 52 in which the link ID of the link e2 is set as the correspondence destination ID. In addition, it is assumed that the attribute start point and the attribute end point are expressed as a ratio obtained by dividing the distance from the link start point by the link length.
ノードv2を削除する場合の処理を以下に示す。
(1) リンクe1とリンクe2から、残す一方のリンクを任意に選択する。ここでは、リンクe1を選択したこととする。
(2) リンクテーブル22において、リンクe1のレコードの終点IDを、ノードv2のノードIDからノードv3のノードIDに変更する。
(3) また、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52のレコードの属性始点と属性終点を、長くなったリンクe1の長さに応じて変更する。
(4) また、新たに対応テーブル52にレコードを作成し、対応先IDとして、リンクe1のリンクIDを設定し、属性IDとして、属性f2を含むフィーチャーテーブル51のレコードの属性IDを設定する。そして、対応先IDとして、リンクe2のリンクIDを設定された対応テーブル52のレコードの属性始点と属性終点を、ノードv1(リンク始点)からの距離を長くなったリンクe1の長さで割った割合で表現し、これらを新たに作成したレコードに設定する。
(5) ノードテーブル21からノードv2のレコードを削除し、リンクテーブル22からリンクe2のレコードを削除する。
The processing for deleting the node v2 is shown below.
(1) One of the links to be left is arbitrarily selected from the links e1 and e2. Here, it is assumed that the link e1 is selected.
(2) In the link table 22, the end point ID of the record of the link e1 is changed from the node ID of the node v2 to the node ID of the node v3.
(3) Also, the attribute start point and attribute end point of the record of the correspondence table 52 in which the link ID of the link e1 is set as the correspondence destination ID are changed according to the length of the link e1 that has become longer.
(4) Also, a new record is created in the correspondence table 52, the link ID of the link e1 is set as the correspondence destination ID, and the attribute ID of the record of the feature table 51 including the attribute f2 is set as the attribute ID. Then, the attribute start point and attribute end point of the record of the correspondence table 52 in which the link ID of the link e2 is set as the correspondence destination ID is divided by the length of the link e1 that is a longer distance from the node v1 (link start point). Express as a percentage and set these to the newly created record.
(5) The node v2 record is deleted from the node table 21, and the link e2 record is deleted from the link table 22.
(ノード変更形式4(孤立しているノードの削除)の詳細処理)
孤立しているノードの削除に当たってノードテーブル21、フィーチャーテーブル51、対応テーブル52をどのように更新するかは自明であるため、説明を省略する。
(Detailed processing of node change format 4 (delete isolated node))
Since it is obvious how to update the node table 21, the feature table 51, and the correspondence table 52 when deleting an isolated node, a description thereof will be omitted.
(リンク変更形式1(リンクが存在しないノード間へのリンクの追加)の詳細処理)
リンクが存在しないノード間へのリンクの追加に当たってリンクテーブル22、フィーチャーテーブル51、対応テーブル52をどのように更新するかは自明であるため、説明を省略する。
(リンク変更形式2(リンクが存在するノード間へのリンクの追加)の詳細処理)
ノードv1のレコードとノードv2のレコードと、ノードv1をリンク始点、ノードv2をリンク終点とするリンクe1のレコードが存在し、対応先IDとして、リンクe1のリンクIDを設定された対応テーブル52の3レコードの内の第1のレコードに、フィーチャーテーブル51の属性f1を含むレコードの属性IDが設定され、第2のレコードに、フィーチャーテーブル51の属性f2を含むレコードの属性IDが設定され、第3のレコードに、フィーチャーテーブル51の属性f3を含むレコードの属性IDが設定されている場合を考える。また、属性f3が属性f1とは矛盾せず、属性f2とは矛盾することとする。
(Detailed processing of link change format 1 (adding links between nodes that do not have links))
Since it is obvious how to update the link table 22, the feature table 51, and the correspondence table 52 when adding a link between nodes where no link exists, the description is omitted.
(Detailed processing of link change format 2 (adding links between nodes with links))
There is a record of the node v1, a record of the node v2, and a record of the link e1 having the node v1 as the link start point and the node v2 as the link end point. The correspondence table 52 is set with the link ID of the link e1 as the correspondence destination ID. The attribute ID of the record including the attribute f1 of the feature table 51 is set in the first record among the three records, and the attribute ID of the record including the attribute f2 of the feature table 51 is set in the second record. Consider the case where the attribute ID of the record including the attribute f3 of the feature table 51 is set in the record 3. Also, attribute f3 is not inconsistent with attribute f1, and is inconsistent with attribute f2.
この場合における新たなリンクの追加処理を以下に示す。
(1)リンクテーブル22において、ノードv1(リンク始点)を示す始点ID、ノードv2(リンク終点)を示す終点ID、新たなリンクe2のリンクIDを含むレコードを作成する。
(2)フィーチャーテーブル51から属性f3の属性IDを検索し、フィーチャーテーブル51から、この属性IDが設定されたレコードを検索する。
(3)検索したレコードの対応先IDはリンクe1のリンクIDなので、これをリンクe2のリンクIDに変更する。
The process for adding a new link in this case is shown below.
(1) In the link table 22, a record including a start point ID indicating the node v1 (link start point), an end point ID indicating the node v2 (link end point), and a link ID of the new link e2 is created.
(2) The attribute ID of the attribute f3 is searched from the feature table 51, and a record in which this attribute ID is set is searched from the feature table 51.
(3) Since the correspondence ID of the retrieved record is the link ID of the link e1, this is changed to the link ID of the link e2.
図13は、リンク変更形式2の一例を示す図である。
例えば、リンクe1に対して、属性f4(属性の種別「移動方法」と属性値「階段」の組)と、属性f5(属性の種類「移動方法」と属性値「スロープ」の組)が設定されている場合、リンクe1は、実際には、階段とスロープに分かれると判断できるので、新たにリンクe2が追加され、属性f5が設定される。
このように、本実施の形態では、矛盾のある属性については、その属性をもつリンクを追加することにより、矛盾を解消できる。
FIG. 13 is a diagram illustrating an example of the link change format 2.
For example, attribute f4 (a set of attribute type “movement method” and attribute value “stairs”) and attribute f5 (a set of attribute type “movement method” and attribute value “slope”) are set for link e1. If it is determined that the link e1 is actually divided into a staircase and a slope, the link e2 is newly added and the attribute f5 is set.
As described above, in the present embodiment, for a conflicting attribute, the conflict can be resolved by adding a link having the attribute.
(リンク変更形式3(ノード間の唯一のリンクの削除)の詳細処理)
ノード間の唯一のリンクの削除に当たってリンクテーブル22、フィーチャーテーブル51、対応テーブル52をどのように更新するかは自明であるため、説明を省略する。
(リンク変更形式4(複数のリンクが存在するノード間から1つのリンクを削除)の詳細処理)
ノードv1のレコードとノードv2のレコードと、ノードv1をリンク始点、ノードv2をリンク終点とするリンクe1のレコードと、ノードv1をリンク始点、ノードv2をリンク終点とするリンクe2のレコードが存在することとする。
(Detailed processing of link change format 3 (deleting the only link between nodes))
Since it is obvious how to update the link table 22, the feature table 51, and the correspondence table 52 when deleting the only link between nodes, the description is omitted.
(Detailed processing of link change format 4 (one link is deleted from between nodes having multiple links))
There are a record for node v1, a record for node v2, a record for link e1 with node v1 as the link start point, a link end point with node v2, and a record with link e2 with node v1 as the link start point and node v2 as the link end point. I will do it.
ここで、対応先IDとして、リンクe1のリンクIDが設定された対応テーブル52の2レコードの一方に、属性IDとして、属性f1を含むフィーチャーテーブル51のレコードの属性IDが設定され、他方に属性IDとして、属性f2を含むフィーチャーテーブル51のレコードの属性IDが設定されていることとする。
また、対応先IDとして、リンクe2のリンクIDが設定された対応テーブル52のレコードに、属性IDとして、属性f1とは矛盾しないが属性f2とは矛盾する属性f3を含むフィーチャーテーブル51のレコードの属性IDが設定されていることとする。
Here, the attribute ID of the record of the feature table 51 including the attribute f1 is set as the attribute ID in one of the two records of the correspondence table 52 in which the link ID of the link e1 is set as the corresponding ID, and the attribute is set in the other It is assumed that the attribute ID of the record of the feature table 51 including the attribute f2 is set as the ID.
In addition, the record of the feature table 51 including the attribute f3 that does not contradict the attribute f1 but contradicts the attribute f2 as the attribute ID in the record of the correspondence table 52 in which the link ID of the link e2 is set as the correspondence destination ID. It is assumed that an attribute ID is set.
例えば、リンクe1に属性f2を付与する必要がなくなった場合、リンクe2を削除する。
(1) 対応先IDとして、リンクe2のリンクIDが設定された対応テーブル52から、属性IDとして、属性f2を含むフィーチャーテーブル51のレコードの属性IDが設定されていないレコードを検索し、属性IDを読み出す。ここで、属性f3を含むフィーチャーテーブル51のレコードの属性IDと同じものが読み出される。
(2) リンクテーブル22から、リンクe2のレコードを削除する。
(3) 対応テーブル52から、対応先IDとして、リンクe2のリンクIDが設定された対応テーブル52のレコードを削除する。
(4) 対応テーブル52に新たなレコードを作成し、対応先IDとして、リンクe1のリンクIDを設定し、属性IDとして、(1)で読み出した属性ID(属性f3の属性ID)を設定する。
なお、(1)で複数の属性IDを読み出した場合は、それぞれについて(4)を行う。
For example, when it is no longer necessary to assign the attribute f2 to the link e1, the link e2 is deleted.
(1) A record in which the attribute ID of the record of the feature table 51 including the attribute f2 is not set as the attribute ID is searched from the correspondence table 52 in which the link ID of the link e2 is set as the corresponding destination ID. Is read. Here, the same attribute ID as the record of the feature table 51 including the attribute f3 is read.
(2) Delete the record of link e2 from the link table 22.
(3) Delete the record of the correspondence table 52 in which the link ID of the link e2 is set as the correspondence destination ID from the correspondence table 52.
(4) A new record is created in the correspondence table 52, the link ID of the link e1 is set as the correspondence destination ID, and the attribute ID (attribute ID of the attribute f3) read in (1) is set as the attribute ID. .
When a plurality of attribute IDs are read in (1), (4) is performed for each.
以上のように、本実施の形態によれば、地理ネットワークのノードやリンクに対して自動的に属性を付与でき、属性などに応じて、地理ネットワークの構成を変更でき、また、属性の矛盾を解消できる。 As described above, according to the present embodiment, an attribute can be automatically assigned to a node or link of a geographic network, the configuration of the geographic network can be changed according to the attribute, etc. Can be resolved.
なお、本実施の形態では、地理ネットワーク構成変更部6は、必要に応じて、ノードテーブル21、リンクテーブル22、フィーチャーテーブル51、対応テーブル52を更新したが以下のようにしてもよい。すなわち、フィーチャーテーブル51、対応テーブル52に設定された属性をノードテーブル21、リンクテーブル22に設定し、つまり、属性付きのノードテーブル21、属性付きのリンクテーブル22を、元のノードテーブル21、元のリンクテーブル22とは別に作成し、元のノードテーブル21、元のリンクテーブル22、フィーチャーテーブル51、対応テーブル52は更新せず、属性付きのノードテーブル21、属性付きのリンクテーブル22を更新してもよい。 In the present embodiment, the geographic network configuration changing unit 6 updates the node table 21, the link table 22, the feature table 51, and the correspondence table 52 as necessary, but may be as follows. That is, the attributes set in the feature table 51 and the correspondence table 52 are set in the node table 21 and the link table 22, that is, the node table 21 with the attribute and the link table 22 with the attribute are converted into the original node table 21 and the original table. The original node table 21, the original link table 22, the feature table 51, and the correspondence table 52 are not updated, and the node table 21 with attributes and the link table 22 with attributes are updated. May be.
また、本実施の形態の地理ネットワークデータ管理装置としてコンピュータを機能させるためのコンピュータプログラムは、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスク、磁気テープなどのコンピュータ読み取り可能な記録媒体に記録でき、また、インターネットなどの通信網を介して伝送させて、広く流通させることができる。 A computer program for causing a computer to function as the geographic network data management apparatus of this embodiment can be recorded on a computer-readable recording medium such as a semiconductor memory, a magnetic disk, an optical disk, a magneto-optical disk, or a magnetic tape. It can be widely distributed by being transmitted through a communication network such as the Internet.
1 観測データ取得部
2 地理ネットワークデータ記憶部
3 観測データ記憶部
4 属性データ生成部
5 属性データ記憶部
6 地理ネットワーク構成変更部
DESCRIPTION OF
Claims (5)
ノード間を結ぶ各リンクにつき、対象のリンクを示すリンクID、当該各ノードのノードIDを含むレコードを備えるリンクテーブルと、
ノード又はリンク又はリンクの一部について設定される属性ごとに、対象の属性を示す属性ID、当該属性を含むレコードを備えるフィーチャーテーブルと、
属性が設定されたノード又はリンクごとに、当該ノードのノードID又はリンクのリンクIDである対応先ID、対象の属性に対応する前記フィーチャーテーブルのレコードに含まれる属性IDと同じ属性IDを含み、当該属性がリンクの一部に設定される場合は、当該一部の一方端を示す属性始点、および、当該一部の他方端を示す属性終点を含むレコードを備える対応テーブルと、
ノードのノードID又はリンクのリンクIDもしくはノード又はリンクの位置情報、属性を含む観測データを観測データ記憶部から読み出し、当該観測データに基づいて、前記フィーチャーテーブルと前記対応テーブルを更新し、当該観測データが属性始点と属性終点を含む場合は、前記対応テーブルの該当レコードに当該属性始点と属性終点を設定する属性データ生成部と、
前記対応テーブルに、同じリンクIDで互いに矛盾する属性IDが付与されている複数のレコードが存在する場合、前記リンクIDのリンクの始点ノードおよび終点ノードを共有する新たなリンクIDのレコードを前記リンクテーブルに追加し、前記対応テーブルの前記互いに矛盾する属性が付与された一方のリンクIDを、追加した前記新たなリンクIDで更新する地理ネットワーク変更部と
を備えることを特徴とする地理ネットワークデータ管理装置。 For a node that is each point included in the target area, a node table including a node ID indicating the target node, a record including the latitude and longitude of the node,
For each link connecting the nodes, a link table including a link ID indicating the target link, a record including the node ID of each node, and
For each attribute set for a node or a link or a part of a link, an attribute ID indicating a target attribute, a feature table including a record including the attribute,
For each node or link for which the attribute is set, the node ID of the node or the link destination ID of the link, the attribute ID that is the same as the attribute ID included in the record of the feature table corresponding to the target attribute, If the attribute is set to a part of the link, a correspondence table comprising attribute start showing one end of the part, and, the record including the attribute endpoint indicating the other end of the part,
The observation data including the node ID of the node or the link ID of the link or the position information of the node or the link and the attribute is read from the observation data storage unit, and the feature table and the correspondence table are updated based on the observation data, and the observation is performed. When the data includes an attribute start point and an attribute end point, an attribute data generation unit that sets the attribute start point and the attribute end point in the corresponding record of the correspondence table ;
When there are a plurality of records having the same link ID and mutually conflicting attribute IDs in the correspondence table, a record of a new link ID that shares the link start point node and end point node of the link ID A geographic network data management comprising: a geographic network changing unit that adds one link ID to which the mutually contradictory attributes of the correspondence table are added to the table, and updates the new link ID with the added link ID apparatus.
観測データに含まれる位置情報に基づいてノード又はリンクを選択し、当該ノード又はリンクに関係する前記フィーチャーテーブルと前記対応テーブルのレコードを更新する
ことを特徴とする請求項1記載の地理ネットワークデータ管理装置。 The attribute data generation unit
The geographic network data management according to claim 1, wherein a node or a link is selected based on position information included in observation data, and a record of the feature table and the correspondence table related to the node or link is updated. apparatus.
観測データに含まれる位置情報、属性に基づいて、任意の地点における当該属性の存在確率を求め、当該存在確率が所定の閾値以上の地点にあるリンクを選択する
ことを特徴とする請求項2記載の地理ネットワークデータ管理装置。 The attribute data generation unit
3. The existence probability of the attribute at an arbitrary point is obtained based on position information and attributes included in the observation data, and a link at a point where the existence probability is equal to or higher than a predetermined threshold is selected. Geographic network data management device.
を備えることを特徴とする請求項1ないし3のいずれかに記載の地理ネットワークデータ管理装置。 The geographic network data management device according to claim 1, further comprising: an observation data acquisition unit that determines whether or not there is a contradiction between a plurality of observation data based on a preset rule.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015235463A JP6420749B2 (en) | 2015-12-02 | 2015-12-02 | Geographic network data management apparatus and computer program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015235463A JP6420749B2 (en) | 2015-12-02 | 2015-12-02 | Geographic network data management apparatus and computer program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017102279A JP2017102279A (en) | 2017-06-08 |
| JP6420749B2 true JP6420749B2 (en) | 2018-11-07 |
Family
ID=59017191
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015235463A Active JP6420749B2 (en) | 2015-12-02 | 2015-12-02 | Geographic network data management apparatus and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6420749B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2020079734A (en) | 2018-11-12 | 2020-05-28 | 日本電信電話株式会社 | Path search device, path search method and program |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5139642B2 (en) * | 2006-04-24 | 2013-02-06 | パイオニア株式会社 | Information generation apparatus, information generation processing program, and information generation method |
| JP2007333998A (en) * | 2006-06-15 | 2007-12-27 | Hitachi Ltd | Automatic map generator |
| JP5194828B2 (en) * | 2008-01-22 | 2013-05-08 | 富士通株式会社 | Road network matching program, method and system |
| JP5353926B2 (en) * | 2011-03-09 | 2013-11-27 | 株式会社デンソー | Navigation device |
-
2015
- 2015-12-02 JP JP2015235463A patent/JP6420749B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017102279A (en) | 2017-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7974959B2 (en) | Map update data supplying apparatus, version table, map data updating system, and map update data supplying method | |
| US7949467B2 (en) | Road map data structure, road map data structure creating method, road map data storage medium, and navigation device | |
| JP4531582B2 (en) | Map update processing data creation method, map update method and apparatus | |
| JP4822062B2 (en) | DATA UPDATE SYSTEM, NAVIGATION DEVICE, AND DATA UPDATE METHOD | |
| CN102889891B (en) | Map datum Distributor, map datum dissemination system and map datum distribution method | |
| CN112444254B (en) | Method, apparatus and computer program product for generating correspondence between map versions | |
| CN113272798B (en) | Map acquisition method, device, computer equipment and storage medium | |
| US20070156759A1 (en) | Map data update method and navigation apparatus | |
| CN103090876A (en) | Technique for structuring navigation data | |
| JP2008090195A (en) | Map data distribution system | |
| JP2008249798A (en) | Map update data supply device, map data update system, and map update data supply method | |
| JP2002157253A (en) | Information providing server, client and recording medium recording information provision retrieval execution program | |
| AU2016201843B2 (en) | Method for representing linear features in a location content management system | |
| CN105026892B (en) | Method and apparatus for use in navigation applications | |
| JPWO2006059629A1 (en) | Area information management device/method/program | |
| CN112883141B (en) | Data processing method, device and equipment of electronic map and computer storage medium | |
| Birsak et al. | Automatic generation of tourist brochures | |
| CN113159356A (en) | Route planning method, device, terminal equipment and storage medium | |
| JP6420749B2 (en) | Geographic network data management apparatus and computer program | |
| KR101752598B1 (en) | Geocoding and mapping system and method using address and map data | |
| JP2017125869A (en) | Map updating apparatus, map updating method, computer program, and recording medium with computer program recorded thereon | |
| JP5005961B2 (en) | DATA UPDATE SYSTEM, NAVIGATION DEVICE, AND DATA UPDATE METHOD | |
| JP2017223797A (en) | Map update data management device, map data update system, and map update data structure | |
| JP4897422B2 (en) | DATA UPDATE SYSTEM, TERMINAL DEVICE, NAVIGATION DEVICE, AND DATA UPDATE METHOD | |
| JP2014106971A (en) | Indoor map storage server for storing indoor map |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170725 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180627 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180710 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180823 |
|
| 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: 20181009 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20181012 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6420749 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| 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 |