Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
7e718ea
Added translation using Weblate (Swedish)
cvvergara Jul 7, 2025
b7ee4e2
Added translation using Weblate (Swedish)
weblate Jul 7, 2025
d66dbc1
Translated using Weblate (Swedish)
Jul 7, 2025
8e3d501
Renaming basic/chapter4 -> basic/data
cvvergara Sep 29, 2025
f200cd4
Adjusting build and doc because of name changes
cvvergara Sep 29, 2025
e3f4b0e
Renaming basic/chapter_5 -> basic/pedestrian
cvvergara Sep 29, 2025
5f3cf9a
Adjusting build and doc because of name changes
cvvergara Sep 29, 2025
619c9ad
Renaming basic/chapter_6 -> basic/vehicles
cvvergara Sep 29, 2025
f564d6c
Adjusting build and doc because of name changes
cvvergara Sep 29, 2025
1098fc7
Renaming basic/chapter_8 -> basic/plpgsql_function
cvvergara Sep 29, 2025
3fea43a
Adjusting build and doc because of name changes
cvvergara Sep 29, 2025
a98d487
(doc) Renaming basic/graph_views -> basic/graphs
cvvergara Sep 29, 2025
3aad136
Separating code that belongs to graphs from chapter_7
cvvergara Sep 29, 2025
8707372
Adjusting build and doc because of name changes & separation
cvvergara Sep 29, 2025
bff0808
Renaming basic/chapter_7 -> basic/sql_function
cvvergara Sep 29, 2025
656a2b0
Adjusting build and doc because of name changes
cvvergara Sep 29, 2025
b7f658b
Removing unused images
cvvergara Sep 29, 2025
923cc99
Renaming images/chapter4 -> images/data
cvvergara Sep 29, 2025
61d7f3d
Adjusting build and doc because of name changes
cvvergara Sep 29, 2025
3afa715
Renaming images/chapter5 -> images/pedestrian
cvvergara Sep 29, 2025
d755f89
Adjusting build and doc because of name changes
cvvergara Sep 29, 2025
a556037
Renaming images/chapter6 -> images/vehicle
cvvergara Sep 29, 2025
ed2d298
Adjusting build and doc because of name changes
cvvergara Sep 29, 2025
9a9ab1b
Separating images that belongs to graphs from chapter7
cvvergara Sep 29, 2025
f864d53
Adjusting build and doc because of name changes & separation
cvvergara Sep 29, 2025
b74c7ac
Renaming images/chapter7 -> images/sql_function
cvvergara Sep 29, 2025
617ed05
Adjusting build and doc because of name changes
cvvergara Sep 29, 2025
f2e58c6
Renaming images/chapter8 -> images/plpgsql_function
cvvergara Sep 29, 2025
02c735d
Adjusting build and doc because of name changes
cvvergara Sep 29, 2025
fdf04e1
(locale) chapter_5 -> pedestrian
cvvergara Sep 30, 2025
7cf0f31
Removing unused files
cvvergara Sep 30, 2025
974f8a9
(build) Using sphinx-flags
cvvergara Sep 30, 2025
9ab04b5
(CI/locale) adjusting locale.yml to changes
cvvergara Sep 30, 2025
3f10c71
pumpup version to v3.1.0-dev aka Auckland
cvvergara Sep 30, 2025
0beedbf
(cmake) Removing invalid argument
cvvergara Sep 30, 2025
12d832e
(CI) adding gettext
cvvergara Sep 30, 2025
b8c1c4f
Update locale: commit 269715a6
github-actions[bot] Sep 30, 2025
f523eba
Fixing issues reported by rabbit
cvvergara Sep 30, 2025
05caf5c
Update locale: commit 7f9d4774
github-actions[bot] Sep 30, 2025
7f962e0
Fixing sentence
cvvergara Sep 30, 2025
37663d6
Update locale: commit 446295cd
github-actions[bot] Sep 30, 2025
117de6c
(sphinx) adding a copy button
cvvergara Sep 30, 2025
8d8263a
(reorganize) graphs chapter comes after data chapter
cvvergara Sep 30, 2025
b095c36
(basic/data) Cleanup scripts
cvvergara Sep 30, 2025
1f2077a
Removing unused image
cvvergara Oct 1, 2025
5517cc9
(basic/graphs) Creating and adjusting images
cvvergara Oct 1, 2025
c1a3b79
(basic/graphs) rewriting the chapter
cvvergara Oct 1, 2025
affbe49
(basic/graphs) adjusting the scripts
cvvergara Oct 1, 2025
e18e4e2
Updating the locale files for the basic/graphs chapter
cvvergara Oct 1, 2025
964653d
Fixing issues reported by rabbit
cvvergara Oct 1, 2025
7a629c2
Update locale: commit 54e7e6f6
github-actions[bot] Oct 1, 2025
7c72fe3
Fixing more issues detected by rabbit
cvvergara Oct 3, 2025
c776d26
Update locale: commit 6b2bb740
github-actions[bot] Oct 3, 2025
8c73525
(basic/pedestrian) images for the chapter
cvvergara Oct 4, 2025
3fcf6dc
(basic/pedestrian) scripts using the walk net for pedestrian routing
cvvergara Oct 4, 2025
304984f
(basic/pedestrian) updating the pedestrian chapter
cvvergara Oct 4, 2025
c8f69e0
Adjusting other files to changes
cvvergara Oct 4, 2025
afe51ba
Manual update of locale
github-actions[bot] Oct 4, 2025
238cab2
(CI) building the doc/website
cvvergara Oct 4, 2025
2e9aa6d
fixing typo
cvvergara Oct 4, 2025
e2224aa
Update locale: commit 76089461
github-actions[bot] Oct 4, 2025
47710df
(basic/vehicle) images for the chapter
cvvergara Oct 4, 2025
b7606a8
(basic/vehicle) scripts using the vehicle net for vehicle routing
cvvergara Oct 4, 2025
cd18852
(basic/vehicle) updating the vehicle chapter
cvvergara Oct 4, 2025
d0a7e1f
Update locale: commit 1b5ac5ba
github-actions[bot] Oct 4, 2025
2c36d57
(build/images) using configure_file instead of copy
cvvergara Oct 6, 2025
f949f95
Fixing issues reported by rabbit
cvvergara Oct 6, 2025
08ebf6b
More on Fixing issues reported by rabbit
cvvergara Oct 6, 2025
c0ddb6a
Considering sing multiplication on the penalty
cvvergara Oct 6, 2025
a9c729d
(basic/sql_function) script for the documentation
cvvergara Oct 5, 2025
fab548d
(basic/vehicle) images for the chapter
cvvergara Oct 5, 2025
df1ff48
(basic/sql_function) script for the documentation
cvvergara Oct 5, 2025
16cc88c
(build) some changes needed for the chapter sql_functions
cvvergara Oct 5, 2025
10add9b
(basic/sql_function) updating the sql_function chapter
cvvergara Oct 5, 2025
c3fb06b
(basic/sql_function) script for the documentation
cvvergara Oct 6, 2025
87f210d
Update locale: commit 946aa064
github-actions[bot] Oct 7, 2025
d7aa84f
Fixing some errors detected by rabbit
cvvergara Oct 7, 2025
656fbf5
(build) fixing the osmid configuration
cvvergara Oct 7, 2025
b9930f6
Renaming chapter plpgsql_function -> withPoints
cvvergara Oct 6, 2025
8acac6f
Renaming chapter plpgsql_function -> withPoints
cvvergara Oct 7, 2025
be10603
(locale) adjusting filename on references
cvvergara Oct 7, 2025
eb67935
(build) Adjusting the points and filenames
cvvergara Oct 7, 2025
30398c6
(basic/withPoints) The chapter images
cvvergara Oct 6, 2025
9e58b04
(basic/withPoints) script for the documentation
cvvergara Oct 7, 2025
301c6f6
(basic/withPoints) Adjusting the documentation
cvvergara Oct 7, 2025
0c47176
Update locale: commit 1c4909d3
github-actions[bot] Oct 7, 2025
4d06344
Fixing typos detected by rabbit
cvvergara Oct 7, 2025
fde0b02
Translated using Weblate (Spanish)
weblate Oct 7, 2025
01b1cd0
Translated using Weblate (Japanese)
weblate Oct 7, 2025
7c006c2
Translated using Weblate (Swedish)
weblate Oct 7, 2025
013195c
fixing conflicts
cvvergara Oct 7, 2025
46da5fd
Merge pull request #261 from pgRouting/new-develop
cvvergara Oct 7, 2025
25dab4a
Fixing CH7_ID_X variables
cvvergara Oct 17, 2025
59b8178
Merge pull request #263 from cvvergara/fix-cha7-variables
cvvergara Oct 17, 2025
1e89ef4
Bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
b221a12
Getting the AUCKLAND_NZ from OSGeoLive
cvvergara Nov 28, 2025
3570711
Update locale: commit b221a128
github-actions[bot] Nov 28, 2025
75e13e4
Merge pull request #264 from pgRouting/dependabot/github_actions/acti…
cvvergara Nov 28, 2025
6114f86
Merge pull request #268 from cvvergara/fixing-auckland-data-to-match-…
cvvergara Nov 28, 2025
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
19 changes: 10 additions & 9 deletions .github/scripts/update_locale.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
# ------------------------------------------------------------------------------
# /*PGR-GNU*****************************************************************
# File: update_locale.sh
# Copyright (c) 2021 pgRouting developers
Expand All @@ -17,32 +16,34 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# ********************************************************************PGR-GNU*/
# ------------------------------------------------------------------------------

