NAME
Geo::AnomalyDetector - Detect anomalies in geospatial coordinate datasets
SYNOPSIS
This module analyzes latitude and longitude data points to identify anomalies based on their distance from the mean location.
use
Geo::AnomalyDetector;
my
$detector
= Geo::AnomalyDetector->new(
threshold
=> 3);
my
$coords
= [ [37.7749, -122.4194], [40.7128, -74.0060], [35.6895, 139.6917] ];
my
$anomalies
=
$detector
->detect_anomalies(
$coords
);
"Anomalies: "
.
join
", "
,
map
{
"($_->[0], $_->[1])"
} @{
$anomalies
};
Each co-ordinate can be either a two element array of [latitude, longitude] or an object that has latitude
and longitude
methods.
VERSION
0.02
AUTHOR
Nigel Horne, <njh at nigelhorne.com>
BUGS
SEE ALSO
SUPPORT
This module is provided as-is without any warranty.
Please report any bugs or feature requests to bug-geo-anomalydetector at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Geo-AnomalyDetector. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc Geo::AnomalyDetector
You can also look for information at:
MetaCPAN
RT: CPAN's request tracker
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Geo-AnomalyDetector
CPAN Testers' Matrix
CPAN Testers Dependencies
LICENSE AND COPYRIGHT
Copyright 2025 Nigel Horne.
This program is released under the following licence: GPL2