Geodot Plugin
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
NativeDataset Class Reference

Public Member Functions

 NativeDataset (std::string path, bool write_access)
 
std::vector< std::string > get_feature_layer_names ()
 Return the names of all feature layers as std::strings.
 
std::vector< std::string > get_raster_layer_names ()
 Return the names of all raster layers as std::strings.
 
std::vector< std::string > get_raster_band_descriptions ()
 Return the descriptions of all raster bands as std::strings.
 
bool has_layer (const char *name) const
 Returns true if the dataset has a feature layer of the given name.
 
std::shared_ptr< NativeLayerget_sql_layer (const char *query) const
 Returns a layer whose features are the result of a given SQL query.
 
std::shared_ptr< NativeLayerget_layer (const char *name) const
 
std::shared_ptr< NativeDatasetget_subdataset (const char *name) const
 
std::shared_ptr< NativeDatasetclone ()
 
bool is_valid () const
 
int get_epsg_code () const
 

Public Attributes

std::string path
 
bool write_access
 
GDALDataset * dataset
 

Member Function Documentation

◆ get_layer()

std::shared_ptr< NativeLayer > NativeDataset::get_layer ( const char *  name) const

Returns the layer from this dataset with the given name, or null if there is no layer with that name.


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