Importante

A tradução é um esforço comunitário você pode contribuir. Esta página está atualmente traduzida em 78.44%.

24.1.10. Análise de rede

24.1.10.1. Área de serviço (a partir da camada)

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

Parâmetros

Parâmetros básicos

Rótulo

Nome

Tipo

Descrição

Camada vetorial representando a rede

INPUT

[vetor: linha]

Camada de vetor de linha representando a rede a ser coberta

Camada vetorial com pontos iniciais

START_POINTS

[vetor: ponto]

Camada vetorial de pontos cujas feições são usadas como pontos de partida para gerar as áreas de serviço

Tipo de caminho a ser calculado

STRATEGY

[enumeração]

Padrão: 0

O tipo de caminho a ser calculado. Um de:

  • 0 — Mais curto

  • 1 — Mais rápido

Custo da viagem (distância para “Mais curto”, tempo para “Mais rápido”)

TRAVEL_COST

[numeric: double]

Padrão: 0.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

[vetor: linha]

Padrão: [Criar camada temporária]

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

  • Ignorar Saída

  • Criar Camada Temporária (TEMPORARY_OUTPUT)

  • Salvar em Arquivo…

  • Salvar para Geopackage…

  • Salvar na Tabela de Banco de Dados…

A codificação do arquivo também pode ser alterada aqui.

Service area (boundary nodes)

OUTPUT

[vetor: ponto]

Default: [Pular saída]

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

  • Ignorar Saída

  • Criar Camada Temporária (TEMPORARY_OUTPUT)

  • Salvar em Arquivo…

  • Salvar para Geopackage…

  • Salvar na Tabela de Banco de Dados…

A codificação do arquivo também pode ser alterada aqui.

Non-routable features

OUTPUT_NON_ROUTABLE

[vetor: ponto]

Default: [Pular saída]

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:

  • Ignorar Saída

  • Criar Camada Temporária (TEMPORARY_OUTPUT)

  • Salvar em Arquivo…

  • Salvar para Geopackage…

  • Salvar na Tabela de Banco de Dados…

A codificação do arquivo também pode ser alterada aqui.

Parâmetros avançados

Rótulo

Nome

Tipo

Descrição

Campo de direção

Opcional

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.

Valor para a direção direta

Opcional

VALUE_FORWARD

[string]

Padrão: ‘’ (string vazia)

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

Valor para a direção para trás

Opcional

VALUE_BACKWARD

[string]

Padrão: ‘’ (string vazia)

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

Valor para ambas as direções

Opcional

VALUE_BOTH

[string]

Padrão: ‘’ (string vazia)

Value set in the direction field to identify bidirectional edges

Direção padrão

DEFAULT_DIRECTION

[enumeração]

Padrão: 2

Se uma feição não tiver valor definido no campo de direção ou se nenhum campo de direção estiver definido, esse valor de direção será usado. Um de:

  • 0 — Direção para frente

  • 1 — Sentido inverso

  • 2 — Ambas as direções

Campo de velocidade

Opcional

SPEED_FIELD

[tablefield: numeric]

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

Se uma feição não tiver um valor nesse campo ou nenhum campo estiver definido, o valor da velocidade padrão (fornecido com o parâmetro Velocidade padrão) será usado.

Velocidade padrão (km/h)

DEFAULT_SPEED

[numeric: double]

Padrão: 50.0

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

** Tolerância de Topologia**

TOLERANCE

[numeric: double]

Padrão: 0.0

Duas linhas com nós mais próximos que a tolerância especificada são consideradas conectadas

Include upper/lower bound points

INCLUDE_BOUNDS

[boleano]

Padrão: Falso

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

Opcional

POINT_TOLERANCE

[numeric: double]

Padrão: Não definido

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.

Saídas

Rótulo

Nome

Tipo

Descrição

Service area (boundary nodes)

OUTPUT

[vetor: ponto]

The output point layer with the service area boundary nodes.

