Important

Translation is a community effort you can join. This page is currently translated at 65.59%.

28.1.10. Network analysis

28.1.10.1. Service area (from layer)

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

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Vector layer representing network

INPUT

[vector: linie]

Line vector layer representing the network to be covered

Vector layer with start points

START_POINTS

[vector: punct]

Point vector layer whose features are used as start points to generate the service areas

Path type to calculate

STRATEGY

[enumerare]

Implicit: 0

The type of path to calculate. One of:

  • 0 — Cel mai scurt

  • 1 — Cel mai rapid

Travel cost (distance for „Shortest”, time for „Fastest”)

TRAVEL_COST

[număr]

Implicit: 0

The value is estimated as a distance (in the network layer units) when looking for the Shortest path and as time (in hours) for the Fastest path.

Service area (lines)

OUTPUT_LINES

[vector: linie]

Implicit: [Creare Strat temporar]

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

  • Skip Output

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Salvare în Fișier…

  • Salvare în Geopackage…

  • Salvare în Tabela Bazei de Date…

The file encoding can also be changed here.

Service area (boundary nodes)

OUTPUT

[vector: punct]

Implicit: [Omitere rezultat]

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

  • Skip Output

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Salvare în Fișier…

  • Salvare în Geopackage…

  • Salvare în Tabela Bazei de Date…

The file encoding can also be changed here.

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Direction field

Opţional

DIRECTION_FIELD

[tablefield: string]

Implicit: 0.0

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

Opţional

VALUE_FORWARD

[string]

Implicit: «» (șirul vid)

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

Value for backward direction

Opţional

VALUE_BACKWARD

[string]

Implicit: «» (șirul vid)

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

Value for both directions

Opţional

VALUE_BOTH

[string]

Implicit: «» (șirul vid)

Value set in the direction field to identify bidirectional edges

Default direction

DEFAULT_DIRECTION

[enumerare]

Implicit: 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 — Direcția înainte

  • 1 — Direcția înapoi

  • 2 — Ambele direcții

Speed field

Opţional

SPEED_FIELD

[tablefield: string]

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

[număr]

Implicit: 50.0

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

Topology tolerance

TOLERANCE

[număr]

Implicit: 0.0

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

Include upper/lower bound points

INCLUDE_BOUNDS

[boolean]

Implicit: False

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.

Rezultat

Etichetă

Nume

Tipul

Descriere

Service area (boundary nodes)

OUTPUT

[vector: punct]

The output point layer with the service area boundary nodes.

Service area (lines)

OUTPUT_LINES

[vector: linie]

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

Cod Python

Algorithm ID: qgis:serviceareafromlayer

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

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.

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

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Vector layer representing the network

INPUT

[vector: linie]

Line vector layer representing the network to be covered

Start point (x, y)

START_POINT

[coordinates]

Coordinate of the point to calculate the service area around.

Path type to calculate

STRATEGY

[enumerare]

Implicit: 0

The type of path to calculate. One of:

  • 0 — Cel mai scurt

  • 1 — Cel mai rapid

Travel cost (distance for „Shortest”, time for „Fastest”)

TRAVEL_COST

[număr]

Implicit: 0

The value is estimated as a distance (in the network layer units) when looking for the Shortest path and as time (in hours) for the Fastest path.

Service area (lines)

OUTPUT_LINES

[vector: linie]

Implicit: [Creare Strat temporar]

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

  • Skip Output

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Salvare în Fișier…

  • Salvare în Geopackage…

  • Salvare în Tabela Bazei de Date…

The file encoding can also be changed here.

Service area (boundary nodes)

OUTPUT

[vector: punct]

Implicit: [Omitere rezultat]

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

  • Skip Output

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Salvare în Fișier…

  • Salvare în Geopackage…

  • Salvare în Tabela Bazei de Date…

The file encoding can also be changed here.

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Direction field

Opţional

DIRECTION_FIELD

[tablefield: string]

Implicit: 0.0

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

Opţional

VALUE_FORWARD

[string]

Implicit: «» (șirul vid)

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

Value for backward direction

Opţional

VALUE_BACKWARD

[string]

Implicit: «» (șirul vid)

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

Value for both directions

Opţional

VALUE_BOTH

[string]

Implicit: «» (șirul vid)

Value set in the direction field to identify bidirectional edges

Default direction

DEFAULT_DIRECTION

[enumerare]

Implicit: 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 — Direcția înainte

  • 1 — Direcția înapoi

  • 2 — Ambele direcții

Speed field

Opţional

SPEED_FIELD

[tablefield: string]

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

[număr]

Implicit: 50.0

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

Topology tolerance

TOLERANCE

[număr]

Implicit: 0.0

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

Include upper/lower bound points

INCLUDE_BOUNDS

[boolean]

Implicit: False

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.

Rezultat

Etichetă

Nume

Tipul

Descriere

Service area (boundary nodes)

OUTPUT

[vector: punct]

The output point layer with the service area boundary nodes.

Service area (lines)

OUTPUT_LINES

[vector: linie]

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

Cod Python

ID Algorithm: nativ:serviceareafrompoint

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

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.

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

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Vector layer representing network

INPUT

[vector: linie]

Line vector layer representing the network to be covered

