Interface DiscreteCurveCoverage

  • All Superinterfaces:
    Coverage, DiscreteCoverage

    @UML(identifier="CV_DiscreteCurveCoverage",
         specification=ISO_19123)
    public interface DiscreteCurveCoverage
    extends DiscreteCoverage
    A discrete coverage characterized by a finite spatial domain consisting of curves. Often the curves represent features such as roads, railroads, or streams. They may be elements of a network.

    Example: A coverage that assigns a route a number, a name, a pavement width, and a pavement material type to each segment of a road system.

    Since:
    GeoAPI 2.1
    TODO:
    evaluate and evaluateInverse
    • Method Detail

      • getElements

        @UML(identifier="element",
             obligation=OPTIONAL,
             specification=ISO_19123)
        Set<CurveValuePair> getElements()
        Returns the set of curve-value pairs included in this coverage.
        Specified by:
        getElements in interface DiscreteCoverage
        Returns:
        the set of geometry-value pairs, or null.
      • locate

        @UML(identifier="locate",
             obligation=OPTIONAL,
             specification=ISO_19123)
        Set<CurveValuePair> locate​(DirectPosition p)
        Returns the set of curve-value pairs that include the domain objects containing the specified direct position.
        Specified by:
        locate in interface DiscreteCoverage
        Parameters:
        p - The position where to search for geometry-value pairs.
        Returns:
        geometry-value pairs, or null.
      • list

        @UML(identifier="list",
             obligation=MANDATORY,
             specification=ISO_19123)
        Set<CurveValuePair> list()
        Returns the dictionary of curve-value pairs that contain the objects in the domain of the coverage each paired with its record of feature attribute values.
        Specified by:
        list in interface Coverage
        Returns:
        the geometry-value pairs.
      • find

        @UML(identifier="find",
             obligation=MANDATORY,
             specification=ISO_19123)
        CurveValuePair find​(DirectPosition p)
        Returns the nearest curve-value pair from the specified direct position. This is a shortcut for find(p,1).
        Specified by:
        find in interface Coverage
        Parameters:
        p - The search position.
        Returns:
        the geometry-value pair nearest to the given position.