Service area (lines)

OUTPUT_LINES

[vetor: linha]

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

[vetor: ponto]

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

Código Python

Algorithm ID: qgis:serviceareafromlayer

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

O id do algoritmo é exibido quando você passa o mouse sobre o algoritmo na Caixa de ferramentas de processamento. O dicionário de parâmetros fornece os nomes e valores dos parâmetros. Veja Usando os algoritmos do processamento a partir do Terminal Python. para detalhes sobre como executar algoritmos de processamento a partir do console Python.

24.1.10.2. Área de serviço (a partir do ponto)

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

Parâmetros

Parâmetros básicos

Rótulo

Nome

Tipo

Descrição

Vector layer representing the network

INPUT

[vetor: linha]

Camada de vetor de linha representando a rede a ser coberta

Tipo de caminho a ser calculado

STRATEGY

[enumeração]

Padrão: 0

O tipo de caminho a ser calculado. Um de:

  • 0 — Mais curto

  • 1 — Mais rápido

Start point

START_POINT

[coordenadas]

Coordenada do ponto para calcular a área de serviço ao redor.

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

Custo da viagem (distância para “Mais curto”, tempo para “Mais rápido”)

TRAVEL_COST

[numeric: double]

Default: 0.O

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)

Opcional

OUTPUT_LINES

[vetor: linha]

Padrão: [Criar camada temporária]

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

  • Ignorar Saída

  • Criar Camada Temporária (TEMPORARY_OUTPUT)

  • Salvar em Arquivo…

  • Salvar para Geopackage…

  • Salvar na Tabela de Banco de Dados…

A codificação do arquivo também pode ser alterada aqui.

Service area (boundary nodes)

Opcional

OUTPUT

[vetor: ponto]

Default: [Pular saída]

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

  • Ignorar Saída

  • Criar Camada Temporária (TEMPORARY_OUTPUT)

  • Salvar em Arquivo…

  • Salvar para Geopackage…

  • Salvar na Tabela de Banco de Dados…

A codificação do arquivo também pode ser alterada aqui.

Parâmetros avançados

Rótulo

Nome

Tipo

Descrição

Campo de direção

Opcional

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.

Valor para a direção direta

Opcional

VALUE_FORWARD

[string]

Padrão: ‘’ (string vazia)

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

Valor para a direção para trás

Opcional

VALUE_BACKWARD

[string]

Padrão: ‘’ (string vazia)

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

Valor para ambas as direções

Opcional

VALUE_BOTH

[string]

Padrão: ‘’ (string vazia)

Value set in the direction field to identify bidirectional edges

Direção padrão

DEFAULT_DIRECTION

[enumeração]

Padrão: 2

Se uma feição não tiver valor definido no campo de direção ou se nenhum campo de direção estiver definido, esse valor de direção será usado. Um de:

  • 0 — Direção para frente

  • 1 — Sentido inverso

  • 2 — Ambas as direções

Campo de velocidade

Opcional

SPEED_FIELD

[tablefield: numeric]

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

Se uma feição não tiver um valor nesse campo ou nenhum campo estiver definido, o valor da velocidade padrão (fornecido com o parâmetro Velocidade padrão) será usado.

Velocidade padrão (km/h)

DEFAULT_SPEED

[numeric: double]

Padrão: 50.0

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

** Tolerância de Topologia**

TOLERANCE

[numeric: double]

Padrão: 0.0

Duas linhas com nós mais próximos que a tolerância especificada são consideradas conectadas

Maximum point distance from network

Opcional

POINT_TOLERANCE

[numeric: double]

Padrão: 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

[boleano]

Padrão: Falso

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.

Saídas

Rótulo

Nome

Tipo

Descrição

Service area (boundary nodes)

OUTPUT

[vetor: ponto]

The output point layer with the service area boundary nodes.

Service area (lines)

OUTPUT_LINES

[vetor: linha]

