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

SYNOPSIS

    use Geo::JSON::Feature;
    my $ft = Geo::JSON::Feature->new({
        geometry   => $geometry_object,
        properties => \%properties,
    });
    my $json = $ft->to_json;

DESCRIPTION

A GeoJSON object with a geometry attribute of a single Geometry object and an optional properties attribute.

A geometry object is one of the following:

See Geo::JSON for more details.