DIR=$(git rev-parse --show-toplevel)

pushd "${DIR}" > /dev/null || exit 1

mkdir -p build
pushd build > /dev/null || exit 1
cmake -DLOCALE=ON ..
cmake -DBUILD_HTML=OFF -DBUILD_LOCALE=ON ..

make locale
popd > /dev/null || exit 1

# List all the files that needs to be committed in build/docs/locale_changes.txt
awk '/^Update|^Create/{print $2}' build/docs/locale_changes.txt > build/docs/locale_changes_po.txt # .po files
cp build/docs/locale_changes_po.txt build/docs/locale_changes_po_pot.txt
perl -ne '/\/en\// && print' build/docs/locale_changes_po.txt | \

if [ -s build/docs/locale_changes_po.txt ]; then

perl -ne '/\/en\// && print' build/docs/locale_changes_po.txt | \
perl -pe 's/(.*)en\/LC_MESSAGES(.*)/$1pot$2t/' >> build/docs/locale_changes_po_pot.txt # .pot files

# Do not create empty translation files
git status locale/es --porcelain | awk 'match($1, "?"){print $2}' | xargs -r rm -rf
git status locale/ja --porcelain | awk 'match($1, "?"){print $2}' | xargs -r rm -rf
fi

# Remove obsolete entries #~ from .po files
bash .github/scripts/remove_obsolete_entries.sh
find locale -type f -name '*.po' -exec sh -c '
msgattrib --no-obsolete -o "$1" "$1"
' sh {} \;

cat build/docs/locale_changes_po_pot.txt | xargs -I {} sh -c "(ls {} >> /dev/null 2>&1 && git add {} )"
while read -r f; do git add "$f"; done < build/docs/locale_changes_po_pot.txt

popd > /dev/null || exit 1
5 changes: 2 additions & 3 deletions .github/workflows/locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down Expand Up @@ -55,6 +55,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y osm2pgrouting \
gettext \
postgresql-${PGVER}-postgis-${PGIS} \
postgresql-${PGVER}-postgis-${PGIS}-scripts \
postgresql-${PGVER}-pgrouting
Expand All @@ -74,8 +75,6 @@ jobs:
sudo -u postgres psql -c 'CREATE ROLE "user" SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN PASSWORD $$user$$;' -d setup
echo :5432:*:user:user >> .pgpass
mkdir build
cd build
cmake -DLOCALE=ON ..
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Get postgres version
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Build
run: |
cd build
make -j 4
make doc

- name: Initialize mandatory git config
run: |
Expand All @@ -95,7 +95,7 @@ jobs:
if [[ "${{ env.BRANCH }}" == "develop" ]]; then
FOLDER_NAME="dev"
elif [[ "${{ env.BRANCH }}" == "main" ]]; then
FOLDER_NAME="3.0"
FOLDER_NAME="3.1"
fi
git checkout -f origin/gh-pages
git checkout -b gh-pages
Expand Down
159 changes: 0 additions & 159 deletions .tx/config

This file was deleted.

