[tracks] Fixed ending points.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako
2025-07-22 23:49:28 -03:00
committed by Konstantin Pastbin
parent fda1da03c8
commit 64f50d4e49
11 changed files with 83 additions and 88 deletions

View File

@@ -1,13 +1,12 @@
#include "map/gps_track_storage.hpp"
#include "coding/endianness.hpp"
#include "coding/internal/file_data.hpp"
#include "base/assert.hpp"
#include "base/logging.hpp"
#include <algorithm>
#include <cstring>
#include <cstring> // for memcpy
using namespace std;
@@ -20,9 +19,6 @@ uint32_t constexpr kCurrentVersion = 1;
// Header size in bytes, header consists of uint32_t 'version' only
uint32_t constexpr kHeaderSize = sizeof(uint32_t);
// Number of items for batch processing
size_t constexpr kItemBlockSize = 1000;
// TODO
// Now GpsInfo written as plain values, but values can be compressed.