| 1 | package Geo::SpatialDB::Location; | ||
| 2 | 2 | $Geo::SpatialDB::Location::VERSION = '0.000_001'; # TRIAL | |
| 3 | |||
| 4 | 2 | ▶ | $Geo::SpatialDB::Location::VERSION = '0.000001';use Moo 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | # ABSTRACT: A logical entity which can be described by a point on the map | ||
| 8 | |||
| 9 | 2 | extends 'Geo::SpatialDB::Entity'; | |
| 10 | |||
| 11 | 2 | has rel => ( is => 'rw' ); # arrayref of each entity ID related to this location | |
| 12 | 2 | has lat => ( is => 'rw' ); | |
| 13 | 2 | has lon => ( is => 'rw' ); | |
| 14 | 2 | has rad => ( is => 'rw' ); # in meters | |
| 15 | |||
| 16 | 2 | 1; | |
| 17 | |||
| 18 | __END__ | ||