GSoC 2026 Week 11 Report: Implementation of Planar Face Extraction and K-Core Decomposition Algorithms to pgRouting

Md Sakir Ahmed
Github id: sakirr05
Mentors: @cvvergara, @robe
Organization: OSGeo / pgRouting
OSGeo Profile: OSGeo Profile Link
Project Wiki: Github Wiki Link
Repository: Repo Link

Hello everyone,

This is my eleventh weekly report of Official coding period for GSoC 2026

Week 11 Report (10 august ~ 16 august)

What did I get done this week?

pgr_planarFaces - PR #621:

  • Applied the same consolidation @cvvergara demoed on pgr_coreNumbers on 10th week, this time to pgr_planarFaces. The difference is coloring_process.h returns II_t_rt which only carries two values, and planarFaces needs three (face_id, edge_id, side), so it could not join that pair
  • Switched the function to the shared IID_t_rt instead and dropped my own private return type. The mapping is from_vid = face id, to_vid = edge id, cost = side, documented it in planarFaces.hpp so the next person reading it does not have to guess
  • Since no existing process/driver pair matched IID_t_rt for this family, added planar_process.h, planar_driver.hpp, planar_process.cpp and planar_driver.cpp, with a switch on Which and a case PLANARFACES, same shape as coloring_driver.cpp
  • Added PLANARFACES to the enumeration and to get_name, and repointed planarFaces.c to call pgr_process_planar
  • Removed the five now unused files: planarFaces_process.cpp, planarFaces_process.h, planarFaces_driver.cpp, planarFaces_driver.hpp and include/c_types/planarFaces_rt.h, then fixed CMakeLists.txt
  • Checked the SQL output did not change at all: side is still INTEGER with only 1 and 2, and all 76 pgtap assertions still pass. The whole thing came to +133/-115 across 10 files

pgr_coreNumbers - PR #620:

  • No algorithm changes needed this week, pgr_coreNumbers was already folded into coloring_driver.cpp in week 10, so this one was a sync with pgrouting/develop to keep the branch
    current before the final PRs
  • Brought in 27 commits, the big one being the breadthFirstSearch reorganisation into traversal (src/, sql/, include/ and include/drivers/ all moved), which deletes
    binaryBreadthFirstSearch_driver.cpp and folds it into shortestPath_drivttern being applied across the whole codebase
  • Also came in: the pgr_dijkstraVia std::bad_alloc fix (#3124), the standardised message and condition for negative distance on pgr_drivingDistance (#3128), and the 4.0.2
    release notes

Boost Proof of Concept - PR #625:

  • Opened the first Boost version PoC branch for planarFaces on the 15th, to start on the CI homework

What do I plan on doing next week? (17 august ~ 23 august)

  • Open the matching Boost PoC branch for pgr_coreNumbers and report the CI results for both
  • Ask the mentors about the right home for the planar family’s process/dr and betweennessCentrality also return IID_t_rt but still have standalonedrivers
  • Documentation polish on both functions before the final PRs to pgroutin

Am I blocked on anything?

No

References:

1] Link to wiki page: wiki link

2] Link to github repository: github repository

3] Link to pull requests: