SpatialDB/Location.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« SpatialDB/Area.pm ↑ Summary SpatialDB/Path.pm »
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__
« SpatialDB/Area.pm ↑ Summary SpatialDB/Path.pm »