class WKB::TextDecoder

Overview

Textual decoder of well-known representations of geometry objects (WKT).

WARNING Decoding of EWKT with 3D and 4D coordinates is not supported.

NOTE All #decode metods raise a WKB::Error if there was a decoding error or if the geometry object is not valid.

Defined in:

wkb/text_decoder.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(default_srid : Int32 = 0) #

[View source]

Instance Method Detail

def decode(str : String) : Object #

[View source]
def default_srid : Int32 #

[View source]