58 changes: 26 additions & 32 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
#---------------------------------------------
# Setting the version number
#---------------------------------------------
set(PGR_WORKSHOP_CITY "Belém")
set(PGR_WORKSHOP_CITY "Auckland")
set(WORKSHOP_AREA "FOSS4G ${PGR_WORKSHOP_CITY}")
set(COPYRIGHT "2010-2024 pgRouting Developers")
set(COPYRIGHT "2010-2025 pgRouting Developers")
set(PGR_WORKSHOP_VERSION_MAJOR "3")
set(PGR_WORKSHOP_VERSION_MINOR "0")
set(PGR_WORKSHOP_VERSION_PATCH "1")
set(PGR_WORKSHOP_VERSION_DEV "")
set(PGR_WORKSHOP_VERSION_MINOR "1")
set(PGR_WORKSHOP_VERSION_PATCH "0")
set(PGR_WORKSHOP_VERSION_DEV "-dev")
set(PGR_WORKSHOP_VERSION "${PGR_WORKSHOP_VERSION_MAJOR}.${PGR_WORKSHOP_VERSION_MINOR}")
set(PGR_WORKSHOP_RELEASE "${PGR_WORKSHOP_VERSION_MAJOR}.${PGR_WORKSHOP_VERSION_MINOR}.${PGR_WORKSHOP_VERSION_PATCH}${PGR_WORKSHOP_VERSION_DEV}")
set(PGR_WORKSHOP_NAME "pgRouting workshop")
Expand All @@ -45,53 +45,47 @@ option(PGR_WORKSHOP_VERBOSE_DEBUG
#---------------------------------------------
# CONFIGURATION
#---------------------------------------------
set(PGR_WORKSHOP_CITY_FILE "BELEM_BR")
set(PGR_WORKSHOP_CITY_FILE "AUCKLAND_NZ")

# https://github.com/OSGeo/OSGeoLive/blob/master/bin/install_osm.sh
# around line 117
set(PGR_WORKSHOP_CITY_BBOX "-48.52,-1.49,-48.4,-1.36")
set(PGR_WORKSHOP_CITY_BBOX "-36.8798,174.8,-36.8344,174.72")

# Make it smaller
set(PGR_WORKSHOP_LITTLE_NET_BBOX "-48.52,-1.46,-48.45,-1.41")
set(PGR_WORKSHOP_LITTLE_NET_BBOX "174.775,-36.855,174.76,-36.84")

# Use git blame to get the date when the line was changed
set(PGR_WORKSHOP_DOWNLOAD_DIR "workshop-2024")
set(DATE_OF_DATA "Sep 2024")
set(PGR_WORKSHOP_DOWNLOAD_DIR "workshop-2025")
set(DATE_OF_DATA "Jun 2025")

if (WORKSHOP_DEBUG)
message(STATUS "WORKSHOP_CITY_FILE=${WORKSHOP_CITY_FILE}")
endif()

set(OSMID_1 "10982869752")
set(OSMID_2 "11818739588")
set(OSMID_3 "491465035")
set(OSMID_4 "1069202329")
set(OSMID_5 "5661895682")

set(LAT1 "-1.422066")
set(LON1 "-48.45665")

set(OSMID_1 "9451619540")
set(OSMID_2 "60662678")
set(OSMID_3 "11045827672")
set(OSMID_4 "9452115611")
set(OSMID_5 "11045833969")

# 3->1: routes for vehicles with penalty & no penalty must be different
set(PLACE_1 "Hangar Convention Center")
set(PLACE_2 "Instituto Federal do Pará, Campus Belém")
set(PLACE_3 "Palacete Bolonha")
set(PLACE_4 "Forte do Castelo")
set(PLACE_5 "Estação das Docas")

set(PLACE_1 "Auckland University of Technology")
set(PLACE_2 "The Band Rotunda")
set(PLACE_3 "Four Points by Sheraton")
set(PLACE_4 "Sky tower")
set(PLACE_5 "Emily Place Reserve")

set(POINT1_LAT "-1.455829")
set(POINT1_LON "-48.446044")
set(POINT2_LAT "-1.453448")
set(POINT2_LON "-48.447142")

# by chapters
set(CH7_PLACE_1 ${PLACE_5})
set(CH7_ID_1 ${OSMID_5})
set(CH7_PLACE_2 ${PLACE_1})
set(CH7_OSMID_1 ${OSMID_5})
set(CH7_OSMID_2 ${OSMID_1})
set(CH7_ID_2 ${OSMID_1})

set(POINT1_LAT "-36.850329")
set(POINT1_LON "174.763094")

set(POINT2_LAT "-36.853675")
set(POINT2_LON "174.764448")

#---------------------------------------------
# minimum versions
Expand Down
1 change: 1 addition & 0 deletions REQUIREMENTS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Sphinx>4.0.0
sphinx_bootstrap_theme>=0.4
sphinx-intl
sphinx-collapse
sphinx-copybutton
Loading
Loading