it.geosolutions.imageio.matfile5.sas
Class SASTileMetadata

Object
  extended by IIOMetadata
      extended by SASTileMetadata

public class SASTileMetadata
extends IIOMetadata

Author:
Daniele Romagnoli, GeoSolutions SAS

Nested Class Summary
static class SASTileMetadata.Channel
           
 
Field Summary
static String SAS_AV_ALTITUDE
           
static String SAS_AV_VELOCITY
           
static String SAS_CHANNEL
           
static String SAS_LATITUDE
           
static String SAS_LONGITUDE
           
static String SAS_MU
           
static String SAS_ORIENTATION
           
static String SAS_PINGS
           
static String SAS_PIXEL_DIMS
           
static String SAS_PIXELS
           
static String SAS_THETA
           
static String SAS_TILE_LOG
           
static String SAS_TILE_RANGES
           
static String SAS_TILE_RAW
           
static String SAS_X
           
static String SAS_Y
           
 
Fields inherited from class IIOMetadata
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, nativeMetadataFormatName, standardFormatSupported
 
Constructor Summary
SASTileMetadata(MatFileReader matReader)
           
 
Method Summary
 Node getAsTree(String formatName)
           
 SASTileMetadata.Channel getChannel()
           
 int getDataType()
           
static Set<String> getFilterElements()
           
 double getLatitude()
           
 double getLongitude()
           
 String getMetadataAsXML()
           
 double getOrientation()
           
 double getXPixelDim()
           
 int getXPixels()
           
 double getYPixelDim()
           
 int getYPixels()
           
 boolean isLogScale()
           
 boolean isReadOnly()
           
static boolean isSASFile(MatFileReader matReader)
          This method tries to guess if this matfile contains sas specific metadata or not.
 void mergeTree(String formatName, Node root)
           
 void reset()
           
 void setChannel(SASTileMetadata.Channel channel)
           
 void setDataType(int dataType)
           
 void setLatitude(double latitude)
           
 void setLogScale(boolean logScale)
           
 void setLongitude(double longitude)
           
 void setOrientation(double orientation)
           
 void setXPixelDim(double pixelDim)
           
 void setXPixels(int pixels)
           
 void setYPixelDim(double pixelDim)
           
 void setYPixels(int pixels)
           
 
Methods inherited from class IIOMetadata
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardChromaNode, getStandardCompressionNode, getStandardDataNode, getStandardDimensionNode, getStandardDocumentNode, getStandardTextNode, getStandardTileNode, getStandardTransparencyNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAS_PIXELS

public static final String SAS_PIXELS
See Also:
Constant Field Values

SAS_LATITUDE

public static final String SAS_LATITUDE
See Also:
Constant Field Values

SAS_LONGITUDE

public static final String SAS_LONGITUDE
See Also:
Constant Field Values

SAS_ORIENTATION

public static final String SAS_ORIENTATION
See Also:
Constant Field Values

SAS_PIXEL_DIMS

public static final String SAS_PIXEL_DIMS
See Also:
Constant Field Values

SAS_CHANNEL

public static final String SAS_CHANNEL
See Also:
Constant Field Values

SAS_TILE_RAW

public static final String SAS_TILE_RAW
See Also:
Constant Field Values

SAS_TILE_LOG

public static final String SAS_TILE_LOG
See Also:
Constant Field Values

SAS_MU

public static final String SAS_MU
See Also:
Constant Field Values

SAS_PINGS

public static final String SAS_PINGS
See Also:
Constant Field Values

SAS_TILE_RANGES

public static final String SAS_TILE_RANGES
See Also:
Constant Field Values

SAS_AV_VELOCITY

public static final String SAS_AV_VELOCITY
See Also:
Constant Field Values

SAS_AV_ALTITUDE

public static final String SAS_AV_ALTITUDE
See Also:
Constant Field Values

SAS_X

public static final String SAS_X
See Also:
Constant Field Values

SAS_Y

public static final String SAS_Y
See Also:
Constant Field Values

SAS_THETA

public static final String SAS_THETA
See Also:
Constant Field Values
Constructor Detail

SASTileMetadata

public SASTileMetadata(MatFileReader matReader)
Method Detail

getFilterElements

public static Set<String> getFilterElements()

isSASFile

public static boolean isSASFile(MatFileReader matReader)
This method tries to guess if this matfile contains sas specific metadata or not.

Parameters:
matReader - the MatFileReader that we need to use for guessing
Returns:
true if this is a SAS matfile or false otherwise.

getDataType

public int getDataType()

setDataType

public void setDataType(int dataType)

getXPixels

public int getXPixels()

setXPixels

public void setXPixels(int pixels)

getYPixels

public int getYPixels()

setYPixels

public void setYPixels(int pixels)

getLatitude

public double getLatitude()

setLatitude

public void setLatitude(double latitude)

getLongitude

public double getLongitude()

setLongitude

public void setLongitude(double longitude)

getOrientation

public double getOrientation()

setOrientation

public void setOrientation(double orientation)

isLogScale

public boolean isLogScale()

setLogScale

public void setLogScale(boolean logScale)

getChannel

public SASTileMetadata.Channel getChannel()

setChannel

public void setChannel(SASTileMetadata.Channel channel)

getXPixelDim

public double getXPixelDim()

setXPixelDim

public void setXPixelDim(double pixelDim)

getYPixelDim

public double getYPixelDim()

setYPixelDim

public void setYPixelDim(double pixelDim)

getAsTree

public Node getAsTree(String formatName)
Specified by:
getAsTree in class IIOMetadata

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in class IIOMetadata

mergeTree

public void mergeTree(String formatName,
                      Node root)
               throws IIOInvalidTreeException
Specified by:
mergeTree in class IIOMetadata
Throws:
IIOInvalidTreeException

reset

public void reset()
Specified by:
reset in class IIOMetadata

getMetadataAsXML

public String getMetadataAsXML()


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.