Class DefaultGeoreferenceable
Object
AbstractMetadata
ModifiableMetadata
ISOMetadata
AbstractSpatialRepresentation
DefaultGridSpatialRepresentation
DefaultGeoreferenceable
- All Implemented Interfaces:
- Serializable,- Emptiable,- LenientComparable,- IdentifiedObject,- Georeferenceable,- GridSpatialRepresentation,- SpatialRepresentation
public class DefaultGeoreferenceable
extends DefaultGridSpatialRepresentation
implements Georeferenceable
Grid with cells irregularly spaced in any given geographic/map projection coordinate reference system.
 Individual cells can be geolocated using geolocation information supplied with the data but cannot be
 geolocated from the grid properties alone.
 
 
The following properties are mandatory in a well-formed metadata according ISO 19115:
MD_Georeferenceable
   ├─numberOfDimensions………………………………………………… Number of independent spatial-temporal axes.
   ├─axisDimensionProperties…………………………………… Information about spatial-temporal axis properties.
   │   ├─dimensionName…………………………………………………… Name of the axis.
   │   └─dimensionSize…………………………………………………… Number of elements along the axis.
   ├─cellGeometry………………………………………………………………… Identification of grid data as point or cell.
   ├─transformationParameterAvailability…… Indication of whether or not parameters for transformation exists.
   ├─controlPointAvailability………………………………… Indication of whether or not control point(s) exists.
   ├─orientationParameterAvailability…………… Indication of whether or not orientation parameters are available.
   ├─geolocationInformation……………………………………… Information that can be used to geolocate the data.
   └─georeferencedParameters…………………………………… Terms which support grid data georeferencing.Limitations
- Instances of this class are not synchronized for multi-threading. Synchronization, if needed, is caller's responsibility.
- Serialized objects of this class are not guaranteed to be compatible with future Apache SIS releases.
       Serialization support is appropriate for short term storage or RMI between applications running the
       same version of Apache SIS. For long term storage, use XMLinstead.
- Since:
- 0.3
- See Also:
Defined in the sis-metadata module
- 
Nested Class SummaryNested classes/interfaces inherited from class ModifiableMetadataModifiableMetadata.State
- 
Field SummaryFields inherited from class ISOMetadataidentifiers
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs an initially empty georeferenceable.Constructs a new instance initialized with the values from the specified metadata object.
- 
Method SummaryModifier and TypeMethodDescriptionstatic DefaultGeoreferenceablecastOrCopy(Georeferenceable object) Returns a SIS metadata implementation with the values of the given arbitrary implementation.Returns the information that can be used to geolocate the data.Returns the terms which support grid data georeferencing.Returns a description of parameters used to describe sensor orientation.Returns a reference providing description of the parameters.booleanReturns an indication of whether or not control point(s) exists.booleanReturns an indication of whether or not orientation parameters are available.voidsetControlPointAvailable(boolean newValue) Sets an indication of whether or not control point(s) exists.voidsetGeolocationInformation(Collection<? extends GeolocationInformation> newValues) Sets the information that can be used to geolocate the data.voidsetGeoreferencedParameters(Record newValue) Sets the terms which support grid data georeferencing.voidsetOrientationParameterAvailable(boolean newValue) Sets an indication of whether or not orientation parameters are available.voidSets a description of parameters used to describe sensor orientation.voidsetParameterCitations(Collection<? extends Citation> newValues) Sets a reference providing description of the parameters.Methods inherited from class DefaultGridSpatialRepresentationcastOrCopy, getAxisDimensionProperties, getCellGeometry, getNumberOfDimensions, isTransformationParameterAvailable, setAxisDimensionProperties, setCellGeometry, setNumberOfDimensions, setTransformationParameterAvailableMethods inherited from class AbstractSpatialRepresentationcastOrCopy, getScope, setScopeMethods inherited from class ISOMetadatagetIdentifier, getIdentifierMap, getIdentifiers, getStandard, setIdentifier, transitionToMethods inherited from class ModifiableMetadatacheckWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSetMethods inherited from class AbstractMetadataasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringMethods inherited from class Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface GridSpatialRepresentationgetAxisDimensionProperties, getCellGeometry, getNumberOfDimensions, isTransformationParameterAvailable
- 
Constructor Details- 
DefaultGeoreferenceablepublic DefaultGeoreferenceable()Constructs an initially empty georeferenceable.
- 
DefaultGeoreferenceableConstructs a new instance initialized with the values from the specified metadata object. This is a shallow copy constructor, because the other metadata contained in the given object are not recursively copied.- Parameters:
- object- the metadata to copy values from, or- nullif none.
- See Also:
 
 
- 
- 
Method Details- 
castOrCopyReturns a SIS metadata implementation with the values of the given arbitrary implementation. This method performs the first applicable action in the following choices:- If the given object is null, then this method returnsnull.
- Otherwise if the given object is already an instance of
       DefaultGeoreferenceable, then it is returned unchanged.
- Otherwise a new DefaultGeoreferenceableinstance is created using the copy constructor and returned. Note that this is a shallow copy operation, because the other metadata contained in the given object are not recursively copied.
 - Parameters:
- object- the object to get as a SIS implementation, or- nullif none.
- Returns:
- a SIS implementation containing the values of the given object (may be the
         given object itself), or nullif the argument was null.
 
- If the given object is 
- 
isControlPointAvailablepublic boolean isControlPointAvailable()Returns an indication of whether or not control point(s) exists.- Specified by:
- isControlPointAvailablein interface- Georeferenceable
- Returns:
- whether or not control point(s) exists.
 
- 
setControlPointAvailablepublic void setControlPointAvailable(boolean newValue) Sets an indication of whether or not control point(s) exists.- Parameters:
- newValue-- trueif control points are available.
 
- 
isOrientationParameterAvailablepublic boolean isOrientationParameterAvailable()Returns an indication of whether or not orientation parameters are available.- Specified by:
- isOrientationParameterAvailablein interface- Georeferenceable
- Returns:
- whether or not orientation parameters are available.
 
- 
setOrientationParameterAvailablepublic void setOrientationParameterAvailable(boolean newValue) Sets an indication of whether or not orientation parameters are available.- Parameters:
- newValue-- trueif orientation parameter are available.
 
- 
getOrientationParameterDescriptionReturns a description of parameters used to describe sensor orientation.- Specified by:
- getOrientationParameterDescriptionin interface- Georeferenceable
- Returns:
- description of parameters used to describe sensor orientation, or null.
 
- 
setOrientationParameterDescriptionSets a description of parameters used to describe sensor orientation.- Parameters:
- newValue- the new orientation parameter description.
 
- 
getGeoreferencedParametersReturns the terms which support grid data georeferencing.- Specified by:
- getGeoreferencedParametersin interface- Georeferenceable
- Returns:
- terms which support grid data georeferencing, or null.
 
- 
setGeoreferencedParametersSets the terms which support grid data georeferencing.- Parameters:
- newValue- the new georeferenced parameters.
 
- 
getParameterCitationsReturns a reference providing description of the parameters.- Specified by:
- getParameterCitationsin interface- Georeferenceable
- Returns:
- reference providing description of the parameters.
 
- 
setParameterCitationsSets a reference providing description of the parameters.- Parameters:
- newValues- the new parameter citations.
 
- 
getGeolocationInformationReturns the information that can be used to geolocate the data.- Specified by:
- getGeolocationInformationin interface- Georeferenceable
- Returns:
- a geolocalisation of the data.
 
- 
setGeolocationInformationSets the information that can be used to geolocate the data.- Parameters:
- newValues- the new geolocation information values.
 
 
-