libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::CoverageIndex Class Reference

#include <libosmscout/include/osmscout/db/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 db). It allows to identify db 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 GeoCoord & coord) const

◆ IsCovered() [2/2]

bool osmscout::CoverageIndex::IsCovered ( const Pixel & tile) 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: