libosmscout  1.1.1
Public Member Functions | Static Public Attributes | List of all members
osmscout::CoverageIndex Class Reference

#include <libosmscout/include/osmscout/CoverageIndex.h>

Public Member Functions

 CoverageIndex ()=default
 
void Close ()
 
bool Open (const std::string &path)
 
bool IsOpen () const
 
Pixel GetTile (const GeoCoord &coord) const
 
bool IsCovered (const Pixel &tile) const
 
bool IsCovered (const GeoCoord &coord) const
 

Static Public Attributes

static const char *const COVERAGE_IDX
 

Detailed Description

CoverageIndex allows you to check for tiles that hold map data (for this database). It allows to identify database regions of different databases that overlap.

Constructor & Destructor Documentation

◆ CoverageIndex()

osmscout::CoverageIndex::CoverageIndex ( )
default

Member Function Documentation

◆ Close()

void osmscout::CoverageIndex::Close ( )

◆ GetTile()

Pixel osmscout::CoverageIndex::GetTile ( const GeoCoord &  coord) const

◆ IsCovered() [1/2]

bool osmscout::CoverageIndex::IsCovered ( const Pixel &  tile) const

◆ IsCovered() [2/2]

bool osmscout::CoverageIndex::IsCovered ( const GeoCoord &  coord) const

◆ IsOpen()

bool osmscout::CoverageIndex::IsOpen ( ) const
inline

◆ Open()

bool osmscout::CoverageIndex::Open ( const std::string &  path)

Member Data Documentation

◆ COVERAGE_IDX

const char* const osmscout::CoverageIndex::COVERAGE_IDX
static

The documentation for this class was generated from the following file: