Improvements
- #125: Breaking change - Use
Instant
instead of ZonedDateTime
for Point.time
property.
- #148: Breaking change - Update to Java17.
- #155: Improved
GPX.Reader
and GPX.Writer
classes.
- #158: Add XML
Document
reader/writer methods.
final GPX gpx = ...;
final Document doc = XMLProvider.provider()
.documentBuilderFactory()
.newDocumentBuilder()
.newDocument();
// The GPX data are written to the empty `doc` object.
GPX.Writer.DEFAULT.write(gpx, new DOMResult(doc));
Bugs
- #151:
Double
's being written as exponents in GPX file.
- #152:
LocationFormatter::parse
method is not thread-safe.