Svarbu

Vertimas yra bendruomenės pastangos, prie kurių jūs galite prisijungti. Šis puslapis šiuo metu išverstas 57.19%.

24.1.10. Tinklo analizė

24.1.10.1. Aptarnavimo plotas (pagal sluoksnį)

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).

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Vektorinis sluoksnis reprezentuojantis tinklą

INPUT

[vektorius: linija]

Linijų vektorinis sluoksnis, reprezentuojantis padengiamą tinklą

Vektorinis sluoksnis su pradžios taškais

START_POINTS

[vektorius: taškas]

Taškų vektorinis sluoksnis, kurio geoobjektai turi būti naudojami kaip pradžios taškai kuriant aptarnavimo zonas

Skaičiuojamo kelio tipas

STRATEGY

[sąrašas]

Numatytas: 0

Skaičiuojamo kelio tipas. Vienas iš:

  • 0 — Trumpiausias

  • 1 — Greičiausias

Kelionės kaina (atstumas „Trumpiausiam“, laikas „Greičiausiam“)

TRAVEL_COST

[numeric: double]

Default: 0.0

Reikšmė vertinama kaip atstumas (tinklo sluoksnio vienetais) kai ieškoma „Trumpiausio“ kelio ir kaip laikas (valandomis), kai ieškoma „Greičiausio“ kelio.

Service area (lines)

OUTPUT_LINES

[vektorius: linija]

Numatytas: [Kurti laikiną sluoksnį]

Specify the output line layer for the service area. One of:

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Šia taipogi galima pakeisti failo koduotę.

Service area (boundary nodes)

OUTPUT

[vektorius: taškas]

Numatytas: [Praleisti išvestį]

Specify the output point layer for the service area boundary nodes. One of:

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Šia taipogi galima pakeisti failo koduotę.

Non-routable features

OUTPUT_NON_ROUTABLE

[vektorius: taškas]

Numatytas: [Praleisti išvestį]

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:

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Šia taipogi galima pakeisti failo koduotę.

Advanced parameters

Užrašas

Pavadinimas

Tipas

Aprašymas

Direction field

Pasirinktinis

DIRECTION_FIELD

[tablefield: any]

The field used to specify directions for the network edges.

The values used in this field are specified with the three parameters Value for forward direction, Value for backward direction and Value for both directions. Forward and reverse directions correspond to a one-way edge, „both directions“ indicates a two-way edge. If a feature does not have a value in this field, or no field is set then the default direction setting (provided with the Default direction parameter) is used.

Value for forward direction

Pasirinktinis

VALUE_FORWARD

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify edges with a forward direction

Value for backward direction

Pasirinktinis

VALUE_BACKWARD

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify edges with a backward direction

Value for both directions

Pasirinktinis

VALUE_BOTH

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify bidirectional edges

Default direction

DEFAULT_DIRECTION

[sąrašas]

Default: 2

If a feature has no value set in the direction field or if no direction field is set, then this direction value is used. One of:

  • 0 — Forward direction

  • 1 — Backward direction

  • 2 — Both directions

Speed field

Pasirinktinis

SPEED_FIELD

[tablefield: numeric]

Field providing the speed value (in km/h) for the edges of the network when looking for the fastest path.

If a feature does not have a value in this field, or no field is set then the default speed value (provided with the Default speed parameter) is used.

Default speed (km/h)

DEFAULT_SPEED

[numeric: double]

Default: 50.0

Value to use to calculate the travel time if no speed value is provided for an edge in the specified field

Topology tolerance

TOLERANCE

[numeric: double]

Default: 0.0

Two lines with nodes closer than the specified tolerance are considered connected

Include upper/lower bound points

INCLUDE_BOUNDS

[boolean]

Numatytas: ne

Creates a point layer output with two points for each edge at the boundaries of the service area. One point is the start of that edge, the other is the end.

Maximum point distance from network

Pasirinktinis

POINT_TOLERANCE

[numeric: double]

Numatytas: jokio

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.

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Service area (boundary nodes)

OUTPUT

[vektorius: taškas]

The output point layer with the service area boundary nodes.

Service area (lines)

OUTPUT_LINES

[vektorius: linija]

Line layer representing the parts of the network that can be serviced by the start points, for the given cost.

Non routable features

OUTPUT_NON_ROUTABLE

[vektorius: taškas]

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).

Pythono kodas

Algorithm ID: qgis:serviceareafromlayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

24.1.10.2. Service area (from point)

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).

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Vector layer representing the network

INPUT

[vektorius: linija]

