Skip to content

Commit 001e660

Browse files
authored
Add installation instructions
1 parent b344d4c commit 001e660

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,21 @@ It ~~has~~ will have various extension packages:
88

99
- [GeoJSONKit+GEOS](https://gitlab.com/maparoni/geojsonkit-geos) for interfacing with the excellent [Geometry Engine - Open Source](https://trac.osgeo.org/geos)
1010
- GeoJSONKit+MapKit for usage in iOS / Mac apps
11-
- [GeoJSONKit+Turf](https://gitlab.com/maparoni/geojsonkit-turf) for spatial analysis, all in Swift
11+
- [GeoJSONKit+Turf](https://github.com/maparoni/geojsonkit-turf) for spatial analysis, all in Swift
1212
- [GeoJSONKit+Vapor](https://gitlab.com/maparoni/geojsonkit/snippets/1972906) for server-side usage
1313

1414
Alternative packages:
1515

1616
- [GEOSwift](https://github.com/GEOSwift/GEOSwift), which is *excellent* and has `Codable` support.
17+
18+
## Installation
19+
20+
### Swift Package Manager
21+
22+
To install GeoJSONKit using the [Swift Package Manager](https://swift.org/package-manager/), add the following package to the `dependencies` in your Package.swift file:
23+
24+
```swift
25+
.package(url: "https://github.com/maparoni/geojsonkit.git", from: "0.3.0"),
26+
```
27+
28+
Then `import GeoJSONKit` in any Swift file in your module.

0 commit comments

Comments
 (0)