Camada de linha representando as partes da rede que podem ser atendidas pelo ponto inicial, pelo custo determinado.

Código Python

Algorithm ID: native:serviceareafrompoint

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

O id do algoritmo é exibido quando você passa o mouse sobre o algoritmo na Caixa de ferramentas de processamento. O dicionário de parâmetros fornece os nomes e valores dos parâmetros. Veja Usando os algoritmos do processamento a partir do Terminal Python. para detalhes sobre como executar algoritmos de processamento a partir do console Python.

24.1.10.3. Caminho mais curto (camada a ponto)

Calcula as rotas ideais (mais curtas ou mais rápidas) de vários pontos iniciais definidos por uma camada vetorial e um determinado ponto final.

Parâmetros

Parâmetros básicos

Rótulo

Nome

Tipo

Descrição

Camada vetorial representando a rede

INPUT

[vetor: linha]

Camada de vetor de linha representando a rede a ser coberta

Tipo de caminho a ser calculado

STRATEGY

[enumeração]

Padrão: 0

O tipo de caminho a ser calculado. Um de:

  • 0 — Mais curto

  • 1 — Mais rápido

Camada vetorial com pontos iniciais

START_POINTS

[vetor: ponto]

Camada vetorial de pontos cujas feições são usadas como pontos iniciais das rotas

Ponto final (x, y)

END_POINT

[coordenadas]

Feição de ponto que representa o ponto final das rotas

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

Caminho mais curto

OUTPUT

[vetor: linha]

Padrão: [Criar camada temporária]

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

  • Criar Camada Temporária (TEMPORARY_OUTPUT)

  • Salvar em Arquivo…

  • Salvar para Geopackage…

  • Salvar na Tabela de Banco de Dados…

A codificação do arquivo também pode ser alterada aqui.

Non-routable features

Opcional

OUTPUT_NON_ROUTABLE

[vetor: ponto]

Default: [Pular saída]

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:

  • Ignorar Saída

  • Criar Camada Temporária (TEMPORARY_OUTPUT)

  • Salvar em Arquivo…

  • Salvar para Geopackage…

  • Salvar na Tabela de Banco de Dados…

A codificação do arquivo também pode ser alterada aqui.

Parâmetros avançados

Rótulo

Nome

Tipo

Descrição

Campo de direção

Opcional

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.

Valor para a direção direta

Opcional

VALUE_FORWARD

[string]

Padrão: ‘’ (string vazia)

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

Valor para a direção para trás

Opcional

VALUE_BACKWARD

[string]

Padrão: ‘’ (string vazia)

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

Valor para ambas as direções

Opcional

VALUE_BOTH

[string]

Padrão: ‘’ (string vazia)

Value set in the direction field to identify bidirectional edges

Direção padrão

DEFAULT_DIRECTION

[enumeração]

Padrão: 2

Se uma feição não tiver valor definido no campo de direção ou se nenhum campo de direção estiver definido, esse valor de direção será usado. Um de:

  • 0 — Direção para frente

  • 1 — Sentido inverso

  • 2 — Ambas as direções

Campo de velocidade

Opcional

SPEED_FIELD

[tablefield: numeric]

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

Se uma feição não tiver um valor nesse campo ou nenhum campo estiver definido, o valor da velocidade padrão (fornecido com o parâmetro Velocidade padrão) será usado.

Velocidade padrão (km/h)

DEFAULT_SPEED

[numeric: double]

Padrão: 50.0

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

** Tolerância de Topologia**

TOLERANCE

[numeric: double]

Padrão: 0.0

Duas linhas com nós mais próximos que a tolerância especificada são consideradas conectadas

Maximum point distance from network

Opcional

POINT_TOLERANCE

[numeric: double]

Padrão: Não definido

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.

Saídas

Rótulo

Nome

Tipo

Descrição

Caminho mais curto

OUTPUT

[vetor: linha]

