Geo::Geos::MultiPoint - Models a collection of Point objects.
use Geo::Geos::Coordinate; use Geo::Geos::GeometryFactory; my $c1 = Geo::Geos::Coordinate->new(1,2); my $c2 = Geo::Geos::Coordinate->new(5,2); my $gf = Geo::Geos::GeometryFactory::create(); $gf->createMultiPoint([$c1, $c2], 2); # => isa 'Geo::Geos::MultiLineString' $gf->createMultiPoint([$c1, $c2], 2); # => isa 'Geo::Geos::Puntal' $gf->createMultiPoint([$c1, $c2], 2); # => isa 'Geo::Geos::GeometryCollection'
See methods in the base class Geo::Geos::Geometry.
GEOS C++ Library
geos::geom::MultiPoint
Geo::Geos
Geo::Geos::Geometry
Geo::Geos::GeometryCollection
Geo::Geos::GeometryFactory
Ivan Baidakou <i.baydakov@crazypanda.ru>, Crazy Panda, CP Decision LTD
You may distribute this code under the same terms as Perl itself.
To install Geo::Geos, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Geos
CPAN shell
perl -MCPAN -e shell install Geo::Geos
For more information on module installation, please visit the detailed CPAN module installation guide.