OHTSUKA Ko-hei > DBIx-Class-GeomColumns-0.0.1 > DBIx::Class::GeomColumns

Download:
DBIx-Class-GeomColumns-0.0.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.0.1   Source   Latest Release: DBIx-Class-GeomColumns-0.0.2

NAME ^

DBIx::Class::GeomColumns - Filter of geometry columns to access with WKT

SYNOPSIS ^

    package POI;
    __PACKAGE__->load_components(qw/GeomColumns Core/);
    __PACKAGE__->utf8_columns('wgs84_col',{'tokyo_col' => 4301});
    
    # then belows return the result of 'AsText(wgs84_col)'
    $poi->wgs84_col;

    # You can also create or update 'GeomFromText($data,$srid)';
    # below example is insert 'GeomFromText('POINT(135 35)',4301)'
    $poi->tokyo_col('POINT(135 35)');
    $poi->update;

DESCRIPTION ^

This module allows you to access geometry columns by WKT format.

SEE ALSO ^

Template::Stash::UTF8Columns.

METHODS ^

geom_columns

EXTENDED METHODS ^

store_column

AUTHOR ^

OHTSUKA Ko-hei <nene@kokogiko.net>

COPYRIGHT ^

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

The full text of the license can be found in the LICENSE file included with this module.