Michael Jemmeson > Geo-JSON > Geo::JSON::Feature

Download:
Geo-JSON-0.007.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.007   Source  

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.

syntax highlighting: