Geo::JSON::GeometryCollection - object representing a geojson GeometryCollection
version 0.003
use Geo::JSON::GeometryCollection; my $gcol = Geo::JSON::GeometryCollection->new({ geometries => [ ... ], }); my $json = $mpt->to_json;
A GeoJSON object with a geometries attribute consisting of an arrayref of Geometry objects (Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon).
Michael Jemmeson <mjemmeson@cpan.org>
This software is copyright (c) 2013 by Michael Jemmeson <mjemmeson@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
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.