ExifGpsPackage

ExifGpsPackage class

Represents GPS metadata in an EXIF metadata package.

public sealed class ExifGpsPackage : ExifDictionaryBasePackage

Constructors

Name Description
ExifGpsPackage() Initializes a new instance of the ExifGpsPackage class.

Properties

Name Description
Altitude { get; set; } Gets or sets the altitude based on the reference in AltitudeRef. The reference unit is meters.
AltitudeRef { get; set; } Gets or sets the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given. If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in the Altitude tag.
AreaInformation { get; set; } Gets or sets the character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area.
Count { get; } Gets the number of metadata properties.
DataDegreeOfPrecision { get; set; } Gets or sets the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement.
DateStamp { get; set; } Gets or sets the character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD.
DestBearing { get; set; } Gets or sets the GPS bearing to the destination point. The range of values is from 0.00 to 359.99.
DestBearingRef { get; set; } Gets or sets the GPS reference used for giving the bearing to the destination point. ‘T’ denotes true direction and ‘M’ is magnetic direction.
DestDistance { get; set; } Gets or sets the GPS distance to the destination point.
DestDistanceRef { get; set; } Gets or sets the GPS unit used to express the distance to the destination point. ‘K’, ‘M’ and ‘N’ represent kilometers, miles and knots.
DestLatitude { get; set; } Gets or sets the GPS latitude of the destination point.
DestLatitudeRef { get; set; } Gets or sets the GPS value which indicates whether the latitude of the destination point is north or south latitude. The ASCII value ‘N’ indicates north latitude, and ‘S’ is south latitude.
DestLongitude { get; set; } Gets or sets the GPS longitude of the destination point.
DestLongitudeRef { get; set; } Gets or sets the GPS value which indicates whether the longitude of the destination point is east or west longitude. ASCII ‘E’ indicates east longitude, and ‘W’ is west longitude.
Differential { get; set; } Gets or sets a GPS value which indicates whether differential correction is applied to the GPS receiver.
GpsTrack { get; set; } Gets or sets the direction of GPS receiver movement.
ImgDirection { get; set; } Gets or sets the GPS direction of the image when it was captured. The range of values is from 0.00 to 359.99.
ImgDirectionRef { get; set; } Gets or sets the GPS reference for giving the direction of the image when it is captured. ‘T’ denotes true direction and ‘M’ is magnetic direction.
Item { get; } Gets the TIFF tag with the specified id. (2 indexers)
Keys { get; } Gets a collection of the metadata property names.
Latitude { get; set; } Gets or sets the GPS latitude.
LatitudeRef { get; set; } Gets or sets a GPS value indicating whether the latitude is north or south latitude.
Longitude { get; set; } Gets or sets the GPS longitude.
LongitudeRef { get; set; } Gets or sets a GPS value indicating whether the longitude is east or west longitude.
MapDatum { get; set; } Gets or sets the geodetic survey data used by the GPS receiver.
MeasureMode { get; set; } Gets or sets the GPS measurement mode.
MetadataType { get; } Gets the metadata type.
ProcessingMethod { get; set; } Gets or sets a character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method.
PropertyDescriptors { get; } Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
Satellites { get; set; } Gets or sets the GPS satellites used for measurements. This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and other information in ASCII notation. The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag shall be set to NULL.
Speed { get; set; } Gets or sets the speed of GPS receiver movement.
SpeedRef { get; set; } Gets or sets the unit used to express the GPS receiver speed of movement. ‘K’ ‘M’ and ‘N’ represents kilometers per hour, miles per hour, and knots.
Status { get; set; } Gets or sets the status of the GPS receiver when the image is recorded.
TimeStamp { get; set; } Gets or sets the time as UTC (Coordinated Universal Time). TimeStamp is expressed as three RATIONAL values giving the hour, minute, and second.
TrackRef { get; set; } Gets or sets the reference for giving the direction of GPS receiver movement. ‘T’ denotes true direction and ‘M’ is magnetic direction.
VersionID { get; set; } Gets or sets the version of GPS IFD.

Methods

Name Description
AddProperties(Func<MetadataProperty, bool>, PropertyValue) Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well.
Clear() Removes all TIFF tags stored in the package.
Contains(string) Determines whether the package contains a metadata property with the specified name.
virtual FindProperties(Func<MetadataProperty, bool>) Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well.
GetEnumerator() Returns an enumerator that iterates through the collection.
Remove(TiffTagID) Removes the property with the specified id.
virtual RemoveProperties(Func<MetadataProperty, bool>) Removes metadata properties satisfying the specified predicate.
virtual Sanitize() Removes writable metadata properties from the package. The operation is recursive so it affects all nested packages as well.
Set(TiffTag) Adds or replaces the specified tag.
SetProperties(Func<MetadataProperty, bool>, PropertyValue) Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of AddProperties and UpdateProperties. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package.
ToList() Creates a list from the package.
UpdateProperties(Func<MetadataProperty, bool>, PropertyValue) Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well.

Remarks

Learn more

See Also