Skip to content

IndexPoints(...)

Alex-Kent edited this page Apr 3, 2019 · 3 revisions

$index->IndexPoints( \@points );
Add points in list to the index

If a point is added that already exists in the index and its position has changed then the exisiting index entry will be deleted and the point will be indexed again. If its position has not changed then no action will be taken.


@points
The points to add to the index

Each point in the list is either a reference to a hash containing at a minimum a lat and a lon value (both in degrees) or a reference to an array giving the point. See the Points section for details.


See also Index(...)