org.opengis.coverage
Interface DiscreteCurveCoverage

Show UML class diagram
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 Summary
 CurveValuePair find(DirectPosition p)
          Returns the nearest curve-value pair from the specified direct position.
 Set<CurveValuePair> getElements()
          Returns the set of curve-value pairs included in this coverage.
 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.
 Set<CurveValuePair> locate(DirectPosition p)
          Returns the set of curve-value pairs that include the domain objects containing the specified direct position.
 
Methods inherited from interface DiscreteCoverage
evaluate, evaluateInverse
 
Methods inherited from interface Coverage
evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, find, getCommonPointRule, getCoordinateReferenceSystem, getDomainElements, getDomainExtents, getEnvelope, getNumSampleDimensions, getRangeElements, getRangeType, getRenderableImage, getSampleDimension, getSources, select
 

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.


Copyright © 1994-2012 Open Geospatial Consortium. All Rights Reserved.