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::LineString - object representing a geojson LineString

SYNOPSIS

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

DESCRIPTION

A GeoJSON object with a coordinates attribute of an arrayref of positions.

See Geo::JSON for more details.