Skip to content

Improvement: add "prev" column to pgr_dijkstraVia result set #3111

Description

@claudiadragoste

Problem

Currently, pgr_dijkstraVia returns the following fields:

seq | path_id | path_seq | start_vid | end_vid | node | edge | cost | agg_cost | route_agg_cost

However, unlike other pgRouting functions such as pgr_drivingDistance, it does not expose predecessor information.

Improvement

Add prev column to the result set of pgr_dijkstraVia.
Proposed output:

seq | path_id | path_seq | start_vid | end_vid | prev | node | edge | cost | agg_cost | route_agg_cost

Where: prev = previous node
Alternatives

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions