See GEOSwift for full details
- iOS 12.0, tvOS 12.0, macOS 10.13
- Swift 5.9 compiler
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.
-
Update your
Podfile
to include:use_frameworks! pod 'GEOSwiftMapKit'
-
Run
$ pod install
-
Update the top-level dependencies in your
Package.swift
to include:.package(url: "https://github.com/GEOSwift/GEOSwiftMapKit.git", from: "5.0.0")
-
Update the target dependencies in your
Package.swift
to include"GEOSwiftMapKit"
Explore more, interactively, in the playground. Open Package.swift in Xcode, and open the playground file from the file navigator.
To make a contribution:
- Fork the repo
- Start from the
main
branch and create a branch with a name that describes your contribution - Run
$ xed Package.swift
to open the project in Xcode. - Run
$ swiftlint
from the repo root and resolve any issues. - Push your branch and create a pull request to
main
- 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)
- Virgilio Favero Neto (@vfn)
- Andrea Cremaschi (@andreacremaschi) (original author)
- 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.