Swiftpack.co - maparoni/GeoJSONKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
maparoni/GeoJSONKit
Yet another GeoJSON library in Swift
.package(url: "https://github.com/maparoni/GeoJSONKit.git", from: "0.4.5")

GeoJSONKit

Yet another GeoJSON library in Swift. Focus of this library is on simplicity, heavy use of Swift's enums and parsing performance.

Note: There no full support for Codable. It's only provided for the GeoJSON.GeometryObject part. That's on purpose and there are other libraries listed below that fully support Codable, if that's what you're after.

It has will have various extension packages:

Alternative packages:

  • GEOSwift, which is excellent and has Codable support.

Installation

Swift Package Manager

To install GeoJSONKit using the Swift Package Manager, add the following package to the dependencies in your Package.swift file:

.package(url: "https://github.com/maparoni/geojsonkit.git", from: "0.3.0")

Then import GeoJSONKit in any Swift file in your module.

GitHub

link
Stars: 1
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

0.4.5
1 week ago
  • Add new GeoJSON constructors that can provide bounding boxes
  • Add documentation for BoundingBox constructors

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics