[routing] Support conditional routing

Signed-off-by: Henry Sternberg <henry@bluelightmaps.com>
This commit is contained in:
Henry Sternberg
2025-08-23 16:34:45 +01:00
committed by x7z4w
parent b761a60246
commit 718d0f726b
2 changed files with 249 additions and 258 deletions

View File

@@ -64,13 +64,7 @@ public:
case Header::WithoutAccessConditional: DeserializeAccess(src, vehicleType, roadAccess); break;
case Header::WithAccessConditional:
DeserializeAccess(src, vehicleType, roadAccess);
/// @todo By VNG: WTF?
// access:conditional should be switch off for release 10.0 and probably for the next one.
// It means that they should be switch off for cross_mwm section generation and for runtime.
// To switch on access:conditional the line below should be uncommented.
// Also tests in routing/routing_tests/road_access_test.cpp should be uncommented.
// DeserializeAccessConditional(src, vehicleType, roadAccess);
DeserializeAccessConditional(src, vehicleType, roadAccess);
break;
}
}