Linijų vektorinis sluoksnis, reprezentuojantis padengiamą tinklą

Skaičiuojamo kelio tipas

STRATEGY

[sąrašas]

Numatytas: 0

Skaičiuojamo kelio tipas. Vienas iš:

  • 0 — Trumpiausias

  • 1 — Greičiausias

Start point

START_POINT

[coordinates]

Coordinate of the point to calculate the service area around.

Press the button next to the option and click on the canvas to fill the parameter with the clicked point coordinate.

Kelionės kaina (atstumas „Trumpiausiam“, laikas „Greičiausiam“)

TRAVEL_COST

[numeric: double]

Default: 0.O

Reikšmė vertinama kaip atstumas (tinklo sluoksnio vienetais) kai ieškoma „Trumpiausio“ kelio ir kaip laikas (valandomis), kai ieškoma „Greičiausio“ kelio.

Service area (lines)

Pasirinktinis

OUTPUT_LINES

[vektorius: linija]

Numatytas: [Kurti laikiną sluoksnį]

Specify the output line layer for the service area. One of:

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Šia taipogi galima pakeisti failo koduotę.

Service area (boundary nodes)

Pasirinktinis

OUTPUT

[vektorius: taškas]

Numatytas: [Praleisti išvestį]

Specify the output point layer for the service area boundary nodes. One of:

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Šia taipogi galima pakeisti failo koduotę.

Advanced parameters

Užrašas

Pavadinimas

Tipas

Aprašymas

Direction field

Pasirinktinis

DIRECTION_FIELD

[tablefield: any]

The field used to specify directions for the network edges.

The values used in this field are specified with the three parameters Value for forward direction, Value for backward direction and Value for both directions. Forward and reverse directions correspond to a one-way edge, „both directions“ indicates a two-way edge. If a feature does not have a value in this field, or no field is set then the default direction setting (provided with the Default direction parameter) is used.

Value for forward direction

Pasirinktinis

VALUE_FORWARD

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify edges with a forward direction

Value for backward direction

Pasirinktinis

VALUE_BACKWARD

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify edges with a backward direction

Value for both directions

Pasirinktinis

VALUE_BOTH

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify bidirectional edges

Default direction

DEFAULT_DIRECTION

[sąrašas]

Default: 2

If a feature has no value set in the direction field or if no direction field is set, then this direction value is used. One of:

  • 0 — Forward direction

  • 1 — Backward direction

  • 2 — Both directions

Speed field

Pasirinktinis

SPEED_FIELD

[tablefield: numeric]

Field providing the speed value (in km/h) for the edges of the network when looking for the fastest path.

If a feature does not have a value in this field, or no field is set then the default speed value (provided with the Default speed parameter) is used.

Default speed (km/h)

DEFAULT_SPEED

[numeric: double]

Default: 50.0

Value to use to calculate the travel time if no speed value is provided for an edge in the specified field

Topology tolerance

TOLERANCE

[numeric: double]

Default: 0.0

Two lines with nodes closer than the specified tolerance are considered connected

Maximum point distance from network

Pasirinktinis

POINT_TOLERANCE

[numeric: double]

Default: 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.

Include upper/lower bound points

INCLUDE_BOUNDS

[boolean]

Numatytas: ne

Creates a point layer output with two points for each edge at the boundaries of the service area. One point is the start of that edge, the other is the end.

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Service area (boundary nodes)

OUTPUT

[vektorius: taškas]

The output point layer with the service area boundary nodes.

Service area (lines)

OUTPUT_LINES

[vektorius: linija]

Line layer representing the parts of the network that can be serviced by the start point, for the given cost.

Pythono kodas

Algorithm ID: native:serviceareafrompoint

import processing
processing.run("algorithm_id", {parameter_dictionary})

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

24.1.10.3. Shortest path (layer to point)

Computes the optimal (shortest or fastest) routes from multiple start points defined by a vector layer and a given end point.

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Vektorinis sluoksnis reprezentuojantis tinklą

INPUT

[vektorius: linija]

Linijų vektorinis sluoksnis, reprezentuojantis padengiamą tinklą

Skaičiuojamo kelio tipas

STRATEGY

[sąrašas]

Numatytas: 0

Skaičiuojamo kelio tipas. Vienas iš:

  • 0 — Trumpiausias

  • 1 — Greičiausias

Vektorinis sluoksnis su pradžios taškais

START_POINTS

[vektorius: taškas]

Point vector layer whose features are used as start points of the routes

End point (x, y)

END_POINT

[coordinates]

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.

Shortest path

OUTPUT

