Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[processing] Endpoint distance threshold for network analysis (Request in QGIS) #9029

Open
qgis-bot opened this issue Apr 19, 2024 · 0 comments
Labels
3.38 QGIS 3.38 new features
Milestone

Comments

@qgis-bot
Copy link
Collaborator

Request for documentation

From pull request qgis/QGIS#57084
Author: @nyalldawson
QGIS version: 3.38

[processing] Endpoint distance threshold for network analysis

PR Description:

Adds an optional end point distance threshold parameter to the network analysis tools. Previously (and still, by default) endpoints will ALWAYS be snapped to the nearest point in the network layer, regardless of how far away from the network they actually are. This can result in meaningless results, as the tools will happily snap points to a road hundreds of kilometers away :)

Now, there's an optional end point distance threshold parameter for these tools. The behaviour of the threshold depends on the algorithm:

  • For the “Service area (from layer)” tool an optional new output was added for “non routable features”. This output will contain any features which were deemed too far from the network. All other features which are within tolerance distance to the network will be stored in the standard output from the tool.
  • For the “Service area (from point)” tool an error will be raised if the point is too far from the network
  • For the “Shortest path (point to point)” tool an error will be raised if either the source or destination points are too far from the network.
  • For the “Shortest path (layer to point)” and “Shortest path (point to layer)” tools:
    • An error will be raised if the point is too far from the network.
    • A new optional output was added for “non routable features”. This output will contain any features which were deemed too far from the network. All other features which are within tolerance distance to the network will be stored in the standard output from the tool.

Sponsored by City of Canning

Commits tagged with [need-docs] or [FEATURE]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.38 QGIS 3.38 new features
Projects
None yet
Development

No branches or pull requests

1 participant