Documentation of 'org.opengis.layer.source.LayerSource' Java class
LayerSource
org.opengis.layer.source

Interface LayerSource



  • public interface LayerSource
    Provides Layers to a manager. Layers are the base unit in a Table of Contents, which could be used to provide a human-readable visualization of the data available to add to a rendered visualization. A LayerSource could be capable of retrieving features from given feature stores using a given filter and creating the necessary feature layer. Other LayerSource implementations may connect to some other data source and produce graphics to be owned by the produced layers.
    Since:
    GeoAPI 2.0
    • Method Detail

      • getIcon

        java.net.URI getIcon()
        Icon representing this type of LayerSource.
        Returns:
        URI to a icon (GIF or PNG) representing this layer source.
      • getDisplayName

        InternationalString getDisplayName()
        Display name used to communicate this LayerSource to end users.
      • getDescription

        InternationalString getDescription()
        Description of this type of LayerSource.
      • getLayer

        Layer getLayer(java.lang.String name)
                throws java.io.IOException,
                       LayerException
        Gets the named Layer.
        Parameters:
        name - the id of the Layer.
        Throws:
        java.io.IOException - if there is an IO problem getting the named Layer
        LayerException - if there is any other problem getting the named Layer
      • getLayers

        java.util.List<Layer> getLayers()
                                 throws java.io.IOException,
                                        LayerException
        Returns a List of Layers provided by this LayerSource. This List should not be a live List: modifying the returned List (if modifiable) should not modify this LayerSource's Layers.
        Returns:
        a List of Layers
        Throws:
        java.io.IOException - if there is an IO problem getting the Layers
        LayerException - if there is any other problem getting the named Layer

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.