Package ucar.unidata.data.imagery
Class ImageInfo
java.lang.Object
ucar.unidata.data.imagery.ImageInfo
Holds information about images
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringxml attribute namestatic final Stringxml attribute namestatic final Stringxml attribute namestatic final StringUpper left latstatic final StringLower right latstatic final StringLower right lonstatic final Stringxml attr namestatic final StringUpper left latstatic final StringUpper left latstatic final StringUpper left lonstatic final Stringxml attribute namestatic final Stringxml attribute namestatic final Stringxml attribute name -
Constructor Summary
ConstructorsConstructorDescriptionctorctorctorCtor from xmlctorctor -
Method Summary
Modifier and TypeMethodDescriptiongetDate()Get the Date property.booleanGet the IsShape property.doublegetLlAlt()Get the LlAlt property.doublegetLlLat()Get the LlLat property.doublegetLlLon()Get the LlLon property.doublegetLrAlt()Get the LrAlt property.doublegetLrLat()Get the LrLat property.doublegetLrLon()Get the LrLon property.doublegetUlAlt()Get the UlAlt property.doublegetUlLat()Get the UlLat property.doublegetUlLon()Get the UlLon property.doublegetUrAlt()Get the UrAlt property.getUrl()Get the Url property.doublegetUrLat()Get the UrLat property.doublegetUrLon()Get the UrLon property.booleanDo we have any altitudesbooleando the corners form a rectangle.voidSet the Date property.voidsetIsShape(boolean value) Set the IsShape property.voidsetLlAlt(double value) Set the LlAlt property.voidsetLlLat(double value) Set the LlLat property.voidsetLlLon(double value) Set the LlLon property.voidsetLrAlt(double value) Set the LrAlt property.voidsetLrLat(double value) Set the LrLat property.voidsetLrLon(double value) Set the LrLon property.voidsetUlAlt(double value) Set the UlAlt property.voidsetUlLat(double value) Set the UlLat property.voidsetUlLon(double value) Set the UlLon property.voidsetUrAlt(double value) Set the UrAlt property.voidSet the Url property.voidsetUrLat(double value) Set the UrLat property.voidsetUrLon(double value) Set the UrLon property.toString()to string
-
Field Details
-
ATTR_NAME
xml attr name- See Also:
-
ATTR_ULLAT
Upper left lat- See Also:
-
ATTR_ULLON
Upper left lon- See Also:
-
ATTR_ULALT
Upper left lat- See Also:
-
ATTR_LRLAT
Lower right lat- See Also:
-
ATTR_LRLON
Lower right lon- See Also:
-
ATTR_LRALT
Upper left lat- See Also:
-
ATTR_URLAT
xml attribute name- See Also:
-
ATTR_URLON
xml attribute name- See Also:
-
ATTR_URALT
xml attribute name- See Also:
-
ATTR_LLLAT
xml attribute name- See Also:
-
ATTR_LLLON
xml attribute name- See Also:
-
ATTR_LLALT
xml attribute name- See Also:
-
-
Constructor Details
-
ImageInfo
public ImageInfo()ctor -
ImageInfo
Ctor from xml- Parameters:
url- the urlnode- The main nodeparent- The parent node to get defaults from. May be null.date- The date. May be null.- Throws:
Exception- On badness
-
ImageInfo
ctor- Parameters:
url- The image urlisShape- Is this a shapefile
-
ImageInfo
ctor- Parameters:
url- The image urldate- Datetime of the image_isShape- Is this a shapefile
-
ImageInfo
ctor- Parameters:
url- The image urlulLat- ul latulLon- ul lonlrLat- lr latlrLon- lrlon
-
ImageInfo
ctor- Parameters:
url- The image urldate- Datetime of the imageulLat- ul latulLon- ul lonlrLat- lr latlrLon- lrlon
-
-
Method Details
-
isRectilinear
public boolean isRectilinear()do the corners form a rectangle. i.e., are the upper lat the same, are the left longs the same, etc.- Returns:
- isRectilinear
-
hasAltitude
public boolean hasAltitude()Do we have any altitudes- Returns:
- has altitude defined
-
setUrl
Set the Url property.- Parameters:
value- The new value for Url
-
getUrl
Get the Url property.- Returns:
- The Url
-
setUrLat
public void setUrLat(double value) Set the UrLat property.- Parameters:
value- The new value for UrLat
-
getUrLat
public double getUrLat()Get the UrLat property.- Returns:
- The UrLat
-
setUrLon
public void setUrLon(double value) Set the UrLon property.- Parameters:
value- The new value for UrLon
-
getUrLon
public double getUrLon()Get the UrLon property.- Returns:
- The UrLon
-
setUrAlt
public void setUrAlt(double value) Set the UrAlt property.- Parameters:
value- The new value for UrAlt
-
getUrAlt
public double getUrAlt()Get the UrAlt property.- Returns:
- The UrAlt
-
setLrLat
public void setLrLat(double value) Set the LrLat property.- Parameters:
value- The new value for LrLat
-
getLrLat
public double getLrLat()Get the LrLat property.- Returns:
- The LrLat
-
setLrLon
public void setLrLon(double value) Set the LrLon property.- Parameters:
value- The new value for LrLon
-
getLrLon
public double getLrLon()Get the LrLon property.- Returns:
- The LrLon
-
setLrAlt
public void setLrAlt(double value) Set the LrAlt property.- Parameters:
value- The new value for LrAlt
-
getLrAlt
public double getLrAlt()Get the LrAlt property.- Returns:
- The LrAlt
-
setLlLat
public void setLlLat(double value) Set the LlLat property.- Parameters:
value- The new value for LlLat
-
getLlLat
public double getLlLat()Get the LlLat property.- Returns:
- The LlLat
-
setLlLon
public void setLlLon(double value) Set the LlLon property.- Parameters:
value- The new value for LlLon
-
getLlLon
public double getLlLon()Get the LlLon property.- Returns:
- The LlLon
-
setLlAlt
public void setLlAlt(double value) Set the LlAlt property.- Parameters:
value- The new value for LlAlt
-
getLlAlt
public double getLlAlt()Get the LlAlt property.- Returns:
- The LlAlt
-
setUlLat
public void setUlLat(double value) Set the UlLat property.- Parameters:
value- The new value for UlLat
-
getUlLat
public double getUlLat()Get the UlLat property.- Returns:
- The UlLat
-
setUlLon
public void setUlLon(double value) Set the UlLon property.- Parameters:
value- The new value for UlLon
-
getUlLon
public double getUlLon()Get the UlLon property.- Returns:
- The UlLon
-
setUlAlt
public void setUlAlt(double value) Set the UlAlt property.- Parameters:
value- The new value for UlAlt
-
getUlAlt
public double getUlAlt()Get the UlAlt property.- Returns:
- The UlAlt
-
setIsShape
public void setIsShape(boolean value) Set the IsShape property.- Parameters:
value- The new value for IsShape
-
getIsShape
public boolean getIsShape()Get the IsShape property.- Returns:
- The IsShape
-
setDate
Set the Date property.- Parameters:
value- The new value for Date
-
getDate
Get the Date property.- Returns:
- The Date
-
toString
to string
-