The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Geo::JSON::GeometryCollection - object representing a geojson GeometryCollection

SYNOPSIS

    use Geo::JSON::GeometryCollection;
    my $gcol = Geo::JSON::GeometryCollection->new({
        geometries => [ ... ],
    });
    my $json = $mpt->to_json;

DESCRIPTION

A GeoJSON object with a geometries attribute consisting of an arrayref of Geometry objects (Point, MultiPoint, LineString, MultiLineString, Polygon, or MultiPolygon).

See Geo::JSON for more details.