class GeoJSON::MultiPolygon
- GeoJSON::MultiPolygon
- GeoJSON::Geometry
- GeoJSON::Base
- Reference
- Object
Overview
A MultiPolygon
is a Geometry
representing several Polygon
s.
This class corresponds to the GeoJSON MultiPolygon.
Included Modules
- GeoJSON::MultiGeometry(GeoJSON::Polygon, GeoJSON::Coordinates::PolyRings)
- JSON::Serializable
Defined in:
geojson/geometry/multi_polygon.crConstructors
Instance Method Summary
-
#type : String
Gets this MultiPolygon's GeoJSON type ("MultiPolygon")
Instance methods inherited from module GeoJSON::MultiGeometry(GeoJSON::Polygon, GeoJSON::Coordinates::PolyRings)
[](index : Int)
[],
coordinates : Array(E)
coordinates
Constructor methods inherited from module GeoJSON::MultiGeometry(GeoJSON::Polygon, GeoJSON::Coordinates::PolyRings)
new(coordinates : Array(T))new(coordinates : Array(E))
new(coordinate_tree : CoordinateTree) new
Instance methods inherited from class GeoJSON::Geometry
==(other : self)
==,
[](*args, **options)[](*args, **options, &) [], coordinates coordinates, hash(hasher) hash