Yet another GeoJSON library in Swift. This is a tiny framework with a focus on simplicity, use of Swift’s enums and parsing performance.
Note: There’s no full support for Codable. It’s 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.
GeoJSONKit
Yet another GeoJSON library in Swift. This is a tiny framework with a focus on simplicity, use of Swift’s enums and parsing performance.
Note: There’s no full support for
Codable
. It’s provided for theGeoJSON.GeometryObject
part. That’s on purpose and there are other libraries listed below that fully supportCodable
, if that’s what you’re after.This package has various extensions:
Alternative packages:
Installation
Swift Package Manager
To install GeoJSONKit using the Swift Package Manager, add the following package to the
dependencies
in your Package.swift file:Then
import GeoJSONKit
in any Swift file in your module.