Skip to content

Niko-r/geofeatures

 
 

Repository files navigation

GeoFeatures

Build Status codecov.io Version License Platform

Introduction

GeoFeatures is a lightweight, high performance geometry library for Objective-C. It supports the full set of geometric primitives such as Point, Polygon, and LineString as well as collection classes such as MultiPoint, MultiPolygon,and MultiLineString.

Inheritance Diagram

Features

  • Easy to use.
  • Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, Box and GeometryCollection implementations.
  • Area, Length, BoundingBox, Centroid, Perimeter, Intersects, Intersection, Difference, Union, and Within (point in polygon) algorithms. More coming soon.
  • Immutable and mutable versions of all classes (e.g. GFPolygon and GFMutablePolygon).
  • WKT (Well-Known-Text) input and output.
  • [GeoJSON] (http://geojson.org/) input and output.
  • MapKit representations and drawing.
  • Indexed Subscripting support for all collection types (e.g. GEPoint * point = multiPoint[0]).
  • Swift: supports direct use in Swift applications.
  • CocoaPod framework support (compile as Objective-C framework or static lib).
  • Open Sourced under the the [Apache License, Version 2.0] (http://www.apache.org/licenses/LICENSE-2.0.html).
  • Comprehensive doxygen documentation of the library available at [github.io] (http://tonystone.github.io/geofeatures).
  • Implemented based on the popular and fast open source C++ boost geometry library.

Documentation

The doxygen documentation is online available at [github.io] (http://tonystone.github.io/geofeatures).

Sources and Binaries

You can find the latest sources and binaries on [github] (https://github.com/tonystone/geofeatures).

Communication and Contributions

Installation

GeoFeatures is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "GeoFeatures"

See the "Using CocoaPods" guide for more information.

Minimum Requirements

Xcode Swift iOS OS X
7.3.0 2.2 8.0 10.10

Author

Tony Stone ([https://github.com/tonystone] (https://github.com/tonystone))

License

GeoFeatures is released under the [Apache License, Version 2.0] (http://www.apache.org/licenses/LICENSE-2.0.html)

The embedded Boost library is released under the [Boost Software License, Version 1.0] (http://www.boost.org/users/license.html)

About

A lightweight, high performance geometry library.

Resources

License

Apache-2.0, BSL-1.0 licenses found

Licenses found

Apache-2.0
LICENSE
BSL-1.0
LICENSE_BOOST_1_0

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 93.3%
  • HTML 4.0%
  • Objective-C 0.9%
  • TeX 0.7%
  • C 0.4%
  • Objective-C++ 0.3%
  • Other 0.4%