An Electronic Navigation Chart (ENC) dataset object. More...
Header | #include <Enc |
Since | Esri |
Inherits | Esri |
Public Functions
virtual | ~ |
Q | description() const |
Esri | extent() const |
(since Esri bool | is |
Q | name() const |
Q | volume |
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 noexcept]
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.