NAME

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

VERSION

version 0.006

SYNOPSIS

use Geo::JSON::FeatureCollection;

# @feature_objects can be an array of Geo::JSON::Feature objects or
# hashrefs that define Geo::JSON::Feature objects.
my $fcol = Geo::JSON::FeatureCollection->new({
     features => \@feature_objects,
});

my $json = $fcol->to_json;

DESCRIPTION

A GeoJSON object with a features attribute of an arrayref of Geo::JSON::Feature objects.

See Geo::JSON for more details.

SEE ALSO

AUTHOR

Michael Jemmeson <mjemmeson@cpan.org>

COPYRIGHT AND LICENSE

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.