Class ImageInfo

java.lang.Object
ucar.unidata.data.imagery.ImageInfo

public class ImageInfo extends Object
Holds information about images
  • Field Details

  • Constructor Details

    • ImageInfo

      public ImageInfo()
      ctor
    • ImageInfo

      public ImageInfo(String url, Element node, Element parent, DateTime date) throws Exception
      Ctor from xml
      Parameters:
      url - the url
      node - The main node
      parent - The parent node to get defaults from. May be null.
      date - The date. May be null.
      Throws:
      Exception - On badness
    • ImageInfo

      public ImageInfo(String url, boolean isShape)
      ctor
      Parameters:
      url - The image url
      isShape - Is this a shapefile
    • ImageInfo

      public ImageInfo(String url, DateTime date, boolean isShape)
      ctor
      Parameters:
      url - The image url
      date - Datetime of the image_
      isShape - Is this a shapefile
    • ImageInfo

      public ImageInfo(String url, double ulLat, double ulLon, double lrLat, double lrLon)
      ctor
      Parameters:
      url - The image url
      ulLat - ul lat
      ulLon - ul lon
      lrLat - lr lat
      lrLon - lrlon
    • ImageInfo

      public ImageInfo(String url, DateTime date, double ulLat, double ulLon, double lrLat, double lrLon)
      ctor
      Parameters:
      url - The image url
      date - Datetime of the image
      ulLat - ul lat
      ulLon - ul lon
      lrLat - lr lat
      lrLon - 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

      public void setUrl(String value)
      Set the Url property.
      Parameters:
      value - The new value for Url
    • getUrl

      public String 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

      public void setDate(DateTime value)
      Set the Date property.
      Parameters:
      value - The new value for Date
    • getDate

      public DateTime getDate()
      Get the Date property.
      Returns:
      The Date
    • toString

      public String toString()
      to string
      Overrides:
      toString in class Object
      Returns:
      to string