{"id":15286894,"url":"https://github.com/ngageoint/simple-features-wkt-ios","last_synced_at":"2026-03-14T20:44:20.954Z","repository":{"id":56933161,"uuid":"276417405","full_name":"ngageoint/simple-features-wkt-ios","owner":"ngageoint","description":"Simple Features Well-Known Text iOS Library","archived":false,"fork":false,"pushed_at":"2024-04-08T18:08:45.000Z","size":2606,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-13T03:57:07.936Z","etag":null,"topics":["cocoapods","features-wkt","ios","ios-lib","nga","objective-c","objective-c-library","ogc","ogc-wkt","simple-features","swift","well-known","well-known-text","wkt","xcode"],"latest_commit_sha":null,"homepage":"https://ngageoint.github.io/simple-features-wkt-ios","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ngageoint.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-07-01T15:40:57.000Z","updated_at":"2024-06-19T23:53:24.000Z","dependencies_parsed_at":"2024-04-08T18:58:43.874Z","dependency_job_id":null,"html_url":"https://github.com/ngageoint/simple-features-wkt-ios","commit_stats":{"total_commits":32,"total_committers":1,"mean_commits":32.0,"dds":0.0,"last_synced_commit":"4ddd2aba34ba3b64b9ccfe027c03f3bc850bbf56"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngageoint%2Fsimple-features-wkt-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngageoint%2Fsimple-features-wkt-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngageoint%2Fsimple-features-wkt-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngageoint%2Fsimple-features-wkt-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngageoint","download_url":"https://codeload.github.com/ngageoint/simple-features-wkt-ios/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248661707,"owners_count":21141450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cocoapods","features-wkt","ios","ios-lib","nga","objective-c","objective-c-library","ogc","ogc-wkt","simple-features","swift","well-known","well-known-text","wkt","xcode"],"created_at":"2024-09-30T15:18:53.239Z","updated_at":"2026-03-14T20:44:20.948Z","avatar_url":"https://github.com/ngageoint.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Features WKT iOS\n\n#### Simple Features Well-Known Text Lib ####\n\nThe Simple Features Libraries were developed at the [National Geospatial-Intelligence Agency (NGA)](http://www.nga.mil/) in collaboration with [BIT Systems](https://www.caci.com/bit-systems/). The government has \"unlimited rights\" and is releasing this software to increase the impact of government investments by providing developers with the opportunity to take things in new directions. The software use, modification, and distribution rights are stipulated within the [MIT license](http://choosealicense.com/licenses/mit/).\n\n### Pull Requests ###\nIf you'd like to contribute to this project, please make a pull request. We'll review the pull request and discuss the changes. All pull request contributions to this project will be released under the MIT license.\n\nSoftware source code previously released under an open source license and then modified by NGA staff is considered a \"joint work\" (see 17 USC § 101); it is partially copyrighted, partially public domain, and as a whole is protected by the copyrights of the non-government authors and must be released according to the terms of the original open source license.\n\n### About ###\n\n[Simple Features WKT](http://ngageoint.github.io/simple-features-wkt-ios/) is an iOS Objective-C library for writing and reading [Simple Feature](https://github.com/ngageoint/simple-features-ios) Geometries to and from Well-Known Text.\n\n### Usage ###\n\nView the latest [Appledoc](http://ngageoint.github.io/simple-features-wkt-ios/docs/api/)\n\n#### Read ####\n\n```objectivec\n\n// NSString *text = ...\n\nSFGeometry *geometry = [SFWTGeometryReader readGeometryWithText:text];\nSFGeometryType geometryType = geometry.geometryType;\n\n```\n\n#### Write ####\n\n```objectivec\n\n// SFGeometry *geometry = ...\n\nNSString *text = [SFWTGeometryWriter writeGeometry:geometry];\n\n```\n\n### Build ###\n\n[![Build](https://github.com/ngageoint/simple-features-wkt-ios/actions/workflows/build.yml/badge.svg)](https://github.com/ngageoint/simple-features-wkt-ios/actions/workflows/build.yml)\n\nBuild this repository using SPM:\n\n    swift build\n\nOpen the Swift Package in Xcode:\n\n    open Package.swift\n\nRun tests from Xcode or from command line:\n\n    swift test\n\n### Include Library ###\n\nAdd a package dependency version:\n\n    .package(url: \"https://github.com/ngageoint/simple-features-wkt-ios\", from: \"3.0.0\"),\n\n    # Or specific branch:\n\n    .package(url: \"https://github.com/ngageoint/simple-features-wkt-ios\", branch: \"release/3.0.0\"),\n    \n    # Or as a local dependency:        \n\n    .package(name: \"simple-features-wkt-ios\", path: \"../simple-features-wkt-ios\"),\n\nUse it in a target:\n\n        .target(\n            name: \"MyLibrary\",\n            dependencies: [\n                .product(name: \"SimpleFeaturesWKT\", package: \"simple-features-wkt-ios\")\n            ]\n        )\n\n### Swift ###\n\nTo use from Swift, import the framework:\n\n    import SimpleFeaturesWKT\n\n#### Read ####\n\n```swift\n\n// var text: String = ...\n\nlet geometry: SFGeometry = SFWTGeometryReader.readGeometry(withText: text)\nlet geometryType: SFGeometryType = geometry.geometryType\n\n```\n\n#### Write ####\n\n```swift\n\n// let geometry: SFGeometry = ...\n\nlet text: String = SFWTGeometryWriter.write(geometry)\n\n```\n\n### Remote Dependencies ###\n\n* [Simple Features](https://github.com/ngageoint/simple-features-ios) (The MIT License (MIT)) - Simple Features Lib\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngageoint%2Fsimple-features-wkt-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngageoint%2Fsimple-features-wkt-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngageoint%2Fsimple-features-wkt-ios/lists"}