Increase PackedOSMIDs size to 34 bits

OSM node 2^33 was created in early April 2021. This and all
subsequently created IDs will be overflowing OSRM node storage
which only support 33 bit IDs.
Bump the number of bits to 34 to double node ID capacity. This
is a breaking change to the data format as it alters the layout
of .osrm.nbg_nodes.
This commit is contained in:
Michael Bell
2021-04-24 16:01:21 +01:00
parent 4ac827a849
commit 50f5a753ea
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ namespace extractor
namespace detail
{
template <storage::Ownership Ownership>
using PackedOSMIDs = util::detail::PackedVector<OSMNodeID, 33, Ownership>;
using PackedOSMIDs = util::detail::PackedVector<OSMNodeID, 34, Ownership>;
}
using PackedOSMIDsView = detail::PackedOSMIDs<storage::Ownership::View>;