gps_history 0.0.6
gps_history: ^0.0.6 copied to clipboard
Represents histories of GPS points. Handles millions of points quickly and using relatively little memory. Can import Google location history JSON files.
0.0.6 #
-
Public API changes:
- Removed the
addAll*Fastfamily of methods from theGpcEfficientclasses. The fast implementation was already called automatically by theaddAll*methods when possible (as of version 0.0.5). - Made the constructors of all
GpsPointand children use mandatory named parameters, because reading and writing the long lists of positional arguments is a bit error-prone. Nullable parameters are made optional, in order to reduce pointless noise.
- Removed the
-
New features:
- Implemented faster versions of several methods in the RandomAccessIterable.
- Added a sample application for converting Google location history JSON file to a SQLite database.
- Support for tracking and enforcing sorted state of
GpsPointsCollection. This will allow fast binary search queries based on time. - Added
copyWithmethods forGpsPointand children. - Added null-like and zero-like statics for
GpsPointand children, which are useful in unit tests. Also combined with thecopyWithmethods.
-
Fixes:
0.0.5 #
-
New features:
- Added addAllStartingAt. This required some refactoring of the base classes for the Iterable implementation.
-
Fixes:
- The addAll implementation of GpcEfficient
- Fixed bugs in the addAll/addAllFast implementations.
0.0.4 #
- Various updates to be compatible with more modern (dart 2.17.6) tooling. This includes switching to the new linter, using dart doc instead of dartdoc. No API changes.
0.0.3 #
- New features:
- Implemented persistence mechanism.
0.0.2 #
-
Public API changes:
GoogleJsonHistoryBinaryDecoderrenamed toGoogleJsonHistoryDecoder, as the binary parser seems pretty stable. Similar naming changes for related classes, but those are not typically used directly.- Removed
GoogleJsonHistoryStringDecoderas it's slower and less flexible than the now standard binary decoder.
-
Fixes:
- Several corner cases in the Google location history JSON parsing.
- Unit tests for
GoogleJsonHistoryDecoder. - Added
example.mdfile in the examples directory to convince pub.dev that there are indeed examples in the release. - Latitude cannot be -180..180, but -90..90.
0.0.1 #
- Initial public release. Includes:
- Two types of GPS point: a lean one with just the bare minimums and one with more meta information such as heading, speed, etc. that's useful for GPX files for example.
- Different in-memory storage systems for GPS points: either simply list-based, or extremely efficient binary representation (at the cost of minuscule loss of accuracy).
- Extremely fast and low-memory parser for Google location history JSON export.
- Many unit tests and doc strings.