-
Notifications
You must be signed in to change notification settings - Fork 0
Vacuum(...)
$index->Vacuum( );
$index->Vacuum( \%point );
$index->Vacuum( \@points );
$index->Vacuum( undef, \@extra_keys );
$index->Vacuum( \%point, \@extra_keys );
$index->Vacuum( \@points, \@extra_keys );
Remove all data generated by Geo::Index from some or all points
The fields that will be removed are lat_rad
, lon_rad
, circumference
, search_result_distance
and antipode_distance
.
Called on its own (with no point or points specified) this method will remove all generated data from all points in the index.
A list of additional keys to remove can optionally be supplied. To request vacuuming of all points with additional keys specified, use undef
instead of \%point
or \@points
.
See also Sweep(…).
%point
or @points
The point or a list of points to remove metadata from
@extra_keys
List of additional keys to remove
Added in 0.0.3, enhanced in 0.0.5
- Overview
- Points
-
Methods
-
Indexing
new
Index
IndexPoints
Unindex -
Searching
Search
SearchByBounds
Closest
Farthest
AllPoints
Condition functions -
Distance and measurement
Distance
DistanceFrom
DistanceTo
OneDegreeInMeters
OneMeterInDegrees -
Metadata
GetConfiguration
GetStatistics -
Miscellaneous
Sweep
Vacuum
PointCount
-
Indexing
- Alternate method names
- Performance
- Theory of operation
- Bugs and deficiencies
- Version history
- Author and copyright