[vektorius: linija]

Numatytas: [Kurti laikiną sluoksnį]

Specify the output line layer for the shortest paths. One of:

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Šia taipogi galima pakeisti failo koduotę.

Non-routable features

Pasirinktinis

OUTPUT_NON_ROUTABLE

[vektorius: taškas]

Numatytas: [Praleisti išvestį]

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:

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Šia taipogi galima pakeisti failo koduotę.

Advanced parameters

Užrašas

Pavadinimas

Tipas

Aprašymas

Direction field

Pasirinktinis

DIRECTION_FIELD

[tablefield: any]

The field used to specify directions for the network edges.

The values used in this field are specified with the three parameters Value for forward direction, Value for backward direction and Value for both directions. Forward and reverse directions correspond to a one-way edge, „both directions“ indicates a two-way edge. If a feature does not have a value in this field, or no field is set then the default direction setting (provided with the Default direction parameter) is used.

Value for forward direction

Pasirinktinis

VALUE_FORWARD

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify edges with a forward direction

Value for backward direction

Pasirinktinis

VALUE_BACKWARD

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify edges with a backward direction

Value for both directions

Pasirinktinis

VALUE_BOTH

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify bidirectional edges

Default direction

DEFAULT_DIRECTION

[sąrašas]

Default: 2

If a feature has no value set in the direction field or if no direction field is set, then this direction value is used. One of:

  • 0 — Forward direction

  • 1 — Backward direction

  • 2 — Both directions

Speed field

Pasirinktinis

SPEED_FIELD

[tablefield: numeric]

Field providing the speed value (in km/h) for the edges of the network when looking for the fastest path.

If a feature does not have a value in this field, or no field is set then the default speed value (provided with the Default speed parameter) is used.

Default speed (km/h)

DEFAULT_SPEED

[numeric: double]

Default: 50.0

Value to use to calculate the travel time if no speed value is provided for an edge in the specified field

Topology tolerance

TOLERANCE

[numeric: double]

Default: 0.0

Two lines with nodes closer than the specified tolerance are considered connected

Maximum point distance from network

Pasirinktinis

POINT_TOLERANCE

[numeric: double]

Numatytas: jokio

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.

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Shortest path

OUTPUT

[vektorius: linija]

Line layer of the shortest or fastest path from each of the start points to the end point

Non routable features

OUTPUT_NON_ROUTABLE

[vektorius: taškas]

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).

Pythono kodas

Algorithm ID: native:shortestpathlayertopoint

import processing
processing.run("algorithm_id", {parameter_dictionary})

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

24.1.10.4. Shortest path (point to layer)

Computes the optimal (shortest or fastest) routes between a given start point and multiple end points defined by a point vector layer.

Įspėjimas

This algorithm drops existing primary keys or FID values and regenerates them in output layers.

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Vektorinis sluoksnis reprezentuojantis tinklą

INPUT

[vektorius: linija]

Linijų vektorinis sluoksnis, reprezentuojantis padengiamą tinklą

Skaičiuojamo kelio tipas

STRATEGY

[sąrašas]

Numatytas: 0

Skaičiuojamo kelio tipas. Vienas iš:

  • 0 — Trumpiausias

  • 1 — Greičiausias

Start point

START_POINT

[coordinates]

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.

Vector layer with end points

END_POINTS

[vektorius: taškas]

Point vector layer whose features are used as end points of the routes

Shortest path

OUTPUT

[vektorius: linija]

Numatytas: [Kurti laikiną sluoksnį]

Specify the output line layer for the shortest paths. One of:

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Šia taipogi galima pakeisti failo koduotę.

Non-routable features

OUTPUT_NON_ROUTABLE

Pasirinktinis

[vektorius: taškas]

Numatytas: [Praleisti išvestį]

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:

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Šia taipogi galima pakeisti failo koduotę.

Advanced parameters

Užrašas

Pavadinimas

Tipas

Aprašymas

Direction field

Pasirinktinis

DIRECTION_FIELD

[tablefield: any]

The field used to specify directions for the network edges.

The values used in this field are specified with the three parameters Value for forward direction, Value for backward direction and Value for both directions. Forward and reverse directions correspond to a one-way edge, „both directions“ indicates a two-way edge. If a feature does not have a value in this field, or no field is set then the default direction setting (provided with the Default direction parameter) is used.

Value for forward direction

Pasirinktinis

VALUE_FORWARD

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify edges with a forward direction

Value for backward direction

Pasirinktinis

VALUE_BACKWARD

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify edges with a backward direction