Path type to calculate

STRATEGY

[enumerare]

Implicit: 0

The type of path to calculate. One of:

  • 0 — Cel mai scurt

  • 1 — Cel mai rapid

Vector layer with start points

START_POINTS

[vector: punct]

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

Shortest path

OUTPUT

[vector: linie]

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

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Salvare în Fișier…

  • Salvare în Geopackage…

  • Salvare în Tabela Bazei de Date…

The file encoding can also be changed here.

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Direction field

Opţional

DIRECTION_FIELD

[tablefield: string]

Implicit: 0.0

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

Opţional

VALUE_FORWARD

[string]

Implicit: «» (șirul vid)

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

Value for backward direction

Opţional

VALUE_BACKWARD

[string]

Implicit: «» (șirul vid)

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

Value for both directions

Opţional

VALUE_BOTH

[string]

Implicit: «» (șirul vid)

Value set in the direction field to identify bidirectional edges

Default direction

DEFAULT_DIRECTION

[enumerare]

Implicit: 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 — Direcția înainte

  • 1 — Direcția înapoi

  • 2 — Ambele direcții

Speed field

Opţional

SPEED_FIELD

[tablefield: string]

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

[număr]

Implicit: 50.0

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

Topology tolerance

TOLERANCE

[număr]

Implicit: 0.0

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

Rezultat

Etichetă

Nume

Tipul

Descriere

Shortest path

OUTPUT

[vector: linie]

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

Cod Python

ID Algorithm: nativ:shortestpathlayertopoint

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

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.

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

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Vector layer representing network

INPUT

[vector: linie]

Line vector layer representing the network to be covered

Path type to calculate

STRATEGY

[enumerare]

Implicit: 0

The type of path to calculate. One of:

  • 0 — Cel mai scurt

  • 1 — Cel mai rapid

Start point (x, y)

START_POINT

[coordinates]

Point feature representing the start point of the routes

Vector layer with end points

END_POINTS

[vector: punct]

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

Shortest path

OUTPUT

[vector: linie]

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

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Salvare în Fișier…

  • Salvare în Geopackage…

  • Salvare în Tabela Bazei de Date…

The file encoding can also be changed here.

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Direction field

Opţional

DIRECTION_FIELD

[tablefield: string]

Implicit: 0.0

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

Opţional

VALUE_FORWARD

[string]

Implicit: «» (șirul vid)

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

Value for backward direction

Opţional

VALUE_BACKWARD

[string]

Implicit: «» (șirul vid)

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

Value for both directions

Opţional

VALUE_BOTH

[string]

Implicit: «» (șirul vid)

Value set in the direction field to identify bidirectional edges

Default direction

DEFAULT_DIRECTION

[enumerare]

Implicit: 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 — Direcția înainte

  • 1 — Direcția înapoi

  • 2 — Ambele direcții

Speed field

Opţional

SPEED_FIELD

[tablefield: string]

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

[număr]

Implicit: 50.0

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

Topology tolerance

TOLERANCE

[număr]

Implicit: 0.0

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

Rezultat

Etichetă

Nume

Tipul

Descriere

Shortest path

OUTPUT

[vector: linie]

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

Cod Python

ID Algorithm: nativ:shortestpathpointtolayer

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

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.

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

Parametri

Parametri de bază

Etichetă

Nume

Tipul

Descriere

Vector layer representing network

INPUT

[vector: linie]

Line vector layer representing the network to be covered

Path type to calculate

STRATEGY

[enumerare]

Implicit: 0

The type of path to calculate. One of:

  • 0 — Cel mai scurt

  • 1 — Cel mai rapid

Start point (x, y)

START_POINT

[coordinates]

Point feature representing the start point of the routes

End point (x, y)

END_POINT

[coordinates]

Point feature representing the end point of the routes

Shortest path

OUTPUT

[vector: linie]

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

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Salvare în Fișier…

  • Salvare în Geopackage…

  • Salvare în Tabela Bazei de Date…

The file encoding can also be changed here.

Parametri avansați

Etichetă

Nume

Tipul

Descriere

Direction field

Opţional

DIRECTION_FIELD

[tablefield: string]

Implicit: 0.0

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

Opţional

VALUE_FORWARD

[string]

Implicit: «» (șirul vid)

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

Value for backward direction

Opţional

VALUE_BACKWARD

[string]

Implicit: «» (șirul vid)

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

Value for both directions

Opţional

VALUE_BOTH

[string]

Implicit: «» (șirul vid)

Value set in the direction field to identify bidirectional edges

Default direction

DEFAULT_DIRECTION

[enumerare]

Implicit: 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 — Direcția înainte

  • 1 — Direcția înapoi

  • 2 — Ambele direcții

Speed field

Opţional

SPEED_FIELD

[tablefield: string]

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

[număr]

Implicit: 50.0

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

Topology tolerance

TOLERANCE

[număr]

Implicit: 0.0

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

Rezultat

Etichetă

Nume

Tipul

Descriere

Shortest path

OUTPUT

[vector: linie]

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

Cod Python

ID Algorithm: nativ:shortestpathpointtopoint

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

ID-ul algoritmului se afișează atunci când treceți peste algoritmul din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și NUMELE parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.