Structures
The following structures are available globally.
-
A bounding box indicates the extremes of a
See moreGeoJSONObject
along the x- and y-axes (longitude and latitude, respectively).Declaration
Swift
public struct BoundingBox : Sendable
extension BoundingBox: Hashable
extension BoundingBox: Codable
-
A geographic coordinate with its components measured in degrees.
See more -
A Feature object represents a spatially bounded thing.
See moreDeclaration
Swift
public struct Feature : Equatable, ForeignMemberContainer
extension Feature: Codable
extension Feature: GeoJSONObjectConvertible
-
A FeatureCollection object is a collection of Feature objects.
See moreDeclaration
Swift
public struct FeatureCollection : Equatable, ForeignMemberContainer
extension FeatureCollection: Codable
extension FeatureCollection: GeoJSONObjectConvertible
-
A GeometryCollection geometry is a heterogeneous collection of
See moreGeometry
objects that are related.Declaration
Swift
public struct GeometryCollection : Equatable, ForeignMemberContainer, Sendable
extension GeometryCollection: Codable
extension GeometryCollection: GeometryConvertible
extension GeometryCollection: WKTConvertible
-
A LineString geometry is a collection of two or more positions, each position connected to the next position linearly.
See moreDeclaration
Swift
public struct LineString : Equatable, ForeignMemberContainer
extension LineString: Codable
extension LineString: GeometryConvertible
extension LineString: WKTConvertible
-
A MultiLineString geometry is a collection of
See moreLineString
geometries that are disconnected but related.Declaration
Swift
public struct MultiLineString : Equatable, ForeignMemberContainer
extension MultiLineString: Codable
extension MultiLineString: GeometryConvertible
extension MultiLineString: WKTConvertible
-
A MultiPoint geometry represents a collection of disconnected but related positions.
See moreDeclaration
Swift
public struct MultiPoint : Equatable, ForeignMemberContainer
extension MultiPoint: Codable
extension MultiPoint: GeometryConvertible
extension MultiPoint: WKTConvertible
-
A MultiPolygon geometry is a collection of
See morePolygon
geometries that are disconnected but related.Declaration
Swift
public struct MultiPolygon : Equatable, ForeignMemberContainer
extension MultiPolygon: Codable
extension MultiPolygon: GeometryConvertible
extension MultiPolygon: WKTConvertible
-
A Point geometry represents a single position.
See moreDeclaration
Swift
public struct Point : Equatable, ForeignMemberContainer, Sendable
extension Point: Codable
extension Point: GeometryConvertible
extension Point: WKTConvertible
-
A Polygon geometry is conceptually a collection of
See moreRing
s that form a single connected geometry.Declaration
Swift
public struct Polygon : Equatable, ForeignMemberContainer
extension Polygon: Codable
extension Polygon: GeometryConvertible
extension Polygon: WKTConvertible
-
A coordinate pair measured in radians, as opposed to
See moreLocationCoordinate2D
, which is measured in degrees of arc.Declaration
Swift
public struct RadianCoordinate2D : Sendable
-
A linear ring is a closed figure bounded by three or more straight line segments.
See moreDeclaration
Swift
public struct Ring : Sendable
extension Ring: Codable