++ed by:
TIMB ZMUGHAL

2 PAUSE users
1 non-PAUSE user.

Michael Jemmeson

NAME

Geo::JSON::Polygon

SYNOPSIS

    use Geo::JSON::Polygon;
    my $pg = Geo::JSON::Polygon->new({
        coordinates => [ [ 51.50101, -0.14159 ], ... ],
                       [ [ 54.0, 0 ], ... ],
    });
    my $json = $pg->to_json;

DESCRIPTION

A GeoJSON object with a coordinates attribute of an arrayref of arrayrefs of positions. This represents a multiple LinearRing coordinate arrays, the first defining the exterior ring or the polygon, and the others any interior ring(s) or holes.

See Geo::JSON for more details.