See GEOSwift for full details
- iOS 9.0+, tvOS 9.2+, macOS 10.9+ (CocoaPods, Carthage, Swift PM)
- Swift 5.1
GEOS is licensed under LGPL 2.1 and its compatibility with static linking is at least controversial. Use of geos without dynamic linking is discouraged.
use_frameworks! pod 'GEOSwiftMapKit'
$ pod install
Add the following to your Cartfile:
github "GEOSwift/GEOSwiftMapKit" ~> 3.0.0
Finish updating your project by following the typical Carthage workflow.
Swift Package Manager
Update the top-level dependencies in your
.package(url: "https://github.com/GEOSwift/GEOSwiftMapKit.git", from: "3.0.0")
Update the target dependencies in your
Explore more, interactively, in the playground. Open the project in Xcode,
GEOSwiftMapKit-iOS scheme and open the playground file.
To make a contribution:
- Fork the repo
- Start from the
mainbranch and create a branch with a name that describes your contribution
$ xed Package.swiftto open the project in Xcode.
$ swiftlintfrom the repo root and resolve any issues.
- Update GEOSwiftMapKit.xcodeproj: After making your changes, you also need to
update the Xcode project. You'll need a version of Carthage greater than 0.36.0
so that you can use the
$ carthage update --use-xcframeworksto generate GEOSwift.xcframework and geos.xcframework. Then open the GEOSwiftMapKit.xcodeproj and ensure that it works with your changes. You'll likely only need to make changes if you've added, removed, or renamed files.
- Sign in to travis-ci.org (if you've never signed in before, CI won't run to verify your pull request)
- Push your branch and create a pull request to
- One of the maintainers will review your code and may request changes
- If your pull request is accepted, one of the maintainers should update the changelog before merging it
- Andrew Hershberger (@macdrevx)
- GEOSwift was released by Andrea Cremaschi (@andreacremaschi) under a MIT license. See LICENSE for more information.
- GEOS stands for Geometry Engine - Open Source, and is a C++ library, ported from the Java Topology Suite. GEOS implements the OpenGIS Simple Features for SQL spatial predicate functions and spatial operators. GEOS, now an OSGeo project, was initially developed and maintained by Refractions Research of Victoria, Canada.