Changelog#
Unreleased#
0.5.6 - 2026-09-29#
Fixed#
- Translation - Fix loading the language file
0.5.5 - 2026-09-29#
Fixed#
- Translation - Fix the path of the language files so that the French translation is correctly named and used by the plugin
Changed#
- Edges & markers:
- Add a new column id_source to keep the reference of the imported data identifier
- Update the QGIS administration template project accordingly
- Tests
- Import updated test data & update example files in the folder
roadnetwork/resources/import - Update all the Python tests with these new data
- Fix the test comparing edges data before & after we merge the editing session data
- Docs - Improve the Lizmap Web Client Javascript and CSS files containing
the tools to use the Road Graph PostgreSQL functions.
An example of the Lizmap JSON action file has also been added in
docs/media - SQL Function
road_graph.get_reference_from_point: use a 5m tolerance for getting the next edge references when the point is floating between two unconnected edges
0.5.4 - 2026-09-09#
Changed#
- Hover map tool - use QTimer to limit requests & fix bug with
editing_sessionslayer QGIS action - Get point reference - Use the next edge start marker & abscissa for calculating metrics for points located between two unconnected edges of the same road
- Tests - Add a make pull command to pull docker images
Added#
- SQL -
road_graph.get_road_substring_from_references: add new parameters to prepend and/or expand the closest edge geometry at the start and/or the end of the calculated road substring geometry.
0.5.3 - 2026-07-30#
Changed#
References & geometry calculation: be more tolerant for limit cases
- Function
road_graph.update_table_references_from_geometries: be more tolerant for roundabout & invert start & end result if needed - Function
road_graph.get_road_substring_from_references: Add information when raising exception to help find the problematic objects - Minor fixes: replace wrong usage of
editing_sessionschema in 2 functions
Fixed#
- SQL Function
road_graph.get_reference_from_point: fix exception occurring with distance calculation (PostGIS Bug)
0.5.2 - 2026-07-28#
Fixed#
- Import - SQL function
road_graph.import_data_from_template_tables: Fix error when importing more than one dataset. The function used the original dataidinstead of getting the sequence next value.
0.5.1 - 2026-07-28#
Fixed#
- SQl - function
road_graph.get_downstream_multilinestring_from_referenceFix wrong result when the closest edge substring from the given marker projected point to the end of the road. When the result isEMPTY(for example because the marker is exactly at the end of the edge), the function now returns a valid non-empty linestring (formed by the edge end point doubled)
0.5.0 - 2026-07-27#
Added#
- Add the support for other Coordinate References System (CRS) than
EPSG:2154 - Default CRS is still
EPSG:2154 - Add a new CRS input in the algorithms Create database structure
- Adapt the algorithms Upgrade database structure & Import data to use
the database SRID (taken from the
geometry_columnsPostGIS view)
0.4.11 - 2026-07-27#
Changed#
- SQL
road_graph.get_road_substring_from_references: Add specific calculations for roundabout. Control the values of start abscissa and end abscissa and set them to the beginning or end of the road to avoid errors.
0.4.10 - 2026-07-24#
Changed#
get_road_substring_from_references: adapt the start & end input values from the road markers:- always go to the end of the road when end marker code and/or end abscissa are bigger than possible
- if the start marker code is below the minimum code for the road, use the latter instead with a start abscissa of 0
-
update_table_references_from_geometries: Do not change the value of the columnroad_codeif no references have been found. -
Tests:
- Fix wrong database connection used for local tests && Improve documentation
- Fix the test
test_upgrade_from: start from version 1.
0.4.9 - 2026-07-22#
Changed#
- Edges editing - Replace field
z_levelbyno_intersection_cutting(boolean). This new field has been added as a way to prevent the trigger functions from automatically cutting the edges having this value set to True. It is useful when digitizing motorway access roads, edges located under a bridge, etc. You need to recreate your administration project to reflect this change - SQL - Improve the function
road_graph.toggle_foreign_key_constraintsso that the import and merge editing session algorithms can be used by non-superuser roles
0.4.8 - 2026-07-10#
Changed#
- Processing algorithm -
Update managed objects: . add an option to preserve the linestrings start & end positions. When using this option combined with the update policyUpdate geometries, the references of the existing geometries will be calculated for the start & end line nodes, and then the geometry will be updated from these new references. - SQL - Trigger function
road_graph.after_edge_insert_or_update(): do not create node at intersections for different z_level - QGIS admin project - Add the field
z_levelfor edges layers which - Plugin code: Use
psycopg2rather than f-string to build SQL queries. (This will allow the plugin to be pushed to QGIS official repository)
0.4.7 - 2026-07-06#
Added#
- Lizmap Web Client : add Javascript & CSS files to use with a RoadNetwork published project
Fixed#
- SQL fixes and improvements
road_graph.get_road_substring_from_references:- Check if the resulted geometry has the correct orientation and reverse it if needed
(the function
ST_OffsetCurvedoes not preserver orientation for MULTILINESTRINGS) - Change the precision rounding of generated geometries from
0.01to0.1 - Use default
0.0&rightvalues for features with empty columnsoffsetandside
- Check if the resulted geometry has the correct orientation and reverse it if needed
(the function
road_graph.update_managed_objects_on_graph_change: fix error when no object has been updated
Changed#
- Tests & CI - Improvements & update PostgreSQL version from 15 to 17
- Doc - Add draft concepts to translate
0.4.6 - 2026-07-02#
Fixed#
- Fix multiple misbehaviours of the SQL method
road_graph.update_managed_objects_on_graph_change: road_graph.update_table_references_from_geometries: fix error when managed objectroad_codedoes not existsroad_graph.update_table_references_from_geometries: Add an option to avoid setting the table object offset and side columnsroad_graph.update_managed_objects_on_graph_change: always recalculate start & end points references before updating geometries so that the beginning and end of the linestring geometry does not move
0.4.5 - 2026-06-24#
Fixed#
- SQL - Build MULTILINESTRING from start & end road references
(function
road_graph.get_road_substring_from_references): - fix bug during generation with unwanted intermediate
GEOMETRYCOLLECTION - ensure the produced
MULTILINESTRINGparts are correctly ordered New functionroad_graph.reorder_multilinestring_partswhich can be used inUPDATESQL scripts
0.4.4 - 2026-06-19#
Fixed#
- Update references from geometries
- Force to use the object
road_code - Set the objects references to
NULLif no references have been found around 50m
0.4.3 - 2026-06-16#
Fixed#
- Administration dock - Display the plugin schema version instead of the plugin version
- Algorithm "Update managed objects" - Fix the error when the feature geometry is empty
- SQL - Fix functions
update_table_references_from_geometries&get_merged_geom_from_table_and_ids get_merged_geom_from_table_and_ids: returnNULLif the given table of Ids is emptyupdate_table_references_from_geometries:- get the geometry column name instead of using hard-coded
geom - fix the wrong use of
mo.id: replaced by the name of the primary key field - fix the calculation of
MULTILINESTRINGend points (hack by getting the last part)
- get the geometry column name instead of using hard-coded
- QGIS admin project - Fix wrong data source for the layer
managed_objects
0.4.2 - 2026-06-15#
Changed#
- SQL & algorithm - Calculate references from geometries : do not use
columns
start_offset,start_side,end_offset,end_sidebut onlyoffset&sidefor linestrings (calculated from the start linestring node)
Fixed#
- Algorithm "Import data" (and related SQL function) - Do not add a marker 0 if a marker for this road is already within 1m of an existing marker
- Algorithm "Update managed objects" - Fix issues when updating references for a linestring
(fix function
road_graph.update_table_references_from_geometries) - SQL - Fix
NULLor0calculated references while creating an edge with only 2 nodes
0.4.1 - 2026-06-05#
Fixed#
- Fix the error occurring when updating managed objects references
when the objects had a
cumulativeattribute
Changed#
- Minor changes on the QGIS project
Tests#
- Test the function
road_graph.merge_editing_session_dataand the impact on the managed object geometries or references
0.4.0 - 2026-05-22#
Added#
- Import - Add SQL function & a new algorithm to import data from edges & markers template files
(See example files
source_edges.fgb&source_markers.fgbin plugin folder/resources/import/) - SQL & QGIS - Create a view
v_managed_objectsto see the MultiPolygon geometry of the last updated objects of each managed table.
0.3.3 - 2026-04-17#
Changed#
- Editing session - Update the managed objects when merging the editing session data
- Tests - Add more tests
Fixed#
- SQL - Avoid to cut edges at intersections outside the editing session polygon
- SQL - Separate methods to update geometries/references from the road graph
0.3.2 - 2026-04-12#
Fixed#
- SQL
- Fix the creation of roundabout by avoiding to insert edges which geometry already exists for another edge
- Fix error when deleting a node (wrong merge edges attempt)
0.3.1 - 2026-04-11#
Added#
- Locator : allow to use QGIS Locator bar (CTRL+K) with prefix
rrUsage :D30zoom to the full roadD30 3 150.5 10 left: zoom to the corresponding location (only some of the figures can be given)
Changed#
- Improve CI and packaging
0.3.0 - 2026-04-10#
Added#
- Processing
- Add algorithm allowing to update a layer references or geometries from the road graph
- Tests - Add test data & test some of the main features
Changed#
- Documentation
- SchemaSpy: add functions
- Fix schemaspy generation errors by using option
-t pgsql11
Fixed#
- Fix deletion of an edge ending on a roundabout marker 0
- Fix wrong geometry generation for road substring (roads & roundabouts)
- SQL - Make sure 90_GLOSSARY.sql is created even if no glossary table is found
0.2.0#
User interface:
- Toolbar
- Change map tool behaviour: the user now needs to click on the map to get the references under the cursor instead of a simple hover.
- add the shortcut
CTRL+MAJ+Kto activate/deactivate the map tool - New button to toggle the new tools dock
- New RoadNetwork tool QGIS panel:
- Visualize the references of the
road_graphand theediting_schemadatabase schemas data - Add an checkbox to allow displaying the references when the mouse pointer moves
- Add the possibility to search for a reference for the edited data:
change a value and click on the
Findbutton - Editing session - Add an action available with right-clic on the editing session polygon to let the user drop the editing session and all its related data
- Work in progress - Prepare functions for applying graph changes to external data
SQL functions improvements and fixes:
- Performance - Improve the calculation of a point reference, especially for big roads
- Edges - Correctly update references of the new & old road when changing an edge
road_codevalue - Fix wrong update of edges references when a new edge is added or its
previous_edge_idis changed - Markers - Fix an error when deleting a marker
- Nodes - Add logic to control actions when a node is manually deleted
CI
- Migrate Transifex tools from qgis-plugin-ci to qt-transifex
0.1.0 - 2026-01-09#
- First version of the plugin