NAME

Geo::Geos::WKTReader - Reads a Geometry from Well-Known Text format.

SYNOPSIS

use Geo::Geos::GeometryFactory;
use Geo::Geos::WKTReader;

my $gf = Geo::Geos::GeometryFactory::create();
my $s = "POINT (1.0000000000000000 2.0000000000000000)";

Geo::Geos::WKTReader::read($s, $gf);    # => isa 'Geo::Geos::Geometry'
Geo::Geos::WKTReader::read($s);         # => isa 'Geo::Geos::Geometry'

my $g = Geo::Geos::WKTReader::read($s);
$g->toString eq $s;                  # => success

SEE ALSO (C++ classes docs)

GEOS C++ Library

geos::io::WKTReader

Geo::Geos

Geo::Geos::Geometry

Geo::Geos::WKTWriter

AUTHOR

Ivan Baidakou <i.baydakov@crazypanda.ru>, Crazy Panda, CP Decision LTD

LICENSE

You may distribute this code under the same terms as Perl itself.