The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Switch from Int ids to UInt ids if overflow happens and the id is not negative (#45) (Thanks @JeffLutzenberger!)
Encode and decode Polylines
Release v1.2.0
15 weeks ago
- API cleanup, renamed some `BoundingBox` functions
- Missing Sendable conformance for some types
Added:
- `GeoJson#isDisjoint(with:)`
- `GeoJson#intersects(with:)`
- `PolygonGeometry#lineStrings`
- `BoundingBox#allCoordinates`
- `Ring#lineString`
- `Ring#intersects(BoundingBox)`
Improved:
- `BoundingBox#intersects(BoundingBox)`
- `GeoJson#intersections(GeoJson)`
- Added `tileCover(atZoom:)` to GeoJSON
- Added `frechetDistance(from:distanceFunction:segmentLength:)` to `LineString`
- WBK/WKT Feature initializer with id
- Added enumerateCoordinates() to all GeoJSON objects
- Set coordinate projection when creating a bounding box from a list of coordinates (Thanks @JesseCrocker!)
Moved all projection related code into the relevant objects.
Every GeoJSON object now has a projection and can be reprojected between EPSG:4326 and EPSG:3857.
- Added a public initializer to `CoordinateXY`
- Added `Maptile#metersPerPixel`
- Added `clamp()` and `clamped()` to coordinates
Bugfix in the WKB/WKT decoder: Check for invalid geometries