Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
EOF
sudo mv ./pgdg.pref /etc/apt/preferences.d/
sudo apt update

- name: Add PostgreSQL APT repository
run: |
sudo apt-get purge postgresql-*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
EOF
sudo mv ./pgdg.pref /etc/apt/preferences.d/
sudo apt update

- name: Add PostgreSQL APT repository
run: |
sudo apt-get purge postgresql-*
Expand Down
2 changes: 1 addition & 1 deletion doc/src/support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ There are two mailing lists for pgRouting hosted on OSGeo discourse server:
For general questions and topics about how to use pgRouting, please write to the
user mailing list.

If you want to chat with fellow pgRouting users and contributors, you
If you want to chat with fellow pgRouting users and contributors, you
can join our matrix channel: `pgRouting matrix channel <https://matrix.to/#/#pgrouting:osgeo.org>`_.

You can also ask at `GIS StackExchange <https://gis.stackexchange.com/>`_ and
Expand Down
22 changes: 11 additions & 11 deletions docqueries/metrics/bandwidth.result
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ FROM edges'

/* -- q2 */
CREATE TABLE my_edges1 (
id SERIAL PRIMARY KEY,
source INTEGER,
target INTEGER,
cost DOUBLE PRECISION,
reverse_cost DOUBLE PRECISION
id SERIAL PRIMARY KEY,
source INTEGER,
target INTEGER,
cost DOUBLE PRECISION,
reverse_cost DOUBLE PRECISION
);
CREATE TABLE
/* -- q3 */
Expand Down Expand Up @@ -46,7 +46,7 @@ INSERT INTO my_edges1 (source, target, cost, reverse_cost) VALUES
(6, 3, 1, 1),
(3, 6, 1, 1),
(1, 3, 1, 1),
(3, 1, 1, 1);
(3, 1, 1, 1);
INSERT 0 24
/* -- q4 */
SELECT * FROM pgr_bandwidth(
Expand All @@ -59,11 +59,11 @@ SELECT * FROM pgr_bandwidth(

/* -- q5 */
CREATE TABLE my_edges2 (
id SERIAL PRIMARY KEY,
source INTEGER,
target INTEGER,
cost DOUBLE PRECISION,
reverse_cost DOUBLE PRECISION
id SERIAL PRIMARY KEY,
source INTEGER,
target INTEGER,
cost DOUBLE PRECISION,
reverse_cost DOUBLE PRECISION
);
CREATE TABLE
/* -- q6 */
Expand Down
29 changes: 25 additions & 4 deletions locale/en/LC_MESSAGES/pgrouting_doc_strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pgRouting v3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-08-27 16:54+0000\n"
"POT-Creation-Date: 2025-09-08 17:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -3962,8 +3962,8 @@ msgid "The HTML documentation is build by default"
msgstr ""

msgid ""
"The translated languages (en, es, zh_Hans) HTML documentation is build by"
" default"
"The translated languages (en, es, sv, zh_Hans) HTML documentation is "
"build by default"
msgstr ""

msgid "`WITH-DOC` is not used anymore"
Expand Down Expand Up @@ -8185,7 +8185,13 @@ msgstr ""
msgid "ES"
msgstr ""

msgid "if OFF the Spaish documentation will no be built"
msgid "if OFF the Spanish documentation will no be built"
msgstr ""

msgid "SV"
msgstr ""

msgid "if OFF the Swedish documentation will no be built"
msgstr ""

msgid "ZH_HANS"
Expand Down Expand Up @@ -8302,9 +8308,24 @@ msgstr ""
msgid "Translators (in alphabetical order)"
msgstr ""

msgid "Chinese:"
msgstr ""

msgid "Dapeng Wang"
msgstr ""

msgid "Spanish:"
msgstr ""

msgid "Vicky Vergara"
msgstr ""

msgid "Swedish:"
msgstr ""

msgid "Daniel Nylander"
msgstr ""

msgid "Corporate Sponsors in this release (in alphabetical order)"
msgstr ""

Expand Down
27 changes: 24 additions & 3 deletions locale/pot/pgrouting_doc_strings.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pgRouting v4.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-08-27 16:54+0000\n"
"POT-Creation-Date: 2025-09-08 17:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -3556,7 +3556,7 @@ msgstr ""
msgid "The HTML documentation is build by default"
msgstr ""

msgid "The translated languages (en, es, zh_Hans) HTML documentation is build by default"
msgid "The translated languages (en, es, sv, zh_Hans) HTML documentation is build by default"
msgstr ""

msgid "`WITH-DOC` is not used anymore"
Expand Down Expand Up @@ -7009,7 +7009,13 @@ msgstr ""
msgid "ES"
msgstr ""

msgid "if OFF the Spaish documentation will no be built"
msgid "if OFF the Spanish documentation will no be built"
msgstr ""

msgid "SV"
msgstr ""

msgid "if OFF the Swedish documentation will no be built"
msgstr ""

msgid "ZH_HANS"
Expand Down Expand Up @@ -7099,9 +7105,24 @@ msgstr ""
msgid "Translators (in alphabetical order)"
msgstr ""

msgid "Chinese:"
msgstr ""

msgid "Dapeng Wang"
msgstr ""

msgid "Spanish:"
msgstr ""

msgid "Vicky Vergara"
msgstr ""

msgid "Swedish:"
msgstr ""

msgid "Daniel Nylander"
msgstr ""

msgid "Corporate Sponsors in this release (in alphabetical order)"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions src/metrics/metrics_driver.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*PGR-GNU*****************************************************************
File: allpairs_driver.cpp
File: metrics_driver.cpp
Generated with Template by:
Copyright (c) 2025 pgRouting developers
Mail: [email protected]
Developer:
Developer:
Copyright (c) 2025 Saloni Kumari
Mail: chaudharysaloni2510 at gmail.com
Expand Down
12 changes: 6 additions & 6 deletions src/metrics/metrics_process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,23 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

#include "process/metrics_process.h"

#include <string>

extern "C" {
#include "c_common/postgres_connection.h"
#include "c_common/e_report.h"
#include "c_common/time_msg.h"
}

#include <string>

#include "c_types/iid_t_rt.h"
#include "cpp_common/assert.hpp"
#include "drivers/metrics_driver.hpp"

#if 0
which = 0 -> bandwidth
/**
which = 0 -> bandwidth

This is c++ code, linked as C code, because pgr_process_metrics is called from C code
#endif
This is c++ code, linked as C code, because pgr_process_metrics is called from C code
*/
void pgr_process_metrics(const char* edges_sql, int which, IID_t_rt **result_tuples, size_t *result_count) {
pgassert(edges_sql);
pgassert(!(*result_tuples));
Expand Down
4 changes: 2 additions & 2 deletions src/ordering/ordering_process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

#include "process/ordering_process.h"

#include <string>

extern "C" {
#include "c_common/postgres_connection.h"
#include "c_common/e_report.h"
#include "c_common/time_msg.h"
}

#include <string>

#include "cpp_common/assert.hpp"
#include "drivers/ordering_driver.hpp"

Expand Down
2 changes: 2 additions & 0 deletions tools/scripts/code_checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ INCLUDE_ORDER="
-build/include_order:src/cpp_common/pgdata_getters.cpp,
-build/include_order:include/cpp_common/get_data.hpp,
-build/include_order:src/dijkstra/shortestPath_process.cpp,
-build/include_order:src/metrics/metrics_process.cpp,
-build/include_order:src/ordering/ordering_process.cpp,
-build/include_order:src/allpairs/allpairs_process.cpp"

if test -z "$DIRECTORY"; then
Expand Down