mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
Compare commits
2 Commits
generate-2
...
matheusgom
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4eb8628e0 | ||
|
|
4c715cd2ee |
@@ -151,7 +151,7 @@ public:
|
|||||||
// Set speed as-is from parent link.
|
// Set speed as-is from parent link.
|
||||||
if (parentHwType == hwType)
|
if (parentHwType == hwType)
|
||||||
return {{s.GetForward(), s.GetUnits()}};
|
return {{s.GetForward(), s.GetUnits()}};
|
||||||
|
/*
|
||||||
using routing::HighwayType;
|
using routing::HighwayType;
|
||||||
if ((*parentHwType == HighwayType::HighwayMotorway && hwType == HighwayType::HighwayMotorwayLink) ||
|
if ((*parentHwType == HighwayType::HighwayMotorway && hwType == HighwayType::HighwayMotorwayLink) ||
|
||||||
(*parentHwType == HighwayType::HighwayTrunk && hwType == HighwayType::HighwayTrunkLink) ||
|
(*parentHwType == HighwayType::HighwayTrunk && hwType == HighwayType::HighwayTrunkLink) ||
|
||||||
@@ -163,6 +163,7 @@ public:
|
|||||||
return converter.ClosestValidMacro(
|
return converter.ClosestValidMacro(
|
||||||
{base::asserted_cast<MaxspeedType>(std::lround(s.GetForward() * kLinkToMainSpeedFactor)), s.GetUnits()});
|
{base::asserted_cast<MaxspeedType>(std::lround(s.GetForward() * kLinkToMainSpeedFactor)), s.GetUnits()});
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
return {};
|
return {};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ MAIN_OUT_PATH: /mnt/4tbexternal/osm-maps
|
|||||||
# Path to the data/ folder in the repository:
|
# Path to the data/ folder in the repository:
|
||||||
USER_RESOURCE_PATH: ${Developer:OMIM_PATH}/data
|
USER_RESOURCE_PATH: ${Developer:OMIM_PATH}/data
|
||||||
# Features stage only parallelism level. Set to 0 for auto detection.
|
# Features stage only parallelism level. Set to 0 for auto detection.
|
||||||
THREADS_COUNT_FEATURES_STAGE: 56
|
THREADS_COUNT_FEATURES_STAGE: 0
|
||||||
# Do not change it. This is determined automatically.
|
# Do not change it. This is determined automatically.
|
||||||
NODE_STORAGE: mem
|
NODE_STORAGE: mem
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user