Camada de linha do caminho mais curto ou mais rápido de cada um dos pontos iniciais até o ponto final

Non routable features

OUTPUT_NON_ROUTABLE

[vetor: ponto]

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

Código Python

Algorithm ID: native:shortestpathlayertopoint

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

O id do algoritmo é exibido quando você passa o mouse sobre o algoritmo na Caixa de ferramentas de processamento. O dicionário de parâmetros fornece os nomes e valores dos parâmetros. Veja Usando os algoritmos do processamento a partir do Terminal Python. para detalhes sobre como executar algoritmos de processamento a partir do console Python.

24.1.10.4. Caminho mais curto (ponto a camada)

Calcula as rotas ideais (mais curtas ou mais rápidas) entre um determinado ponto inicial e vários pontos finais definidos por uma camada vetorial de ponto.

Aviso

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

Parâmetros

Parâmetros básicos

Rótulo

Nome

Tipo

Descrição

Camada vetorial representando a rede

INPUT

[vetor: linha]

Camada de vetor de linha representando a rede a ser coberta

Tipo de caminho a ser calculado

STRATEGY

[enumeração]

Padrão: 0

O tipo de caminho a ser calculado. Um de:

  • 0 — Mais curto

  • 1 — Mais rápido

Start point

START_POINT

[coordenadas]

Feição de ponto que representa o ponto inicial das rotas

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

Camada vetorial com pontos finais

END_POINTS

[vetor: ponto]

Camada vetorial de ponto cujas feições são usadas como pontos finais das rotas

Caminho mais curto

OUTPUT

[vetor: linha]

Padrão: [Criar camada temporária]

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

  • Criar Camada Temporária (TEMPORARY_OUTPUT)

  • Salvar em Arquivo…

  • Salvar para Geopackage…

  • Salvar na Tabela de Banco de Dados…

A codificação do arquivo também pode ser alterada aqui.

Non-routable features

OUTPUT_NON_ROUTABLE

Opcional

[vetor: ponto]

Default: [Pular saída]

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:

  • Ignorar Saída

  • Criar Camada Temporária (TEMPORARY_OUTPUT)

  • Salvar em Arquivo…

  • Salvar para Geopackage…

  • Salvar na Tabela de Banco de Dados…

A codificação do arquivo também pode ser alterada aqui.

Parâmetros avançados

Rótulo

Nome

Tipo

Descrição

Campo de direção

Opcional

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.

Valor para a direção direta

Opcional

VALUE_FORWARD

[string]

Padrão: ‘’ (string vazia)

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

Valor para a direção para trás

Opcional

VALUE_BACKWARD

[string]

Padrão: ‘’ (string vazia)

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

Valor para ambas as direções

Opcional

VALUE_BOTH

[string]

Padrão: ‘’ (string vazia)

Value set in the direction field to identify bidirectional edges

Direção padrão

DEFAULT_DIRECTION

[enumeração]

Padrão: 2

Se uma feição não tiver valor definido no campo de direção ou se nenhum campo de direção estiver definido, esse valor de direção será usado. Um de:

  • 0 — Direção para frente

  • 1 — Sentido inverso

  • 2 — Ambas as direções

Campo de velocidade

Opcional

SPEED_FIELD

[tablefield: numeric]

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

Se uma feição não tiver um valor nesse campo ou nenhum campo estiver definido, o valor da velocidade padrão (fornecido com o parâmetro Velocidade padrão) será usado.

Velocidade padrão (km/h)

DEFAULT_SPEED

[numeric: double]

Padrão: 50.0

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

** Tolerância de Topologia**

TOLERANCE

[numeric: double]

Padrão: 0.0

Duas linhas com nós mais próximos que a tolerância especificada são consideradas conectadas

Maximum point distance from network

Opcional

POINT_TOLERANCE

[numeric: double]

Padrão: Não definido

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.

Saídas

Rótulo

Nome

Tipo

Descrição

