EncLayer QML Type

  • Esri.ArcGISRuntime
  • EncLayer
  • A layer that displays ENC data. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.2
    Inherits:

    Layer

    Properties

    Signals

    Methods

    Detailed Description

    Electronic 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 characteristics

    ENC layer supports identify and selection. ENC layer does not support query or time. ENC layers cannot be displayed in a scene.

    Performance characteristics

    ENC 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
    EncCell {
        id: encCell
        path: localPath
    }
    
    // visualize ENC data in ENC layer.
    EncLayer {
        id: encLayer
        cell: encCell
    }

    See sample: Add ENC exchange set

    See also Layer, EncCell, LayerContent, Loadable, and Cancelable.

    Property Documentation

    [default] cell : EncCell

    The ENC cell.

    See also EncCell.


    [read-only] encEnvironmentSettings : EncEnvironmentSettings

    Returns the singleton instance of the ENC environment settings.

    See also EncEnvironmentSettings.


    Signal Documentation

    cellChanged()

    Emitted when the cell property changes.

    Note: The corresponding handler is onCellChanged.


    Method Documentation

    void clearSelection()

    Clears / Unselects a previously selected ENC feature (if any).


    bool selectFeature(EncFeature encFeature)

    Selects 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.

    Returns true if the ENC feature was successfully selected, false otherwise.

    • encFeature - The ENC feature to select.

    Note: 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.


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.