A layer that displays ENC data. More...
Public Functions EncLayer(Esri::ArcGISRuntime::EncCell *encCell, QObject *parent = nullptr) virtual ~EncLayer() override Esri::ArcGISRuntime::EncCell * cell() const void clearSelection() const void selectFeature(Esri::ArcGISRuntime::EncFeature *encfeature) const Static Public Members Detailed DescriptionElectronic navigational charts (ENC) are georeferenced vector datasets for the visualization and analysis of hydrographic and maritime information. This API supports ENC that conform to the International Hydrographic Organization (IHO) S-57 standard.
Functional characteristicsENC layer supports identify and selection but does not support query or time. ENC layers cannot be displayed in a scene.
Performance characteristicsENC layers differ from other layer types in that ENC content is cached in an internal collection of SENC files. When an ENC layer is displayed, only the content in the SENC files is referenced. SENC files are produced when an ENC cell is read for the first time and updated as update sets are applied. You can set the path to the SENC storage directory with the EncEnvironmentSettings::sencDataPath property. SENC files are in a binary format that is not intended to be shared between platforms or versions of this API.
// create ENC Cell using path auto* encCell = new EncCell(path, parent); // visualize ENC data in ENC layer. auto* encLayer = new EncLayer(encCell, parent);
Relevant samples:
See also Layer, EncCell, LayerContent, and Loadable.
Member Function Documentation[explicit]
EncLayer::EncLayer(Esri::ArcGISRuntime::EncCell *encCell, QObject *parent = nullptr)
Creates a new ENC layer from an ENC cell.
[override virtual noexcept]
EncLayer::~EncLayer()
Destructor.
Esri::ArcGISRuntime::EncCell *EncLayer::cell() constReturns the ENC cell object associated with the ENC layer.
Use this method to obtain a reference to the ENC cell held by the layer.
See also EncCell.
void EncLayer::clearSelection() constClears / Unselects a previously selected ENC feature (if any).
See also EncFeature.
[static]
Esri::ArcGISRuntime::EncEnvironmentSettings *EncLayer::encEnvironmentSettings()
Use this method to obtain a reference to the EncEnvironmentSettings object.
These settings apply to all ENC layers.
void EncLayer::selectFeature(Esri::ArcGISRuntime::EncFeature *encfeature) constSelects an ENC feature.
Only a single ENC feature can be selected at a time. Selecting a feature using this method will unselect a previously selected feature.
Only one ENC feature can be selected at a time. Note that some ENC features are rendered as multiple objects on the map - for example, a soundings feature might consist of many individual measurements, each of which will be highlighted when the feature is selected.
See also EncFeature.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4