From 7f8c564e19530df003ed85ac0b7136e440788e1c Mon Sep 17 00:00:00 2001 From: Dan Leedham Date: Fri, 23 Oct 2026 08:20:35 +0100 Subject: [PATCH] Update URL for VincentySwift package --- .../xcshareddata/swiftpm/Package.resolved | 4 ++-- Package.resolved | 6 +++--- Package.swift | 4 ++-- README.md | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Example/ForeFlightKMLDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Example/ForeFlightKMLDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index d417bbb..962511b 100644 --- a/Example/ForeFlightKMLDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Example/ForeFlightKMLDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -2,9 +2,9 @@ "originHash" : "9cb73a7eb66a94e9ff3b48c0d33c79d885ba74172d84e80b923fabe67536dcb9", "pins" : [ { - "identity" : "vincenty", + "identity" : "vincentyswift", "kind" : "remoteSourceControl", - "location" : "https://github.com/Haelix-Code/Vincenty", + "location" : "https://github.com/Haelix-Code/VincentySwift", "state" : { "revision" : "e029255ef3313dcf77cecb4faf64cf94a0812608", "version" : "0.0.1" diff --git a/Package.resolved b/Package.resolved index ed5a83d..73e4517 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,10 +1,10 @@ { - "originHash" : "17e50782305f6c29b65dd5cb050f0836dda7428e80849631e5782b62be7267e0", + "originHash" : "c0439dc8d3ea6d34c6574fa9bd37ccb0dbd7d7c1c81f557cc139fcb41d78d99c", "pins" : [ { - "identity" : "vincenty", + "identity" : "vincentyswift", "kind" : "remoteSourceControl", - "location" : "https://github.com/Haelix-Code/Vincenty", + "location" : "https://github.com/Haelix-Code/VincentySwift", "state" : { "revision" : "e029255ef3313dcf77cecb4faf64cf94a0812608", "version" : "0.0.1" diff --git a/Package.swift b/Package.swift index 47f0fe4..16cc192 100644 --- a/Package.swift +++ b/Package.swift @@ -11,14 +11,14 @@ let package = Package( ) ], dependencies: [ - .package(url: "https://github.com/Haelix-Code/Vincenty", .upToNextMinor(from: "0.0.1")), + .package(url: "https://github.com/Haelix-Code/VincentySwift", .upToNextMinor(from: "0.0.1")), .package(url: "https://github.com/weichsel/ZIPFoundation.git", from: "0.9.0") ], targets: [ .target( name: "ForeFlightKML", dependencies: [ - .product(name: "Vincenty", package: "Vincenty"), + .product(name: "Vincenty", package: "VincentySwift"), .product(name: "ZIPFoundation", package: "ZIPFoundation") ], resources: [ diff --git a/README.md b/README.md index 2a04f1a..e278d94 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ Full public API surface is visible in the package sources. ## Notes, conventions and gotchas -- **Coordinates order**: KML requires `longitude,latitude[,altitude]`. The public API accepts `Coordinate(latitude:..., longitude:...)` (a typealias for [Vincenty](https://github.com/Haelix-Code/Vincenty)'s `GeodeticCoordinate`) and the framework emits coordinates in the KML `lon,lat[,alt]` order. +- **Coordinates order**: KML requires `longitude,latitude[,altitude]`. The public API accepts `Coordinate(latitude:..., longitude:...)` (a typealias for [Vincenty](https://github.com/Haelix-Code/VincentySwift)'s `GeodeticCoordinate`) and the framework emits coordinates in the KML `lon,lat[,alt]` order. - **Units**: Distances (e.g. `LineCircle.radius`) are in **meters**. - **Angles/bearings**: bearings (for arc & circle generation) are interpreted in degrees (0..360). The bearing convention is clockwise from north. - **Altitude**: When you provide altitudes, the `AltitudeMode` is emitted (defaults to `.absolute` in most geometries).