Value for both directions

Pasirinktinis

VALUE_BOTH

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify bidirectional edges

Default direction

DEFAULT_DIRECTION

[sąrašas]

Default: 2

If a feature has no value set in the direction field or if no direction field is set, then this direction value is used. One of:

  • 0 — Forward direction

  • 1 — Backward direction

  • 2 — Both directions

Speed field

Pasirinktinis

SPEED_FIELD

[tablefield: numeric]

Field providing the speed value (in km/h) for the edges of the network when looking for the fastest path.

If a feature does not have a value in this field, or no field is set then the default speed value (provided with the Default speed parameter) is used.

Default speed (km/h)

DEFAULT_SPEED

[numeric: double]

Default: 50.0

Value to use to calculate the travel time if no speed value is provided for an edge in the specified field

Topology tolerance

TOLERANCE

[numeric: double]

Default: 0.0

Two lines with nodes closer than the specified tolerance are considered connected

Maximum point distance from network

Pasirinktinis

POINT_TOLERANCE

[numeric: double]

Numatytas: jokio

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.

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Shortest path

OUTPUT

[vektorius: linija]

Line layer of the shortest or fastest path from each of the start points to the end point

Non routable features

OUTPUT_NON_ROUTABLE

[vektorius: taškas]

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).

Pythono kodas

Algorithm ID: native:shortestpathpointtolayer

import processing
processing.run("algorithm_id", {parameter_dictionary})

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

24.1.10.5. Shortest path (point to point)

Computes the optimal (shortest or fastest) route between a given start point and a given end point.

Parametrai

Baziniai parametrai

Užrašas

Pavadinimas

Tipas

Aprašymas

Vektorinis sluoksnis reprezentuojantis tinklą

INPUT

[vektorius: linija]

Linijų vektorinis sluoksnis, reprezentuojantis padengiamą tinklą

Skaičiuojamo kelio tipas

STRATEGY

[sąrašas]

Numatytas: 0

Skaičiuojamo kelio tipas. Vienas iš:

  • 0 — Trumpiausias

  • 1 — Greičiausias

Start point (x, y)

START_POINT

[coordinates]

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.

End point (x, y)

END_POINT

[coordinates]

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.

Shortest path

OUTPUT

[vektorius: linija]

Specify the output line layer for the shortest paths. One of:

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Šia taipogi galima pakeisti failo koduotę.

Advanced parameters

Užrašas

Pavadinimas

Tipas

Aprašymas

Direction field

Pasirinktinis

DIRECTION_FIELD

[tablefield: any]

The field used to specify directions for the network edges.

The values used in this field are specified with the three parameters Value for forward direction, Value for backward direction and Value for both directions. Forward and reverse directions correspond to a one-way edge, „both directions“ indicates a two-way edge. If a feature does not have a value in this field, or no field is set then the default direction setting (provided with the Default direction parameter) is used.

Value for forward direction

Pasirinktinis

VALUE_FORWARD

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify edges with a forward direction

Value for backward direction

Pasirinktinis

VALUE_BACKWARD

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify edges with a backward direction

Value for both directions

Pasirinktinis

VALUE_BOTH

[string]

Default: ‚‘ (empty string)

Value set in the direction field to identify bidirectional edges

Default direction

DEFAULT_DIRECTION

[sąrašas]

Default: 2

If a feature has no value set in the direction field or if no direction field is set, then this direction value is used. One of:

  • 0 — Forward direction

  • 1 — Backward direction

  • 2 — Both directions

Speed field

Pasirinktinis

SPEED_FIELD

[tablefield: numeric]

Field providing the speed value (in km/h) for the edges of the network when looking for the fastest path.

If a feature does not have a value in this field, or no field is set then the default speed value (provided with the Default speed parameter) is used.

Default speed (km/h)

DEFAULT_SPEED

[numeric: double]

Default: 50.0

Value to use to calculate the travel time if no speed value is provided for an edge in the specified field

Topology tolerance

TOLERANCE

[numeric: double]

Default: 0.0

Two lines with nodes closer than the specified tolerance are considered connected

Maximum point distance from network

Pasirinktinis

POINT_TOLERANCE

[numeric: double]

Numatytas: jokio

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.

Išvestys

Užrašas

Pavadinimas

Tipas

Aprašymas

Shortest path

OUTPUT

[vektorius: linija]

Line layer of the shortest or fastest path from each of the start point to the end point

Pythono kodas

Algorithm ID: native:shortestpathpointtopoint

import processing
processing.run("algorithm_id", {parameter_dictionary})

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.