libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::AreaNodeIndex Class Reference

AreaWayIndex allows you to find ways and way relations in a given area. More...

#include <AreaNodeIndex.h>

Public Member Functions

 AreaNodeIndex ()=default
void Close ()
std::string GetFilename () const
bool GetOffsets (const GeoBox &boundingBox, const TypeInfoSet &requestedTypes, std::vector< FileOffset > &offsets, TypeInfoSet &loadedTypes) const
bool IsOpen () const
bool Open (const std::string &path, bool memoryMappedData)

Static Public Attributes

static const char *const AREA_NODE_IDX ="areanode.idx"

Detailed Description

AreaWayIndex allows you to find ways and way relations in a given area.

Ways can be limited by type and result count.

Constructor & Destructor Documentation

◆ AreaNodeIndex()

osmscout::AreaNodeIndex::AreaNodeIndex ( )
default

References Close(), and Open().

Member Function Documentation

◆ Close()

void osmscout::AreaNodeIndex::Close ( )

◆ GetFilename()

std::string osmscout::AreaNodeIndex::GetFilename ( ) const
inline

◆ GetOffsets()

◆ IsOpen()

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

◆ Open()

bool osmscout::AreaNodeIndex::Open ( const std::string & path,
bool memoryMappedData )

Member Data Documentation

◆ AREA_NODE_IDX

const char *const osmscout::AreaNodeIndex::AREA_NODE_IDX ="areanode.idx"
static

Referenced by Open().


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