struct

PostGIS::Polygon(Point)

Inherits PostGIS::Geometry < Struct < Value < Object

Rings of points: the first is the exterior ring, the rest are holes. All polygons must be closed (the first point is equal to the last). For an unclosed version, use LineString.

Constructors

new(rings : Array(Array(Point)))
Source

Instance methods

rings
Source
sections

DEPRECATED Use #rings instead.

Source