An Electronic Navigation Chart (ENC) dataset object. More...
Header: | #include <EncDataset.h> |
Since: | Esri::ArcGISRuntime 100.2 |
Inherits: | Esri::ArcGISRuntime::Object |
Public Functions
virtual | ~EncDataset() override |
QString | description() const |
Esri::ArcGISRuntime::Envelope | extent() const |
bool | isAuthorized() const |
QString | name() const |
QString | volumeName() const |
Detailed Description
Use EncExchangeSet to get the list of EncDataset objects from a list of paths.
// create EncExchangeSet using paths auto* encExchangeSet = new EncExchangeSet(paths, parent); // get the list of EncDataset QList<EncDataset*> EncDatasets = encExchangeSet->datasets(); // display the names of EncDataset for (EncDataset* EncDataset : EncDatasets) { qDebug() << EncDataset->name(); }
Note: You cannot create an object of this class.
Relevant samples:
- Add ENC exchange set: Display nautical charts per the ENC specification.
See also EncExchangeSet and EncLayer.
Member Function Documentation
[override virtual]
EncDataset::~EncDataset ()
Destructor.
QString EncDataset::description() const
Gets the description of the ENC dataset.
Esri::ArcGISRuntime::Envelope EncDataset::extent() const
Gets the extent of the ENC dataset.
The extent can be used for setting the viewpoint of the map view to the ENC data set.
[since Esri::ArcGISRuntime 100.3]
bool EncDataset::isAuthorized () const
Gets a value indicating whether the data set is authorized.
If the underlying data is S-57, then this function returns true
.
This function was introduced in Esri::ArcGISRuntime 100.3.
QString EncDataset::name() const
Gets the name of the ENC dataset.
QString EncDataset::volumeName () const
Gets the volume name of the ENC dataset.