Deduplicate foward/reverse geometries
Changes the internal representation of compressed geometries to be a single array shared between forward and reverse geometries that can be read in either direction. Includes a change on extractor::OriginalEdgeData to store via_geometry ids that indicate which direction to read the geometry for that edge based edge. Closes #2592
This commit is contained in:
committed by
Jake Pruitt
parent
73179641b1
commit
a75e16e26b
@@ -166,8 +166,7 @@ struct GraphFixture
|
||||
d.forward_segment_id = {pair.second, true};
|
||||
d.reverse_segment_id = {pair.first, true};
|
||||
d.fwd_segment_position = 0;
|
||||
d.forward_packed_geometry_id = 0;
|
||||
d.reverse_packed_geometry_id = 0;
|
||||
d.packed_geometry_id = 0;
|
||||
edges.emplace_back(d);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user