struct

PostGIS::Point2D

Inherits PostGIS::Geometry < Struct < Value < Object

A Point2D represents a PostGIS POINT value on a 2-dimensional plane. The srid may be set for geography values.

Constructors

new(x : Float64, y : Float64, srid : UInt32 = 4326_u32)
Source
read_body(io, endian, srid) : self
Source

Instance methods

srid
Source
to_wkt(io : IO) : Nil
Source