Filter out edges that have any speed=0 segments.
They become non-snappable and non-routable. Note that a single segment of speed=0 will eliminate the entire edge.
This commit is contained in:
committed by
Patrick Niklaus
parent
eda6d9dc7c
commit
d012b44b7f
@@ -62,8 +62,10 @@ class MockDataFacade final : public engine::datafacade::BaseDataFacade
|
||||
{
|
||||
}
|
||||
void GetUncompressedWeights(const EdgeID /* id */,
|
||||
std::vector<EdgeWeight> & /* result_weights */) const override
|
||||
std::vector<EdgeWeight> &result_weights) const override
|
||||
{
|
||||
result_weights.resize(1);
|
||||
result_weights[0] = 1;
|
||||
}
|
||||
void GetUncompressedDatasources(const EdgeID /*id*/,
|
||||
std::vector<uint8_t> & /*data_sources*/) const override
|
||||
|
||||
Reference in New Issue
Block a user