Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::MapContentQuery Class Reference

Public Member Functions

 MapContentQuery (const std::string &map_signature, MapContentType map_content_type=MapContentType::UndefinedMap, RasterCompressionType compression=RasterCompressionType::Any, int flags=MapRequestFlags::NoFlags, std::shared_ptr< TileCacheSpec > tileCacheSpec=nullptr, std::shared_ptr< SemanticVersionSpecification > versionSpec=nullptr)
 
void setMapSignature (const std::string &map_signature)
 
const std::string & getMapSignature () const
 
void setWantedMapContentType (MapContentType type)
 
MapContentType getWantedMapContentType () const
 
void setCompression (RasterCompressionType compression)
 
RasterCompressionType getCompression () const
 
void setFlags (int flags)
 
int getFlags () const
 
void addGroupFilter (const std::string &group_filter)
 
void clearGroupFilter ()
 
const std::set< std::string > & getGroupFilter () const
 
std::set< std::string > & getGroupFilter ()
 
std::string getServiceDatasourceInfoXml () const
 
const std::shared_ptr< TileCacheSpec > & getTileCacheSpec () const
 Quadtree specifcation for the tile cache we use.
 
void setTileCacheSpec (const std::shared_ptr< TileCacheSpec > &tilespec)
 Quadtree specifcation for the tile cache we use.
 
const std::map< std::string, std::string > & getProperties () const
 Generic name/value properties. Initially copied from template layer.
 
void setProperties (const std::map< std::string, std::string > &properties)
 Generic name/value properties. Initially copied from template layer.
 
void setProperty (const std::string &key, const std::string &value)
 
size_t getHashKey () const
 
bool operator== (const MapContentQuery &q2) const
 
bool operator!= (const MapContentQuery &q2)
 
size_t generateHashKey () const
 
std::shared_ptr< SemanticVersionSpecificationgetWantedSourceVersion () const
 
void setWantedSourceVersion (const std::shared_ptr< SemanticVersionSpecification > &wantedSourceVersion)
 

Member Function Documentation

◆ addGroupFilter()

void Maria::MapContentQuery::addGroupFilter ( const std::string &  group_filter)
inline

Add a group filter. Group filters control which feature groups are requested for vector maps. If no filters are given, all features are returned. If you specify a group, for example "Roads", only features belonging to the "Roads" feature group will be returned. Conversely, by adding a - before the group name, you can exclude that feature group, for example "-Roads" will return all features except the ones in the Roads feature group.

◆ clearGroupFilter()

void Maria::MapContentQuery::clearGroupFilter ( )
inline

Clear all group filters.

See also
addGroupFilter()

◆ getGroupFilter() [1/2]

std::set< std::string > & Maria::MapContentQuery::getGroupFilter ( )
inline

Get the complete set of group filters

See also
addGroupFilter()

◆ getGroupFilter() [2/2]

const std::set< std::string > & Maria::MapContentQuery::getGroupFilter ( ) const
inline

Get the complete set of group filters

See also
addGroupFilter()

◆ getHashKey()

size_t Maria::MapContentQuery::getHashKey ( ) const
inline

Returns a unique hash key for this element. Note that this is not the same as the key generated by the cache service.


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