GeoJSON::GeometryCollection
Inherits GeoJSON::Object < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
A GeometryCollection represents a collection of several geometries.
Its array of geometries can contain Point, MultiPoint, LineString,
MultiLineString, Polygon, and MultiPolygon. Technically, you can nest
GeometryCollections inside one another, but this is discouraged by the
specification.
This class corresponds to the GeoJSON GeometryCollection.
Constructors
Creates a new GeometryCollection containing the given geometries and
optional bounding box bbox.
Class methods
read_geometries(pull : JSON::PullParser)
Source