Michael Jemmeson > Geo-JSON > Geo::JSON::MultiPolygon

Download:
Geo-JSON-0.007.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.007   Source  

NAME ^

Geo::JSON::MultiPolygon

SYNOPSIS ^

    use Geo::JSON::MultiPolygon;
    my $mpol = Geo::JSON::MultiPolygon->new({
        coordinates => [
            [   [...],     # outer linear ring
                [...], ... # inner linear ring(s)
            ],
            [...],
            ],
        },
    });
    my $json = $mpol->to_json;

DESCRIPTION ^

A GeoJSON object with a coordinates of an arrayref of polygon coordinates.

See Geo::JSON for more details.

syntax highlighting: