NAME

Geo::JSON::Types - Type::Tiny data types for Geo::JSON classes

VERSION

version 0.006

SYNOPSIS

use Geo::JSON::Types -types;

has crs          => ( is => 'ro', isa => CRS );
has feature      => ( is => 'ro', isa => Feature );
has features     => ( is => 'ro', isa => Features );
has geometry     => ( is => 'ro', isa => Geometry );
has linear_ring  => ( is => 'ro', isa => LinearRing );
has line_string  => ( is => 'ro', isa => LineString );
has line_strings => ( is => 'ro', isa => LineStrings );
has polygon      => ( is => 'ro', isa => Polygon );
has polygons     => ( is => 'ro', isa => Polygons );
has position     => ( is => 'ro', isa => Position );
has positions    => ( is => 'ro', isa => Positions );

DESCRIPTION

Type::Tiny data types to represent the types used by Geo::JSON objects, the types are listed below.

See Geo::JSON for more details.

TYPES EXPORTED

  • CRS

  • Feature

  • Features

  • Geometry

  • Position

  • Positions

  • LineString

  • LineStrings

  • LinearRing

  • Polygon

  • Polygons

AUTHOR

Michael Jemmeson <mjemmeson@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Michael Jemmeson <mjemmeson@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.