Viktor Govako
d9de3eee6e
[generator] Fixed possible bug in MaxspeedsMwmCollector.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-02-09 15:11:56 +03:00
Ferenc Géczi
543b783d56
[generator] Suppress false positive may be used uninitialized
...
The following gcc warning is only emitted when `cmake` has been
invoked with `-DCMAKE_CXX_FLAGS='-Og'` for debug purposes.
````
generator/maxspeeds_builder.cpp: In lambda function:
generator/maxspeeds_builder.cpp:249:9: warning: ‘status’ may be used uninitialized [-Wmaybe-uninitialized]
249 | if (status == 0)
| ^~
generator/maxspeeds_builder.cpp:181:13: note: ‘status’ was declared here
181 | int status;
| ^~~~~~
````
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-12-26 13:39:41 +03:00
Viktor Govako
b061980afe
[generator] Way->Node collectors refactoring.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-11-22 12:39:58 -03:00
Alexander Borsuk
bba77e9950
Removed using namespace std
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-11-11 23:58:50 +03:00
Viktor Govako
4f29050b58
[generator] Do not reduce speeds from parent links in MaxspeedsMwmCollector.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2022-05-20 12:32:41 +03:00
Viktor Govako
3f6e580f28
[strings] Use string_view in StringUtf8Multilang and Tokenize.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2022-04-15 07:18:44 +03:00
Viktor Govako
f490108223
[generator][routing] Store default MWM's speeds for inside/outside a city separately.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2022-04-03 22:38:48 +03:00
Viktor Govako
99d5851d56
[generator] Moved routing related code into routing_builder namespace.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2022-03-18 11:47:15 +03:00
Viktor Govako
be9729341b
[routing] Fixed undefined HighwayType.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2022-03-14 07:59:18 +01:00
Viktor Govako
6e14825654
[generator][routing] Build average highway speeds for MWM.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2022-02-18 11:51:44 +03:00
Viktor Govako
960714be9e
[generator] Reduced _link speed comparing to parent road.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2022-02-18 11:51:44 +03:00
Viktor Govako
3acaca77b7
[generator] Temporary fix of hangs (changeset looks equivalent).
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2022-02-18 11:51:44 +03:00
Viktor Govako
421fdac56f
[routing] Prettify IndexGraphLoader, put 'const' in IndexGraph.
...
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2022-02-07 10:21:38 +03:00
vng
dd7ca48ca7
[generator] Update link max speed with ingoing highway max speed.
...
Signed-off-by: vng <viktor.govako@gmail.com>
2021-10-19 11:53:11 +02:00
tatiana-yan
2133ea662f
[data][indexer][generator][python] Rename dat section to features.
2020-04-27 16:45:41 +03:00
Vladimir Byko-Ianko
30277d4b98
[routing] Renaming methods: ForEachRoadFromFile to ForEachWayFromFile, ParseRoadsOsmIdToFeatureIdMapping to ParseWaysOsmIdToFeatureIdMapping and ParseRoadsFeatureIdToOsmIdMapping to ParseWaysFeatureIdToOsmIdMapping.
2020-04-17 12:59:45 +03:00
Maxim Pimenov
ab23306ef0
[coding] Changed the filenames of the FilesContainers to better reflect the class names.
2019-09-20 18:29:16 +03:00
Arsentiy Milchakov
2bfa5fff2c
[coding] File writer constructor signature is changed and file container specific methods are moved from file writer into separate writers.
2019-08-09 18:36:49 +03:00
Maksim Andrianov
94d3f5fbf2
[generator] Collecting speed cameras now only stage 'features'.
2019-04-15 16:01:30 +03:00
tatiana-yan
0f21778cf3
[generator] Rename routing::ParseOsmIdToFeatureIdMapping->routing::ParseRoadsOsmIdToFeatureIdMapping and routing::ParseFeatureIdToOsmIdMapping -> ParseRoadsFeatureIdToOsmIdMapping to avoid misusage.
2019-04-12 12:26:16 +03:00
Vladimir Byko-Ianko
3f162dd710
[routing] Renaming maxspeed to maxspeeds.
2018-11-23 17:58:49 +03:00