重要
翻訳は あなたが参加できる コミュニティの取り組みです。このページは現在 87.03% 翻訳されています。
24.1.10. ネットワーク解析
24.1.10.1. サービスエリア(始点レイヤ)
Returns all the edges or parts of edges of a network that can be reached within a distance or a time, starting from a point layer. This allows evaluation of accessibility within a network, e.g., what are the places I can navigate to on a road network without spending cost greater than a given value (the cost can be distance or time).
パラメータ
基本パラメータ
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
ネットワークを表すベクタレイヤ |
|
[ベクタ:ライン] |
対象となるネットワークを表すラインベクタレイヤ |
始点のベクタレイヤ |
|
[ベクタ:ポイント] |
サービスエリア生成のための始点となる地物のポイントベクタレイヤ |
計算するパスの種類 |
|
[列挙型] デフォルト: 0 |
計算するパスの種類。次のいずれかです:
|
求めたい旅行コスト(最短なら単位は距離、最速なら単位は時間) |
|
[numeric: double] デフォルト: 0.0 |
この値は、 最短 パスを求めたい場合には(ネットワークレイヤの単位での)距離として評価され、 最速 パスを求めたい場合には時間(単位は時間)として評価されます。 |
サービスエリア(線) |
|
[ベクタ:ライン] デフォルト: |
サービスエリアの出力ラインレイヤを指定します。次のいずれかです:
ここでファイルの文字コードを変更することもできます。 |
サービスエリア(境界点) |
|
[ベクタ:ポイント] デフォルト: |
サービスエリアの境界ノードの出力ポイントレイヤを指定します。次のいずれかです:
ここでファイルの文字コードを変更することもできます。 |
Non-routable features |
|
[ベクタ:ポイント] デフォルト: |
Specify the output which will be used to store any input features which could not be routed (e.g., those which are too far from the network layer). One of:
ここでファイルの文字コードを変更することもできます。 |
詳細パラメータ
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
向きを示す属性(フィールド) オプション |
|
[tablefield: any] |
ネットワークの辺の方向を指定するためのフィールド。 The values used in this field are specified with the three parameters
|
順方向を示す値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
順方向の辺を識別するために方向フィールドに設定される値 |
逆方向を示す値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
逆方向の辺を識別するために方向フィールドに設定される値 |
双方向の値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
双方向の辺を識別するために方向フィールドに設定される値 |
デフォルトの方向 |
|
[列挙型] デフォルト: 2 |
地物の方向フィールドに値が設定されていないか、方向フィールドが設定されていない場合には、この方向値が使用されます。次のいずれかです:
|
速度を示す属性(フィールド) オプション |
|
[tablefield: numeric] |
最速パスを求める場合に、ネットワークの辺の速度( 地物が速度フィールドの値を持たないか、速度フィールドが設定されていない場合には、デフォルトの速度値( |
デフォルトの速度(km/h) |
|
[numeric: double] デフォルト: 50.0 |
Value to use to calculate the travel time if no speed value is provided for an edge in the specified field |
トポロジ許容値(接続しているとみなす点間距離) |
|
[numeric: double] デフォルト: 0.0 |
指定された許容値よりも端点が接近している場合には、2つのラインは接続しているとみなします |
上限下限の点を含む |
|
[ブール値] デフォルト: False |
サービスエリア境界において、各辺について2点ずつのポイントレイヤ出力を作成します。点の1つは辺の始点で、2つ目は終点です。 |
Maximum point distance from network オプション |
|
[numeric: double] デフォルト:未設定 |
Specifies an optional limit on the distance from the points to the network layer. If a point is further from the network than this distance it will be treated as non-routable. If not set, endpoints will be snapped to the nearest point on the network layer, regardless of how far away from the network they actually are. |
出力
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
サービスエリア(境界点) |
|
[ベクタ:ポイント] |
サービスエリアの境界ノードの出力ポイントレイヤ |
サービスエリア(線) |
|
[ベクタ:ライン] |
開始点から指定されたコストで到達可能なネットワークの部分を表すラインレイヤ |
Non routable features |
|
[ベクタ:ポイント] |
An optional output which will be used to store any input features which could not be routed (e.g., those which are too far from the network layer). |
Python コード
Algorithm ID: qgis:serviceareafromlayer
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。
24.1.10.2. サービスエリア(始点を指定)
Returns all the edges or parts of edges of a network that can be reached within a given distance or time, starting from a point feature. This allows the evaluation of accessibility within a network, e.g., what are the places I can navigate to on a road network without spending a cost greater than a given value (the cost can be distance or time).
パラメータ
基本パラメータ
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
ネットワークを表すベクタレイヤ |
|
[ベクタ:ライン] |
対象となるネットワークを表すラインベクタレイヤ |
計算するパスの種類 |
|
[列挙型] デフォルト: 0 |
計算するパスの種類。次のいずれかです:
|
Start point |
|
[座標] |
周辺のサービスエリアを計算するポイントの座標 Press the ... button next to the option and click on the canvas to fill the parameter with the clicked point coordinate. |
求めたい旅行コスト(最短なら単位は距離、最速なら単位は時間) |
|
[numeric: double] Default: 0.O |
この値は、 最短 パスを求めたい場合には(ネットワークレイヤの単位での)距離として評価され、 最速 パスを求めたい場合には時間(単位は時間)として評価されます。 |
サービスエリア(線) オプション |
|
[ベクタ:ライン] デフォルト: |
サービスエリアの出力ラインレイヤを指定します。次のいずれかです:
ここでファイルの文字コードを変更することもできます。 |
サービスエリア(境界点) オプション |
|
[ベクタ:ポイント] デフォルト: |
サービスエリアの境界ノードの出力ポイントレイヤを指定します。次のいずれかです:
ここでファイルの文字コードを変更することもできます。 |
詳細パラメータ
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
向きを示す属性(フィールド) オプション |
|
[tablefield: any] |
ネットワークの辺の方向を指定するためのフィールド。 The values used in this field are specified with the three parameters
|
順方向を示す値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
順方向の辺を識別するために方向フィールドに設定される値 |
逆方向を示す値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
逆方向の辺を識別するために方向フィールドに設定される値 |
双方向の値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
双方向の辺を識別するために方向フィールドに設定される値 |
デフォルトの方向 |
|
[列挙型] デフォルト: 2 |
地物の方向フィールドに値が設定されていないか、方向フィールドが設定されていない場合には、この方向値が使用されます。次のいずれかです:
|
速度を示す属性(フィールド) オプション |
|
[tablefield: numeric] |
最速パスを求める場合に、ネットワークの辺の速度( 地物が速度フィールドの値を持たないか、速度フィールドが設定されていない場合には、デフォルトの速度値( |
デフォルトの速度(km/h) |
|
[numeric: double] デフォルト: 50.0 |
Value to use to calculate the travel time if no speed value is provided for an edge in the specified field |
トポロジ許容値(接続しているとみなす点間距離) |
|
[numeric: double] デフォルト: 0.0 |
指定された許容値よりも端点が接近している場合には、2つのラインは接続しているとみなします |
Maximum point distance from network オプション |
|
[numeric: double] デフォルト: 0.0 |
Specifies an optional limit on the distance from the start point to the network layer. If the point is further from the network than this distance an error will be raised. If not set, the point will be snapped to the nearest point on the network layer, regardless of how far away from the network it actually is. |
上限下限の点を含む |
|
[ブール値] デフォルト: False |
サービスエリア境界において、各辺について2点ずつのポイントレイヤ出力を作成します。点の1つは辺の始点で、2つ目は終点です。 |
出力
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
サービスエリア(境界点) |
|
[ベクタ:ポイント] |
サービスエリアの境界ノードの出力ポイントレイヤ |
サービスエリア(線) |
|
[ベクタ:ライン] |
開始点から指定されたコストで到達可能なネットワークの部分を表すラインレイヤ |
Python コード
Algorithm ID: native:serviceareafrompoint
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。
24.1.10.3. 最短経路(始点レイヤから指定終点)
ベクタレイヤで定義された複数の始点から指定した終点までの最適経路(最短または最速)を計算します。
パラメータ
基本パラメータ
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
ネットワークを表すベクタレイヤ |
|
[ベクタ:ライン] |
対象となるネットワークを表すラインベクタレイヤ |
計算するパスの種類 |
|
[列挙型] デフォルト: 0 |
計算するパスの種類。次のいずれかです:
|
始点のベクタレイヤ |
|
[ベクタ:ポイント] |
経路の始点として使用する地物のポイントベクタレイヤ |
終点 |
|
[座標] |
経路の終点を表すポイント地物 Press the ... button next to the option and click on the canvas to fill the parameter with the clicked point coordinate. |
出力レイヤ |
|
[ベクタ:ライン] デフォルト: |
最短経路の出力ラインレイヤを指定します。次のいずれかです:
ここでファイルの文字コードを変更することもできます。 |
Non-routable features オプション |
|
[ベクタ:ポイント] デフォルト: |
Specify the output which will be used to store any input features which could not be routed (e.g., those which are too far from the network layer). One of:
ここでファイルの文字コードを変更することもできます。 |
詳細パラメータ
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
向きを示す属性(フィールド) オプション |
|
[tablefield: any] |
ネットワークの辺の方向を指定するためのフィールド。 The values used in this field are specified with the three parameters
|
順方向を示す値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
順方向の辺を識別するために方向フィールドに設定される値 |
逆方向を示す値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
逆方向の辺を識別するために方向フィールドに設定される値 |
双方向の値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
双方向の辺を識別するために方向フィールドに設定される値 |
デフォルトの方向 |
|
[列挙型] デフォルト: 2 |
地物の方向フィールドに値が設定されていないか、方向フィールドが設定されていない場合には、この方向値が使用されます。次のいずれかです:
|
速度を示す属性(フィールド) オプション |
|
[tablefield: numeric] |
最速パスを求める場合に、ネットワークの辺の速度( 地物が速度フィールドの値を持たないか、速度フィールドが設定されていない場合には、デフォルトの速度値( |
デフォルトの速度(km/h) |
|
[numeric: double] デフォルト: 50.0 |
Value to use to calculate the travel time if no speed value is provided for an edge in the specified field |
トポロジ許容値(接続しているとみなす点間距離) |
|
[numeric: double] デフォルト: 0.0 |
指定された許容値よりも端点が接近している場合には、2つのラインは接続しているとみなします |
Maximum point distance from network オプション |
|
[numeric: double] デフォルト:未設定 |
Specifies an optional limit on the distance from the start and end points to the network layer. If a start feature is further from the network than this distance it will be treated as non-routable. If the end point is further from the network than this distance an error will be raised. If not set, points will be snapped to the nearest point on the network layer, regardless of how far away from the network they actually are. |
出力
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
出力レイヤ |
|
[ベクタ:ライン] |
各始点から終点までの最短または最速経路のラインレイヤ |
Non routable features |
|
[ベクタ:ポイント] |
An optional output layer which will be used to store any input features which could not be routed (e.g., those which are too far from the network layer). |
Python コード
Algorithm ID: native:shortestpathlayertopoint
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。
24.1.10.4. 最短経路(指定始点から終点レイヤ)
指定した始点とポイントベクタレイヤで定義された複数の終点の間の最適経路(最短または最速)を計算します。
警告
This algorithm drops existing primary keys or FID values and regenerates them in output layers.
パラメータ
基本パラメータ
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
ネットワークを表すベクタレイヤ |
|
[ベクタ:ライン] |
対象となるネットワークを表すラインベクタレイヤ |
計算するパスの種類 |
|
[列挙型] デフォルト: 0 |
計算するパスの種類。次のいずれかです:
|
Start point |
|
[座標] |
経路の始点を表すポイント地物 Press the ... button next to the option and click on the canvas to fill the parameter with the clicked point coordinate. |
終点のベクタレイヤ |
|
[ベクタ:ポイント] |
経路の終点として使用する地物のポイントベクタレイヤ |
出力レイヤ |
|
[ベクタ:ライン] デフォルト: |
最短経路の出力ラインレイヤを指定します。次のいずれかです:
ここでファイルの文字コードを変更することもできます。 |
Non-routable features |
オプション |
[ベクタ:ポイント] デフォルト: |
Specify the output which will be used to store any input features which could not be routed (e.g., those which are too far from the network layer). One of:
ここでファイルの文字コードを変更することもできます。 |
詳細パラメータ
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
向きを示す属性(フィールド) オプション |
|
[tablefield: any] |
ネットワークの辺の方向を指定するためのフィールド。 The values used in this field are specified with the three parameters
|
順方向を示す値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
順方向の辺を識別するために方向フィールドに設定される値 |
逆方向を示す値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
逆方向の辺を識別するために方向フィールドに設定される値 |
双方向の値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
双方向の辺を識別するために方向フィールドに設定される値 |
デフォルトの方向 |
|
[列挙型] デフォルト: 2 |
地物の方向フィールドに値が設定されていないか、方向フィールドが設定されていない場合には、この方向値が使用されます。次のいずれかです:
|
速度を示す属性(フィールド) オプション |
|
[tablefield: numeric] |
最速パスを求める場合に、ネットワークの辺の速度( 地物が速度フィールドの値を持たないか、速度フィールドが設定されていない場合には、デフォルトの速度値( |
デフォルトの速度(km/h) |
|
[numeric: double] デフォルト: 50.0 |
Value to use to calculate the travel time if no speed value is provided for an edge in the specified field |
トポロジ許容値(接続しているとみなす点間距離) |
|
[numeric: double] デフォルト: 0.0 |
指定された許容値よりも端点が接近している場合には、2つのラインは接続しているとみなします |
Maximum point distance from network オプション |
|
[numeric: double] デフォルト:未設定 |
Specifies an optional limit on the distance from the start and end points to the network layer. If the start point is further from the network than this distance an error will be raised. If an end feature is further from the network than this distance it will be treated as non-routable. If not set, points will be snapped to the nearest point on the network layer, regardless of how far away from the network they actually are. |
出力
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
出力レイヤ |
|
[ベクタ:ライン] |
各始点から終点までの最短または最速経路のラインレイヤ |
Non routable features |
|
[ベクタ:ポイント] |
An optional output layer which will be used to store any input features which could not be routed (e.g., those which are too far from the network layer). |
Python コード
Algorithm ID: native:shortestpathpointtolayer
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。
24.1.10.5. 最短経路(指定始点から指定終点)
指定した始点と指定した終点の間の最適経路(最短または最速)を計算します。
パラメータ
基本パラメータ
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
ネットワークを表すベクタレイヤ |
|
[ベクタ:ライン] |
対象となるネットワークを表すラインベクタレイヤ |
計算するパスの種類 |
|
[列挙型] デフォルト: 0 |
計算するパスの種類。次のいずれかです:
|
始点 |
|
[座標] |
Point feature representing the start point of the routes. Press the ... button next to the option and click on the canvas to fill the parameter with the clicked point coordinate. |
終点 |
|
[座標] |
Point feature representing the end point of the routes. Press the ... button next to the option and click on the canvas to fill the parameter with the clicked point coordinate. |
出力レイヤ |
|
[ベクタ:ライン] |
最短経路の出力ラインレイヤを指定します。次のいずれかです:
ここでファイルの文字コードを変更することもできます。 |
詳細パラメータ
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
向きを示す属性(フィールド) オプション |
|
[tablefield: any] |
ネットワークの辺の方向を指定するためのフィールド。 The values used in this field are specified with the three parameters
|
順方向を示す値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
順方向の辺を識別するために方向フィールドに設定される値 |
逆方向を示す値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
逆方向の辺を識別するために方向フィールドに設定される値 |
双方向の値 オプション |
|
[文字列] デフォルト: '' (空の文字列) |
双方向の辺を識別するために方向フィールドに設定される値 |
デフォルトの方向 |
|
[列挙型] デフォルト: 2 |
地物の方向フィールドに値が設定されていないか、方向フィールドが設定されていない場合には、この方向値が使用されます。次のいずれかです:
|
速度を示す属性(フィールド) オプション |
|
[tablefield: numeric] |
最速パスを求める場合に、ネットワークの辺の速度( 地物が速度フィールドの値を持たないか、速度フィールドが設定されていない場合には、デフォルトの速度値( |
デフォルトの速度(km/h) |
|
[numeric: double] デフォルト: 50.0 |
Value to use to calculate the travel time if no speed value is provided for an edge in the specified field |
トポロジ許容値(接続しているとみなす点間距離) |
|
[numeric: double] デフォルト: 0.0 |
指定された許容値よりも端点が接近している場合には、2つのラインは接続しているとみなします |
Maximum point distance from network オプション |
|
[numeric: double] デフォルト:未設定 |
Specifies an optional limit on the distance from the start and end points to the network layer. If either point is further from the network than this distance an error will be raised. If not set, points will be snapped to the nearest point on the network layer, regardless of how far away from the network they actually are. |
出力
ラベル |
名前 |
データ型 |
説明 |
---|---|---|---|
出力レイヤ |
|
[ベクタ:ライン] |
始点から終点までの最短または最速経路のラインレイヤ |
Python コード
Algorithm ID: native:shortestpathpointtopoint
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。