Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Get path as a geometry

Aperta
#2,508 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp, postgresql
Ambito
databases

Direzione di ricerca

The issue is about enhancing pgRouting's Cost Matrix and one-to-one functions to return a geometry column representing the traveled path. Start by examining the existing routing functions in the source code, likely in the 'src' directory, to understand how paths and costs are currently computed and returned. Look for functions related to cost matrix and one-to-one routing. The goal is to modify these functions to optionally generate and return a linestring geometry for the path. Testing would involve building the extension and running routing queries with the new parameter.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Enhancement

Hi all!

Problem
With pgrouting, we can get the costs and paths of practically every node, this is great, but there is no easy way to transform the path, to the traveled geometry, at least in the Cost Matrix.

Improvement
I think would be great, if the functions has a new param, where we set it to true they will return a new geometry column with the traveled path.

Actually, I think can be applied in some ways, like this:

In the MatrixCost, add a new column with the full traveled path in a geometry.
While in the one2one nodes, is possible add a new geom column where is has the traveled path of the seq. Due to this, we would have n-1 linestrings, and one empty (similar to what happens with agg_cost).

Thx!

Lingua principale
C++
Stelle
1.4k
Fork
397
Merge medio
2g 2h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pgRouting/pgrouting

Tutte le issue di pgRouting/pgrouting

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.