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 String
xml attribute namestatic final String
xml attribute namestatic final String
xml attribute namestatic final String
Upper left latstatic final String
Lower right latstatic final String
Lower right lonstatic final String
xml attr namestatic final String
Upper left latstatic final String
Upper left latstatic final String
Upper left lonstatic final String
xml attribute namestatic final String
xml attribute namestatic final String
xml attribute name -
Constructor Summary
ConstructorsConstructorDescriptionctorctorctorCtor from xmlctorctor -
Method Summary
Modifier and TypeMethodDescriptiongetDate()
Get the Date property.boolean
Get the IsShape property.double
getLlAlt()
Get the LlAlt property.double
getLlLat()
Get the LlLat property.double
getLlLon()
Get the LlLon property.double
getLrAlt()
Get the LrAlt property.double
getLrLat()
Get the LrLat property.double
getLrLon()
Get the LrLon property.double
getUlAlt()
Get the UlAlt property.double
getUlLat()
Get the UlLat property.double
getUlLon()
Get the UlLon property.double
getUrAlt()
Get the UrAlt property.getUrl()
Get the Url property.double
getUrLat()
Get the UrLat property.double
getUrLon()
Get the UrLon property.boolean
Do we have any altitudesboolean
do the corners form a rectangle.void
Set the Date property.void
setIsShape
(boolean value) Set the IsShape property.void
setLlAlt
(double value) Set the LlAlt property.void
setLlLat
(double value) Set the LlLat property.void
setLlLon
(double value) Set the LlLon property.void
setLrAlt
(double value) Set the LrAlt property.void
setLrLat
(double value) Set the LrLat property.void
setLrLon
(double value) Set the LrLon property.void
setUlAlt
(double value) Set the UlAlt property.void
setUlLat
(double value) Set the UlLat property.void
setUlLon
(double value) Set the UlLon property.void
setUrAlt
(double value) Set the UrAlt property.void
Set the Url property.void
setUrLat
(double value) Set the UrLat property.void
setUrLon
(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
-