- All Implemented Interfaces:
Serializable
,Comparable<PixelInCell>
,ControlledVocabulary
@Deprecated(since="3.1")
@UML(identifier="CD_PixelInCell",
specification=ISO_19111,
version=2007)
public final class PixelInCell
extends CodeList<PixelInCell>
Deprecated.
Specification of the way the image grid is associated with the image data attributes.
This code list is similar to
PixelOrientation
except that the latter is more clearly restricted to the two-dimensional case.- Since:
- 1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PixelInCell
Deprecated.The origin of the image coordinate system is the centre of a grid cell or image pixel.static final PixelInCell
Deprecated.The origin of the image coordinate system is the corner of a grid cell, or half-way between the centres of adjacent image pixels. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Deprecated.Returns the list of codes of the same kind as this code list element.String[]
names()
Deprecated.Returns the programmatic name and the UML identifier of this code, together with alternative UML identifier if any.static PixelInCell
Deprecated.Returns the pixel in cell that matches the given string, or returns a new one if none match it.static PixelInCell[]
values()
Deprecated.Returns the list ofPixelInCell
s.
-
Field Details
-
CELL_CENTER
@UML(identifier="cell center", obligation=CONDITIONAL, specification=ISO_19111) public static final PixelInCell CELL_CENTERDeprecated.The origin of the image coordinate system is the centre of a grid cell or image pixel.- See Also:
-
CELL_CORNER
@UML(identifier="cell corner", obligation=CONDITIONAL, specification=ISO_19111) public static final PixelInCell CELL_CORNERDeprecated.The origin of the image coordinate system is the corner of a grid cell, or half-way between the centres of adjacent image pixels.- See Also:
-
-
Method Details
-
names
Deprecated.Returns the programmatic name and the UML identifier of this code, together with alternative UML identifier if any. In particular,CELL_CENTER
is known as both"cell center"
(from ISO 19111:2007) and"cell centre"
(derived from ISO 19162:2015).- Returns:
- Names of this code, including alternative names if any.
-
values
Deprecated.Returns the list ofPixelInCell
s.- Returns:
- the list of codes declared in the current JVM.
-
family
Deprecated.Returns the list of codes of the same kind as this code list element. Invoking this method is equivalent to invokingvalues()
, except that this method can be invoked on an instance of the parentCodeList
class.- Specified by:
family
in interfaceControlledVocabulary
- Specified by:
family
in classCodeList<PixelInCell>
- Returns:
- all code values for this code list.
-
valueOf
Deprecated.Returns the pixel in cell that matches the given string, or returns a new one if none match it. This methods returns the first instance (in declaration order) for which the name is equals, ignoring case, to the given name. If no existing instance is found, then a new one is created for the given name.- Parameters:
code
- the name of the code to fetch or to create.- Returns:
- a code matching the given name.
-
ImageDatum
. The "pixel in corner" versus "pixel in center" problematic will be handled by ISO 19123 instead.