[general]
name=roadnetwork
qgisMinimumVersion=3.40
commitNumber=
about=This plugins allows to manage a topological road network : guided editing, linear referencing, references from geometries and geometry generation from references.
icon=resources/icons/icon.png
category=
deprecated=False
hasProcessingProvider=True
description=roadnetwork
author=3Liz
email=info@3liz.com
tags=road network,linear referencing,editing
homepage=https://docs.3liz.org/qgis-road-network-plugin/
repository=https://github.com/3liz/qgis-road-network-plugin
tracker=https://github.com/3liz/qgis-road-network-plugin
experimental=False
version=0.8.1
commitSha1=e6655323a6e7a62ba076004d95da21abafdd394f
dateTime=2026-11-22T14:31:04Z
changelog=
	Version 0.8.1:
	### Fixed
	
	* **Administration project**: coordinate reference system and extents of the project and of its layers
	  when it is created for another system than EPSG:2154
	
	Version 0.8.0:
	### Summary
	
	**Highlights**
	
	* **Road graph checks**: the issues of the editing session are kept in two layers, updated after each fix,
	  and the new check G12 finds the duplicate edges
	* **Documentation**: available in French
	
	**Upgrade notes**
	
	* Run the algorithm `Upgrade database structure` to upgrade the database (migrations 46 to 49)
	* Run the algorithm `Check the road graph` on the editing session to add the issues layers to the project,
	  then save the project
	* For a project created before, check `Cache join layer in memory` in the join of `edges copie` with `roads copie`
	
	### Added
	
	* **Road graph checks**: new check G12, duplicate edges, with an automatic fix
	* **Documentation**: translation on Transifex, with a language selector (French for now)
	
	### Changed
	
	* **Road graph checks**: the issues of the editing session are stored in a table, displayed by two layers,
	  and the roads of an issue are checked again after each fix
	* **Road graph checks**: the error of a G06 fix gives the blocking G05 and G07 issues
	* **Editing sessions**: the merge displays the number of merged objects per road graph table
	  and of updated objects per managed object table
	
	### Fixed
	
	* **QGIS project**: slow editing layers on a remote database, the join `edges copie` / `roads copie`
	  is now cached in memory
	* **Road graph checks**: fixes failing when the editing layers are in editing mode without transaction
	* **Roundabouts**: clear error when the circle is not cut by any edge (`no_intersection_cutting`)
	
	Version 0.7.1:
	### Summary
	
	**Highlights**
	
	* **Performance**: faster editing of long roads, the references being only calculated again downstream
	  of a modification, and faster calculation of the lines of the managed objects from their references
	* **Road graph checks**: new check G06 finding the previous and next edges inconsistent with the geometry,
	  which give wrong references to the whole road. The checks are now numbered in the order of their fixes
	
	**Upgrade notes**
	
	* Run the algorithm `Upgrade database structure` to upgrade the database (migration 45)
	* The checks G06 to G10 of the version 0.7.0 become G07 to G11, with their options
	
	### Added
	
	* **Road graph checks** - G06: previous and next edges inconsistent with the geometry, which give a wrong order
	  of the edges of the road and wrong references, fixed by setting them from the nodes (migration `upgrade_to_45.sql`)
	
	### Changed
	
	* **Road graph checks**: the checks are numbered in the order of their fixes. The new check G06 is fixed after G05
	  and before the checks using the order of the edges: the checks G06 to G10 of the version 0.7.0 become G07 to G11.
	  Their options set in the table `glossary_graph_check` are kept (migration `upgrade_to_45.sql`)
	* **SQL**: faster editing of long roads: after a modification of an edge or of a marker, the triggers only calculate
	  again the references of the edges downstream of the modification, instead of all the edges of the road.
	  For example on a road of 118 km with 135 edges: 1 s instead of 1.6 s for a vertex moved in the middle of the road,
	  and 0.3 s near its end. The edges upstream are not rewritten anymore, which also lightens the editing sessions.
	  The function `update_edge_references` has a new parameter `_from_edge_ids` (migration `upgrade_to_45.sql`)
	* **SQL**: faster calculation of the lines from their references (`get_road_substring_from_references`),
	  for example for the managed objects with the update policy `geometry`: the parts of a line with an offset
	  are ordered along the road with the order of the edges, instead of the references of their start and end points.
	  The lines are the same, and a line with several parts is calculated 28 times faster: on the test data,
	  22 s instead of 48 s for 4,000 lines (migration `upgrade_to_45.sql`)
	


[roadnetwork]
schemaVersion=49
schemaName=road_graph