Caminho mais curto

OUTPUT

[vetor: linha]

Camada de linha do caminho mais curto ou mais rápido de cada um dos pontos iniciais até o ponto final

Non routable features

OUTPUT_NON_ROUTABLE

[vetor: ponto]

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

Código Python

Algorithm ID: native:shortestpathpointtolayer

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

O id do algoritmo é exibido quando você passa o mouse sobre o algoritmo na Caixa de ferramentas de processamento. O dicionário de parâmetros fornece os nomes e valores dos parâmetros. Veja Usando os algoritmos do processamento a partir do Terminal Python. para detalhes sobre como executar algoritmos de processamento a partir do console Python.

24.1.10.5. Caminho mais curto (ponto a ponto)

Calcula a rota ideal (mais curta ou mais rápida) entre um determinado ponto inicial e um determinado ponto final.

Parâmetros

Parâmetros básicos

Rótulo

Nome

Tipo

Descrição

Camada vetorial representando a rede

INPUT

[vetor: linha]

Camada de vetor de linha representando a rede a ser coberta

Tipo de caminho a ser calculado

STRATEGY

[enumeração]

Padrão: 0

O tipo de caminho a ser calculado. Um de:

  • 0 — Mais curto

  • 1 — Mais rápido

Ponto inicial (x, y)

START_POINT

[coordenadas]

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.

Ponto final (x, y)

END_POINT

[coordenadas]

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.

Caminho mais curto

OUTPUT

[vetor: linha]

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

  • Criar Camada Temporária (TEMPORARY_OUTPUT)

  • Salvar em Arquivo…

  • Salvar para Geopackage…

  • Salvar na Tabela de Banco de Dados…

A codificação do arquivo também pode ser alterada aqui.

Parâmetros avançados

Rótulo

Nome

Tipo

Descrição

Campo de direção

Opcional

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.

Valor para a direção direta

Opcional

VALUE_FORWARD

[string]

Padrão: ‘’ (string vazia)

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

Valor para a direção para trás

Opcional

VALUE_BACKWARD

[string]

Padrão: ‘’ (string vazia)

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

Valor para ambas as direções

Opcional

VALUE_BOTH

[string]

Padrão: ‘’ (string vazia)

Value set in the direction field to identify bidirectional edges

Direção padrão

DEFAULT_DIRECTION

[enumeração]

Padrão: 2

Se uma feição não tiver valor definido no campo de direção ou se nenhum campo de direção estiver definido, esse valor de direção será usado. Um de:

  • 0 — Direção para frente

  • 1 — Sentido inverso

  • 2 — Ambas as direções

Campo de velocidade

Opcional

SPEED_FIELD

[tablefield: numeric]

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

Se uma feição não tiver um valor nesse campo ou nenhum campo estiver definido, o valor da velocidade padrão (fornecido com o parâmetro Velocidade padrão) será usado.

Velocidade padrão (km/h)

DEFAULT_SPEED

[numeric: double]

Padrão: 50.0

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

** Tolerância de Topologia**

TOLERANCE

[numeric: double]

Padrão: 0.0

Duas linhas com nós mais próximos que a tolerância especificada são consideradas conectadas

Maximum point distance from network

Opcional

POINT_TOLERANCE

[numeric: double]

Padrão: Não definido

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.

Saídas

Rótulo

Nome

Tipo

Descrição

Caminho mais curto

OUTPUT

[vetor: linha]

Camada de linha do caminho mais curto ou mais rápido de cada ponto inicial até o ponto final

Código Python

Algorithm ID: native:shortestpathpointtopoint

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

O id do algoritmo é exibido quando você passa o mouse sobre o algoritmo na Caixa de ferramentas de processamento. O dicionário de parâmetros fornece os nomes e valores dos parâmetros. Veja Usando os algoritmos do processamento a partir do Terminal Python. para detalhes sobre como executar algoritmos de processamento a partir do console Python.