Skip to content

Releases: jillesvangurp/geogeometry

Improve geojson serialization & get rid of rounding errors

13 Jan 17:21
Compare
Choose a tag to compare
  • Remove dependency on JsonEncoder and use Encoder instead.
  • We were arbitrarily rounding a bit too aggressively in a few places.

Null altitudes instead of 0.0 meters

15 Nov 11:55
Compare
Choose a tag to compare

Minor bug fix to null out the geojson altitude instead of setting it to 0.0 meters.

Inverted x and y on rotation

19 Oct 07:38
Compare
Choose a tag to compare
  • fixed a bug with calculating x & y offset in meter of rotated points where the x and y were inverted

Fix heading calculation

08 Oct 10:31
Compare
Choose a tag to compare
  • fix headingFromTwoPoints to not return negative numbers and work modulo 360

Update dependencies, attempt to resolve js ir related issues

03 Sep 13:54
Compare
Choose a tag to compare

Fix for jitpack

21 Aug 09:07
Compare
Choose a tag to compare
3.2.9

don't publish to local dir

Rotate around a point, concave hull algorithm

21 Aug 08:56
e257cdf
Compare
Choose a tag to compare
  • Add a function to rotate around a point. Works by calculating the relative position in meters to the anchor and then calculating the position on the circle. The point is then translated in meters to the correct place.
  • Experimental algorithm for calculating concave hulls. It works but can generate weird self intersecting polygons, which is not ideal. More tweaking needed here.

Human readable coordinates

24 Jun 10:12
Compare
Choose a tag to compare
  • adds a humanReadable() function to the PointCoordinates type alias for DoubleArray that returns a nicely formatted string like 22° 54' 38.31" S, 43° 13' 18.09" W
  • adds a Degree type alias for Double and some extension properties to get the degrees, minutes, seconds, and compass direction used for the human readable string above

Improve cover with geohashes

20 May 10:12
9b54a6a
Compare
Choose a tag to compare
  • Fix #22 and allow partially overlapping hashes to be included (default false)
  • Refactor some of the cover with geohashes function names to better reflect the underlying geometry (line, polygon, multipolygon)
  • Fix json serialization issues with FeatureCollection and Feature`

Implement Right hand rule for polygons

23 Apr 08:27
Compare
Choose a tag to compare
  • We ran into some polygons that broke the geojson right hand rule. This release adds functions to fix that on PolygonCoordinates and MultiPolygonCoordinates
  • Improve toString on geojson classes to use the kotlinx serializer. This makes debugging less painful.