public class Longitude extends ExtractFromLocation
Extracts the longitude from the image metadata.

It is specified in degrees where positive values are east of the prime meridian, and negative values are west of it.

If the location is unknown, then Double.NaN is returned.

  • Constructor Details

    • Longitude

      public Longitude()
  • Method Details

    • extractValue

      protected double extractValue(ImageLocation location)
      Description copied from class: ExtractFromLocation
      Extracts the value that is returned from the feature if an image-location is present.
      Specified by:
      extractValue in class ExtractFromLocation
      Parameters:
      location - the location to extract the value from.
      Returns:
      the value to be returned.