Skip to content

GetStatistics( )

Alex-Kent edited this page Apr 6, 2019 · 4 revisions

@stats = $index->GetStatistics( );
Returns statistics regarding the Geo::Index object.


The return value is a list with one entry per level (excluding the global level).

Each list element is a hash reference giving statistics for a single level of the index and contains the following entries:

  • level - The level number the statistics are for

  • points - Total number of points indexed in this level

  • tiles - Number of tiles containing at least one point

  • min_tile_points - Minimum number of points in a non-empty tile

  • max_tile_points - Maximum number of points in a non-empty tile

  • avg_tile_points - Average number of points in a non-empty tile


See also GetConfiguration( ) and examples/show_configuration.pl