Geo::JSON::MultiPoint
use Geo::JSON::MultiPoint; my $mpt = Geo::JSON::MultiPoint->new({ coordinates => [ [ 51.50101, -0.14159 ], [ 57.596278, -13.687306 ], ], }); my $json = $mpt->to_json;
A GeoJSON object with a coordinates attribute consisting of an arrayref of positions.
See Geo::JSON for more details.
To install Geo::JSON, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::JSON
CPAN shell
perl -MCPAN -e shell install Geo::JSON
For more information on module installation, please visit the detailed CPAN module installation guide.