Jpx Versions Save

JPX - Java GPX library

v3.1.0

6 months ago

Improvements

  • #170: GPX files with invalid version number are now readable in LENIENT mode.
final GPX gpx;
try (InputStream in = new FileInputStream(resource)) {
	gpx = GPX.Reader.of(Mode.LENIENT).read(in);
}

Bugs

  • #167: Fixing a test case for Windows.

v3.0.1

2 years ago

Bugs

  • #162: Elevation serialization for values > 1000m is incompatible with deserialization.

v3.0.0

2 years ago

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.

v2.3.0

2 years ago

Maintenance release.

v2.2.0

3 years ago

Improvements

  • #72: Parsing of ISO 6709 location strings (thanks to bunkenburg). This also contains fixes in the ISO 6709 location formatter.
  • #140: Add WayPoint factory methods taking Instant.

v2.1.0

3 years ago

Improvements

  • #128: Added Java Module System support (Adito5393).
  • #132: Convert Gradle build scripts from Groovy to Kotlin.
  • #134: Make distance calculation more stable.

Bugs

v2.0.0

4 years ago

Improvements

  • #68: Remove deprecated methods.
  • #113: Upgrade to Java 11.

v1.7.0

4 years ago

Improvements

  • #116: Create XMLProvider SPI, which allows to change the used XML implementation. (Implemented by avianey.)

v1.6.1

4 years ago

Bugs

  • #105: Location dependent formatting in LocationFormatter. (Fixed by Segelzwerg.)
  • #108: Make library compileable with Java 13.
  • #110: Fix Bounds.toBounds collector. Wrong results for only negative points.

v1.6.0

4 years ago

Improvements

  • #87: Consistent exception handling. Invalid GPX files, read from file or input stream throwing now an InvalidObjectException. (Implemented by Segelzwerg.)
  • #97: Implement Bounds.toBounds() collector. This collector finds the bounds of a given Point stream.
  • #102: Add Point.getInstant method.