Releases: jillesvangurp/geogeometry
Releases · jillesvangurp/geogeometry
fix for mgrs coordinate formatting
- mgrs coordinate formatting was dropping leading 0s for eastings and northings, which resulted in incorrect coordinates when parsing. There now is a test for this.
3.4.2
- add id field to
Feature
so a strict parser configuration won't break when that field is present (#40)
Full Changelog: 3.4.1...3.4.2
DEFAULT_JSON externalized
- DEFAULT_JSON and DEFAULT_PRETTY_JSON now live in an external library. This will break your imports if you were using that but should be a simple update. Reason for this is that I have multiple projects where I was copy pasting this thing. So, I created a separate library for it.
- Update to kotlin 2.0 and clean up the build file. 1.9 api is still supported.
Wasm support
Adds a wasm build target.
3.3.9
- now sets jvmTarget 11 to fix #39
- misc improvements related to translate and rotate functionality
- improved geojson handling and some nice integration with geojsonio for debugging
Full Changelog: 3.3.7...3.3.9
MGRS coordinates
- adds a robust implementation for mgrs / usng coordinates
Add support for UPS coordinates
Add support for UPS coordinates and automatic switching between UTM and UPS depending on the latitude.
utm & centroid improvements
- swapped out the implementation for UTM coordinates for a better one after finding some bugs
- improved centroid calculation on geometries and also fixed polygonCenter to behave the same
- slightly improve concave hull
- misc build improvements
scaleX, scaleY, rotate, & more multiplatform targets
- update to kotlin 1.9.20
- add more multiplatform targets (linux, mac, windows, IOS). Android is to be done as it requires an additional plugin.
- implement scaleX, scaleY, and rotate functions for geojson that works for Geometry instances, Features, Feature collections, and the various coordinate arrays.
- fix bug with centroid implementation to use the min/max divided by two instead of the mean of the coordinates.
NATO UTM Coordinate support
- Adds support for NATO UTM coordinates (https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system)
- Modernize dependencies and move to kotlin 1.9.10